Method, device, storage medium and processor for preventing misuse of applicator
By installing image acquisition equipment and light emitting devices on the radiation therapy equipment, embedded the model data feature tag of the treater, identifying and comparing the model data, the problem of misuse of the treater is solved, and the safety and accuracy of the radiation therapy are improved. .
Patent Information
- Application Number
- CN202310862281.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-13
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2043-07-13
AI Technical Summary
In radiation therapy, due to the small differences between the different specifications of the applicator, it is difficult for the naked eye to identify, resulting in frequent misuse of the applicator, which affects the treatment effect and causes health risks.
The image acquisition device is installed at the bottom of the treatment head of the radiation therapy device, and the feature tag of the model data is embedded on the upper end of the treater. By collecting images in real time and comparing the model data, the treatment head is prohibited from performing radiation therapy to prevent misuse and pass through light The transmitting device is positioned and identified.
Quickly identify the treating device to prevent misuse during radiation therapy, improve treatment safety and efficiency, and avoid medical accidents.
Smart Images

Figure CN117085262B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical device technology, and in particular to a method, device, storage medium and processor for preventing misuse of an applicator. Background Art
[0002] With the rapid development of radiotherapy technology, precise dose irradiation of lesion target areas has become the main direction of modern radiotherapy technology development. Based on this requirement, the theory of conformal radiotherapy was proposed. That is, the dose distribution generated by the medical electron linear accelerator in the patient's body is as close as possible to the shape of the patient's tumor, while minimizing the radiation dose of normal tissues and vital parts around the tumor to achieve the purpose of treating the patient. In actual use, due to the different actual needs of clinical patients, different specifications of applicators need to be selected. However, the differences between different specifications of applicators are small, and it is difficult to identify them with the naked eye. The applicator may be misused, affecting the treatment effect and creating risks that affect the patient's health. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a method, device, storage medium and processor for preventing misuse of an applicator.
[0004] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a method for preventing misuse of an applicator, wherein an image acquisition device is installed at the bottom end of a treatment head of a radiotherapy device, a feature label including model data of the applicator is embedded on the upper end surface of the applicator, and the applicator is used for radiotherapy performed by the treatment head, and the method comprises:
[0005] When the treatment head is in the sampling area on the applicator, controlling the image acquisition device to acquire an image of the upper end surface of the applicator in real time;
[0006] When it is determined that image feature data corresponding to the feature label exists in the image, the model data is compared with the target model data;
[0007] In the case where the model data is not identical to the target model data, the treatment head is prohibited from performing radiation treatment.
[0008] In an embodiment of the present application, the feature tag also includes the number of times the applicator has been used. When the model data is different from the target model data, prohibiting the treatment head from performing radiotherapy also includes: comparing the number of uses with a usage threshold of the applicator; when the model data is different from the target model data, and / or the number of uses is greater than or equal to the usage threshold, prohibiting the treatment head from performing radiotherapy, and issuing an instruction message to indicate the operator.
[0009] In an embodiment of the present application, the method further includes: when the model data is the same as the target model data and the number of uses is less than a threshold number of uses, allowing the treatment head to perform radiotherapy.
[0010] In an embodiment of the present application, the bottom end of the treatment head also includes a light emitting device for indicating the effective field of view of the image acquisition device, and the upper end surface of the applicator also includes a ring pattern with the center of the upper end surface as the center of the circle, and the method also includes: before the treatment head is in the sampling area, controlling the light emitting device to emit a light representing a circle or a point representing a circle toward the bottom of the bottom end of the treatment head; when it is determined that the interval distance between the center of the light and the center of the ring pattern is less than or equal to a preset distance threshold, or the diameter of the light and the diameter of the ring pattern are less than or equal to a preset difference threshold, it is determined that the treatment head is in the sampling area, so that the image captured by the image acquisition device includes the upper end surface of the applicator.
[0011] In an embodiment of the present application, the method further includes: when the treatment head is in the sampling area and it is determined that no image feature data exists in the image, prohibiting the treatment head from performing radiotherapy and issuing an instruction message to indicate the operator.
[0012] In an embodiment of the present application, when it is determined that image feature data corresponding to a feature label exists in an image, comparing the model data with the target model data includes: performing grayscale processing on the image to obtain a grayscale image; inputting the grayscale image into a deep learning model to output a predicted probability of the existence of image feature data in the image through the deep learning model; when the predicted probability is greater than or equal to a preset probability, determining that image feature data corresponding to the feature label exists in the image, so as to compare the model data with the target model data.
[0013] A second aspect of the present application provides a processor configured to execute the above-mentioned method for preventing misuse of an applicator.
[0014] A third aspect of the present application provides a device for preventing misuse of an applicator, comprising:
[0015] Radiotherapy equipment, including treatment heads;
[0016] An image acquisition device, installed at the bottom of the treatment head, for acquiring an image of the upper end surface of the applicator;
[0017] An applicator, the upper end surface of which is embedded with a feature tag including model data of the applicator, the applicator being used for radiotherapy performed by the treatment head;
[0018] A processor is configured to execute the above method for preventing misuse of an applicator.
[0019] In one embodiment, the device for preventing misuse of the applicator further comprises:
[0020] A light emitting device is installed at the bottom of the treatment head, and takes the center of the image acquisition device as the center of the circle, and is used to emit a light representing a circular pattern or a light representing a circular point toward the bottom of the treatment head;
[0021] The annular pattern is marked on the upper end surface of the applicator, with the center of the upper end surface of the applicator as the center of the circle, and is used to mark the position of the upper end surface of the applicator.
[0022] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configure the processor to execute the above-mentioned method for preventing misuse of an applicator.
[0023] Through the above technical solution, an image acquisition device is installed at the bottom of the treatment head of the radiotherapy device, and a feature label including the model data of the applicator is embedded in the upper end surface of the applicator. When the treatment head is in the sampling area on the applicator, the image acquisition device is controlled to collect the image of the upper end surface of the applicator in real time; when it is determined that there is image feature data corresponding to the feature label in the image, the model data is compared with the target model data; when the model data is different from the target model data, the treatment head is prohibited from performing radiotherapy. The applicator can be quickly identified to prevent the misuse of the applicator during radiotherapy, thereby improving the safety of radiotherapy.
[0024] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0026] Figure 1 A schematic diagram of an application environment of a method for preventing misuse of a treatment device according to an embodiment of the present application is schematically shown;
[0027] Figure 2 A schematic diagram of a process for preventing misuse of a treatment device according to an embodiment of the present application is schematically shown;
[0028] Figure 3 A schematic diagram of a radiotherapy device and a treatment applicator according to an embodiment of the present application is schematically shown;
[0029] Figure 4 A structural block diagram of a device for preventing misuse of a treatment device according to an embodiment of the present application is schematically shown;
[0030] Figure 5 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown.
[0031] Reference numerals
[0032] 110-radiotherapy equipment, 111-treatment head, 112-robotic arm, 120-applicator, 130-image acquisition device, 310-light emitting device, 320-treatment head, 330-image acquisition device, 340-cylindrical applicator, 350-bolt, 360-visual guide, 10-radiotherapy equipment, 20-image acquisition device, 30-applicator, 40-processor. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0034] The method for preventing misuse of the applicator provided by the present application can be applied to Figure 1 In the application environment shown. Radiotherapy equipment 110 refers to medical electron linear accelerators and other radiation sources and radiation devices that generate radiation required for radiotherapy. Specifically, an X-band standing wave accelerator tube can be used, and an electron beam with a high dose rate of energy in the MeV (Million electron Volts) order. Radiotherapy equipment 110 includes a treatment head 111 and a mechanical arm 112. The treatment head is used to emit radiation. Due to the different organ locations of the tumor, the treatment head needs to move in multiple dimensions and angles to cooperate with the treatment. The mechanical arm connected to the treatment head can be adjusted to allow the treatment head to move in a large angle range, and its movement accuracy is high, which is convenient for accurate radiotherapy of different treatment sites. In addition, the mechanical arm can also realize the storage of the treatment head, reducing the space occupied by the equipment in the storage state. Among them, the spherical applicator can make the electron beam form a uniform dose irradiation on a non-plane, thereby achieving the purpose of radiotherapy of spherical tumor beds and tumors in natural cavities of the human body. The cylindrical applicator can perform two-dimensional modulation on the electron beam, so that the electron beam is evenly distributed radially in the cylindrical applicator, forming a two-dimensional plane irradiation field that conforms to the target irradiation area. The image acquisition device 130 is installed at the bottom of the treatment head, and can capture the area below the treatment head and collect the characteristic image of the applicator, so that the treatment head 111 and the applicator 120 can be accurately aligned to perform related operations of radiotherapy.
[0035] Figure 2 The flowchart of the method for preventing misuse of the applicator according to the embodiment of the present application is schematically shown. Figure 2 As shown, in one embodiment of the present application, a method for preventing misuse of an applicator is provided. This embodiment mainly applies the method to the above Figure 1 Taking the application environment in the example, an image acquisition device is installed at the bottom of the treatment head of the radiotherapy device, and a feature label including model data of the applicator is embedded on the upper end surface of the applicator. The applicator is used for radiotherapy performed by the treatment head. The method includes:
[0036] S202, when the treatment head is in the sampling area on the applicator, controlling the image acquisition device to acquire an image of the upper end surface of the applicator in real time;
[0037] S204, when it is determined that image feature data corresponding to the feature tag exists in the image, the model data is compared with the target model data;
[0038] S206: When the model data is different from the target model data, prohibiting the treatment head from performing radiotherapy.
[0039] The image acquisition device can be a camera, a camcorder, a scanner, or other device with a camera function. The model data of the applicator includes data such as the type and size of the applicator. For example, cylindrical applicators have sizes such as 100mm, 90mm, 80mm, 70mm, 60mm, and 50mm, and the rays can be adjusted into irradiation fields of different sizes. The feature tag contains the identity information of the applicator and can be used to distinguish applicators of different types and sizes. The feature tag can be a QR code, a barcode, a special pattern, etc. In order to prevent misuse of the applicator, when the treatment head is in the sampling area on the applicator, the processor can control the image acquisition device to capture the image of the upper end surface of the applicator in real time. The sampling area refers to the area where the treatment head is located when the image captured by the image acquisition device can include the upper end surface of the applicator. Such as Figure 1As shown, the upper end surface of the applicator can be embedded with a feature tag. Then, the processor can identify the image to determine whether there is image feature data corresponding to the feature tag in the image. Image feature data refers to data such as point, line, and surface features, texture features, color features, or statistical features related to the feature tag. When there is image feature data in the image, it means that the acquired frame of image has a feature tag, then the processor can compare the model data with the target model data, so as to determine whether the applicator currently in use is the applicator actually required. Model data refers to the model data of the applicator selected for the current radiotherapy. When the model data is different from the target model data, it means that the applicator currently in use is different from the selected applicator, then the processor can prohibit the treatment head from performing radiotherapy. If the incorrect model of the applicator is misused, it will affect the treatment effect and create a risk of endangering the patient's health.
[0040] In one embodiment, the feature tag also includes the number of times the applicator has been used. When the model data is different from the target model data, prohibiting the treatment head from performing radiotherapy also includes: comparing the number of uses with a usage threshold of the applicator; when the model data is different from the target model data, and / or the number of uses is greater than or equal to the usage threshold, prohibiting the treatment head from performing radiotherapy, and issuing an instruction message to indicate the operator.
[0041] The identity information contained in the characteristic tag may also include the number of times the applicator is used. The service life of the applicator is limited. If the number of uses exceeds the threshold number of uses, its use effect will decrease or fail, which may easily cause medical accidents. The threshold number of uses refers to the number of uses specified by the service life. Therefore, while comparing the model data with the target model data, the processor can also compare the number of uses with the threshold number of uses of the applicator. If the model data is different from the target model data, and / or the number of uses is greater than or equal to the threshold number of uses, the processor can prohibit the treatment head from performing radiotherapy. Specifically, when the applicator used is inconsistent with the selected applicator, the processor will send a stop movement signal to the treatment head, and send a warning message to the operator's operation interface, while preventing the treatment head from beaming, preventing the operator or radiotherapy equipment from using the wrong applicator to perform radiotherapy. After the operator cancels the erroneous operation, the operator can control the treatment head to cancel the prohibited movement state of the treatment head through a button or a handle, and perform the above-mentioned applicator identification operation again. In this way, the operator can obtain information about the misuse of the applicator and use the correct applicator for radiotherapy.
[0042] In one embodiment, the method further comprises: if the model data is the same as the target model data and the number of uses is less than a threshold number of uses, allowing the treatment head to perform radiation therapy.
[0043] If the model data is the same as the target model data, and the number of times used is less than the number threshold, it means that the applicator used is the same as the selected applicator and the use complies with the regulations, then the processor can allow the treatment head to perform radiotherapy. Specifically, based on the acquired image of the upper end surface of the applicator, the treatment head and the applicator are further positioned so that the beam output position of the treatment head is aligned with the applicator, so that the next step of radiotherapy can be performed.
[0044] In one embodiment, the bottom end of the treatment head also includes a light emitting device for indicating the effective field of view of the image acquisition device, and the upper end surface of the applicator also includes a ring pattern with the center of the upper end surface as the center of the circle. The method also includes: before the treatment head is in the sampling area, controlling the light emitting device to emit a light representing a circle or a point representing a circle toward the bottom of the bottom end of the treatment head; when it is determined that the interval distance between the center of the light and the center of the ring pattern is less than or equal to a preset distance threshold, or the diameter of the light and the diameter of the ring pattern are less than or equal to a preset difference threshold, it is determined that the treatment head is in the sampling area, so that the image captured by the image acquisition device includes the upper end surface of the applicator.
[0045] In order to determine whether the treatment head is in the sampling area, the image acquisition device is further controlled to acquire images, and the acquired images are identified to achieve automatic soft docking positioning between the treatment head and the applicator. Alternatively, other positioning methods can be used. Figure 3As shown, the light emitting device 310 is installed at the bottom of the treatment head 320, and the center of the image acquisition device 330 is taken as the center of the circle. The light emitting device 310 can emit light to indicate the effective field of view of the image acquisition device 330. The cylindrical applicator 340 is used as the applicator. A visual guide 360 is fixed along the top cover (upper end face) of the cylindrical applicator 340 by bolts 350. The visual guide 360 includes a ring pattern with the center of the upper end face as the center of the circle. The light emitting device 310 can be a red LED lamp, which emits a red LED light representing a circular pattern with the center of the image acquisition device 330 as the center of the circle. If the red LED light coincides with the ring pattern of the visual guide 360, it means that the center of the treatment head 320 is in the sampling area, and the image captured by the image acquisition device 330 can include the upper end face of the cylindrical applicator 340. Due to certain mechanical errors, if the interval distance between the center of the red LED light and the center of the annular pattern is less than or equal to the preset distance threshold, it can be determined that the center of the treatment head 320 is in the sampling area, and the image captured by the image acquisition device 330 can include the upper end surface of the cylindrical applicator 340. The preset distance threshold refers to the interval distance error value between the center of the red LED light and the center of the annular pattern when the image acquisition device captures the existence of the upper end surface of the applicator. If the interval distance is greater than the preset distance threshold, it means that the center of the treatment head 320 is not in the sampling area, the image captured by the image acquisition device 330 cannot include the upper end surface of the cylindrical applicator 340, and the image captured by the image acquisition device 330 does not include the feature label. The light emitting device 310 can also be replaced by three light sources emitting or representing circular points. When the light representing the circular points coincides with the annular pattern, it can be determined that the center of the treatment head 320 is in the sampling area. In another embodiment, the diameter of the light can also be determined. If the difference between the diameter of the light and the diameter of the annular pattern is less than or equal to a preset difference threshold, it can also be determined that the center of the treatment head 320 is in the sampling area. The preset difference threshold refers to the error value of the difference between the diameter of the light and the diameter of the annular pattern when the image acquisition device captures the presence of the upper end surface of the applicator. Based on the captured image of the upper end surface of the applicator, when it is determined that the treatment head is in the sampling area, the treatment head and the applicator can be further positioned so that the beam-emitting position of the treatment head is aligned with the applicator, so that the next step of radiotherapy can be performed.
[0046] In one embodiment, the method further includes: when the treatment head is in the sampling area and it is determined that no image feature data exists in the image, prohibiting the treatment head from performing radiation therapy.
[0047] When the treatment head is not in the sampling area, the image acquisition device performs real-time image acquisition. If it is determined that the treatment head is in the sampling area, but there is still no image feature data in the image, it means that the feature tag is not embedded in the applicator used. Then, the processor will not be able to identify the model data and the number of times the applicator is used. At this time, the treatment head should be prohibited from performing radiotherapy to avoid medical accidents caused by misuse of the applicator.
[0048] In one embodiment, when it is determined that image feature data corresponding to a feature label exists in an image, comparing the model data with the target model data includes: performing grayscale processing on the image to obtain a grayscale image; inputting the grayscale image into a deep learning model to output a predicted probability of the existence of image feature data in the image through the deep learning model; when the predicted probability is greater than or equal to a preset probability, determining that image feature data corresponding to the feature label exists in the image, so as to compare the model data with the target model data.
[0049] During the image processing process, the data of the three channels R, G, and B are relatively complex. The processor can first grayscale the image to obtain a grayscale image. The grayscale process is to unify the RGB values of each pixel into the same value. Then, the processor can input the grayscale image into the deep learning model to output the predicted probability of the existence of image feature data in the image through the deep learning model. The preset probability corresponding to the predicted probability can be set to 90%. If the predicted probability is greater than or equal to 90%, the processor can determine that there is image feature data corresponding to the feature label in the image. At this time, it means that there is a feature label in the image. If the predicted probability is less than 90%, the processor can determine that there is no image feature data in the image and there is no feature label in the image. When there is a feature label in the image, the processor can compare the model data of the applicator with the target model data. In this way, the processor's calculation complexity can be reduced, the processor's calculation efficiency can be improved, and the image recognition result can be obtained quickly and accurately.
[0050] By means of a method, device, storage medium and processor for preventing misuse of an applicator. An image acquisition device and a light emitting device are installed at the bottom of the treatment head of the radiotherapy device. The applicator is used for radiotherapy performed by the treatment head, and the upper end surface of the applicator is embedded with a feature label including the model data of the applicator, and the upper end surface also includes a ring pattern for positioning. Alignment and positioning are performed by irradiating the ring pattern on the upper end surface of the applicator with light, so that the treatment head can be moved to the sampling area, and the image acquisition device can capture the image of the upper end surface of the applicator, and can capture the image of the clear feature label in the image. When the treatment head is in the sampling area on the applicator, the image acquisition device is controlled to capture the image of the upper end surface of the applicator in real time. The image is converted into a grayscale image, and the probability of the presence of the feature label in the image is predicted based on the deep learning model. When it is determined that there is image feature data corresponding to the feature label in the image, the model data is compared with the target model data, and the number of uses is compared with the number of uses threshold. When the model data is different from the target model data, and / or the number of uses is greater than or equal to the number of uses threshold, and when the treatment head is in the sampling area, and it is determined that there is no image feature data in the image, the treatment head is prohibited from performing radiotherapy. When the model data is the same as the target model data, and the number of uses is less than the number of uses threshold, it means that the applicator used is correct. Then, by further positioning the treatment head and the applicator, the beam position of the treatment head is aligned with the applicator, so that radiotherapy can be performed accurately. In this way, the applicator can be quickly identified to prevent the misuse of the applicator during radiotherapy. And the treatment head and the applicator are accurately positioned to improve the safety and efficiency of radiotherapy and avoid the occurrence of medical accidents.
[0051] Figure 1 FIG. 1 is a flow chart of a method for preventing misuse of an applicator in one embodiment. Figure 1 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0052] In one embodiment, Figure 4 As shown, a device for preventing misuse of an applicator is provided:
[0053] Radiotherapy equipment 10, including a treatment head;
[0054] An image acquisition device 20, mounted at the bottom of the treatment head, for acquiring an image of the upper end surface of the applicator;
[0055] An applicator 30, the upper end surface of which is embedded with a characteristic label including model data of the applicator, and the applicator is used for radiation therapy performed by the treatment head;
[0056] The processor 40 is configured to execute the above-mentioned method for preventing misuse of the applicator.
[0057] The radiotherapy device 10 includes a treatment head and a mechanical arm. The image acquisition device 20 can be a camera, a video camera, a scanner, or other devices with a camera function. The applicator 30 can be a cylindrical applicator, and the upper end surface of the applicator, that is, the top cover of the cylindrical applicator, can be embedded with a feature label. The feature label can be a QR code, a bar code, a special pattern, etc. The processor 40 can control the image acquisition device 20 to collect an image of the upper end surface of the applicator 30 in real time when the treatment head is in the sampling area. The processor 40 can identify the image to determine whether there is image feature data corresponding to the feature label in the image. When there is image feature data in the image, the processor 40 can compare the model data with the target model data to determine whether the currently used applicator 30 is the actual required applicator. When the model data is different from the target model data, it means that the currently used applicator 30 is different from the selected applicator, and the processor 40 can prohibit the treatment head from performing radiotherapy.
[0058] In one embodiment, the device for preventing misuse of the applicator also includes: a light emitting device (not shown in the figure), which is installed at the bottom of the treatment head and has the center of the image acquisition device as the center of the circle, and is used to emit a light representing a circular pattern or a circular point toward the bottom of the bottom of the treatment head; a ring pattern (not shown in the figure), which is marked on the upper end surface of the applicator and has the center of the upper end surface of the applicator as the center of the circle, and is used to mark the position of the upper end surface of the applicator.
[0059] The light emitting device is installed at the bottom of the treatment head, and the center of the image acquisition device is the center of the circle. A visual guide is fixed along the top cover (upper end face) of the cylindrical applicator by bolts. The visual guide includes a ring pattern with the center of the upper end face as the center of the circle. The light emitting device can be a red LED lamp, which emits a red LED light representing a circular pattern or a point representing a circle with the center of the image acquisition device as the center of the circle. If the red LED light coincides with the ring pattern of the visual guide, the processor 40 can determine that the treatment head is in the sampling area, and the image collected by the image acquisition device can include the upper end face of the applicator. If the interval distance between the center of the red LED light and the center of the ring pattern is less than or equal to the preset distance threshold, the processor 40 can determine that the treatment head is in the sampling area. If the interval distance is greater than the preset distance threshold, the processor 40 determines that it can be determined that the treatment head is not in the sampling area, and the image collected by the image acquisition device 20 cannot include the upper end face of the applicator 30.
[0060] The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to one or more, and the method for preventing the misuse of the applicator is implemented by adjusting the kernel parameters.
[0061] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0062] An embodiment of the present application provides a storage medium having a program stored thereon, which, when executed by a processor, implements the above-mentioned method for preventing misuse of an applicator.
[0063] An embodiment of the present application provides a processor, which is used to run a program, wherein the program executes the above-mentioned method for preventing misuse of the applicator when running.
[0064] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected through a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store data for a method for preventing misuse of an applicator. The network interface A02 of the computer device is used to communicate with an external terminal through a network connection. When the computer program B02 is executed by the processor A01, a method for preventing misuse of an applicator is implemented.
[0065] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0066] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: when a treatment head is in a sampling area on an applicator, an image acquisition device is controlled to acquire an image of the upper end surface of the applicator in real time; when it is determined that image feature data corresponding to a feature label exists in the image, the model data is compared with target model data; when the model data is different from the target model data, the treatment head is prohibited from performing radiotherapy.
[0067] In one embodiment, the feature tag also includes the number of times the applicator has been used. When the model data is different from the target model data, prohibiting the treatment head from performing radiotherapy also includes: comparing the number of uses with a usage threshold of the applicator; when the model data is different from the target model data, and / or the number of uses is greater than or equal to the usage threshold, prohibiting the treatment head from performing radiotherapy, and issuing an instruction message to indicate the operator.
[0068] In one embodiment, the method further comprises: if the model data is the same as the target model data and the number of uses is less than a threshold number of uses, allowing the treatment head to perform radiation therapy.
[0069] In one embodiment, the bottom end of the treatment head also includes a light emitting device for indicating the effective field of view of the image acquisition device, and the upper end surface of the applicator also includes a ring pattern with the center of the upper end surface as the center of the circle. The method also includes: before the treatment head is in the sampling area, controlling the light emitting device to emit a light representing a circle or a point representing a circle toward the bottom of the bottom end of the treatment head; when it is determined that the interval distance between the center of the light and the center of the ring pattern is less than or equal to a preset distance threshold, or the diameter of the light and the diameter of the ring pattern are less than or equal to a preset difference threshold, it is determined that the treatment head is in the sampling area, so that the image captured by the image acquisition device includes the upper end surface of the applicator.
[0070] In one embodiment, the method further includes: when the treatment head is in the sampling area and it is determined that no image feature data exists in the image, prohibiting the treatment head from performing radiotherapy and issuing an instruction message to indicate the operator.
[0071] In one embodiment, when it is determined that image feature data corresponding to a feature label exists in an image, comparing the model data with the target model data includes: performing grayscale processing on the image to obtain a grayscale image; inputting the grayscale image into a deep learning model to output a predicted probability of the existence of image feature data in the image through the deep learning model; when the predicted probability is greater than or equal to a preset probability, determining that image feature data corresponding to the feature label exists in the image, so as to compare the model data with the target model data.
[0072] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: when the treatment head is in the sampling area on the applicator, controlling the image acquisition device to acquire the image of the upper end surface of the applicator in real time; when it is determined that there is image feature data corresponding to the feature label in the image, comparing the model data with the target model data; when the model data is different from the target model data, prohibiting the treatment head from performing radiotherapy.
[0073] In one embodiment, the feature tag also includes the number of times the applicator has been used. When the model data is different from the target model data, prohibiting the treatment head from performing radiotherapy also includes: comparing the number of uses with a usage threshold of the applicator; when the model data is different from the target model data, and / or the number of uses is greater than or equal to the usage threshold, prohibiting the treatment head from performing radiotherapy, and issuing an instruction message to indicate the operator.
[0074] In one embodiment, the method further comprises: if the model data is the same as the target model data and the number of uses is less than a threshold number of uses, allowing the treatment head to perform radiation therapy.
[0075] In one embodiment, the bottom end of the treatment head also includes a light emitting device for indicating the effective field of view of the image acquisition device, and the upper end surface of the applicator also includes a ring pattern with the center of the upper end surface as the center of the circle. The method also includes: before the treatment head is in the sampling area, controlling the light emitting device to emit a light representing a circle or a point representing a circle toward the bottom of the bottom end of the treatment head; when it is determined that the interval distance between the center of the light and the center of the ring pattern is less than or equal to a preset distance threshold, or the diameter of the light and the diameter of the ring pattern are less than or equal to a preset difference threshold, it is determined that the treatment head is in the sampling area, so that the image captured by the image acquisition device includes the upper end surface of the applicator.
[0076] In one embodiment, the method further includes: when the treatment head is in the sampling area and it is determined that no image feature data exists in the image, prohibiting the treatment head from performing radiotherapy and issuing an instruction message to indicate the operator.
[0077] In one embodiment, when it is determined that image feature data corresponding to a feature label exists in an image, comparing the model data with the target model data includes: performing grayscale processing on the image to obtain a grayscale image; inputting the grayscale image into a deep learning model to output a predicted probability of the existence of image feature data in the image through the deep learning model; when the predicted probability is greater than or equal to a preset probability, determining that image feature data corresponding to the feature label exists in the image, so as to compare the model data with the target model data.
[0078] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0079] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that specifies the functions of a block or multiple blocks.
[0080] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0082] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0083] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0084] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0085] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0086] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for preventing misuse of an applicator, characterized in that: An image acquisition device is installed at the bottom of the treatment head of the radiotherapy device, and a feature label including model data of the applicator is embedded on the upper end surface of the applicator, and the feature label also includes the number of times the applicator is used. The applicator is used for radiotherapy performed by the treatment head, and the method includes: When the treatment head is in the sampling area on the applicator, controlling the image acquisition device to acquire an image of the upper end surface of the applicator in real time; Performing grayscale processing on the image to obtain a grayscale image; Inputting the grayscale image into a deep learning model so as to output a predicted probability of the image feature data existing in the image through the deep learning model; In a case where the predicted probability is greater than or equal to a preset probability, determining that image feature data corresponding to the feature label exists in the image, so as to compare the model data with target model data; comparing the number of uses with a threshold number of uses of the applicator; When the model data is different from the target model data and the number of uses is greater than or equal to the number of uses threshold, the treatment head is prohibited from performing the radiotherapy and an instruction message is issued to indicate the operator.
2. The method for preventing misuse of an applicator according to claim 1, characterized in that: The method further comprises: When the model data is identical to the target model data and the number of uses is less than the number of uses threshold, the treatment head is allowed to perform radiation therapy.
3. The method for preventing misuse of an applicator according to claim 1, characterized in that: The bottom end of the treatment head also includes a light emitting device for indicating the effective field of view of the image acquisition device, and the upper end surface of the applicator also includes a ring pattern with the center of the upper end surface as the center of the circle, and the method also includes: Before the treatment head is in the sampling area, controlling the light emitting device to emit a light representing a circular figure or a light representing a circular point toward the bottom of the bottom end of the treatment head; When it is determined that the interval distance between the center of the light and the center of the annular pattern is less than or equal to a preset distance threshold, or the diameter of the light and the diameter of the annular pattern are less than or equal to a preset difference threshold, it is determined that the treatment head is in the sampling area, so that the image captured by the image acquisition device exists on the upper end surface of the applicator.
4. The method for preventing misuse of an applicator according to claim 1, characterized in that: The method further comprises: When the treatment head is in the sampling area and it is determined that the image feature data does not exist in the image, the treatment head is prohibited from performing radiotherapy, and an instruction message is issued to indicate the operator.
5. A processor, characterized in that: The device is configured to perform the method for preventing misuse of an applicator according to any one of claims 1 to 4.
6. A device for preventing misuse of an applicator, characterized in that: include: Radiotherapy equipment, including treatment heads; An image acquisition device, mounted at the bottom of the treatment head, for acquiring an image of the upper end surface of the applicator; an applicator, the upper end surface of which is embedded with a feature label including model data of the applicator, the applicator being used for radiation therapy performed by the treatment head; and A processor as claimed in claim 5.
7. The device for preventing misuse of an applicator according to claim 6, characterized in that: Also includes: A light emitting device, mounted at the bottom of the treatment head, with the center of the image acquisition device as the center of the circle, and used to emit a light pattern representing a circle or a light point representing a circle toward the bottom of the treatment head; An annular pattern is marked on the upper end surface of the applicator, with the center of the upper end surface of the applicator as the center of the circle, and is used to mark the position of the upper end surface of the applicator.
8. A machine-readable storage medium having instructions stored thereon, characterized in that: The instructions, when executed by a processor, cause the processor to be configured to perform a method for preventing misuse of an applicator according to any one of claims 1 to 4.
