Method, device and readable storage medium for receiving capsule endoscope signals
By obtaining and comparing the sampling information of the main collection data information and the sub-collection data information, the optimal sampling information is determined, and the appropriate antenna module is selected for reception, which solves the problems of reception efficiency and wearing comfort, and realizes an efficient and comfortable capsule endoscope. signal reception.
Patent Information
- Application Number
- CN202210357530.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-06
- Publication Date
- 2024-08-16
- Estimated Expiration
- 2042-04-06
AI Technical Summary
Existing methods of receiving capsule endoscope signals have problems such as low reception efficiency and poor wearing comfort, especially the delay and signal loss caused by antenna module switching, as well as increased equipment costs.
By obtaining the main collection data information and sub-collection data information, the sampling information is calculated according to the preset rules, the optimal sampling information is determined, and the optimal antenna module is selected for data reception, which reduces switching between antenna modules and data processing requirements, and improves efficiency Reception efficiency and wearing comfort.
It improves reception efficiency, reduces data processing difficulty and equipment costs, improves wearing comfort, and reduces waiting time and connection complexity between antenna modules.
Smart Images

Figure CN114640366B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a method, device and computer-readable storage medium for receiving capsule endoscope signals. Background Art
[0002] The use of capsule endoscopes for digestive tract inspections has greatly facilitated people's monitoring of abnormal conditions in the digestive tract. Capsule endoscopes can collect image information in the body and then send the image information out in the form of radio frequency signals. However, because human tissue has a certain attenuation characteristic for radio frequency signals, the signal strength is weakened after the radio frequency signal passes through human tissue. Sometimes only a small area close to the capsule can receive a wireless signal of sufficient strength, so multiple antennas need to be set up to receive radio frequency signals to ensure that the radio frequency signals at various locations of the capsule in the body are received.
[0003] There are two main methods for receiving radio frequency signals of capsule endoscopes. In the process of implementing the present invention, the inventors found that these two methods have at least the following problems:
[0004] The first method is to use the RF switch to cyclically switch between the antenna modules until a certain antenna module can receive the complete information. However, because there is a certain time gap in the switching of the antenna modules, the number of switches is not fixed, and the resulting delay is also not fixed, which increases the time overhead when the capsule communicates with the antenna, and the gap in the switching process causes signal loss, reducing the efficiency of image reception. In addition, the connection circuit between the RF switch and each antenna module affects the comfort of wearing.
[0005] The second method is that multiple antenna modules receive RF signals at the same time and convert them into multiple digital signals and output them to processing chips such as FPGA and DSP for data merging and processing. However, the processing chip increases the cost of the equipment, and the connection circuit between the processing chip and each antenna module also affects the comfort of wearing. Summary of the invention
[0006] In order to solve at least one of the above-mentioned problems in the prior art, namely, the receiving efficiency of capsule endoscope signals is low, or the wearing comfort is affected, or the cost is high, the object of the present invention is to provide a method, device and computer-readable storage medium for receiving capsule endoscope signals that are comfortable to wear and have high receiving efficiency.
[0007] To achieve the above-mentioned object of the invention, an embodiment of the present invention provides a method for receiving a capsule endoscope signal, comprising the following steps:
[0008] Acquiring main collected data information, wherein the main collected data information is information sent by the capsule endoscope and received by a main antenna module;
[0009] Calculate main sampling information according to the main collected data information and a first preset rule, wherein the main sampling information is information reflecting the data quality of the main collected data information;
[0010] Acquire a plurality of sub-sampling information, wherein each sub-sampling information is based on the first preset rule and reflects the data quality of the corresponding sub-collected data information, and each sub-collected data information is information sent by the capsule endoscope and received by the corresponding sub-antenna module;
[0011] Comparing the main sampling information with the plurality of sub-sampling information according to a second preset rule to determine optimal sampling information;
[0012] When the optimal sampling information is not the main sampling information, sub-acquisition data information corresponding to the optimal sampling information is acquired.
[0013] As a further improvement of the present invention, the first preset rule is to calculate the number of data packets contained in the information, and the main sampling information is the number of data packets corresponding to the main acquisition data information;
[0014] Each sub-sampling information is the number of data packets corresponding to the sub-collected data information.
[0015] As a further improvement of the present invention, the second preset rule is to compare the maximum value of the main sampling information and the plurality of sub-sampling information, and determine the one with the largest number of data packets as the optimal sampling information.
[0016] As a further improvement of the present invention, the first preset rule is to calculate the signal power of information, and the main sampling information is the signal power corresponding to the main acquisition data information;
[0017] Each sub-sampling information is a signal power corresponding to the sub-acquisition data information.
[0018] As a further improvement of the present invention, the second preset rule is to compare the maximum value of the main sampling information and the plurality of sub-sampling information, and determine the one with the largest signal power as the optimal sampling information.
[0019] As a further improvement of the present invention, the step of "calculating the main sampling information according to the main acquisition data information and the first preset rule" includes:
[0020] Calculating multiple power sampling data of the main collected data information within a preset time period;
[0021] The average of the multiple power sampling data is calculated to obtain the signal power.
[0022] As a further improvement of the present invention, the first preset rule is to calculate the signal-to-noise ratio of the signal, and the main sampling information is the signal-to-noise ratio corresponding to the main acquisition data information;
[0023] Each sub-sampling information is a signal-to-noise ratio corresponding to the sub-acquisition data information.
[0024] As a further improvement of the present invention, the second preset rule is to compare the maximum value of the main sampling information and the plurality of sub-sampling information, and determine the one with the largest signal-to-noise ratio as the optimal sampling information.
[0025] As a further improvement of the present invention, the steps are also included:
[0026] When the optimal sampling information is the main sampling information, sending the main acquisition data information to a memory;
[0027] When the optimal sampling information is not the main sampling information, acquiring sub-acquisition data information corresponding to the optimal sampling information, and sending the sub-acquisition data information to the memory;
[0028] After sending the main acquisition data information or the sub-acquisition data information to the memory, the cache data of the main antenna module and all the sub-antenna modules are cleared.
[0029] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a device for receiving capsule endoscope signals, comprising:
[0030] A first acquisition module, used for acquiring main acquisition data information, wherein the main acquisition data information is information sent by the capsule endoscope and received by the main antenna module;
[0031] A first calculation module, configured to calculate main sampling information according to the main collected data information and a first preset rule, wherein the main sampling information is information reflecting the data quality of the main collected data information;
[0032] A second acquisition module is used to acquire a plurality of sub-sampling information, wherein each sub-sampling information is based on the first preset rule and reflects the data quality of the corresponding sub-acquisition data information, and each sub-acquisition data information is information sent by the capsule endoscope and received by the corresponding sub-antenna module;
[0033] A second calculation module, used for comparing the main sampling information and the plurality of sub-sampling information according to a second preset rule to determine optimal sampling information;
[0034] The second acquisition module is further configured to acquire sub-acquisition data information corresponding to the optimal sampling information when the optimal sampling information is not the main sampling information.
[0035] To achieve one of the above-mentioned purposes of the invention, an embodiment of the present invention provides a device for receiving capsule endoscope signals, comprising:
[0036] A main antenna module, the antenna module comprising a main radio frequency component;
[0037] A plurality of sub-antenna modules, each of which includes a sub-RF component;
[0038] The main radio frequency component and / or the sub-radio frequency component includes:
[0039] A storage module storing a computer program;
[0040] The processing module can implement the steps in the above-mentioned method for receiving capsule endoscope signals when executing the computer program.
[0041] To achieve one of the above objects of the invention, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which can implement the steps in the above method for receiving capsule endoscope signals when executed by a processing module.
[0042] Compared with the prior art, the present invention has the following beneficial effects: the receiving efficiency of the method for receiving capsule endoscope signals is higher, the waiting time for cyclic switching between antenna modules is eliminated, and the optimal sampling information is directly determined based on the second preset rule, so that the data of the appropriate antenna module can be selected; and because the difficulty of data processing is greatly reduced, there is no need to connect the processing chip, and each antenna module can be independent of each other and does not need to be connected to a radio frequency switch, so the wearing comfort is also significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is a flow chart of a method for receiving capsule endoscope signals according to an embodiment of the present invention;
[0044] Figure 2 It is a structural schematic diagram of a main antenna module and a sub-antenna module in one embodiment of the present invention when acquiring a capsule endoscope signal;
[0045] Figure 3 is a schematic diagram of a module of a device for receiving capsule endoscope signals according to an embodiment of the present invention;
[0046] Figure 4 is a structural block diagram of a device for receiving capsule endoscope signals according to an embodiment of the present invention;
[0047] Among them, 100, a device for receiving capsule endoscope signals; 101, a signal transmission module; 102, a processing module; 103, a storage module; 104, a communication bus; 10, a main antenna module; 20, a sub-antenna module; 30, a capsule endoscope. DETAILED DESCRIPTION
[0048] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.
[0049] An embodiment of the present invention provides a method, device and computer-readable storage medium for receiving capsule endoscope signals. The method can improve the receiving efficiency and the wearing comfort of the device.
[0050] A method for receiving a capsule endoscope signal in this embodiment is based on such a scenario. Figure 2 As shown:
[0051] The capsule endoscope 30 moves in the digestive tract of the human body, and the capsule endoscope 30 sends out the photographed pictures through radio frequency signals. A receiving antenna is arranged in a small area near the capsule endoscope 30 to receive the radio frequency signals sent by the capsule endoscope 30, and the receiving antenna can be arranged in the abdomen and waist area of the human body.
[0052] The receiving antenna of the present embodiment includes a plurality of antenna modules. To distinguish them, the plurality of antenna modules include a main antenna module 10 and a plurality of sub-antenna modules 20. The sub-antenna module 20 may be provided with one or more. The main antenna module 10 may have the same structure as the sub-antenna module 20, or may have more functions than the sub-antenna module 20. The main antenna module 10 of the present embodiment may have an additional processor compared to the antenna module, and other structures and functions are the same, such as Figure 2 shown.
[0053] The main antenna module 10 includes a main RF component, and the sub-antenna module 20 includes a sub-RF component. The main RF component can have the same structure as the sub-RF component, and both include a RF unit 1 and a RF unit 2. The RF unit 1 is used to obtain the RF signal emitted by the capsule endoscope 30. The RF unit 2 is used to connect to the RF unit 1 for data, and the RF units 2 can communicate with each other, such as wireless networking, networking in the form of Bluetooth connection, and receiving and sending information to each other. In addition, the RF unit 2 can send information to the outside, such as transmitting the data received from the capsule endoscope 30 to an external server, mobile phone terminal, computer terminal, etc.
[0054] The main antenna module 10 and the sub-antenna module 20 may be distinguished only in name, or may be different. If they are distinguished only in name, the relationship between the main and the sub-antenna module 20 in the present application may be reversed.
[0055] The method for receiving capsule endoscope signals can be run in a module within the main antenna module 10 or the sub-antenna module 20, such as running in the radio frequency unit 2 of the main antenna module 10, or the main antenna module 10 and the sub-antenna module 20 output the signal in a wired or wireless form and run on a computing device in the outside world, such as transmitting it to a server or computer terminal through the above-mentioned radio frequency unit 2 for execution.
[0056] The following method for receiving capsule endoscope signals is described by taking the operation in the RF unit 2 of the main antenna module 10 as an example. The RF unit 2 includes a cache area and a calculation area, can obtain and send signals, and has the ability to cache and calculate data.
[0057] Combine the following Figure 1 , describing a method for receiving capsule endoscope signals provided by an embodiment of the present invention, although the present application provides the method operation steps as shown in the following implementation or flowchart, based on routine or no creative labor, the execution order of the steps in the method where there is no necessary causal relationship in logic is not limited to the execution order provided in the implementation of the present application. For example, the acquisition order of the following step S30 and step S20 can be adjusted arbitrarily, and the order of step S30 and step S10 can be adjusted or performed simultaneously, without distinguishing the order in time sequence.
[0058] Specifically, the method for receiving capsule endoscope signals comprises the following steps:
[0059] Step S10: Obtaining main acquisition data information.
[0060] The main collected data information is information sent by the capsule endoscope 30 and received by the main antenna module 10 .
[0061] The information sent by the capsule endoscope 30 may be a picture of the digestive tract taken by the capsule endoscope 30, and the main acquisition data information corresponds to the digestive tract picture acquired by the main antenna module 10. The main acquisition data information is acquired by the RF unit 1, and the RF unit 1 transmits the data to the RF unit 2.
[0062] After the radio frequency unit 2 obtains the main collected data information, it can cache it in its own cache area.
[0063] Step S20: Calculate main sampling information according to the main acquisition data information and a first preset rule.
[0064] The main sampling information is information reflecting the data quality of the main collected data information.
[0065] The main acquired data information corresponds to the image in the digestive tract, and the main sampling information only needs to reflect the data quality of the main acquired data information, so the data volume of the main sampling information is much smaller than the data volume of the main acquired data information. This embodiment processes the main sampling information instead of the main acquired data information, so that the workload is greatly reduced, the demand for hardware is reduced, and the processing speed is faster.
[0066] The main sampling information can reflect the data quality of the main collected data information. This article describes the three embodiments of the first preset rule, which are as follows:
[0067] In the first embodiment, the first preset rule is to calculate the number of data packets contained in the information, and the main sampling information is the number of data packets corresponding to the main acquisition data information.
[0068] The main collected data information corresponding to the digestive tract image is composed of multiple data packets. The first embodiment calculates the number of data packets. The more data packets there are, the more complete the data representing the main collected data information is, and the higher the data quality is.
[0069] In the second embodiment, the first preset rule is to calculate the signal power of information, and the main sampling information is the signal power corresponding to the main acquisition data information.
[0070] The stronger the signal power of the main collected data information, the stronger the signal strength received by the antenna, which corresponds to higher data quality.
[0071] Based on the second embodiment, step S20 further includes the following steps:
[0072] Step S201: Calculate multiple power sampling data of the main acquisition data information within a preset time period;
[0073] Step S202: Calculate the average of the multiple power sampling data to obtain signal power.
[0074] The preset time period can be a period of time that lasts from the time the main antenna module 10 starts receiving the signal, such as 5ms. The signal power is sampled multiple times within 5ms, for example, 10 times, and the average of the 10 power sampling data is calculated to finally obtain the signal power.
[0075] The duration for acquiring the main acquired data information may be greater than the preset time period. For example, the duration for acquiring the main acquired data information is 100ms, while the preset time period is 5ms. This reduces the amount of calculation on the one hand, and avoids the problem that when sampling this method, although the start time of receiving the signal of the main antenna module 10 and the sub-antenna module 20 is unified, the subsequent time progress is not unified, which makes it impossible to compare.
[0076] In a third embodiment, the first preset rule is to calculate a signal-to-noise ratio of a signal, and the main sampling information is a signal-to-noise ratio corresponding to the main acquisition data information.
[0077] The higher the signal-to-noise ratio, the greater the ratio of the signal to the background noise, the higher the contrast and clarity of the signal, and the higher the data quality.
[0078] Step S30: Obtain some sub-sampling information.
[0079] Each sub-sampling information is based on the first preset rule and reflects the data quality of the corresponding sub-collected data information. Each sub-collected data information is information sent by the capsule endoscope 30 and received by the corresponding sub-antenna module 20.
[0080] Similar to the main sampling information, the sub-collected data information corresponds to the image in the digestive tract, and the sub-sampling information only needs to reflect the data quality of the sub-collected data information, so the data volume of the sub-sampling information is much smaller than that of the sub-collected data information. This embodiment processes the sub-sampling information instead of the sub-collected data information, which greatly reduces the workload, reduces the hardware requirements, and increases the processing speed. The transmission speed between the main antenna module 10 and the sub-antenna module 20 is also increased.
[0081] like Figure 2 As shown, several sub-sampling information corresponds to several sub-antenna modules 20, which may be 1, 2, or n. Several sub-antenna modules 20 send data to the RF unit 2 of the main antenna module 10 through their respective RF units 2.
[0082] Corresponding to the first embodiment described above, each sub-sampling information is the number of data packets corresponding to the sub-acquisition data information.
[0083] Corresponding to the second embodiment described above, each sub-sampling information is a signal power corresponding to the sub-acquisition data information. The signal power parameter corresponding to the sub-sampling information can also be obtained by using the method of the above step S201 and step S202.
[0084] Corresponding to the third embodiment described above, each sub-sampling information is a signal-to-noise ratio corresponding to the sub-acquisition data information.
[0085] The principle that the sub-sampling information can reflect the data quality of the sub-collected data information is described in step S20 for the main sampling information.
[0086] Step S40: comparing the main sampling information and the plurality of sub-sampling information according to a second preset rule to determine optimal sampling information.
[0087] The second preset rule may be to calculate the maximum value, and a larger value corresponds to the optimal sampling information. Three embodiments are described as follows:
[0088] In combination with the first embodiment described above, the second preset rule is to compare the maximum value of the main sampling information and the plurality of sub-sampling information, and determine the one with the largest number of data packets as the optimal sampling information.
[0089] In combination with the second embodiment described above, the second preset rule is to compare the maximum values of the main sampling information and the plurality of sub-sampling information, and determine the one with the largest signal power as the optimal sampling information.
[0090] In combination with the third embodiment, the second preset rule is to compare the main sampling information with the maximum value of the plurality of sub-sampling information, and determine the one with the largest signal-to-noise ratio as the optimal sampling information.
[0091] The second preset rule may also be to calculate the minimum value, and the smaller the value, the better the sampling information. Three embodiments are described by way of example:
[0092] In combination with the above-mentioned first embodiment, for example, there are a total of 100 data packets, the main antenna module 10 obtains 99 data packets, and one of the sub-antenna modules 20 obtains 97 data packets, then the value of the data packets not obtained by the main antenna module 10 is 1, and the value of the data packets not obtained by the sub-antenna module 20 is 3. According to the second preset rule, the minimum value of the data packets not obtained is compared to determine whether the signal of the main antenna module 10 corresponds to the optimal sampling information.
[0093] In combination with the second embodiment and the third embodiment, the inverse of the signal power and the inverse of the signal-to-noise ratio are compared respectively, and the minimum value corresponds to the optimal sampling information.
[0094] In addition, other mathematical tools may be combined to enable the second preset rule to reasonably compare the main sampling information and the plurality of sub-sampling information to determine the optimal sampling information.
[0095] Step S50: Determine whether the optimal sampling information is the main sampling information.
[0096] Step S50 specifically includes the following steps:
[0097] Step S501: when the optimal sampling information is not the main sampling information, obtaining sub-acquisition data information corresponding to the optimal sampling information, and sending the sub-acquisition data information to the memory.
[0098] Step S502:
[0099] When the optimal sampling information is the main sampling information, the main acquisition data information is sent to a memory.
[0100] After determining the optimal sampling information, which is a very small amount of data, only the main acquisition data information or sub-acquisition data information with the best data quality is stored, avoiding the transmission and calculation of other data with poor data quality, reducing the amount of calculation and data transmission, lowering the demand for hardware, and increasing the processing speed.
[0101] In addition, this embodiment further includes step S60:
[0102] Step S60: after sending the main acquisition data information or the sub-acquisition data information to the memory, clearing the cache data of the main antenna module 10 and all the sub-antenna modules 20 .
[0103] After clearing the cached data in the cache areas of all the RF units 2 of the main antenna module 10 and each sub-antenna module 20, space is freed up to process the next digestive tract image sent by the capsule endoscope 30, and then the above steps S10 to S60 are continued to be cycled.
[0104] Compared with the prior art, this embodiment has the following beneficial effects:
[0105] (1) The receiving efficiency of the method for receiving capsule endoscope signals is higher, and the waiting time when switching between antenna modules one by one is eliminated. The optimal sampling information is directly determined based on the second preset rule, so that the data of the appropriate antenna module can be selected; and because the difficulty of data processing is greatly reduced, there is no need to connect the processing chip, and each antenna module can be independent of each other and does not need to be connected to the radio frequency switch, the wearing comfort is also significantly improved.
[0106] (2) Use sampling information that reflects the data quality of the collected data information, rather than the collected data information itself. The data volume of the sampling information is much smaller than the data volume of the collected data information. This embodiment processes the sampling information instead of the collected data information, which greatly reduces the workload, reduces the hardware requirements, and increases the processing speed. It also increases the transmission speed between the main antenna module 10 and the sub-antenna module 20.
[0107] (3) After the above steps are completed and reliable main acquisition data information or sub-acquisition data information is obtained, the main antenna module 10 transmits the received image information to other terminal products such as mobile phones, computers, etc. through wireless transmission, such as Bluetooth, so that users can check and watch it at any time. With the help of the terminal's networking function, the received image data is encrypted by software and transmitted to the cloud for storage, so that professional doctors can read the images remotely.
[0108] In one embodiment, a device 100 for receiving capsule endoscope signals is also provided, and the module schematic diagram is as follows: Figure 3The device 100 for receiving capsule endoscope signals may include various modules, and the specific functions of each module are as follows:
[0109] A first acquisition module, used for acquiring main acquisition data information, wherein the main acquisition data information is information sent by the capsule endoscope 30 and received by the main antenna module 10;
[0110] A first calculation module, configured to calculate main sampling information according to the main collected data information and a first preset rule, wherein the main sampling information is information reflecting the data quality of the main collected data information;
[0111] A second acquisition module is used to acquire a plurality of sub-sampling information, wherein each sub-sampling information is based on the first preset rule and reflects the data quality of the corresponding sub-acquisition data information, and each sub-acquisition data information is information sent by the capsule endoscope 30 and received by the corresponding sub-antenna module 20;
[0112] A second calculation module, used for comparing the main sampling information and the plurality of sub-sampling information according to a second preset rule to determine optimal sampling information;
[0113] The second acquisition module is further configured to acquire sub-acquisition data information corresponding to the optimal sampling information when the optimal sampling information is not the main sampling information.
[0114] In one embodiment, the second calculation module may also be used to determine the data packet with the largest number as the optimal sampling information.
[0115] In one embodiment, the second calculation module may also be used to determine the signal with the largest power as the optimal sampling information.
[0116] In one embodiment, the first calculation module calculates multiple power sampling data of the main acquisition data information within a preset time period; the first calculation module calculates the average of the multiple power sampling data to obtain the signal power.
[0117] In one embodiment, the second calculation module can also be used to determine the information with the largest signal-to-noise ratio as the optimal sampling information.
[0118] In one embodiment, the device 100 for receiving capsule endoscope signals may further include a sending module and a clearing module, and when the optimal sampling information is the main sampling information, the sending module sends the main acquisition data information to a memory;
[0119] When the optimal sampling information is not the main sampling information, the second acquisition module acquires sub-acquisition data information corresponding to the optimal sampling information, and the sending module sends the sub-acquisition data information to the memory;
[0120] After sending the main acquisition data information or the sub-acquisition data information to the memory, the clearing module clears the cache data of the main antenna module 10 and all the sub-antenna modules 20 .
[0121] It should be noted that for details not disclosed in the apparatus 100 for receiving capsule endoscope signals in the embodiment of the present invention, please refer to the details disclosed in the method for receiving capsule endoscope signals in the embodiment of the present invention.
[0122] Those skilled in the art will appreciate that the module diagram is merely an example of the apparatus 100 for receiving capsule endoscope signals, and does not constitute a limitation on the terminal device of the apparatus 100 for receiving capsule endoscope signals. The apparatus 100 may include more or fewer components than shown in the diagram, or a combination of certain components, or different components. For example, the apparatus 100 for receiving capsule endoscope signals may also include input and output devices, network access devices, buses, etc.
[0123] According to the present invention, the receiving efficiency of the device 100 for receiving capsule endoscope signals is higher, the waiting time when cyclically switching between antenna modules is eliminated, and the optimal sampling information is directly determined based on the second preset rule, so that the data of the appropriate antenna module can be selected; and the device 100 for receiving capsule endoscope signals does not need to be connected to the processing chip and the radio frequency switch, so the wearing comfort is also significantly improved.
[0124] As described above, the device 100 for receiving capsule endoscopy signals may be integrated in a module within the main antenna module 10 or the sub-antenna module 20 , for example, within the radio frequency unit 2 of the main antenna module 10 .
[0125] The device 100 for receiving capsule endoscope signals may also include computing devices such as computers, notebooks, PDAs, and cloud servers, as well as including but not limited to a processing module 102, a storage module 103, and a computer program stored in the storage module 103 and executable on the processing module 102, such as the above-mentioned method program for receiving capsule endoscope signals. When the processing module 102 executes the computer program, the steps in the above-mentioned method embodiments for receiving capsule endoscope signals are implemented, such as Figure 1 Steps shown.
[0126] The device 100 for receiving capsule endoscope signals may further include a signal transmission module 101 and a communication bus 104. When the device 100 for receiving capsule endoscope signals is integrated in a module within the main antenna module 10 or the sub-antenna module 20, for example, within the radio frequency unit 2, the signal transmission module 101 obtains data from the radio frequency unit 1.
[0127] When the device 100 for receiving capsule endoscope signals is a computing device including a computer, a notebook, a PDA, a cloud server, etc., the signal transmission module 101 is used to receive data from the main antenna module 10 or the sub-antenna module 20. The main antenna module 10, the sub-antenna module 20 and the signal transmission module 101 can transmit data in the form of a wireless connection, such as Bluetooth, WiFi, Zigbee, etc. The communication bus 104 is used to establish a connection between the signal transmission module 101, the signal transmission module 101, the processing module 102 and the storage module 103. The communication bus 104 may include a passage to transmit information between the above-mentioned signal transmission module 101, the signal transmission module 101, the processing module 102 and the storage module 103, such as Figure 4 shown.
[0128] In addition, when the device 100 for receiving capsule endoscope signals is integrated into a module in the main antenna module 10 or the sub-antenna module 20, the processing module 102 is a chip with processing capabilities that comes with the radio frequency unit 2, and because the above method is used, the computing power requirement is very low, so the computing power of the radio frequency unit 2 can meet the requirement. The above-mentioned memory and storage module 103 can be the same device, or two modules respectively arranged in the main antenna module 10, such as Figure 2 As shown, the storage module 103 is a device with storage function that comes with the radio frequency unit 2, and the memory is a storage device with a larger capacity, such as a memory card, an SD card, etc.
[0129] When the device 100 for receiving capsule endoscope signals is integrated into a computing device such as a computer, a notebook, a PDA, and a cloud server, the above-mentioned memory and the storage module 103 can be the same device, and the following description will be based on the storage module 103.
[0130] In addition, this embodiment also includes an electronic device, which includes a storage module 103 and a processing module 102. When the processing module 102 executes the computer program, the steps in the method for receiving capsule endoscope signals can be implemented, that is, the steps in any one of the technical solutions in the method for receiving capsule endoscope signals can be implemented. The electronic device can be a part integrated in the device 100 for receiving capsule endoscope signals, or a local terminal device, or a part of a cloud server.
[0131] The processing module 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The processing module 102 is the control center of the device 100 for receiving capsule endoscope signals, and uses various interfaces and lines to connect various parts of the entire device 100 for receiving capsule endoscope signals.
[0132] The storage module 103 can be used to store the computer program and / or module. The processing module 102 realizes various functions of the device 100 for receiving capsule endoscope signals by running or executing the computer program and / or module stored in the storage module 103 and calling the data stored in the storage module 103. The storage module 103 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc. In addition, the storage module 103 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0133] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the storage module 103 and executed by the processing module 102 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the device 100 for receiving capsule endoscope signals.
[0134] Furthermore, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by the processing module 102, can implement the steps in the above-mentioned method for receiving capsule endoscope signals, that is, implement the steps in any one of the technical solutions in the above-mentioned method for receiving capsule endoscope signals.
[0135] If the module integrated in the method for receiving capsule endoscope signals is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processing module 102, the steps of each of the above-mentioned method embodiments can be implemented.
[0136] The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, recording medium, disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0137] It should be understood that although this specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each implementation mode may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
[0138] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. Any equivalent implementation methods or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for receiving capsule endoscope signals, characterized in that: The steps include: Acquiring main collected data information, wherein the main collected data information is information sent by the capsule endoscope and received by a main antenna module; Calculate the main sampling information according to the main acquisition data information and the first preset rule, wherein the main sampling information is the number of data packets corresponding to the main acquisition data information or the signal-to-noise ratio corresponding to the main acquisition data information, and the first preset rule is to calculate the number of data packets contained in the information or to calculate the signal-to-noise ratio of the signal; Acquire a plurality of sub-sampling information, wherein each sub-sampling information is based on the first preset rule and reflects the data quality of the corresponding sub-collected data information, and each sub-collected data information is information sent by the capsule endoscope and received by the corresponding sub-antenna module; Comparing the main sampling information with the plurality of sub-sampling information according to a second preset rule to determine optimal sampling information, wherein the second preset rule is to compare the main sampling information with a maximum value among the plurality of sub-sampling information, and determining the information with the largest number of data packets or the largest signal-to-noise ratio as the optimal sampling information; When the optimal sampling information is not the main sampling information, acquiring sub-acquisition data information corresponding to the optimal sampling information, and sending the sub-acquisition data information to a memory; When the optimal sampling information is the main sampling information, the main acquisition data information is sent to a memory.
2. The method for receiving capsule endoscope signals according to claim 1, characterized in that: Each sub-sampling information is the number of data packets corresponding to the sub-collected data information; The second preset rule is to determine the data packet with the largest number as the optimal sampling information.
3. The method for receiving capsule endoscope signals according to claim 1, characterized in that: Each sub-sampling information is a signal-to-noise ratio corresponding to the sub-acquisition data information; The information with the largest signal-to-noise ratio is determined as the optimal sampling information.
4. The method for receiving capsule endoscope signals according to claim 1, characterized in that: Also includes the steps: After sending the main acquisition data information or the sub-acquisition data information to the memory, the cache data of the main antenna module and all the sub-antenna modules are cleared.
5. A device for receiving capsule endoscope signals, characterized in that: include: A first acquisition module, used for acquiring main acquisition data information, wherein the main acquisition data information is information sent by the capsule endoscope and received by the main antenna module; A first calculation module, configured to calculate main sampling information according to the main acquisition data information and a first preset rule, wherein the main sampling information is the number of data packets corresponding to the main acquisition data information or the signal-to-noise ratio corresponding to the main acquisition data information, and the first preset rule is to calculate the number of data packets contained in the information or to calculate the signal-to-noise ratio of the signal; A second acquisition module is used to acquire a plurality of sub-sampling information, wherein each sub-sampling information is based on the first preset rule and reflects the data quality of the corresponding sub-acquisition data information, each sub-acquisition data information is information sent by the capsule endoscope and received by the corresponding sub-antenna module, and the second preset rule is to compare the maximum value of the main sampling information and the plurality of sub-sampling information, and determine the one with the largest number of data packets or the largest signal-to-noise ratio as the optimal sampling information; A second calculation module, used for comparing the main sampling information and the plurality of sub-sampling information according to a second preset rule to determine optimal sampling information; The second acquisition module is further used to, when the optimal sampling information is not the main sampling information, acquire sub-acquisition data information corresponding to the optimal sampling information and send the sub-acquisition data information to the memory; when the optimal sampling information is the main sampling information, send the main acquisition data information to the memory.
6. A device for receiving capsule endoscope signals, characterized in that: include: A main antenna module, the antenna module comprising a main radio frequency component; A plurality of sub-antenna modules, each of which includes a sub-RF component; The main radio frequency component and / or the sub-radio frequency component includes: A storage module storing a computer program; The processing module can implement the steps in the method for receiving capsule endoscope signals as described in any one of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processing module, the steps in the method for receiving capsule endoscope signals as claimed in any one of claims 1 to 4 can be implemented.
