Method and device for detecting excretion of capsule endoscope, and capsule endoscope

WO2025103279A1PCT designated stage expired Publication Date: 2025-05-22GUANGZHOU SIDE MEDICAL TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/131375
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-13
Filing Date
2024-11-11
Publication Date
2025-05-22

AI Technical Summary

Technical Problem

The existing capsule endoscopic discharge detection methods consume high power, resulting in difficulty in supporting the long battery life of the capsule endoscopic and low retention detection rate.

Method used

In the retention detection mode, turn off the power supply of other modules in the capsule endoscope except counter, clock signal generator and register, and intermittently wake up the radio frequency transmitter circuit to issue instructions. The instructions are pre-stored in the register. Each time the wake-up, the counter is triggered to count, and the radio frequency transmitting circuit is awakened when the count overflows, and it is determined whether the capsule endoscope is stuck based on whether the data recorder receives the instruction.

Benefits of technology

By turning off the power supply of non-essential modules and the intermittent wake-up RF transmitting circuit, the power consumption of the capsule endoscope is reduced, and its battery life and retention detection rate is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024131375_22052025_PF_FP_ABST
    Figure CN2024131375_22052025_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a method and device for detecting the excretion of a capsule endoscope, and a capsule endoscope. The method comprises: in a retention detection mode, turning off power supplies for other modules except for a counter, a clock signal generator, and a register in the capsule endoscope, and intermittently awakening a radio frequency transmitting circuit to transmit an instruction, wherein the instruction is pre-stored in the register; in each awakening process, triggering the counter to perform counting according to a clock signal generated by the clock signal generator, and when the counter overflows, awakening the radio frequency transmitting circuit to transmit the instruction; and determining whether the capsule endoscope is retained in the body of an object of endoscope examination or not according to whether a data recorder receives the instruction or not.
Need to check novelty before this filing date? Find Prior Art

Description

Capsule endoscope discharge detection method, device and capsule endoscope

[0001] Cross-reference to related applications

[0002] This disclosure claims priority to Chinese patent application No. 202311506599.1 filed with the State Intellectual Property Office of China on November 13, 2023, entitled “Capsule Endoscope Expulsion Detection Method, Device and Capsule Endoscope,” the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0003] The present disclosure relates to the field of capsule endoscope detection technology, and in particular to a capsule endoscope expulsion detection method, device, capsule endoscope, storage medium, and computer program product. Background Art

[0004] After completing the digestive tract examination, there is a risk that the capsule endoscope may remain in the body of the subject and cannot be expelled. Therefore, it is necessary to detect whether the capsule endoscope is retained in the subject's body.

[0005] In existing capsule endoscope expulsion detection methods, the capsule endoscope enters sleep mode after completing a digestive tract examination. An external data recorder sends a wake-up signal at regular intervals. Upon receiving this wake-up signal, the capsule endoscope transmits a real-time image. The external data recorder uses this real-time image to determine whether the capsule endoscope is retained within the subject. This method requires the RF receiving circuit to operate continuously, and image transmission requires the image sensor chip, main control chip, and other components to work together, resulting in high power consumption.

[0006] The existing capsule endoscope expulsion detection method has the defect of high power consumption, which makes it difficult to support the long-term endurance of the capsule endoscope, resulting in a low detection rate of capsule endoscope retention.

[0007] Summary of the Invention

[0008] A method for detecting the discharge of a capsule endoscope is characterized in that the capsule endoscope includes a counter, a radio frequency transmission circuit, a clock signal generator and a register; the method includes: in a retention detection mode, turning off the power of other modules in the capsule endoscope except the counter, the clock signal generator and the register, and intermittently waking up the radio frequency transmission circuit to issue instructions; the instructions are pre-stored in the register; during each wake-up process, triggering the counter to count according to the clock signal generated by the clock signal generator, and when the count of the counter overflows, waking up the radio frequency transmission circuit to issue instructions; and judging whether the capsule endoscope is retained in the body of the endoscope inspection object based on whether a data recorder receives the instructions.

[0009] A capsule endoscope expulsion detection device, characterized in that the capsule endoscope includes a counter, a radio frequency transmission circuit, a clock signal generator and a register; the device includes: an instruction issuing module, which is used to shut down the power of other modules in the capsule endoscope except the counter, the clock signal generator and the register in a retention detection mode, and intermittently wake up the radio frequency transmission circuit to issue instructions; the instructions are pre-stored in the register; a wake-up module, which is used to trigger the counter to count according to the clock signal generated by the clock signal generator during each wake-up process, and when the count of the counter overflows, wake up the radio frequency transmission circuit to issue instructions; and a retention judgment module, which is used to judge whether the capsule endoscope is retained in the body of the endoscope inspection object based on whether a data recorder receives the instruction.

[0010] A capsule endoscope, characterized in that the capsule endoscope includes a counter, a radio frequency transmission circuit, a clock signal generator and a register; the register is used to store instructions; the clock signal generator is used to generate a clock signal; the counter is used to count; in a retention detection mode, the power of other modules in the capsule endoscope except the counter, the clock signal generator and the register is turned off, and the radio frequency transmission circuit is intermittently awakened to issue the instructions; wherein, when the count of the counter overflows, the radio frequency transmission circuit is awakened.

[0011] A computer-readable storage medium stores a computer program, which implements the steps of the above method when executed by a processor.

[0012] A computer program product includes a computer program, which implements the steps of the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0014] FIG1 is a diagram illustrating an application environment of a method for detecting the discharge of a capsule endoscope according to an embodiment;

[0015] FIG2 is a schematic flow chart of a method for detecting the discharge of a capsule endoscope in one embodiment;

[0016] FIG3 is a diagram showing the internal structure of a capsule endoscope according to an embodiment;

[0017] FIG4 is a schematic flow chart of a method for detecting the discharge of a capsule endoscope in another embodiment;

[0018] FIG5 is a structural block diagram of a capsule endoscope expulsion detection device according to an embodiment. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not intended to limit the present disclosure.

[0020] References to "embodiments" in this disclosure mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the disclosure. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described in this disclosure may be combined with other embodiments.

[0021] The present disclosure provides a method and apparatus for detecting expulsion of a capsule endoscope, a capsule endoscope, a computer-readable storage medium, and a computer program product.

[0022] In a first aspect, the present disclosure provides a method for detecting expulsion of a capsule endoscope, wherein the capsule endoscope includes a counter, a radio frequency transmission circuit, a clock signal generator, and a register; the method includes:

[0023] In the retention detection mode, the power supply of other modules in the capsule endoscope except the counter, the clock signal generator and the register is turned off, and the radio frequency transmitting circuit is awakened intermittently to issue instructions; the instructions are pre-stored in the register;

[0024] During each wake-up process, the counter is triggered to count according to the clock signal generated by the clock signal generator, and when the count of the counter overflows, the radio frequency transmitting circuit is woken up to issue an instruction;

[0025] Whether the capsule endoscope is retained in the body of the subject to be examined by endoscopy is determined based on whether the data recorder receives the instruction.

[0026] In one or more embodiments, in the retention detection mode, before turning off the power of other modules in the capsule endoscope except the counter, the clock signal generator, and the register, and intermittently waking up the radio frequency transmitting circuit to issue an instruction, the method further includes:

[0027] determining whether an endoscopy completion instruction issued by a user has been received;

[0028] If so, the retention detection mode is entered.

[0029] In one or more embodiments, in the retention detection mode, before turning off the power of other modules in the capsule endoscope except the counter, the clock signal generator, and the register, and intermittently waking up the radio frequency transmitting circuit to issue an instruction, the method further includes:

[0030] Get the current image captured by the camera;

[0031] Inputting the current image into a pre-built model to obtain a detection result output by the model;

[0032] When the detection result indicates that the endoscopic examination is completed, the retention detection mode is entered.

[0033] In one or more embodiments, in the retention detection mode, before turning off the power of other modules in the capsule endoscope except the counter, the clock signal generator, and the register, and intermittently waking up the radio frequency transmitting circuit to issue an instruction, the method further includes:

[0034] Determining whether the capsule endoscope has been activated for a preset time;

[0035] If so, the retention detection mode is entered.

[0036] In one or more implementations, triggering the counter to count according to the clock signal generated by the clock signal generator includes:

[0037] Triggering the counter to perform cyclic counting according to the clock signal generated by the clock signal generator; the number of cyclic counting is used to determine whether the count of the counter overflows;

[0038] Each time the count is made in the cycle, the counter is triggered to count according to the clock signal generated by the clock signal generator. When the count of the counter reaches a preset value, the count value is cleared to perform the next count.

[0039] In one or more implementations, after waking up the radio frequency transmitting circuit, the method further includes:

[0040] After the radio frequency transmitting circuit is awakened, the counter is turned off;

[0041] When the instruction is issued, the counter is triggered to enter the counting state again.

[0042] In one or more embodiments, determining whether the capsule endoscope is retained in the body of the subject undergoing endoscopic examination based on whether the data recorder receives the instruction includes:

[0043] When the data recorder receives the instruction, it determines that the capsule endoscope is retained in the body of the subject undergoing endoscopic examination;

[0044] When the data recorder does not receive the instruction, it is determined that the capsule endoscope has been expelled from the body of the subject undergoing endoscopy.

[0045] In one or more embodiments, after determining whether the capsule endoscope is retained in the body of the subject undergoing endoscopic examination based on whether the data recorder receives the instruction, the method further includes:

[0046] When it is determined that the capsule endoscope is retained in the body of the subject undergoing endoscopic examination, waking up the image sensor and the main control chip of the capsule endoscope to collect images;

[0047] The image is sent to the data recorder; and the image is used to determine the cause of the retention of the capsule endoscope.

[0048] In a second aspect, the present disclosure further provides a capsule endoscope expulsion detection device, the capsule endoscope comprising a counter, a radio frequency transmission circuit, a clock signal generator, and a register; the device comprising:

[0049] an instruction issuing module, configured to, in a retention detection mode, shut down the power supplies of the modules in the capsule endoscope except the counter, the clock signal generator, and the register, and intermittently wake up the radio frequency transmitting circuit to issue instructions; the instructions are pre-stored in the register;

[0050] A wake-up module, configured to trigger the counter to count according to the clock signal generated by the clock signal generator during each wake-up process, and wake up the radio frequency transmitting circuit to issue an instruction when the count of the counter overflows;

[0051] The retention judgment module is used to judge whether the capsule endoscope is retained in the body of the endoscope inspection subject according to whether the data recorder receives the instruction.

[0052] In one or more embodiments, the device further includes a mode determination module configured to determine whether an endoscopic examination completion instruction issued by a user is received; and if so, enter the retention detection mode.

[0053] In one or more embodiments, the device also includes a mode judgment module, which is used to: obtain the current image captured by the camera; input the current image into a pre-built model to obtain the detection result output by the model; when the detection result indicates that the endoscopic examination is completed, enter the retention detection mode.

[0054] In one or more embodiments, the device further includes a mode determination module configured to determine whether the capsule endoscope has been activated for a preset time period; if so, enter the retention detection mode.

[0055] In one or more embodiments, the wake-up module is further used to: trigger the counter to perform cyclic counting according to the clock signal generated by the clock signal generator; the number of cyclic counting is used to determine whether the count of the counter overflows; each time the count is made during the cyclic process, the counter is triggered to count according to the clock signal generated by the clock signal generator, and when the count of the counter reaches a preset value, the count value is cleared to zero for the next count.

[0056] In one or more embodiments, the device further includes an on / off control module configured to: turn off the counter after the radio frequency transmitting circuit is awakened; and trigger the counter to enter a counting state again after the instruction is issued.

[0057] In one or more embodiments, the retention judgment module is further used to: when the data recorder receives the instruction, determine that the capsule endoscope is retained in the body of the endoscope inspection subject; when the data recorder does not receive the instruction, determine that the capsule endoscope has been discharged from the body of the endoscope inspection subject.

[0058] In one or more embodiments, the device also includes an image sending module, which is used to: when it is determined that the capsule endoscope is retained in the body of the object being examined by endoscopy, wake up the image sensor and main control chip of the capsule endoscope to collect images; send the image to the data recorder; and the image is used to determine the reason for the retention of the capsule endoscope.

[0059] In a third aspect, the present disclosure further provides a capsule endoscope, which includes a counter, a radio frequency transmission circuit, a clock signal generator, and a register;

[0060] The register is used to store instructions;

[0061] The clock signal generator is used to generate a clock signal;

[0062] The counter is used for counting;

[0063] In the retention detection mode, the power supplies of the modules in the capsule endoscope except the counter, the clock signal generator and the register are turned off, and the radio frequency transmitting circuit is awakened intermittently to issue the instruction;

[0064] When the count of the counter overflows, the radio frequency transmitting circuit is awakened.

[0065] In a fourth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is used by a processor to execute the above method.

[0066] In a fifth aspect, the present disclosure further provides a computer program product, wherein the computer program product includes a computer program, and the computer program is executed by a processor to execute the above method.

[0067] The disclosed embodiments can achieve the following beneficial technical effects. The above-mentioned capsule endoscope expulsion detection method, device, capsule endoscope, storage medium and computer program product, in the retention detection mode, turns off the power of other modules in the capsule endoscope except the counter, clock signal generator and register, and intermittently wakes up the radio frequency transmitting circuit to issue instructions; the instructions are pre-stored in the register; during each wake-up process, the trigger counter counts according to the clock signal generated by the clock signal generator, and when the count of the counter overflows, the radio frequency transmitting circuit is woken up to issue instructions; based on whether the data recorder receives the instructions, it is judged whether the capsule endoscope is retained in the body of the object under endoscopic examination. This solution turns off the power of other modules in the capsule endoscope except the counter, clock signal generator and register, and does not need to power other modules, thereby reducing power consumption, and intermittently wakes up the radio frequency transmitting circuit to issue instructions. The radio frequency transmitting circuit is powered only after it is woken up, further reducing power consumption, thereby increasing the battery life of the capsule endoscope and improving the detection rate of capsule endoscope retention.

[0068] The embodiments of the present disclosure will be further described below based on the accompanying drawings.

[0069] The capsule endoscope expulsion detection method provided in the embodiments of the present disclosure can be applied in the application environment shown in Figure 1. The capsule endoscope 101 exchanges data with the data recorder 102 via wireless communication, which may include radio frequency communication. The server 103 processes the data received by the data recorder 102 to determine whether the capsule endoscope 101 has been expelled from the body of the subject undergoing endoscopic examination. In the retention detection mode, the power supply to all modules in the capsule endoscope 101, except for the counter, clock signal generator, and register, is turned off, and the radio frequency transmitting circuit is intermittently awakened to issue instructions. The instructions are pre-stored in the register. During each awakening process, the counter is triggered to count according to the clock signal generated by the clock signal generator. When the counter overflows, the radio frequency transmitting circuit is awakened to issue an instruction. Whether the capsule endoscope is retained in the body of the subject undergoing endoscopic examination can be determined based on whether the data recorder 102 receives the instruction. The data recorder 102 includes an RF receiving module for receiving the instructions. The data recorder 102 may be, but is not limited to, various personal computers, laptops, smartphones, tablet computers, IoT devices, and portable wearable devices. IoT devices may include smart speakers, smart TVs, smart air conditioners, smart car devices, etc. Portable wearable devices may include smart watches, smart bracelets, head-mounted devices, etc.

[0070] In an exemplary embodiment, as shown in FIG2 , a method for detecting discharge of a capsule endoscope is provided. The method is described by taking the capsule endoscope 101 in FIG1 as an example, and includes the following steps S201 to S203 .

[0071] in:

[0072] Step S201: In the retention detection mode, the power of other modules in the capsule endoscope except the counter, clock signal generator and register is turned off, and the radio frequency transmitting circuit is awakened intermittently to issue instructions; the instructions are pre-stored in the register.

[0073] Figure 3 shows the internal structure of a capsule endoscope. It includes an image sensor, a main control chip, a radio frequency chip (RF), a battery, and a power management unit (PMU). The PMU can be implemented using a power management unit (PMU). The main control chip is connected to the image sensor and is responsible for image capture and data processing. The RF chip, which includes a logic control module, radio frequency transmission circuitry, registers, counters, and a clock signal generator, is responsible for sending images or commands to a device outside the body of the endoscope, such as a data recorder. The data recorder processes the received data. Registers can include FIFO (First-In-First-Out Register).

[0074] After the capsule endoscope completes detection of a designated location in the digestive tract, it enters a retention detection mode. In this retention detection mode, the power management unit shuts down the power to all modules in the capsule endoscope except the counter, clock signal generator, and registers. The radio frequency transmission circuit is intermittently awakened to issue instructions stored in the registers. The specific steps for intermittently waking up the radio frequency transmission circuit to issue instructions are as follows: Each time the counter overflows, the radio frequency transmission circuit is awakened to issue an instruction. Specifically, after the counter overflows once, the radio frequency transmission circuit is awakened to issue an instruction. After the instruction is issued, the counter begins the next count. After the next count overflows, the radio frequency transmission circuit is awakened again to issue an instruction, and this process repeats.

[0075] In the retention detection mode, when the RF chip's counter counts according to the clock signal generated by the clock signal generator, all components of the RF chip except the counter and clock signal generator do not work and are in a dormant state. Therefore, the RF chip in the retention detection mode can be considered to be in a dormant counting state (also known as a deep sleep state). The RF chip operates in a narrow pulse mode and is powered only after the RF transmitter circuit is awakened. The rest of the time it is in a dormant counting state. In the dormant counting state, the supply current is less than 1.5uA, and the power consumption is low.

[0076] The clock signal generator divides the external low-speed passive crystal oscillator clock to obtain a clock signal below 1KHz; the counter is used to count according to the clock signal; the register is used to pre-store instructions, which can be called retention recognition instructions, and the instructions can be implemented through specific communication commands; the radio frequency transmission circuit is used to issue instructions. The amount of data in the instructions is small, and the transmission time of the radio frequency transmission circuit is short, which can further save power consumption.

[0077] In this step, the counter is used to intermittently wake up the RF transmitter circuit to issue instructions. Compared with the traditional method of continuously sending signals to the data recorder, there is no need to power other modules except the counter, clock signal generator and register. Power is only supplied when the RF transmitter circuit issues instructions, saving power consumption.

[0078] Step S202: During each wake-up process, a counter is triggered to count according to the clock signal generated by the clock signal generator. When the counter overflows, the radio frequency transmitting circuit is awakened to issue a command.

[0079] The process from the counter starting counting to the RF transmitter issuing a command is called a wake-up process. During each wake-up process, the logic control module triggers the counter to count according to the clock signal generated by the clock signal generator. When the counter overflows, the counter issues a trigger signal. Only after the trigger signal is issued does the RF transmitter circuit receive power, waking up the RF transmitter circuit in response to the trigger signal. The RF transmitter circuit enters the command transmission state in the retention detection mode. This command transmission state means that the RF transmitter circuit transmits the command pre-stored in the register to the external data recorder.

[0080] Step S203 : judging whether the capsule endoscope is retained in the body of the subject to be examined by endoscopy according to whether the data recorder receives the instruction.

[0081] The data recorder may include a radio frequency receiving module that can receive and process instructions. The data recorder may be within a set spatial range centered on the subject being examined by the endoscope. If the data recorder is not within this set spatial range, regardless of whether the capsule endoscope is expelled, instructions sent by the capsule endoscope's radio frequency transmitting circuit may not be received by the data recorder, making expulsion detection difficult. The data recorder can be specifically worn by the subject being examined by the endoscope, ensuring that whether the capsule endoscope is retained in the subject's body can be determined based on whether the data recorder receives instructions.

[0082] After the data recorder is worn on the subject undergoing endoscopic examination, if the data recorder does not receive any commands, it indicates that the distance between the data recorder and the capsule endoscope is too far, and the capsule endoscope has been expelled from the subject's body. If the data recorder receives any commands, it indicates that the distance between the data recorder and the capsule endoscope is too close, and the capsule endoscope has not been expelled from the subject's body. In this case, it can be determined that the capsule endoscope is retained in the subject's body. If it is determined that the capsule endoscope is retained in the subject's body, the RF transmitting circuit can continue to be intermittently awakened to issue commands.

[0083] In the above-mentioned method for detecting the expulsion of a capsule endoscope, the power supply of other modules in the capsule endoscope, except for the counter, clock signal generator, and register, is turned off, eliminating the need to power other modules, thereby reducing power consumption. Furthermore, the radio frequency transmitting circuit is intermittently awakened to issue instructions, and the radio frequency transmitting circuit is powered only after it is awakened, further reducing power consumption, thereby increasing the battery life of the capsule endoscope and improving the detection rate of retained capsule endoscopes. Furthermore, the use of this solution can help the subject undergoing endoscopic examination to promptly detect whether the capsule endoscope has been expelled from the body, eliminating the need for the subject to undergo X-ray irradiation at the hospital, thus avoiding radiation damage. This provides another health detection method for subjects undergoing endoscopic examinations who cannot pass radiation detection, allowing them to self-check whether the capsule endoscope is retained so that they can report the problem to the system immediately to obtain the best solution opportunity, thereby improving the convenience and safety of capsule endoscope detection.

[0084] In one or more embodiments, in step S201, in the retention detection mode, the power supply of other modules in the capsule endoscope except the counter, clock signal generator and register is turned off, and before the radio frequency transmitting circuit is intermittently awakened to issue instructions, the method provided by the present disclosure further includes: determining whether an endoscope examination completion instruction issued by the user is received; if so, entering the retention detection mode.

[0085] When the endoscope examination completion instruction is received from the user, it indicates that the user has determined through the external display device that the capsule endoscope has completed the digestive tract detection. At this time, the logic control module determines that the capsule endoscope can enter the retention detection mode; when the endoscope examination completion instruction is not received from the user, it indicates that the user has determined through the external display device that the capsule endoscope has not completed the digestive tract detection. At this time, the logic control module determines that the capsule endoscope is not suitable for entering the retention detection mode and needs to maintain the working state to detect the digestive tract.

[0086] In this embodiment, the logic control module determines whether the capsule endoscope can enter the retention detection mode based on whether an endoscopy completion instruction is received from the user. When the endoscopy completion instruction is received from the user, the logic control module determines that the capsule endoscope can enter the retention detection mode, thereby increasing the probability of determining that the capsule endoscope has completed the digestive tract examination.

[0087] In one or more embodiments, in step S201, in the retention detection mode, the power supply of other modules in the capsule endoscope except the counter, clock signal generator and register is turned off, and before the radio frequency transmission circuit is intermittently awakened to issue instructions, the method provided by the present disclosure further includes: obtaining a current image captured by the camera; inputting the current image into a pre-built model to obtain a detection result output by the model; when the detection result indicates that the endoscopic examination is completed, entering the retention detection mode.

[0088] The capsule endoscope's image sensor and main control chip can control the capsule endoscope's camera to capture images. The captured images are input into a pre-built model, which can be constructed using artificial intelligence (AI). The model outputs the test results. When the test results indicate that the endoscopic examination (i.e., digestive tract examination) is complete, the capsule endoscope enters retention detection mode. The process of inputting the captured images into the model to obtain the test results and then determining whether the capsule endoscope can enter retention detection mode based on the test results can be automated by artificial intelligence.

[0089] In this embodiment, the inspection result of whether the endoscopic examination is completed is obtained based on the collected image, and then whether the capsule endoscope can enter the retention detection mode is judged based on the inspection result. When the inspection result indicates that the endoscopic examination is completed, the capsule endoscope automatically enters the retention detection mode. There is no need to judge whether the digestive tract inspection is completed based on whether the user issues an endoscopic examination completion instruction. Artificial intelligence can automatically judge whether the digestive tract inspection is completed, thereby judging whether the capsule endoscope can enter the retention detection mode.

[0090] In one or more embodiments, in step S201, in the retention detection mode, the power supply of other modules in the capsule endoscope except the counter, clock signal generator and register is turned off, and before the radio frequency transmitting circuit is intermittently awakened to issue instructions, the method provided by the present disclosure further includes: determining whether the capsule endoscope has been activated for a preset time; if so, entering the retention detection mode.

[0091] The preset duration can be set based on actual conditions. After the subject of an endoscopic examination activates and swallows the capsule endoscope, it passes through the esophagus, stomach, duodenum, jejunum and ileum, colon, and rectum before being excreted. The entire examination typically takes 6 to 8 hours. The subject will excrete the capsule endoscope in feces 8 to 72 hours after swallowing it. Therefore, the preset duration can be set to 8 hours.

[0092] In this embodiment, when it is determined that the capsule endoscope has been activated for a preset time, the capsule endoscope has completed the gastrointestinal examination with a high probability. At this time, the logic control module determines that the capsule endoscope can enter the retention detection mode. There is no need to determine whether the gastrointestinal examination is completed based on whether the user has issued an endoscope examination completion instruction, nor is there any need for artificial intelligence to automatically determine whether the gastrointestinal examination is completed.

[0093] In one or more embodiments, the trigger counter in step S202 counts according to the clock signal generated by the clock signal generator, and the specific steps are as follows: the trigger counter performs cyclic counting according to the clock signal generated by the clock signal generator; the number of cyclic counting is used to determine whether the count of the counter overflows; each time the count is counted in the cyclic process, the trigger counter counts according to the clock signal generated by the clock signal generator, and when the count of the counter reaches a preset count value, the count value is cleared to perform the next count.

[0094] The preset counting value can be set according to actual conditions.

[0095] The logic control module triggers the counter to count according to the clock signal generated by the clock signal generator. The clock signal can be in minutes. When the count of the counter reaches the preset value, the count value is cleared and the next count starts. Each time the next count starts, the number of cycle counts increases once. The above counting process is repeated until the number of cycle counts reaches the cycle preset value, then it is determined that the counter has overflowed.

[0096] For example, when the counter reaches the preset value of 60, the count value is cleared and the next count is started. At this time, the number of loop counts is 1. When the counter reaches the preset value of 60 again, the count value is cleared and the next count is started. At this time, the number of loop counts is 2. The above counting process is repeated until the number of loop counts reaches the loop preset value 4, then it is determined that the counter has overflowed.

[0097] In this embodiment, the logic control module triggers the counter to perform cyclic counting according to the clock signal generated by the clock signal generator. The count value is small, which reduces the memory occupied by the count.

[0098] In one or more implementations, after waking up the RF transmitting circuit in step S202, the method provided by the present disclosure further includes: turning off the counter after waking up the RF transmitting circuit; and triggering the counter to enter a counting state again when an instruction is issued.

[0099] In this embodiment, when the counter wakes up the radio frequency transmitting circuit, the counter is turned off; when the radio frequency transmitting circuit issues an instruction, the logic control module triggers the counter to enter the counting state again, further reducing the power consumption of the capsule endoscope.

[0100] In one or more embodiments, step S203 determines whether the capsule endoscope is retained in the body of the subject undergoing endoscopic inspection based on whether the data recorder receives an instruction. The specific steps are as follows: when the data recorder receives an instruction, it is determined that the capsule endoscope is retained in the body of the subject undergoing endoscopic inspection; when the data recorder does not receive an instruction, it is determined that the capsule endoscope has been discharged from the body of the subject undergoing endoscopic inspection.

[0101] The data recorder includes a radio frequency receiving module, which can receive instructions sent by the radio frequency transmitting circuit.

[0102] If the data recorder does not receive the command, it indicates that the distance between the data recorder and the capsule endoscope is too far, and the capsule endoscope has been expelled from the endoscopy subject. If the data recorder receives the command, it indicates that the distance between the data recorder and the capsule endoscope is too close, and the capsule endoscope has not been expelled from the endoscopy subject. In this case, it can be determined that the capsule endoscope is retained in the endoscopy subject. If it is determined that the capsule endoscope is retained in the endoscopy subject, the RF transmission circuit can continue to be intermittently awakened to issue commands.

[0103] Furthermore, a threshold value of the number of instructions can be set according to actual conditions. When the number of times the data recorder continuously receives instructions is greater than the threshold value of the number of instructions, it can be further determined that the capsule endoscope is retained in the body of the endoscope inspection object, thereby improving the accuracy of determining that the capsule endoscope is retained in the body of the endoscope inspection object.

[0104] In this embodiment, whether the capsule endoscope remains in the body of the subject undergoing endoscopic examination is determined based on whether the data recorder receives the instruction.

[0105] In one or more embodiments, after determining whether the capsule endoscope is retained in the body of the object of endoscopic inspection based on whether the data recorder receives an instruction, the method provided by the present disclosure further includes: when it is determined that the capsule endoscope is retained in the body of the object of endoscopic inspection, waking up the image sensor and main control chip of the capsule endoscope to capture images; sending the images to the data recorder; and using the images to determine the cause of the retention of the capsule endoscope.

[0106] After determining that the capsule endoscope is retained in the body of the subject being examined, a user such as a doctor or the subject can send an external command (also known as an external control command). When the capsule endoscope receives the external command, it wakes up the capsule endoscope's image sensor and main control chip to capture images. The command control logic circuit inside the RF chip sends the images to the data recorder. The server can process the images received by the data recorder and draw relevant conclusions, so that the user can determine the cause of the capsule endoscope's retention based on the images.

[0107] In order to better understand the above method, an application example of a method for detecting the discharge of a capsule endoscope is described in detail below. The process steps of the application example are shown in FIG4 .

[0108] Step S401, start the capsule endoscope; step S402, the capsule endoscope enters the normal inspection mode and inspects the digestive tract of the endoscope inspection object; step S403, determine whether the digestive tract inspection is completed. If the capsule endoscope has not completed the digestive tract inspection, continue the digestive tract inspection; otherwise, enter step S404, enter the retention detection mode, turn off the power of other modules in the capsule endoscope except the counter, clock signal generator and register, and the radio frequency chip enters the sleep counting state. In the sleep counting state, the counter counts according to the clock signal generated by the clock signal generator; step S405, determine whether the count overflows; if the count overflows, enter step S406, the radio frequency transmission circuit enters the instruction transmission state under the retention detection mode, and transmits the instruction pre-stored in the register to the external data recorder; step S407, the logic control module determines whether the instruction sending is completed. If the instruction sending is completed, the radio frequency chip re-enters the sleep counting state, and the counter re-counts according to the clock signal generated by the clock signal generator.

[0109] In the above embodiment, the power supply of other modules in the capsule endoscope except the counter, clock signal generator and register is turned off, and there is no need to power other modules, thereby reducing power consumption, and the radio frequency transmitting circuit is intermittently awakened to issue instructions. The radio frequency transmitting circuit is powered only after it is awakened, further reducing power consumption, thereby increasing the battery life of the capsule endoscope and improving the detection rate of capsule endoscope retention.

[0110] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0111] Based on the same inventive concept, the presently disclosed embodiments further provide a capsule endoscope expulsion detection device for implementing the aforementioned capsule endoscope expulsion detection method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more of the following embodiments of the capsule endoscope expulsion detection device can be found in the aforementioned limitations of the capsule endoscope expulsion detection method and will not be further elaborated here.

[0112] In an exemplary embodiment, as shown in FIG5 , a capsule endoscope expulsion detection device is provided. The capsule endoscope includes a counter, a radio frequency transmission circuit, a clock signal generator, and a register. The device includes:

[0113] The instruction issuing module 501 is used to, in the retention detection mode, turn off the power of other modules in the capsule endoscope except the counter, the clock signal generator and the register, and intermittently wake up the radio frequency transmitting circuit to issue instructions; the instructions are pre-stored in the register;

[0114] The wake-up module 502 is configured to trigger the counter to count according to the clock signal generated by the clock signal generator during each wake-up process, and wake up the radio frequency transmitting circuit to issue an instruction when the count of the counter overflows;

[0115] The retention judgment module 503 is configured to judge whether the capsule endoscope is retained in the body of the subject to be examined by endoscopy according to whether the data recorder receives the instruction.

[0116] In one or more embodiments, the device further includes a mode determination module configured to determine whether an endoscopic examination completion instruction issued by a user is received; and if so, enter the retention detection mode.

[0117] In one or more embodiments, the device also includes a mode judgment module, which is used to: obtain the current image captured by the camera; input the current image into a pre-built model to obtain the detection result output by the model; when the detection result indicates that the endoscopic examination is completed, enter the retention detection mode.

[0118] In one or more embodiments, the device further includes a mode determination module configured to determine whether the capsule endoscope has been activated for a preset time period; if so, enter the retention detection mode.

[0119] In one or more embodiments, the wake-up module 502 is also used to: trigger the counter to perform cyclic counting according to the clock signal generated by the clock signal generator; the number of cyclic counting is used to determine whether the count of the counter overflows; each time the count is made during the cyclic process, the counter is triggered to count according to the clock signal generated by the clock signal generator, and when the count of the counter reaches a preset value, the count value is cleared to zero for the next count.

[0120] In one or more embodiments, the device further includes an on / off control module configured to: turn off the counter after the radio frequency transmitting circuit is awakened; and trigger the counter to enter a counting state again after the instruction is issued.

[0121] In one or more embodiments, the retention judgment module 503 is further used to: when the data recorder receives the instruction, determine that the capsule endoscope is retained in the body of the endoscopy inspection subject; when the data recorder does not receive the instruction, determine that the capsule endoscope has been discharged from the body of the endoscopy inspection subject.

[0122] In one or more embodiments, the device also includes an image sending module, which is used to: when it is determined that the capsule endoscope is retained in the body of the object being examined by endoscopy, wake up the image sensor and main control chip of the capsule endoscope to collect images; send the image to the data recorder; and the image is used to determine the reason for the retention of the capsule endoscope.

[0123] Each module in the above-mentioned expulsion detection device of the capsule endoscope can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor of the capsule endoscope in hardware form, or can be stored in the memory of the capsule endoscope in software form, so that the processor can call and execute the corresponding operations of each module.

[0124] In one embodiment, a capsule endoscope is further provided, which includes a counter, a radio frequency transmission circuit, a clock signal generator and a register; the register is used to store instructions; the clock signal generator is used to generate a clock signal; the counter is used to count; in a retention detection mode, the power of other modules in the capsule endoscope except the counter, the clock signal generator and the register is turned off, and the radio frequency transmission circuit is intermittently awakened to issue the instructions; wherein, when the count of the counter overflows, the radio frequency transmission circuit is awakened.

[0125] The capsule endoscope of this embodiment can also perform the steps of any method embodiment, which will not be described in detail here.

[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0127] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0129] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in the present disclosure may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases.

[0130] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0131] The above-described embodiments merely represent several implementation methods of the present disclosure. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present disclosure. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present disclosure, all of which fall within the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure shall be determined by the appended claims. Industrial Applicability

[0132] The above-mentioned capsule endoscope expulsion detection method, device, capsule endoscope, storage medium and computer program product, in the retention detection mode, shuts down the power of other modules in the capsule endoscope except the counter, clock signal generator and register, and intermittently wakes up the radio frequency transmission circuit to issue instructions; the instructions are pre-stored in the register; during each wake-up process, the trigger counter counts according to the clock signal generated by the clock signal generator, and when the counter overflows, the radio frequency transmission circuit is woken up to issue instructions; based on whether the data recorder receives the instructions, it is determined whether the capsule endoscope is retained in the body of the endoscope inspection object. This solution shuts down the power of other modules in the capsule endoscope except the counter, clock signal generator and register, eliminating the need to power other modules, thereby reducing power consumption, and intermittently wakes up the radio frequency transmission circuit to issue instructions. The radio frequency transmission circuit is powered only after it is woken up, further reducing power consumption, thereby increasing the battery life of the capsule endoscope and improving the detection rate of capsule endoscope retention.

[0133] In addition, the capsule endoscope expulsion detection method, device and capsule endoscope provided by the present disclosure are reproducible and applicable to a variety of technical fields. For example, the capsule endoscope expulsion detection method, device and capsule endoscope provided by the present disclosure can be applicable to the field of capsule endoscope detection technology.

Claims

1. A method for detecting the discharge of a capsule endoscope, characterized in that: The capsule endoscope includes a counter, a radio frequency transmission circuit, a clock signal generator and a register; the method includes: In the retention detection mode, the power of other modules in the capsule endoscope except the counter, the clock signal generator and the register is turned off, and the radio frequency transmitting circuit is awakened intermittently to issue instructions; the instructions are pre-stored in the register; During each wake-up process, the counter is triggered to count according to the clock signal generated by the clock signal generator, and when the count of the counter overflows, the radio frequency transmitting circuit is awakened to issue an instruction; Whether the capsule endoscope is retained in the body of the subject to be examined by endoscopy is determined according to whether the data recorder receives the instruction.

2. The method according to claim 1, characterized in that In the retention detection mode, the power supply of other modules in the capsule endoscope except the counter, the clock signal generator and the register is turned off, and before the radio frequency transmitting circuit is awakened intermittently to issue an instruction, the method further includes: determining whether an endoscopy completion instruction issued by a user is received; If so, the retention detection mode is entered.

3. The method according to claim 1, characterized in that: In the retention detection mode, the power supply of other modules in the capsule endoscope except the counter, the clock signal generator and the register is turned off, and before the radio frequency transmitting circuit is awakened intermittently to issue an instruction, the method further includes: Get the current image captured by the camera; Inputting the current image into a pre-built model to obtain a detection result output by the model; When the detection result indicates that the endoscopic examination is completed, the retention detection mode is entered.

4. The method according to claim 1, characterized in that In the retention detection mode, the power supply of other modules in the capsule endoscope except the counter, the clock signal generator and the register is turned off, and before the radio frequency transmitting circuit is awakened intermittently to issue an instruction, the method further includes: Determining whether the capsule endoscope has been activated for a preset time; If so, the retention detection mode is entered.

5. The method according to claim 1, characterized in that The triggering the counter to count according to the clock signal generated by the clock signal generator comprises: Triggering the counter to perform cyclic counting according to the clock signal generated by the clock signal generator; the number of cyclic counting is used to determine whether the count of the counter overflows; During each count in the cycle, the counter is triggered to count according to the clock signal generated by the clock signal generator. When the count of the counter reaches a preset value, the count value is cleared to perform the next count.

6. The method according to claim 1, characterized in that After waking up the radio frequency transmitting circuit, the method further includes: After waking up the radio frequency transmitting circuit, closing the counter; When the instruction is issued, the counter is triggered to enter the counting state again.

7. The method according to claim 1, characterized in that The step of judging whether the capsule endoscope is retained in the body of the subject to be examined by endoscopy according to whether the data recorder receives the instruction comprises: When the data recorder receives the instruction, it determines that the capsule endoscope is retained in the body of the subject for endoscopy examination; When the data recorder does not receive the instruction, it is determined that the capsule endoscope has been expelled from the body of the subject under endoscopic examination.

8. The method according to claim 1, characterized in that After determining whether the capsule endoscope is retained in the body of the endoscope inspection object according to whether the data recorder receives the instruction, the method further includes: When it is determined that the capsule endoscope is retained in the body of the subject to be examined by endoscopy, waking up the image sensor and the main control chip of the capsule endoscope to collect images; The image is sent to the data recorder; the image is used to determine the cause of the retention of the capsule endoscope.

9. A capsule endoscope discharge detection device, characterized in that: The capsule endoscope includes a counter, a radio frequency transmitting circuit, a clock signal generator and a register; the device includes: An instruction issuing module is used to, in a retention detection mode, turn off the power of other modules in the capsule endoscope except the counter, the clock signal generator and the register, and intermittently wake up the radio frequency transmitting circuit to issue instructions; the instructions are pre-stored in the register; A wake-up module, used for triggering the counter to count according to the clock signal generated by the clock signal generator during each wake-up process, and waking up the radio frequency transmitting circuit to issue an instruction when the count of the counter overflows; The retention judgment module is used to judge whether the capsule endoscope is retained according to whether the data recorder receives the instruction. Remaining in the body of the subject being examined by endoscopy.

10. The capsule endoscope discharge detection device according to claim 9, characterized in that: The device also includes a mode determination module, which is used to determine whether an endoscopic examination completion instruction issued by a user is received; if so, enter the retention detection mode.

11. The capsule endoscope discharge detection device according to claim 9, characterized in that: The device also includes a mode judgment module, which is used to: obtain a current image captured by the camera; input the current image into a pre-built model to obtain a detection result output by the model; when the detection result indicates that the endoscopic examination is completed, enter the retention detection mode.

12. The capsule endoscope discharge detection device according to claim 9, characterized in that: The device also includes a mode determination module, which is used to determine whether the capsule endoscope has been activated for a preset time; if so, enter the retention detection mode.

13. The capsule endoscope discharge detection device according to claim 9, characterized in that: The wake-up module is also used to: trigger the counter to perform cyclic counting according to the clock signal generated by the clock signal generator; the number of cyclic counting is used to determine whether the count of the counter overflows; each time the count is counted in the cyclic process, the counter is triggered to count according to the clock signal generated by the clock signal generator, and when the count of the counter reaches a preset value, the count value is cleared to perform the next count.

14. The capsule endoscope discharge detection device according to claim 9, characterized in that: The device also includes an on-off control module, which is used to: turn off the counter after the radio frequency transmitting circuit is awakened; and trigger the counter to enter the counting state again after the instruction is issued.

15. The capsule endoscope discharge detection device according to claim 9, characterized in that: The retention judgment module is also used to: when the data recorder receives the instruction, determine that the capsule endoscope is retained in the body of the endoscope inspection object; when the data recorder does not receive the instruction, determine that the capsule endoscope has been discharged from the endoscope inspection object.

16. The capsule endoscope discharge detection device according to claim 9, characterized in that: The device also includes an image sending module, which is used to: when it is determined that the capsule endoscope is retained in the body of the endoscope inspection object, wake up the image sensor and the main control chip of the capsule endoscope to collect images; send the image to the data recorder; the image is used to determine the reason for the retention of the capsule endoscope.

17. A capsule endoscope, characterized in that: The capsule endoscope includes a counter, a radio frequency transmitting circuit, a clock signal generator and a register; The register is used to store instructions; The clock signal generator is used to generate a clock signal; The counter is used for counting; In the retention detection mode, the power supplies of other modules in the capsule endoscope except the counter, the clock signal generator and the register are turned off, and the radio frequency transmission circuit is awakened intermittently to issue the instruction; When the count of the counter overflows, the radio frequency transmitting circuit is awakened.

18. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 8 are implemented.

19. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Control circuit of capsule endoscope

    CN102973236A

  • SoC chip deep sleep wake-up device

    CN110442544A

  • Automatic monitoring method and system for gastrointestinal capsule endoscopy retention

    CN111986196A

  • Low-power-consumption system based on clock-free wake-up

    CN115981449A

  • Capsule endoscope discharge detection method and device, and capsule endoscope

    CN117503016A