Capsule endoscope detection method, device, equipment, medium and program product
The capsule endoscope emits and processes sound wave signals to detect whether it is retained in the body, solving the problem of inaccurate or high cost of existing detection methods, and achieving low-cost and high-accuracy detection effects.
Patent Information
- Application Number
- CN202411887687.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-20
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2044-12-20
AI Technical Summary
The existing detection methods for capsule endoscopy retention in the body are not accurate enough or costly.
By controlling the capsule endoscope to enter the sound wave transmission state, the sound wave signal is emitted and filtered to determine whether the signal amplitude exceeds the amplitude threshold, thereby determining whether the capsule endoscope is retained in the body and outputting detection prompt information.
It realizes low-cost and more accurate detection of capsule endoscopy retention in the body, reducing environmental interference and detection costs, and improving detection accuracy.
Smart Images

Figure CN119326361B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of capsule endoscope detection technology, and in particular to a capsule endoscope detection method, device, equipment, medium and program product. Background Art
[0002] Capsule endoscope has the advantages of small size, no need for intubation, no pain, no cross infection and easy operation, and has been widely used in internal observation of the human digestive tract.
[0003] Usually, after the capsule endoscope enters the body for inspection, it will be expelled from the body with the peristalsis of the human digestive tract. However, it may occasionally remain in the body. In order to ensure the safety of the person being inspected, it is necessary to detect whether the capsule endoscope has been expelled from the body. The existing detection method generally builds various sensors into the capsule endoscope and wirelessly transmits the detected sensor signals to the outside of the body to detect whether the capsule has been expelled from the body. Alternatively, it can be confirmed whether the capsule endoscope is retained in the body by metal detectors or computed tomography (CT).
[0004] However, the human body has a large attenuation effect on wireless signals, and wireless signals are easily interfered with, which affects the accuracy of detection; the use of metal detectors or CT detection methods requires professional equipment, which increases the cost of detection. Summary of the invention
[0005] The present invention provides a capsule endoscope detection method, device, equipment, medium and program product, which are used to solve the defects of existing capsule endoscope retention in the body detection scheme that is not accurate enough or has high cost, and realize low-cost and relatively accurate capsule endoscope retention in the body detection.
[0006] The present invention provides a capsule endoscope detection method, comprising the following steps.
[0007] When the capsule endoscope enters a waiting-for-detection mode, controlling the capsule endoscope to enter a sound wave sending state;
[0008] In the sound wave sending state, filtering the sound wave emitted by the capsule endoscope to obtain a signal amplitude;
[0009] When it is detected that the capsule endoscope is retained in the body based on the signal amplitude, detection prompt information of the capsule endoscope is output based on the retained position of the capsule endoscope.
[0010] According to a capsule endoscope detection method provided by the present invention, when the capsule endoscope enters a waiting-for-detection mode, controlling the capsule endoscope to enter a sound wave sending state comprises:
[0011] When the capsule endoscope completes the shooting mode, controlling the capsule endoscope to enter the waiting mode;
[0012] In the detection mode, controlling the capsule endoscope to enter a dormant state with reduced power consumption, and starting a real-time clock of the capsule endoscope;
[0013] When the real-time clock arrives, the capsule endoscope is awakened and controlled to enter a sound wave sending state.
[0014] According to a capsule endoscope detection method provided by the present invention, in the state of sending sound waves, filtering the noise wave emitted by the capsule endoscope to obtain the signal amplitude includes:
[0015] In the sound wave sending state, controlling the capsule endoscope to send a sound signal of a target attribute; the target attribute includes a target frequency and a target sound pressure;
[0016] The sound signal of the target attribute after noise filtering is filtered to obtain the signal amplitude.
[0017] According to a capsule endoscope detection method provided by the present invention, the capsule endoscope detection method further includes:
[0018] Determine the amplitude threshold based on the characteristics of the external interference sound;
[0019] When the signal amplitude is greater than the amplitude threshold, it is determined that the capsule endoscope is retained in the body.
[0020] According to a capsule endoscope detection method provided by the present invention, the outputting detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope comprises:
[0021] determining a detection distance between a detection point of the capsule endoscope and a retention position of the capsule endoscope;
[0022] Determine an output cycle of the detection prompt; the output cycle includes an output time and an interval time;
[0023] Determine that the detection distance is proportional to the signal amplitude, and the detection distance is inversely proportional to the interval time;
[0024] Detection prompt information of the capsule endoscope is output based on the detection distance.
[0025] According to a capsule endoscope detection method provided by the present invention, the capsule endoscope detection method further includes:
[0026] When it is detected that the capsule endoscope is retained in the body and is in a low-battery state, controlling the capsule endoscope to emit a sound signal of a first attribute; the first attribute includes a first frequency and a first sound pressure; and the first attribute is different from the target attribute;
[0027] Determining an output interval of a detection prompt based on the sound signal of the first attribute; the output interval is different from the interval time;
[0028] The detection prompt information of the capsule endoscope is output based on the output interval.
[0029] The present invention also provides a capsule endoscope detection device, comprising the following modules:
[0030] The sound wave sending module is used to control the capsule endoscope to enter the sound wave sending state when the capsule endoscope enters the waiting detection mode;
[0031] A signal amplitude determination module, used for filtering the sound wave emitted by the capsule endoscope to obtain a signal amplitude when the sound wave is being sent;
[0032] The capsule endoscope detection prompt module is used to output detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope when the capsule endoscope is detected to be retained in the body based on the signal amplitude.
[0033] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the capsule endoscope detection method described above is implemented.
[0034] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the capsule endoscope detection method as described in any one of the above is implemented.
[0035] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the capsule endoscope detection method described above is implemented.
[0036] The capsule endoscope detection method, device, equipment, medium and program product provided by the present invention, when the capsule endoscope completes the in vivo inspection and enters the retention waiting for detection mode, controls the capsule endoscope to enter the sound wave sending state from the sleep state. In the sound wave sending state, the capsule endoscope will emit sound waves, and the sound waves emitted by the capsule endoscope are filtered and then filtered to obtain the amplitude of the sound wave signal. It is judged whether the capsule endoscope is retained in the body by the signal amplitude. When the capsule endoscope is detected to be retained in the body based on the signal amplitude, the retention position of the capsule endoscope is detected, and the detection prompt information corresponding to the capsule endoscope is output. The present application detects the retention of the capsule endoscope by detecting the sound waves emitted by the capsule endoscope, which reduces environmental interference and detection costs and improves detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 This is one of the flow charts of the capsule endoscope detection method provided by the present invention.
[0039] Figure 2 This is the second flow chart of the capsule endoscope detection method provided by the present invention.
[0040] Figure 3 It is a schematic structural diagram of the capsule endoscope detection device provided by the present invention.
[0041] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0043] Combine the following Figure 1-Figure 4 The capsule endoscope detection method, device, equipment, medium and program product of the present invention are described.
[0044] Figure 1 FIG. 1 is one of the flow charts of the capsule endoscopy detection method provided by the present invention, such as Figure 1 As shown, the method includes the following:
[0045] Step 100: When the capsule endoscope enters a waiting-for-detection mode, controlling the capsule endoscope to enter a sound wave sending state;
[0046] According to the description of the above background technology, after the capsule endoscope completes the inspection of the human body cavity, it will be expelled from the body under normal circumstances, but there are cases where it is not expelled. The capsule endoscope detection method provided in this application solves the problem of detecting whether the capsule endoscope is retained in the human body.
[0047] The waiting-for-detection mode in this embodiment refers to a mode entered when the capsule endoscope completes the intracavity inspection but has not been expelled from the body. When it is determined that the capsule endoscope has not been expelled and is waiting for detection, the capsule endoscope will reduce power consumption in the waiting-for-detection mode to increase the operating time of the capsule endoscope and provide more time for detection.
[0048] After reducing the power consumption, the capsule endoscope will emit sound waves of certain properties, that is, the sound wave sending state in this embodiment. Specifically, the capsule endoscope can reduce power consumption and emit sound waves, and the implementation method can be controlled by external connection, or a pre-compiled program can be burned into the capsule endoscope, so that the capsule endoscope can autonomously complete the above functions in a preset manner.
[0049] Step 200: In the sound wave sending state, filtering the noise wave emitted by the capsule endoscope to obtain a signal amplitude;
[0050] When sending sound waves, the capsule endoscope will emit sound signals with certain properties. In order to reduce or eliminate possible interference (sound) signals, it is necessary to filter the sound signals emitted by the capsule endoscope, for example, using finite impulse response (FIR) or infinite impulse response (IIR) filtering. After noise filtering, the amplitude of the sound signal is median filtered or mean filtered to obtain a relatively stable signal amplitude.
[0051] Step 300: When it is detected that the capsule endoscope is retained in the body based on the signal amplitude, output detection prompt information of the capsule endoscope based on the retained position of the capsule endoscope.
[0052] Specifically, the signal amplitude obtained above is used to determine whether the capsule endoscope is retained in the body. When the capsule endoscope is detected to be retained in the body based on the signal amplitude, the retained position of the capsule endoscope in the body is roughly located by detecting the change in the position, and then based on the distance relationship between the detection position and the retained position, different detection prompt information is output, which can be used to roughly locate the retained position of the capsule endoscope in the body. When the capsule endoscope is in low power, it can also emit sound signals of different attributes, and then output different detection prompt information. By detecting the difference in prompt information, the user can determine the status of the capsule endoscope, thereby improving the accuracy of detection.
[0053] In this embodiment, when the capsule endoscope completes the in vivo inspection and enters the retention waiting for detection mode, the capsule endoscope is controlled to enter the sound wave sending state from the sleep state. In the sound wave sending state, the capsule endoscope will emit sound waves, and the sound waves emitted by the capsule endoscope are filtered and then filtered to obtain the amplitude of the sound wave signal. The signal amplitude is used to determine whether the capsule endoscope is retained in the body. When the capsule endoscope is detected to be retained in the body based on the signal amplitude, the retention position of the capsule endoscope is detected, and the detection prompt information corresponding to the capsule endoscope is output. The present application detects the retention of the capsule endoscope by detecting the sound waves emitted by the capsule endoscope, thereby reducing environmental interference and detection costs and improving detection accuracy.
[0054] In one embodiment, the capsule endoscopy detection method provided in the embodiment of the present application may further include:
[0055] Step 110: When the capsule endoscope completes the shooting mode, control the capsule endoscope to enter the waiting mode;
[0056] Step 120: In the detection mode, controlling the capsule endoscope to enter a dormant state with reduced power consumption, and starting a real-time clock of the capsule endoscope;
[0057] Step 130: When the real-time clock arrives, wake up the capsule endoscope and control the capsule endoscope to enter a sound wave sending state.
[0058] Specifically, unlike the existing capsule endoscope, the capsule endoscope in the present application has a built-in sound-generating component (for example, a buzzer or a sound-generating vibrator), and the frequency of the sound waves emitted by the capsule endoscope can be a frequency that can be heard by the human ear (20 Hz to 20,000 Hz), and most human voice frequencies are between 50 Hz and 1000 Hz. The highest resonant frequency of the sensor (for example, a voice acceleration sensor) provided in the present application for detecting the sound waves emitted by the capsule endoscope is approximately 2000 Hz to 3000 Hz. Since the lower the frequency of the sound wave, the smaller the attenuation, the present application preferably uses a frequency range of 50 Hz to 1000 Hz as the sound frequency of the capsule endoscope. This frequency range can be received by the human ear and can also be recognized by the voice acceleration sensor. A fixed frequency point F is selected within this frequency range as the frequency of the sound waves emitted by the capsule endoscope. The advantage of using a voice acceleration sensor in the capsule endoscope detection method provided in the present application is that the efficiency of sound transmission in the body is higher than that of radio signals, and it is basically not subject to other interference. Even when multiple capsule endoscopes are performing inspections at the same time, they will not interfere with each other and cause misjudgment.
[0059] After the capsule endoscope completes the human digestive tract examination, it enters the waiting mode from the shooting mode. In the waiting mode, the capsule endoscope will enter a dormant state to minimize power consumption. At the same time, the real-time clock (RTC) timing is started inside the capsule endoscope. After the timing time is reached, the capsule endoscope automatically wakes up. After waking up, the capsule endoscope will emit a sound wave of F frequency. The sound pressure of the emitted sound wave can be the sound pressure of normal speaking (40 decibels to 60 decibels). The human ear can directly receive this sound wave to determine whether the capsule endoscope is retained in the body. However, the greater the sound pressure, the higher the power consumption. In order to extend the standby time of the capsule endoscope as much as possible, so as to extend the detection time, the present application preferably uses a sound pressure of less than 10 decibels as the sound pressure of the emitted sound wave. At the same time, in various noisy environments, in order to detect the sound waves emitted by the capsule endoscope, the present application preferably receives the sound waves through a voice acceleration sensor.
[0060] This embodiment sets a plurality of operation modes of the capsule endoscope, thereby ensuring the operation time of the capsule endoscope and enabling the capsule endoscope to smoothly enter the sound wave sending state to start the capsule endoscope retention detection.
[0061] In one embodiment, the capsule endoscopy detection method provided in the embodiment of the present application may further include:
[0062] Step 210: In the sound wave sending state, control the capsule endoscope to send a sound signal of a target attribute; the target attribute includes a target frequency and a target sound pressure;
[0063] Step 220: filter the sound signal of the target attribute after noise filtering to obtain a signal amplitude.
[0064] Specifically, according to the above embodiment, the target frequency in this embodiment is the above frequency F, and the target sound pressure is the above sound pressure within 10 decibels. After the capsule endoscope emits a sound signal with a frequency of F and a sound pressure within 10 decibels, the sound signal of the target attribute is first filtered to remove the noise. After filtering the noise, the amplitude of the sound signal is filtered (for example, median filtering or mean filtering) to obtain a relatively stable signal amplitude A.
[0065] In this embodiment, the sound signal of the target attribute emitted by the capsule endoscope is subjected to noise filtration and filtering to obtain the amplitude of the sound signal, which is the basis for judging whether the capsule endoscope is retained.
[0066] In one embodiment, the capsule endoscopy detection method provided in the embodiment of the present application may further include:
[0067] Step 400: Determine an amplitude threshold based on the characteristics of the external interference sound;
[0068] Step 500: When the signal amplitude is greater than the amplitude threshold, determine that the capsule endoscope is retained in the body.
[0069] Specifically, after obtaining the signal amplitude of the sound signal, in order to eliminate the possible misjudgment caused by unexpected external sound interference of the same frequency, the present application pre-sets a signal amplitude threshold A2. If the received signal amplitude A is greater than A2, it is determined that the sound wave received by the voice acceleration sensor comes from the capsule endoscope in the human body. Therefore, it can be determined that the capsule endoscope is retained in the body.
[0070] In this embodiment, an amplitude threshold for eliminating external interference is preset and compared with the amplitude of the target signal. According to the comparison result, it is possible to accurately detect whether the capsule endoscope is retained in the body.
[0071] Figure 2 FIG. 2 is a flow chart of the capsule endoscope detection method provided by the present invention. Figure 2 As shown, the method may also include:
[0072] Step 310: determining a detection distance between a detection point of the capsule endoscope and a retention position of the capsule endoscope;
[0073] Step 320, determining an output cycle of the detection prompt; the output cycle includes an output time and an interval time;
[0074] Step 330: Determine that the detection distance is proportional to the signal amplitude, and the detection distance is inversely proportional to the interval time;
[0075] Step 340: output detection prompt information of the capsule endoscope based on the detection distance.
[0076] Specifically, when the capsule endoscope enters the detection mode, the recorder with the built-in voice acceleration sensor can be attached to the abdomen and chest of the human body. When the voice acceleration sensor collects a sound signal, and the amplitude of the sound signal exceeds the amplitude threshold value A2, the data recorder can notify through the preset buzzer, and the buzzer will output a periodic and intermittent sound (i.e., the detection prompt information in this embodiment), and the time interval I between the two sounds before and after is related to the sound wave amplitude A collected by the voice acceleration sensor. A relationship mapping table is established between the amplitude A collected by the voice acceleration sensor and the interval I driven by the buzzer. When the data recorder is closer to the capsule endoscope, the larger the signal amplitude A collected by the voice acceleration sensor, the smaller the time interval I of driving the buzzer, and the more urgent the prompt sound emitted by the buzzer, the position where the capsule endoscope is retained in the body can be roughly located according to the urgency of the prompt sound.
[0077] This embodiment outputs prompt sounds of different urgency based on the relationship between the detection distance and the detection prompt information of the voice acceleration sensor, and roughly locates the position of the capsule endoscope retained in the body while detecting the retention of the capsule endoscope in the body.
[0078] In one embodiment, the capsule endoscopy detection method provided in the embodiment of the present application may further include:
[0079] Step 10: When it is detected that the capsule endoscope is retained in the body and is in a low-battery state, control the capsule endoscope to emit a sound signal with a first attribute; the first attribute includes a first frequency and a first sound pressure; and the first attribute is different from the target attribute;
[0080] Step 20: determining an output interval of a detection prompt based on the sound signal of the first attribute; the output interval is different from the interval time;
[0081] Step 30: output detection prompt information of the capsule endoscope based on the output interval.
[0082] Specifically, in the waiting mode, if the power of the capsule endoscope is about to be consumed and its remaining working time is expected to be within T, the capsule endoscope will emit a sound wave with a frequency of F2. It can be understood that in order to reduce power consumption, the sound pressure can be reduced compared to the non-low power situation, that is, the first attribute in this embodiment includes the adjusted first frequency and first sound pressure. When the recorder with a built-in voice acceleration sensor receives the sound wave of the frequency F2, it will continue to emit a buzzing sound. At this time, the sound interval is I2, and the value of I2 is not within the range of the above I. In order to distinguish the interval of the sound during normal detection, the purpose is to remind the capsule endoscope that the energy is about to be exhausted, and it may not be possible to continue the detection of the capsule endoscope remaining in the body in the future, which can be used for pre-warning.
[0083] If the sleep period of the capsule endoscope is P1, after the recorder starts detection, if the recorder does not detect the sound wave signal of the target attribute within time P2, the buzzer will not sound and the indicator light will light up to remind the capsule endoscope that it has been expelled from the body, where the value of P2 can be greater than or equal to 10 times P1, that is, P2≥10P1.
[0084] This embodiment provides users with detection prompts in multiple scenarios by setting sound signals emitted by the capsule endoscope with different attributes in the low-battery state, which is different from the detection prompt sound in the non-low-battery state, and setting different detection prompt sounds.
[0085] The capsule endoscope detection device provided by the present invention is described below. The capsule endoscope detection device described below and the capsule endoscope detection method described above can be referred to each other.
[0086] Please refer to Figure 3 The present invention also provides a capsule endoscope detection device, comprising:
[0087] The sound wave sending module 301 is used to control the capsule endoscope to enter the sound wave sending state when the capsule endoscope enters the waiting detection mode;
[0088] The signal amplitude determination module 302 is used to filter the noise wave emitted by the capsule endoscope to obtain the signal amplitude in the sound wave sending state;
[0089] The capsule endoscope detection prompt module 303 is used to output detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope when it is detected that the capsule endoscope is retained in the body based on the signal amplitude.
[0090] Optionally, the sound wave sending module includes:
[0091] a waiting-for-detection mode operation unit, configured to control the capsule endoscope to enter a waiting-for-detection mode when the capsule endoscope completes a shooting mode;
[0092] a real-time clock starting unit, used for controlling the capsule endoscope to enter a dormant state with reduced power consumption in the to-be-detected mode, and starting the real-time clock of the capsule endoscope;
[0093] The sound wave sending state operation unit is used to wake up the capsule endoscope when the real-time clock arrives, and control the capsule endoscope to enter the sound wave sending state.
[0094] Optionally, the signal amplitude determination module includes:
[0095] A sound signal generating unit, used for controlling the capsule endoscope to emit a sound signal of a target attribute in a sound wave sending state; the target attribute includes a target frequency and a target sound pressure;
[0096] The signal amplitude determination unit is used to filter the sound signal of the target attribute after noise filtering to obtain the signal amplitude.
[0097] Optionally, the capsule endoscope detection device further includes:
[0098] An amplitude threshold determination module, used to determine an amplitude threshold based on the characteristics of the external interference sound;
[0099] The capsule endoscope retention determination module is used to determine that the capsule endoscope is retained in the body when the signal amplitude is greater than the amplitude threshold.
[0100] Optionally, the capsule endoscope detection prompt module includes:
[0101] a detection distance determining unit, configured to determine a detection distance between a detection point of the capsule endoscope and a retention position of the capsule endoscope;
[0102] An output cycle determination unit, used to determine the output cycle of the detection prompt; the output cycle includes an output time and an interval time;
[0103] an association relationship determination unit, configured to determine that the detection distance is proportional to the signal amplitude, and the detection distance is inversely proportional to the interval time;
[0104] A detection prompt information output unit is used to output detection prompt information of the capsule endoscope based on the detection distance.
[0105] Optionally, the capsule endoscope detection device further includes:
[0106] a sound signal generating module, configured to control the capsule endoscope to emit a sound signal of a first attribute when it is detected that the capsule endoscope is retained in the body and is in a low-battery state; the first attribute includes a first frequency and a first sound pressure; and the first attribute is different from the target attribute;
[0107] An output interval determination module, used to determine an output interval of a detection prompt based on the sound signal of the first attribute; the output interval is different from the interval time;
[0108] A detection prompt information output module is used to output the detection prompt information of the capsule endoscope based on the output interval.
[0109] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the capsule endoscope detection method, which includes: when the capsule endoscope enters the detection mode, controlling the capsule endoscope to enter the sound wave sending state; in the sound wave sending state, filtering the sound wave emitted by the capsule endoscope to obtain the signal amplitude; when the capsule endoscope is detected to be retained in the body based on the signal amplitude, outputting the detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope.
[0110] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0111] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the capsule endoscope detection method provided by the above-mentioned methods, which includes: when the capsule endoscope enters a detection mode, controlling the capsule endoscope to enter a sound wave sending state; in the sound wave sending state, filtering the sound wave emitted by the capsule endoscope to obtain a signal amplitude; when it is detected that the capsule endoscope is retained in the body based on the signal amplitude, outputting detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope.
[0112] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the capsule endoscope detection method provided by the above-mentioned methods, the method comprising: when the capsule endoscope enters a detection mode, controlling the capsule endoscope to enter a sound wave sending state; in the sound wave sending state, filtering the sound wave emitted by the capsule endoscope to obtain a signal amplitude; when it is detected that the capsule endoscope is retained in the body based on the signal amplitude, outputting detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope.
[0113] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0114] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0115] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A capsule endoscope detection method, characterized in that: include: When the capsule endoscope enters a waiting-for-detection mode, controlling the capsule endoscope to enter a sound wave sending state; In the sound wave sending state, filtering the sound wave emitted by the capsule endoscope to obtain a signal amplitude; Determine the amplitude threshold based on the characteristics of the external interference sound; When the signal amplitude is greater than the amplitude threshold, determining that the capsule endoscope is retained in the body; When it is detected that the capsule endoscope is retained in the body based on the signal amplitude, outputting detection prompt information of the capsule endoscope based on the retained position of the capsule endoscope; In the sound wave sending state, filtering the noise wave emitted by the capsule endoscope to obtain a signal amplitude includes: In the sound wave sending state, controlling the capsule endoscope to send a sound signal of a target attribute; the target attribute includes a target frequency and a target sound pressure; The sound signal of the target attribute after noise filtering is filtered to obtain the signal amplitude.
2. The capsule endoscope detection method according to claim 1, characterized in that: When the capsule endoscope enters the waiting-for-detection mode, controlling the capsule endoscope to enter the sound wave sending state comprises: When the capsule endoscope completes the shooting mode, controlling the capsule endoscope to enter the waiting mode; In the detection mode, controlling the capsule endoscope to enter a dormant state with reduced power consumption, and starting a real-time clock of the capsule endoscope; When the real-time clock arrives, the capsule endoscope is awakened and controlled to enter a sound wave sending state.
3. The capsule endoscope detection method according to claim 1, characterized in that: The outputting detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope comprises: determining a detection distance between a detection point of the capsule endoscope and a retention position of the capsule endoscope; Determine an output cycle of the detection prompt; the output cycle includes an output time and an interval time; Determine that the detection distance is proportional to the signal amplitude, and the detection distance is inversely proportional to the interval time; Detection prompt information of the capsule endoscope is output based on the detection distance.
4. The capsule endoscope detection method according to claim 3, characterized in that: The capsule endoscope detection method further comprises: When it is detected that the capsule endoscope is retained in the body and is in a low-battery state, controlling the capsule endoscope to emit a sound signal of a first attribute; the first attribute includes a first frequency and a first sound pressure; and the first attribute is different from the target attribute; Determining an output interval of a detection prompt based on the sound signal of the first attribute; the output interval is different from the interval time; The detection prompt information of the capsule endoscope is output based on the output interval.
5. A capsule endoscope detection device, characterized in that: include: The sound wave sending module is used to control the capsule endoscope to enter the sound wave sending state when the capsule endoscope enters the waiting detection mode; A signal amplitude determination module, used for filtering the sound wave emitted by the capsule endoscope to obtain a signal amplitude when the sound wave is being sent; An amplitude threshold determination module, used to determine an amplitude threshold based on the characteristics of the external interference sound; a capsule endoscope retention determination module, configured to determine that the capsule endoscope is retained in the body when the signal amplitude is greater than the amplitude threshold; a capsule endoscope detection prompt module, configured to output detection prompt information of the capsule endoscope based on the retention position of the capsule endoscope when the capsule endoscope is detected to be retained in the body based on the signal amplitude; The signal amplitude determination module comprises: A sound signal generating unit, used for controlling the capsule endoscope to emit a sound signal of a target attribute in a sound wave sending state; the target attribute includes a target frequency and a target sound pressure; The signal amplitude determination unit is used to filter the sound signal of the target attribute after noise filtering to obtain the signal amplitude.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the capsule endoscopy detection method according to any one of claims 1 to 4 is implemented.
7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the capsule endoscopy detection method according to any one of claims 1 to 4 is implemented.
8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the capsule endoscopy detection method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Image processing system adopting ultrasonic positioning and detection
CN108185973A
Capsule endoscope discharge detection method and device
CN113892894A