Wireless image transmission method and system, electronic equipment and storage medium
By directly converting image data into high-frequency carrier signals for wireless transmission, removing the dual conversion process, and combining audio data verification, the problem of noise influence in the prior art is solved, and the clarity of image transmission and communication stability are improved.
Patent Information
- Application Number
- CN202410896762.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-12-06
AI Technical Summary
In the existing wireless image transmission method, the dual conversion process of analog to digital and then digital to analog increases the complexity of the system and introduces thermal noise and scattered noise, affecting image clarity and diagnostic accuracy.
By directly converting image data into modulated image data in the form of high-frequency carrier signals for transmission, the dual conversion process of analog to digital and then digital to analog is removed, and audio data is introduced for dual verification, using high-frequency modulation and demodulation technology , detect transmission abnormalities and perform channel switching.
It effectively reduces thermal noise and scatter noise interference, improves the fidelity and accuracy of image transmission, and improves the stability of wireless communication.
Smart Images

Figure CN119094696A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image transmission technology, and in particular to a wireless image transmission method, system, electronic device and storage medium. Background Art
[0002] In the medical field, the innovation of endoscopic technology has always been one of the key directions to improve the quality and efficiency of diagnosis and treatment. With the advancement of science and technology, wireless endoscopic devices have been increasingly valued for their unconstrained and flexible operation. However, while these devices provide convenience, they also face technical challenges, especially in the wireless image transmission link. Specifically, the existing wireless image transmission method is usually that the wireless transmission module converts the received CVBS (composite video baseband signal) signal into a digital signal through a modulator, and then transmits it in the form of a carrier. After the receiver receives the digital signal of the carrier, it is converted into an analog signal through a demodulator. However, this dual conversion process of analog to digital and then digital to analog not only increases the complexity of the system, but also causes the image signal to be lost in the two quantization processes, introduces thermal noise and scatter noise, and affects the final image clarity and diagnostic accuracy.
[0003] In view of the above problems, how to reduce the impact of noise and improve image fidelity has become a key research direction for improving the wireless transmission performance of medical endoscopes. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a wireless image transmission method, system, electronic device and storage medium, which can effectively reduce the impact of noise in the wireless image transmission process and improve the fidelity of wireless image transmission.
[0005] The embodiment of the present application provides a wireless image transmission method, which is applied to a wireless image transmission system. The wireless image transmission system includes a transmitting end and a receiving end. The wireless image transmission method includes:
[0006] The transmitting end performs high-frequency modulation conversion processing on the target image data and the initial audio data to be transmitted, thereby obtaining modulated image data and modulated audio data in the form of high-frequency carrier signals;
[0007] The modulated image data and the modulated audio data are merged by the transmitting end to obtain merged data, and the merged data is sent to the receiving end through the first wireless transmission channel;
[0008] Demodulating the fused data through the receiving end to obtain demodulated data; wherein the demodulated data includes demodulated image data and demodulated audio data;
[0009] The demodulated data is detected by the receiving end, and whether there is a transmission abnormality is determined according to the detection result. If it is determined that there is no transmission abnormality, the wireless transmission of the image is completed.
[0010] Optionally, when it is determined that there is a transmission anomaly, the wireless image transmission method further includes:
[0011] The receiving end feeds back a channel switching instruction to the transmitting end;
[0012] The transmitting end sends the fused data to the receiving end through a second wireless transmission channel in response to the channel switching instruction.
[0013] Optionally, the detecting the demodulated data by the receiving end, and determining whether there is a transmission abnormality according to the detection result, includes:
[0014] Using the demodulated audio data in the demodulated data to perform consistency comparison with the initial audio data;
[0015] If they are consistent, it is determined that there is no transmission anomaly.
[0016] Optionally, if it is determined that the demodulated audio data is inconsistent with the initial audio data, the wireless image transmission method further includes:
[0017] Analyze the demodulated image data in the demodulated data to determine whether the demodulated image data has at least one of the following abnormal items: snow noise, point noise, horizontal stripe interference, and image frame loss;
[0018] If present, determine that the transmission is abnormal;
[0019] If none of them exist, it is determined that there is no transmission abnormality.
[0020] Optionally, the transmitting end includes an image acquisition device and an MCU, and acquires the target image data through the following steps:
[0021] The MCU sends a posture adjustment instruction and a shooting instruction to the image acquisition device;
[0022] The image acquisition device performs position and posture adjustment in response to the posture adjustment instruction to reach the target posture indicated by the posture adjustment instruction;
[0023] The image acquisition device responds to the shooting instruction, performs image acquisition under the target posture condition, and obtains the target image data.
[0024] Optionally, the sending the fused data to the receiving end through the first wireless transmission channel includes:
[0025] Selecting one wireless transmission channel from idle wireless transmission channels as the first wireless transmission channel;
[0026] The fused data is transmitted to the receiving end through the first wireless transmission channel.
[0027] Optionally, the second wireless transmission channel is any idle wireless transmission channel except the first wireless transmission channel.
[0028] The embodiment of the present application also provides a wireless image transmission system, the wireless image transmission system comprising a transmitting end and a receiving end:
[0029] The transmitting end is used to perform high-frequency modulation conversion processing on the target image data and the initial audio data to be transmitted, so as to obtain modulated image data and modulated audio data in the form of high-frequency carrier signals;
[0030] The transmitting end is further used to fuse the modulated image data with the modulated audio data to obtain fused data, and send the fused data to the receiving end through the first wireless transmission channel;
[0031] The receiving end is used to demodulate the fused data to obtain demodulated data; wherein the demodulated data includes demodulated image data and demodulated audio data;
[0032] The receiving end is further used to detect the demodulated data and determine whether there is a transmission anomaly based on the detection result. If it is determined that there is no transmission anomaly, the wireless transmission of the image is completed.
[0033] Optionally, when it is determined that there is a transmission anomaly, the wireless image transmission system is further used to:
[0034] The receiving end feeds back a channel switching instruction to the transmitting end;
[0035] The transmitting end sends the fused data to the receiving end through a second wireless transmission channel in response to the channel switching instruction.
[0036] Optionally, when the receiving end is used to detect the demodulated data and determine whether there is a transmission abnormality according to the detection result, the receiving end is used to:
[0037] Using the demodulated audio data in the demodulated data to perform consistency comparison with the initial audio data;
[0038] If they are consistent, it is determined that there is no transmission anomaly.
[0039] Optionally, if it is determined that the demodulated audio data is inconsistent with the initial audio data, the receiving end is further configured to:
[0040] Analyze the demodulated image data in the demodulated data to determine whether the demodulated image data has at least one of the following abnormal items: snow noise, point noise, horizontal stripe interference, and image frame loss;
[0041] If present, determine that the transmission is abnormal;
[0042] If none of them exist, it is determined that there is no transmission abnormality.
[0043] Optionally, the transmitting end includes an image acquisition device and an MCU, and the transmitting end is further used to obtain the target image data through the following steps:
[0044] The MCU sends a posture adjustment instruction and a shooting instruction to the image acquisition device;
[0045] The image acquisition device performs position and posture adjustment in response to the posture adjustment instruction to reach the target posture indicated by the posture adjustment instruction;
[0046] The image acquisition device responds to the shooting instruction, performs image acquisition under the target posture condition, and obtains the target image data.
[0047] Optionally, when the transmitting end is used to send the fused data to the receiving end through the first wireless transmission channel, the transmitting end is used to:
[0048] Selecting one wireless transmission channel from idle wireless transmission channels as the first wireless transmission channel;
[0049] The fused data is transmitted to the receiving end through the first wireless transmission channel.
[0050] Optionally, the second wireless transmission channel is any idle wireless transmission channel except the first wireless transmission channel.
[0051] An embodiment of the present application also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and when the machine-readable instructions are executed by the processor, the steps of the wireless image transmission method as described above are performed.
[0052] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the wireless image transmission method as described above are executed.
[0053] The embodiments of the present application provide a wireless image transmission method, system, electronic device and storage medium. The wireless image transmission method is applied to a wireless image transmission system. The wireless image transmission system includes a transmitting end and a receiving end. The wireless image transmission method includes: performing high-frequency modulation conversion processing on the target image data and initial audio data to be transmitted by the transmitting end to obtain modulated image data and modulated audio data in the form of high-frequency carrier signals; fusing the modulated image data with the modulated audio data by the transmitting end to obtain fused data, and sending the fused data to the receiving end through a first wireless transmission channel; demodulating the fused data by the receiving end to obtain demodulated data; wherein the demodulated data includes demodulated image data and demodulated audio data; detecting the demodulated data by the receiving end, and determining whether there is a transmission abnormality based on the detection result, and if it is determined that there is no transmission abnormality, completing the wireless transmission of the image.
[0054] In this way, the present application can eliminate the dual conversion process of analog to digital and then digital to analog by directly converting the image data into modulated image data in the form of a high-frequency carrier signal for image transmission, thereby effectively reducing the interference of thermal noise and scattered noise on image transmission. In addition, when transmitting images, audio data is introduced, and the accuracy of image transmission is further guaranteed based on the dual verification of image and audio. In addition, when determining that the transmission is abnormal, the transmission channel can be switched freely, which can effectively improve the stability of wireless communication.
[0055] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0057] Figure 1 A flowchart of a wireless image transmission method provided in an embodiment of the present application;
[0058] Figure 2 A schematic diagram of a frequency modulation principle provided for this application;
[0059] Figure 3 A schematic diagram of a frequency demodulation principle provided by this application;
[0060] Figure 4 One of the structural schematic diagrams of a wireless image transmission system provided in an embodiment of the present application;
[0061] Figure 5 A second structural diagram of a wireless image transmission system provided in an embodiment of the present application;
[0062] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0063] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0064] In the medical field, the innovation of endoscopic technology has always been one of the key directions to improve the quality and efficiency of diagnosis and treatment. With the advancement of science and technology, wireless endoscopic devices have been increasingly valued for their unconstrained and flexible operation. However, while these devices provide convenience, they also face technical challenges, especially in the wireless image transmission link. Specifically, the existing wireless image transmission method is usually that the wireless transmission module converts the received CVBS (composite video baseband signal) signal into a digital signal through a modulator, and then transmits it in the form of a carrier. After the receiver receives the digital signal of the carrier, it is converted into an analog signal through a demodulator. However, this dual conversion process of analog to digital and then digital to analog not only increases the complexity of the system, but also causes the image signal to be lost in the two quantization processes, introduces thermal noise and scatter noise, and affects the final image clarity and diagnostic accuracy.
[0065] In view of the above problems, how to reduce the impact of noise and improve image fidelity has become a key research direction for improving the wireless transmission performance of medical endoscopes.
[0066] Based on this, the embodiments of the present application provide a wireless image transmission method, system, electronic device and storage medium to reduce the impact of noise in the wireless image transmission process and improve image fidelity.
[0067] See also Figure 1 , Figure 1 A flowchart of a wireless image transmission method provided in an embodiment of the present application.
[0068] The wireless image transmission method refers to a method for wireless transmission of images. The wireless image transmission method is applied to a wireless image transmission system. The wireless image transmission system includes a transmitting end and a receiving end. The transmitting end and the receiving end are connected via wireless communication.
[0069] like Figure 1 As shown in , the wireless image transmission method provided by the embodiment of the present application includes:
[0070] S101 , the transmitting end performs high-frequency modulation conversion processing on the target image data and the initial audio data to be transmitted, so as to obtain modulated image data and modulated audio data in the form of high-frequency carrier signals.
[0071] S102: The transmitting end fuses the modulated image data and the modulated audio data to obtain fused data, and sends the fused data to the receiving end through a first wireless transmission channel.
[0072] S103: demodulate the fused data through the receiving end to obtain demodulated data.
[0073] S104: The demodulated data is detected by the receiving end, and whether there is a transmission abnormality is determined according to the detection result. If it is determined that there is no transmission abnormality, the wireless transmission of the image is completed.
[0074] With respect to step S101, the transmitting end further includes an image acquisition device and an MCU. In an implementation manner provided in the present application, the target image data is acquired by the following steps:
[0075] S201. The MCU sends a posture adjustment instruction and a shooting instruction to the image acquisition device.
[0076] S202: The image acquisition device adjusts position and posture in response to the posture adjustment instruction to achieve a target posture indicated by the posture adjustment instruction.
[0077] S203. The image acquisition device performs image acquisition under target posture conditions in response to the shooting instruction to obtain the target image data.
[0078] For step S201, for example, when the image acquisition trigger condition is met, the MCU in the transmitting end generates an image acquisition control signal and sends the image acquisition control signal to the image acquisition device. The image acquisition control signal includes at least a posture adjustment instruction and a shooting instruction.
[0079] Here, the image acquisition trigger condition may be: a user operating a target device, or reaching a preset shooting time.
[0080] Among them, when the MCU sends the posture adjustment instruction and the shooting instruction to the image acquisition device, it can send the posture adjustment instruction first and then send the shooting instruction; it can also send the posture adjustment instruction and the shooting instruction to the image acquisition device at the same time, but the image acquisition device responds in sequence.
[0081] For example, when the wireless image transmission method is applied to a medical electronic endoscope, the image acquisition device may be a camera system at the insertion portion (tip) of the mirror, and the MCU may be a single-chip microcomputer on the operating portion.
[0082] For step S202, after receiving the posture adjustment instruction, the image acquisition device determines the position adjustment amount and the posture adjustment amount in the posture adjustment instruction; and adjusts the position and posture according to the position adjustment amount and the posture adjustment amount to reach the target posture indicated by the posture adjustment instruction.
[0083] With respect to step S203, after the image acquisition device reaches the target posture, it responds to the shooting instruction sent by the MCU, starts the shooting function, and obtains the target image data.
[0084] Here, the target image data may be an image or a video.
[0085] Continuing with step S101, the transmitting end may also include a modulation chip. In this step, the modulation chip performs high-frequency modulation conversion processing on the target image data and initial audio data to be transmitted to obtain modulated image data and modulated audio data in the form of high-frequency carrier signals.
[0086] The modulation chip used for the modulated audio data and the modulated image data may be the same.
[0087] Here, the target image data may be analog signal data, and the initial audio data may be audio signal data of a specific frequency generated by the transmitting end MCU. For example, the high-frequency carrier signal may be a 5.8G high-frequency carrier signal, and the modulation chip used may be an RTC6705 chip.
[0088] For examples, see Figure 2 , Figure 2 A schematic diagram of a frequency modulation principle provided by this application. Images and audio can be modulated, such as Figure 2 As shown, FM frequency modulation uses a baseband signal to control the frequency of the carrier. The implementation principle is that the baseband signal passes through an integrator and is then input into a phase modulator together with the carrier signal. The baseband signal controls the frequency of the carrier to achieve modulation of the high-frequency carrier signal.
[0089] For step S102, for example, the fusion of the modulated image data and the modulated audio data by the transmitting end may be specifically fused by a modulation chip in the transmitting end to obtain fused data.
[0090] Continuing with step S102, in another implementation manner provided in the present application, sending the fused data to a receiving end through a first wireless transmission channel includes:
[0091] S1021: Select any one of the idle wireless transmission channels as a first wireless transmission channel.
[0092] S1022: Transmit the fused data to a receiving end through the first wireless transmission channel.
[0093] For step S1021, for example, the modulation chip may select any one wireless transmission channel from the idle wireless transmission channels as the first wireless transmission channel; alternatively, the MCU may select any one wireless transmission channel from the idle wireless transmission channels as the first wireless transmission channel and notify the modulation chip.
[0094] Here, there are multiple wireless transmission channels between the transmitting end and the receiving end, and specifically, there are multiple wireless transmission channels between the modulation chip of the transmitting end and the demodulation chip of the receiving end.
[0095] Regarding step S1022, in this step, the modulation chip may transmit the fused data to the receiving end through the first wireless transmission channel.
[0096] With respect to step S103, the demodulated data includes demodulated image data and demodulated audio data.
[0097] The receiving end may include a demodulation chip. Specifically, this step may include demodulating the fused data by the demodulation chip in the receiving end to obtain demodulated image data and demodulated audio data.
[0098] For example, when the high-frequency carrier signal is specifically a 5.8G high-frequency carrier signal, the model of the modulation chip used by the transmitting end is the RTC6705 chip. At this time, the model of the demodulation chip in the receiving end may be the RTC6715 chip.
[0099] For examples, see Figure 3 , Figure 3 A schematic diagram of a frequency demodulation principle provided by this application. Figure 3 As shown in the figure, the demodulation principle of FM is as follows: after the FM signal is transmitted through the channel, it is converted into an amplitude-frequency modulated wave by a frequency discriminator, then passes through a phase shifter, and then passes through an envelope detector to obtain the envelope, and the offset is removed to restore the original signal, that is, to obtain demodulated image data and demodulated audio data.
[0100] like Figure 3 As shown, the frequency discriminator is equivalent to a differentiator, which converts the FM wave into an AM FM wave.
[0101] Then it passes through the phase shifter and becomes
[0102] Then, the envelope detector is used to obtain (2πf c +K FM cos(2πf m t));
[0103] Remove the bias and restore m(t) = cos(2πf m t).
[0104] With respect to step S104, the receiving end may further include an MCU and an image processor. The MCU of the receiving end is used to detect the demodulated audio data, and the image processor of the receiving end is used to demodulate image data for detection.
[0105] When the detection result of the demodulated data meets the preset qualification requirements, it is determined that there is no abnormality in the transmission and the wireless transmission of the image is completed.
[0106] Here, images can be transmitted wirelessly in real time.
[0107] In an implementation manner provided in the present application, the detecting the demodulated data by the receiving end and determining whether there is a transmission abnormality according to the detection result includes:
[0108] S1041, using the demodulated audio data in the demodulated data to perform consistency comparison with the initial audio data;
[0109] S1042: If they are consistent, it is determined that there is no transmission anomaly.
[0110] In this step, the MCU in the receiving end stores the initial audio data. When the demodulated audio data is used to perform consistency comparison with the initial audio data, specifically: the MCU in the receiving end uses the demodulated audio data to perform consistency comparison with the initial audio data.
[0111] Here, the initial audio data stored at the receiving end is the same as the initial audio data before modulation at the transmitting end.
[0112] Here, the comparison results are consistent, indicating that the currently selected transmission channel will not interfere with audio transmission, and will also not interfere with image transmission. Therefore, it can be directly determined that there is no transmission anomaly, and there is no need to perform image transmission anomaly detection.
[0113] In addition, if the comparison results are inconsistent, it means that there is loss, distortion, etc., that is, the currently selected transmission channel interferes with the audio transmission, so image transmission anomaly detection is required.
[0114] Continuing with step S1041, in one implementation manner provided in the present application, if it is determined that the demodulated audio data is inconsistent with the initial audio data, the wireless image transmission method further includes:
[0115] S1043, analyzing the demodulated image data in the demodulated data to determine whether the demodulated image data has at least one of the following abnormal items: snowflake noise, point noise, horizontal stripe interference, and image frame loss.
[0116] S1044. If yes, determine that the transmission is abnormal.
[0117] S1045. If none of them exist, it is determined that there is no transmission anomaly.
[0118] Therefore, after executing step S1041, if they are consistent, execute step S1042, if they are inconsistent, execute step S1043. After executing step S1043, if they exist, execute step S1044, if they do not exist, execute step S1045.
[0119] The receiving end performs transmission anomaly detection on the demodulated image data through the following steps: analyzing the demodulated image data to determine whether the demodulated image data has at least one of the following abnormal items: snowflake noise, noise point noise, horizontal interference and image frame loss; if so, determining that the transmission is abnormal; if none of the following items exist, determining that the transmission is normal.
[0120] For example, when performing snowflake noise and point noise detection, the specific steps include: performing difference frame processing on the demodulated image data to obtain an image to be detected from which the influence of fixed background has been eliminated; using the maximum inter-class variance method to process the image to be detected to obtain an optimal threshold binarization difference frame image; dividing the optimal threshold binarization difference frame image into a preset number of small areas, and determining the statistics of the target features in each small area; judging whether there is snowflake noise or point noise by the stationarity of the statistics.
[0121] When determining whether there is horizontal interference, the methods that can be used include but are not limited to: (1) Frequency domain analysis: convert the demodulated image data to the frequency domain for analysis. Horizontal interference will appear as a peak of a specific frequency on the spectrum graph. (2) Image processing technology: use image processing algorithms, such as filters (such as median filtering, low-pass filtering) to reduce noise, and then analyze the changes in the image before and after processing. Horizontal interference will be weakened or eliminated, so that it can be confirmed. (3) Pattern recognition and machine learning: apply machine learning models, train algorithms to identify the characteristics of horizontal interference, and determine whether the image contains horizontal interference through classification or regression analysis.
[0122] When determining whether there is image frame loss, the methods that can be used include but are not limited to: (1) Timestamp comparison: Each frame of the image should have timestamp information. By comparing the timestamps of adjacent frames, if a large time interval is found, it may be caused by frame loss. (2) Frame rate statistics: Record the number of frames received within a period of time and calculate the average frame rate. If the actual frame rate is much lower than the expected frame rate, there may be frame loss. (3) Video stream synchronization detection: For continuous video streams, it is possible to determine whether there is frame loss by comparing the data synchronization of different sources. (4) Motion estimation: By calculating the motion vectors between adjacent frames, if it is found that the motion vectors of certain areas are abnormally large, it may be due to the jump-like changes caused by frame loss. (5) Interpolation method: Try to interpolate the missing frames. If the effect after interpolation significantly improves the video smoothness, it means that there was indeed frame loss before. (6) Deep learning-based methods: Use deep learning networks to predict lost frames, and then compare the difference between the predicted results and the actual frames. A large difference indicates that there is frame loss.
[0123] In another implementation manner provided by the present application, after determining that there is a transmission anomaly, the wireless image transmission method further includes:
[0124] S301: The receiving end feeds back a channel switching instruction to the transmitting end.
[0125] S302: The transmitting end sends the fused data to the receiving end through a second wireless transmission channel in response to the channel switching instruction.
[0126] For step S301, the receiving end may include a second communication module, the transmitting end may include a first communication module, the first communication module and the second communication module interact via a 2.4G carrier signal, and the channel switching instruction may be generated by the second communication module.
[0127] In this step, the receiving end feeds back a channel switching instruction to the transmitting end, including: sending the channel switching instruction to the first communication module through the second communication module.
[0128] With respect to step S302, in an implementation manner provided in the present application, the second wireless transmission channel is any idle wireless transmission channel except the first wireless transmission channel.
[0129] Here, when selecting the second wireless transmission channel, the selection may be made by the modulation chip or by the MCU in the transmitting end. The selection may be made according to actual conditions and is not limited here.
[0130] In this way, the present application can eliminate the dual conversion process of analog to digital and then digital to analog by directly converting the image data into modulated image data in the form of a high-frequency carrier signal for image transmission, thereby effectively reducing the interference of thermal noise and scattered noise on image transmission. In addition, when transmitting images, audio data is introduced, and the accuracy of image transmission is further guaranteed based on the dual inspection of image and audio. In addition, when determining that the transmission is abnormal, the transmission channel can be switched freely, which can effectively improve the stability of wireless communication.
[0131] See also Figure 4 , Figure 5 , Figure 4 This is one of the structural diagrams of a wireless image transmission system provided in an embodiment of the present application. Figure 5 This is a second structural diagram of a wireless image transmission system provided in an embodiment of the present application. Figure 4 As shown in , the wireless image transmission system 400 includes a transmitting end 410 and a receiving end 420. Figure 5 As shown, the transmitting end 410 also includes an image acquisition device 411, a modulation chip 412, a first MCU 413 and a first communication module 414, and the receiving end also includes a demodulation chip 421, an image processor 422, a second communication module 423 and a second MCU 424. A 5.8G high-frequency carrier signal can be transmitted between the modulation chip 412 and the demodulation chip 421, and the first communication module 414 and the second communication module 423 interact through a 2.4G high-frequency carrier.
[0132] The transmitting end 410 is used to perform high-frequency modulation conversion processing on the target image data and the initial audio data to be transmitted, so as to obtain modulated image data and modulated audio data in the form of high-frequency carrier signals.
[0133] Here, specifically, the modulation chip 412 in the transmitting end 410 performs high-frequency modulation conversion processing on the target image data and the initial audio data to be transmitted to obtain the modulated image data and the modulated audio data in the form of high-frequency carrier signals.
[0134] The initial audio data may be audio signal data of a specific frequency generated by the first MCU 413 in the transmitting end 410 .
[0135] The target image can be acquired by the image acquisition device 411 .
[0136] For example, when the wireless image transmission system is applied to a medical electronic endoscope, the image acquisition device 411 may be a camera system of the insertion part (tip) of the mirror, and the first MCU 413 may be a single-chip microcomputer on the operating part.
[0137] The transmitting end 410 is further configured to fuse the modulated image data with the modulated audio data to obtain fused data, and transmit the fused data to the receiving end via the first wireless transmission channel.
[0138] Here, specifically, the modulation chip 412 in the transmitting end 410 may fuse the modulated image data with the modulated audio data to obtain fused data, and transmit the fused data to the receiving end through the first wireless transmission channel.
[0139] The receiving end 420 is used to demodulate the fused data to obtain demodulated data; wherein the demodulated data includes demodulated image data and demodulated audio data.
[0140] Here, specifically, the demodulation chip 421 in the receiving end 420 demodulates the fused data to obtain demodulated image data and demodulated audio data.
[0141] The receiving end 420 is further used to detect the demodulated data and determine whether there is a transmission anomaly based on the detection result. If it is determined that there is no transmission anomaly, the wireless transmission of the image is completed.
[0142] Here, specifically, it can be the image processor 422 in the receiving end 420, which is used to perform image transmission anomaly detection on the demodulated image data; the second MCU424 in the receiving end 420 is used to perform audio transmission anomaly detection on the demodulated audio data. When the detection result of the demodulated data meets the preset qualification requirements, it is determined that there is no abnormality in the transmission, and the wireless transmission of the image is completed.
[0143] Optionally, when it is determined that there is a transmission anomaly, the wireless image transmission system is further used to:
[0144] The receiving end 420 feeds back a channel switching instruction to the transmitting end 410;
[0145] The transmitting end 410 sends the fused data to the receiving end 420 through the second wireless transmission channel in response to the channel switching instruction.
[0146] Here, the specific implementation process may include: the second MCU424 in the receiving end 420 sends a channel switching instruction to the second communication module 423, the second communication module 423 sends the channel switching instruction to the first communication module 414, the first communication module 414 sends the channel switching instruction to the first MCU413, and the first MCU413 sends the channel switching instruction to the modulation chip 412.
[0147] The modulation chip 412 is used to send the fused data to the demodulation chip 421 through the second wireless transmission channel in response to the channel switching instruction.
[0148] Optionally, when the receiving end 420 is used to detect the demodulated data and determine whether there is a transmission abnormality according to the detection result, the receiving end 420 is used to:
[0149] Using the demodulated audio data in the demodulated data to perform consistency comparison with the initial audio data;
[0150] If they are consistent, it is determined that there is no transmission anomaly.
[0151] Here, specifically, the second MCU 424 in the receiving end 420 is used to use the demodulated audio data to perform consistency comparison with the initial audio data;
[0152] If they are consistent, it is determined that there is no transmission anomaly.
[0153] Here, the initial audio data stored in the second MCU 424 is the same as the initial audio data generated by the first MCU 413 .
[0154] When the second MCU 424 determines that the demodulated audio data is inconsistent with the initial audio data, the receiving end 420 is further configured to:
[0155] Analyze the demodulated image data in the demodulated data to determine whether the demodulated image data has at least one of the following abnormal items: snow noise, point noise, horizontal stripe interference, and image frame loss;
[0156] If present, determine that the transmission is abnormal;
[0157] If none of them exist, it is determined that there is no transmission abnormality.
[0158] Here, specifically, the image processor 422 in the receiving end 420 is used for:
[0159] Analyze the demodulated image data to determine whether the demodulated image data has at least one of the following abnormal items: snow noise, point noise, horizontal stripe interference, and image frame loss;
[0160] If present, determine that the transmission is abnormal;
[0161] If none of them exist, it is determined that there is no transmission abnormality.
[0162] It should be noted that image detection is performed only when the audio is determined to be inconsistent. If the audio is below, image detection is not performed.
[0163] Optionally, the sending end 410 is further configured to obtain the target image data through the following steps:
[0164] The first MCU 413 sends a posture adjustment instruction and a shooting instruction to the image acquisition device 411;
[0165] The image acquisition device 411 performs position and posture adjustment in response to the posture adjustment instruction to reach the target posture indicated by the posture adjustment instruction;
[0166] The image acquisition device 411 responds to the shooting instruction, performs image acquisition under the target posture condition, and obtains the target image data.
[0167] Optionally, when the sending end 410 is used to send the fused data to the receiving end 420 through the first wireless transmission channel, the sending end 410 is used to:
[0168] Selecting one wireless transmission channel from idle wireless transmission channels as the first wireless transmission channel;
[0169] The fused data is transmitted to the receiving end 420 through the first wireless transmission channel.
[0170] Here, specifically, the modulation chip 412 is used to select any one wireless transmission channel from idle wireless transmission channels as the first wireless transmission channel, and the modulation chip 412 is used to transmit the fused data to the demodulation chip 421 through the first wireless transmission channel.
[0171] Optionally, the second wireless transmission channel is any idle wireless transmission channel except the first wireless transmission channel.
[0172] In this way, the present application can eliminate the dual conversion process of analog to digital and then digital to analog by directly converting the image data into modulated image data in the form of a high-frequency carrier signal for image transmission, thereby effectively reducing the interference of thermal noise and scattered noise on image transmission. In addition, when transmitting images, audio data is introduced, and the accuracy of image transmission is further guaranteed based on the dual verification of image and audio. In addition, when determining that the transmission is abnormal, the transmission channel can be switched freely, which can effectively improve the stability of wireless communication.
[0173] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown in , the electronic device 600 includes a processor 610 , a memory 620 and a bus 630 .
[0174] The memory 620 stores machine-readable instructions executable by the processor 610. When the electronic device 600 is running, the processor 610 communicates with the memory 620 via the bus 630. When the machine-readable instructions are executed by the processor 610, the above-mentioned Figure 1 The specific implementation of the steps in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0175] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The specific implementation of the steps in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0176] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0177] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0178] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0179] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0180] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several 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 application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0181] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A wireless image transmission method, characterized in that: Applied to a wireless image transmission system, the wireless image transmission system includes a transmitting end and a receiving end, and the wireless image transmission method includes: The transmitting end performs high-frequency modulation conversion processing on the target image data and the initial audio data to be transmitted, thereby obtaining modulated image data and modulated audio data in the form of high-frequency carrier signals; The modulated image data and the modulated audio data are merged by the transmitting end to obtain merged data, and the merged data is sent to the receiving end through the first wireless transmission channel; Demodulating the fused data through the receiving end to obtain demodulated data; wherein the demodulated data includes demodulated image data and demodulated audio data; The demodulated data is detected by the receiving end, and whether there is a transmission abnormality is determined according to the detection result. If it is determined that there is no transmission abnormality, the wireless transmission of the image is completed.
2. The wireless image transmission method according to claim 1, characterized in that: When it is determined that there is a transmission anomaly, the wireless image transmission method further includes: The receiving end feeds back a channel switching instruction to the transmitting end; The transmitting end sends the fused data to the receiving end through a second wireless transmission channel in response to the channel switching instruction.
3. The wireless image transmission method according to claim 1, characterized in that: The detecting the demodulated data by the receiving end and determining whether there is a transmission abnormality according to the detection result includes: Using the demodulated audio data in the demodulated data to perform consistency comparison with the initial audio data; If they are consistent, it is determined that there is no transmission anomaly.
4. The wireless image transmission method according to claim 3, characterized in that: If it is determined that the demodulated audio data is inconsistent with the initial audio data, the wireless image transmission method further includes: Analyze the demodulated image data in the demodulated data to determine whether the demodulated image data has at least one of the following abnormal items: snow noise, point noise, horizontal stripe interference, and image frame loss; If present, determine that the transmission is abnormal; If none of them exist, it is determined that there is no transmission abnormality.
5. The wireless image transmission method according to claim 1, characterized in that: The transmitting end includes an image acquisition device and an MCU, and acquires the target image data through the following steps: The MCU sends a posture adjustment instruction and a shooting instruction to the image acquisition device; The image acquisition device performs position and posture adjustment in response to the posture adjustment instruction to reach the target posture indicated by the posture adjustment instruction; The image acquisition device responds to the shooting instruction, performs image acquisition under the target posture condition, and obtains the target image data.
6. The wireless image transmission method according to claim 1, characterized in that: The sending the fused data to the receiving end through the first wireless transmission channel includes: Selecting one wireless transmission channel from idle wireless transmission channels as the first wireless transmission channel; The fused data is transmitted to the receiving end through the first wireless transmission channel.
7. The wireless image transmission method according to claim 2, characterized in that: The second wireless transmission channel is any idle wireless transmission channel except the first wireless transmission channel.
8. A wireless image transmission system, characterized in that: The wireless image transmission system includes a transmitting end and a receiving end: The transmitting end is used to perform high-frequency modulation conversion processing on the target image data and the initial audio data to be transmitted, so as to obtain modulated image data and modulated audio data in the form of high-frequency carrier signals; The transmitting end is further used to fuse the modulated image data with the modulated audio data to obtain fused data, and send the fused data to the receiving end through the first wireless transmission channel; The receiving end is used to demodulate the fused data to obtain demodulated data; wherein the demodulated data includes demodulated image data and demodulated audio data; The receiving end is further used to detect the demodulated data and determine whether there is a transmission anomaly based on the detection result. If it is determined that there is no transmission anomaly, the wireless transmission of the image is completed.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the wireless image transmission method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the wireless image transmission method according to any one of claims 1 to 7 are executed.
