UAV image transmission method, system, device and storage medium

By judging the signal strength during the UAV image transmission process and transmitting the image when the requirements are met, the transmission problem caused by poor signal in UAV image transmission is solved, stable image transmission is achieved and the surveying and mapping efficiency is improved.

CN116155414BActive Publication Date: 2025-09-19CHINA RAILWAY GUANGZHOU ENG GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310002849.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2025-09-19
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

When transmitting images, drones are easily affected by the geographical environment, resulting in poor signals, slow transmission speeds or image loss, and affecting surveying and mapping efficiency.

Method used

After determining the area to be photographed by the drone, obtain the signal strength of the drone connected to the transmission base station. Image transmission is only performed when the signal strength meets certain requirements. When the signal strength is low, the image is transmitted by compressing the image or caching it offline to ensure that the signal strength meets the requirements.

Benefits of technology

Ensure that the signal strength meets the requirements during image transmission, avoid slow transmission speed or image loss, and improve surveying and mapping efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155414B_ABST
    Figure CN116155414B_ABST
Patent Text Reader

Abstract

The present application relates to the field of image transmission, and in particular to a method, system, device, and storage medium for transmitting images from a drone. The method comprises obtaining an area to be photographed; obtaining the current position of a drone; determining whether the current position of the drone is within the area to be photographed; if the current position of the drone is within the area to be photographed, obtaining the signal strength of the drone connected to a transmission base station; determining whether the signal strength is greater than a preset strength; and if the signal strength is greater than the preset strength, transmitting the captured image in real time. The present application ensures that the drone's signal strength meets the requirements during image transmission, and does not result in low signal strength during image transmission, which could lead to slow transmission speeds or image loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image transmission, and in particular to a method, system, device and storage medium for transmitting images from a drone. Background Art

[0002] In recent years, the development of drones has been very rapid. Drone photography is widely used in the field of surveying and mapping because it is not restricted by terrain and has a wide shooting range. Among them, the two most commonly used types are RTK drones. RTK drone surveying and mapping is widely used due to its high measurement accuracy.

[0003] In related technologies, the use of drones for surveying and mapping can not only quickly obtain images of the area to be surveyed, but also directly transmit the captured images to base stations or mobile phones and other devices through wireless transmission.

[0004] Regarding the above-mentioned related technologies, the UAV may be affected by the geographical environment during the image transmission process, resulting in poor transmission signals between the UAV and the base station, causing slow transmission speed or loss of transmitted images, affecting surveying and mapping efficiency. Summary of the Invention

[0005] In order to ensure that the drone transmits images only when the signal strength is good enough, and to avoid slow image transmission or even image loss when the signal is poor, the present application provides a drone image transmission method, system, device and storage medium.

[0006] The present application provides a method, system, device, and storage medium for transmitting drone images using the following technical solutions:

[0007] A method for transmitting images from a drone, comprising:

[0008] Get the area to be photographed;

[0009] Get the current position of the drone;

[0010] Determine whether the current position of the drone is within the area to be photographed;

[0011] If the current position of the drone is within the area to be photographed, obtaining the signal strength of the drone connected to the transmission base station;

[0012] Determining whether the signal strength is greater than a preset strength;

[0013] If the signal strength is greater than a preset strength, the captured image is transmitted in real time.

[0014] By adopting the above technical solution, after determining the area to be photographed by the drone, the drone is controlled to fly towards the area to be photographed. When the drone flies to the area to be photographed, the signal strength of the drone connecting to the transmission base station is obtained. Only when the signal strength meets certain requirements can the image be accurately transmitted between the drone and the transmission base station. When the signal is poor, it may cause image transmission failure or image loss. Therefore, the captured image is only transmitted in real time when the signal strength is greater than the preset strength. It is ensured that the signal strength of the drone meets the requirements when transmitting the image, and the signal strength is not low during image transmission, resulting in slow transmission speed or image loss.

[0015] Optionally, determining whether the signal strength is greater than a preset strength further includes:

[0016] If the signal strength is less than the preset strength, obtaining the image size of the captured image;

[0017] Determining whether the image size is larger than the first preset size and smaller than a second preset size;

[0018] If the image size is larger than the first preset size and smaller than the second preset size, obtaining a compression method;

[0019] Based on the compression method, the captured image is compressed to obtain a compressed image, and the compressed image is compressed and transmitted to the transmission base station.

[0020] By adopting the above technical solution, when the signal strength is lower than the preset strength, the transmission method is determined according to the size of the image that has been taken. If the image size is greater than the first preset strength and less than the second preset strength, the image will be compressed. The memory size occupied by the compressed image will become smaller, so the data that needs to be transmitted during transmission will become smaller. When the signal is not good, the image is transmitted using smaller data, saving transmission time.

[0021] Optionally, if the signal strength is less than the preset strength, the method further includes:

[0022] Get the shooting progress;

[0023] Based on the shooting progress, determining whether the shooting is completed;

[0024] If the shooting is completed, the drone is controlled to fly within a preset radius and scan the signal strength;

[0025] Determining whether the scanning signal strength is greater than a preset strength;

[0026] If the scanning signal strength is greater than the preset strength, controlling the drone to keep flying in place and transmit the captured image;

[0027] If the scanning signal intensity is less than or equal to the preset intensity, the image size of the captured image is acquired.

[0028] By adopting the above technical solution, when the signal strength is less than the preset strength, the image will not be transmitted in real time. Instead, the image will be transmitted uniformly after the shooting is completed. First, the shooting progress is obtained, and the completion of the current shooting is confirmed based on the shooting progress. If the current shooting is completed, the drone is controlled to fly within a preset radius. The purpose is to find out whether there is a place nearby where the drone's signal strength can reach the preset strength. If there is an area nearby where the drone's signal strength reaches the preset strength, the drone will fly in place and transmit the captured image. If the nearby signals are relatively weak, the image size is obtained, and the image transmission method is determined based on the image size. After the image is shot, it is first determined whether the surrounding signals meet the transmission requirements. If there are signals nearby that meet the requirements, the image is transmitted immediately to improve the surveying and mapping efficiency.

[0029] Optionally, the determining whether the image size is larger than the first preset size and smaller than a second preset size includes:

[0030] If the image size is larger than the second preset size, acquiring an offline cache mode;

[0031] Based on the offline caching mode, the captured image is cached offline.

[0032] By adopting the above technical solution, when the image size is larger than the second preset size, it means that a lot of images have been captured, resulting in the image size being too large. When the signal strength is already poor, if large data is transmitted, the transmission may fail at any time due to signal interruption. Therefore, Drone World will cache the captured images offline and save them in the drone's memory. When the drone flies back to the transmission base station, it can directly take out the memory and copy the data.

[0033] Optionally, the determining whether the shooting is completed based on the shooting progress further includes:

[0034] If the shooting is not completed, predicting the size of the completed image after the shooting is completed based on the image size of the shot image and the shooting progress;

[0035] An image transmission mode is selected based on the completed image size, where the image transmission mode includes the image offline cache mode and the compressed transmission.

[0036] By adopting the above technical solution, when shooting is not yet completed, the size of the image after shooting is predicted based on the size of the image already shot and the current shooting progress, and the final image size is obtained. The image transmission method is selected based on the final image size. The image transmission method is set in advance, and after the shooting is completed, the image is directly transmitted according to the set image transmission method.

[0037] Optionally, selecting an image transmission mode based on the completed image size includes:

[0038] Based on the completed image size, obtaining an interval range of the completed image size;

[0039] If the completed image size is between the first preset size and the second preset size, selecting the image transmission mode as compressed transmission;

[0040] If the size of the completed image is larger than the second preset size, the image transmission mode is selected as the image offline cache mode.

[0041] By employing the above technical solution, a range of the final image size is determined based on the predicted final image size. The range refers to the memory size range occupied by the image. If the final image size is between a first preset size and a second preset size, compressed transmission is used. If the final image size is larger than the second preset size, image offline caching mode is used. Selecting different transmission methods based on the final image size can avoid errors during transmission.

[0042] In a second aspect, the present application provides a drone image transmission system.

[0043] A UAV image transmission system, comprising:

[0044] A first acquisition module is used to acquire the area to be photographed;

[0045] The second acquisition module is used to obtain the current position of the drone;

[0046] A first judgment module is used to judge whether the current position of the drone is in the area to be photographed;

[0047] A third acquisition module is configured to acquire the signal strength of the drone connected to the transmission base station if the current position of the drone is within the area to be photographed;

[0048] A second judging module is used to judge whether the signal strength is greater than a preset strength;

[0049] The transmission module is used to transmit the captured image in real time if the signal strength is greater than a preset strength.

[0050] By adopting the above technical solution, the first acquisition module acquires the area to be photographed, the first acquisition module is connected to the second acquisition module, the second acquisition module acquires the current position of the drone, the second acquisition module is connected to the first judgment module, the first judgment module judges whether the current position of the drone is in the area to be photographed, the first judgment module is connected to the third acquisition module, the third acquisition module is used to obtain the signal strength of the drone connected to the transmission base station when the drone is in the area to be photographed, the third acquisition module is connected to the second judgment module, the second judgment module judges whether the signal strength is greater than a preset strength, the second judgment module is connected to the transmission module, and the transmission module transmits the captured image in real time when the signal strength is greater than the preset strength. This ensures that the signal strength of the drone meets the requirements when transmitting images, and does not cause low signal strength during image transmission, resulting in slow transmission speed or image loss.

[0051] In a third aspect, the present application provides a terminal device that adopts the following technical solution:

[0052] A terminal device includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor loads and executes the computer program, any of the methods described above is adopted.

[0053] By adopting the above technical solution, the above method is generated into a computer program and stored in a memory so as to be loaded and executed by a processor, thereby making a terminal device based on the memory and the processor for easy use.

[0054] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0055] A computer-readable storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the above-mentioned drone image transmission method is adopted.

[0056] By adopting the above technical solution, the above-mentioned drone image transmission method is generated into a computer program and stored in a computer-readable storage medium so that it can be loaded and executed by a processor. The computer-readable storage medium facilitates the reading and storage of the computer program.

[0057] In summary, this application includes at least one of the following beneficial technical effects:

[0058] After determining the area to be photographed by the drone, control the drone to fly towards the area. Once the drone reaches the area, obtain the signal strength between the drone and the transmission base station. Only when the signal strength meets certain requirements can the drone and the transmission base station accurately transmit images. When the signal is poor, it may cause image transmission failure or image loss. Therefore, only when the signal strength is greater than the preset strength will the captured image be transmitted in real time. Ensure that the drone's signal strength meets the requirements during image transmission, and do not cause low signal strength during image transmission, resulting in slow transmission speed or image loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Figure 1 This is a flow chart of one implementation of a method for transmitting images from a drone according to an embodiment of the present application;

[0060] Figure 2 This is a flow chart of one implementation of a method for transmitting images from a drone according to an embodiment of the present application;

[0061] Figure 3 This is a flow chart of one implementation of a method for transmitting images from a drone according to an embodiment of the present application;

[0062] Figure 4 This is a flow chart of one implementation of a method for transmitting images from a drone according to an embodiment of the present application;

[0063] Figure 5 This is a flow chart of one implementation of a method for transmitting images from a drone according to an embodiment of the present application;

[0064] Figure 6 This is a flow chart of one implementation of a method for transmitting images from a drone according to an embodiment of the present application;

[0065] Figure 7 This is a system block diagram of a drone image transmission system according to an embodiment of the present application.

[0066] Description of reference numerals:

[0067] 1. First acquisition module; 2. Second acquisition module; 3. First judgment module; 4. Third acquisition module; 5. Second judgment module; 6. Transmission module. DETAILED DESCRIPTION

[0068] The present application is further described in detail below in conjunction with all the accompanying drawings.

[0069] The present application discloses a method for transmitting images from a drone. Figure 1 ,include:

[0070] S100: Acquire the area to be photographed.

[0071] Specifically, the area to be photographed is the area where the drone will perform tasks, including photography and surveying.

[0072] S110: Get the current position of the drone.

[0073] S120: Determine whether the current position of the drone is in the area to be photographed.

[0074] Specifically, when a drone needs to perform a mission, it must ensure that the drone flies to the area to be photographed before starting to shoot. The drone itself has positioning, such as GPS. As long as the geographical coordinate range of the area to be photographed is determined on the map, as long as the drone enters the geographical coordinate range to be photographed, it means that the drone is in the area to be photographed.

[0075] S130: If the current position of the drone is in the area to be photographed, obtain the signal strength of the drone connected to the transmission base station.

[0076] Specifically, the signal strength of the drone connecting to the transmission base station is the signal strength of the drone connecting to the mobile signal. The drone usually transmits the captured images back to the base station by wireless transmission. For example, the drone connects to the 4G signal and then connects to the server, and the base station or smart device that receives the images transmitted by the drone also connects to the network and then connects to the server. The drone can then transmit the captured images to the base station or smart device through the server. Therefore, the signal strength is the signal strength of the drone connecting to the mobile signal.

[0077] S140: Determine whether the signal strength is greater than a preset strength.

[0078] Specifically, the preset strength is the minimum signal strength used to determine whether the current signal strength can be used for real-time image transmission. The signal strength can be determined based on the number of signals connected to the mobile signal of the drone. For example, there are 5 signal grids in total. When there is a signal, these 5 signal grids will be filled according to the signal strength. When the signal is the best, there are 5 grids of signal, and when the signal is the worst, there is no signal at all. Assuming that the preset strength is set to 3 grids, as long as the signal strength of the drone is greater than 3 grids, it is considered that the drone can currently perform normal image transmission, and step S150 is executed.

[0079] S150: If the signal strength is greater than the preset strength, the captured image is transmitted in real time.

[0080] Specifically, real-time transmission of captured images means that the drone immediately transmits the captured images to a base station or smart device after completing the image capture. The staff of the base station or smart device can immediately start the next step of work based on the received images.

[0081] The working principle of this embodiment is as follows: after determining the area to be photographed by the drone, the drone is controlled to fly towards the area to be photographed. Once the drone reaches the area to be photographed, the signal strength of the drone connecting to the transmission base station is obtained. Only when the signal strength meets certain requirements can the image be accurately transmitted between the drone and the transmission base station. When the signal is poor, image transmission failure or image loss may occur. Therefore, the captured image is only transmitted in real time when the signal strength is greater than the preset strength. This ensures that the drone's signal strength meets the requirements during image transmission, and does not cause low signal strength during image transmission, resulting in slow transmission speed or image loss.

[0082] In one implementation of this embodiment, Figure 2 As shown, step S140, i.e., determining whether the signal strength is greater than a preset strength, further includes:

[0083] S200: If the signal strength is less than a preset strength, obtain the image size of the captured image.

[0084] Specifically, the image size of the captured image is the sum of the memory of all images taken by the drone because when the signal strength is less than the preset strength, direct image transmission may fail or the transmitted image may be missing. Therefore, when the signal strength is less than the preset strength, image transmission is not performed.

[0085] S210: Determine whether the image size is larger than a first preset size and smaller than a second preset size.

[0086] Specifically, the first preset size and the second preset size are memory size dividing lines for selecting different image transmission methods according to different image sizes when the signal strength is lower than the preset strength. When the first preset size is smaller than the second preset size and the size of the captured image is between the first preset size and the second preset size, step S220 is executed.

[0087] If the image size is smaller than the preset size, the captured image will be transmitted in real time.

[0088] S220: If the image size is larger than the first preset size and smaller than the second preset size, obtain a compression method.

[0089] Specifically, when the image size is too large but the signal strength is low and cannot be transmitted directly, the captured image is compressed so that the transmission data is smaller during transmission. The compression method is the compression method used when compressing the image. The captured image is compressed through the preset built-in compression software.

[0090] S230 : compress the captured image based on a compression method to obtain a compressed image, and compress and transmit the compressed image to a transmission base station.

[0091] Specifically, the compressed image is a compressed package of the captured image. The drone directly transmits the compressed package. After the transmission base station receives the compressed package, it decompresses the compressed package to obtain the original image.

[0092] The implementation principle of this embodiment is: when the signal strength is lower than the preset strength, the transmission method is determined according to the size of the image that has been taken. If the image size is greater than the first preset strength and less than the second preset strength, the image will be compressed. The memory size occupied by the compressed image will become smaller, so the data that needs to be transmitted during transmission will become smaller. When the signal is not good, the image is transmitted with smaller data, saving transmission time.

[0093] In one implementation of this embodiment, Figure 3 As shown, step S200, that is, if the signal strength is less than the preset strength, includes:

[0094] S300: Obtain shooting progress.

[0095] Specifically, the shooting progress is the percentage of the drone's completed shots compared to the total number of images captured. The shooting progress can be determined based on the number of images required. For example, if a total of 20 images are required and 5 have been completed, the shooting progress is 25%.

[0096] S310: Determine whether the shooting is completed based on the shooting progress.

[0097] Specifically, when the shooting progress reaches 100%, the shooting is completed and step S320 is executed.

[0098] S320: If the shooting is completed, the drone is controlled to fly within a preset radius and scan the signal strength.

[0099] Specifically, the preset radius is the radius of the drone's area after excluding the area to be photographed. The area to be photographed is determined by the maximum distance from the center of the circle to the center of the circle. The preset radius is then added to the maximum distance radius to form the new signal search range. Because signal strength is low within the area to be photographed, the drone appropriately increases the range to search for signals. The size of the preset radius can be customized based on the drone's flight capabilities. The scanning signal strength is the strength of the mobile signal detected by the drone within the increased range.

[0100] S330: Determine whether the scanning signal strength is greater than a preset strength.

[0101] Specifically, when the scanning signal strength is greater than the preset strength, it indicates that there is a signal strength within the increased range that meets the conditions for real-time image transmission, and therefore step S340 is executed; otherwise, step S350 is executed.

[0102] S340: If the scanning signal strength is greater than the preset strength, the drone is controlled to keep flying in place and transmit the captured image.

[0103] Specifically, when the scanning signal strength is greater than a preset strength, the drone keeps flying in place to ensure that the signal strength does not change. At the same time, the drone can transmit the captured images without having to wait for the drone to fly back to the base and then retrieve the captured images from the memory.

[0104] S350: If the scanning signal strength is less than or equal to the preset strength, obtain the image size of the captured image.

[0105] Specifically, if the scanning signal strength is still lower than the preset strength after the preset radius is increased, the real-time transmission of data will no longer be performed.

[0106] The working principle of this embodiment is as follows: when the signal strength is less than a preset strength, the image will not be transmitted in real time. Instead, the image will be transmitted uniformly after the shooting is completed. First, the shooting progress is obtained. Based on the shooting progress, it is confirmed whether the current shooting is completed. If the current shooting is completed, the drone is controlled to fly within a preset radius. The purpose is to find a place nearby where the drone's signal strength can reach the preset strength. If there is an area nearby where the drone's signal strength reaches the preset strength, the drone will fly in place and transmit the captured image. If the nearby signal is relatively weak, the image size is obtained and the image transmission method is determined based on the image size. After the image is captured, it is first determined whether the surrounding signal meets the transmission requirements. If the surrounding signal meets the requirements, the image is transmitted immediately, thereby improving surveying and mapping efficiency.

[0107] In one implementation of this embodiment, Figure 4 As shown, step S210, i.e., determining whether the image size is larger than the first preset size and smaller than the second preset size, further includes:

[0108] S400: If the image size is larger than a second preset size, obtain an offline cache mode.

[0109] Specifically, when the image size is larger than the second preset size, even after image compression, the memory is still relatively large due to the image's large size. However, the signal strength is low, which may not be sufficient to support the complete transmission of the compressed package, or the transmission speed is too slow, resulting in insufficient energy consumption of the drone. Therefore, offline caching mode is used. Offline caching mode allows the drone to save the captured images in the drone's local memory. After the shooting is completed and the drone returns to the base, the captured images can be read by removing the drone's memory card.

[0110] S410: Based on the offline cache mode, the captured images are cached offline.

[0111] The implementation principle of this embodiment is: when the image size is larger than the second preset size, it means that a lot of images have been captured, resulting in the image size being too large. When the signal strength is already poor, if large data transmission is performed, the transmission may fail at any time due to signal interruption. Therefore, the drone world will cache the captured images offline and save them in the drone's memory. When the drone flies back to the transmission base station, it can directly take out the memory and copy the data.

[0112] In one implementation of this embodiment, Figure 5 As shown, step S310, based on the shooting progress, determines whether the shooting is completed and further includes:

[0113] S500: If the shooting is not completed, predict the size of the completed image after the shooting is completed based on the image size of the shot image and the shooting progress.

[0114] Specifically, the final image size after shooting is estimated based on the size of the images already captured and the shooting progress. Specifically, the formula is (1 / shooting progress) * the size already captured. This provides a preliminary estimate of the final image size after all shots are taken. Since the camera resolution does not change during drone shooting, the memory size of the captured photos will not vary significantly, which can be used to simply estimate the final image size.

[0115] S510 : Based on the completed image size, select an image transmission mode, where the image transmission mode includes an image offline cache mode and compressed transmission.

[0116] Specifically, the image transmission mode is determined based on the memory size range within which the completed image size falls. Image offline caching mode stores the image offline in the drone's memory, while compressed transmission compresses the captured image before transmission. The memory size range within which the image size falls is broken down into a first preset size and a second preset size.

[0117] The principle behind this implementation is that, while shooting is incomplete, the final image size is estimated based on the size of the already captured images and the current shooting progress. This size is then used to determine the image transmission method. The image transmission method is set in advance, and once shooting is complete, the image is transmitted directly using the set method.

[0118] In one implementation of this embodiment, Figure 6 As shown, step S510, based on the shooting progress, determines whether the shooting is completed and further includes:

[0119] S600: Based on the completed image size, obtain a range of the completed image size.

[0120] Specifically, the interval range of the completed image size is an interval range determined based on the first preset size and the second preset size, and the interval range includes a range smaller than the preset size, a range between the first preset size and the second preset size, and a range larger than the second preset size.

[0121] S610: If the completed image size is larger than the first preset size and the second preset size, select compression transmission as the image transmission mode.

[0122] S620: If the size of the completed image is larger than the second preset size, select the image transmission mode as the image offline cache mode.

[0123] This embodiment works by determining a range of sizes based on the predicted final image size. This range refers to the memory size range occupied by the image. If the final image size is between a first preset size and a second preset size, compressed transmission is used. If the final image size is larger than the second preset size, offline image caching is used. Selecting different transmission methods based on the final image size can avoid errors during transmission.

[0124] In a second aspect, the present application provides a drone image transmission system.

[0125] A UAV image transmission system, comprising:

[0126] The first acquisition module 1 is used to acquire the area to be photographed;

[0127] The second acquisition module 2 is used to obtain the current position of the drone;

[0128] The first judgment module 3 is used to judge whether the current position of the drone is in the area to be photographed;

[0129] The third acquisition module 4 is used to obtain the signal strength of the drone connected to the transmission base station if the drone is currently located in the area to be photographed;

[0130] The second judging module 5 is used to judge whether the signal strength is greater than a preset strength;

[0131] The transmission module 6 is configured to transmit the captured image in real time if the signal strength is greater than a preset strength.

[0132] The implementation principle of this embodiment is as follows: a first acquisition module 1 acquires the area to be photographed, the first acquisition module 1 is connected to a second acquisition module 2, the second acquisition module 2 acquires the current position of the drone, the second acquisition module 2 is connected to a first judgment module 3, the first judgment module 3 determines whether the current position of the drone is within the area to be photographed, the first judgment module 3 is connected to a third acquisition module 4, the third acquisition module 4 is used to acquire the signal strength of the drone connecting to the transmission base station when the drone is within the area to be photographed, the third acquisition module 4 is connected to a second judgment module 5, the second judgment module 5 determines whether the signal strength is greater than a preset strength, the second judgment module 5 is connected to a transmission module 6, and the transmission module 6 transmits the captured image in real time when the signal strength is greater than the preset strength. This ensures that the drone's signal strength meets the requirements during image transmission, and does not cause low signal strength during image transmission, resulting in slow transmission speed or image loss.

[0133] An embodiment of the present application also discloses a terminal device, including a memory and a processor. The memory stores a computer program that can be run on the processor. When the processor loads and executes the computer program, a drone image transmission method is adopted.

[0134] Among them, the terminal device can be a computer device such as a desktop computer, a laptop computer or a cloud server, and the terminal device includes but is not limited to a processor and a memory. For example, the terminal device can also include input and output devices, network access devices and buses, etc.

[0135] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.

[0136] Among them, the memory can be an internal storage unit of the terminal device, such as the hard disk or memory of the terminal device, or it can be an external storage device of the terminal device, such as a plug-in hard disk, smart memory card (SMC), secure digital card (SD) or flash memory card (FC) equipped on the terminal device, etc., and the memory can also be a combination of the internal storage unit and the external storage device of the terminal device. The memory is used to store computer programs and other programs and data required by the terminal device. The memory can also be used to temporarily store data that has been output or is to be output. This application does not impose any restrictions on this.

[0137] Among them, through this terminal device, a drone image transmission method in the above-mentioned embodiment is stored in the memory of the terminal device, and is loaded and executed on the processor of the terminal device for easy use.

[0138] An embodiment of the present application further discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, a drone image transmission method in the above embodiment is adopted.

[0139] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that computer-readable medium includes but is not limited to the above-mentioned components.

[0140] Among them, through this computer-readable storage medium, a drone image transmission method in the above-mentioned embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above-mentioned method.

[0141] The above are all preferred implementation methods of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.

Claims

1. A method for transmitting drone images, characterized in that: include: Get the area to be photographed; Get the current position of the drone; Determine whether the current position of the drone is within the area to be photographed; If the current position of the drone is within the area to be photographed, obtaining the signal strength of the drone connected to the transmission base station; Determining whether the signal strength is greater than a preset strength; If the signal strength is greater than a preset strength, the captured image is transmitted in real time; Wherein, determining whether the signal strength is greater than a preset strength further includes: If the signal strength is less than the preset strength, obtaining the image size of the captured image; Determining whether the image size is larger than a first preset size and smaller than a second preset size; If the image size is larger than the first preset size and smaller than the second preset size, obtaining a compression method; compressing the captured image based on the compression method to obtain a compressed image, and compressing and transmitting the compressed image to the transmission base station; If the image size is larger than the second preset size, acquiring an offline cache mode; Based on the offline caching mode, caching the captured image offline; Wherein, if the signal strength is less than the preset strength, the method further comprises: Get the shooting progress; Based on the shooting progress, determining whether the shooting is completed; If the shooting is completed, the drone is controlled to fly within a preset radius and scan the signal strength; Determining whether the scanning signal strength is greater than a preset strength; If the scanning signal strength is greater than the preset strength, controlling the drone to keep flying in place and transmit the captured image; If the scanning signal intensity is less than or equal to the preset intensity, obtaining the image size of the captured image; If the shooting is not completed, predicting the size of the completed image after the shooting is completed based on the image size of the shot image and the shooting progress; An image transmission mode is selected based on the completed image size, where the image transmission mode includes the image offline cache mode and the compressed transmission.

2. The method for transmitting drone images according to claim 1, wherein: The selecting of the image transmission mode based on the completed image size includes: Based on the completed image size, obtaining an interval range of the completed image size; If the size of the completed image is between the first preset size and the second preset size, selecting the image transmission mode as compressed transmission; If the size of the completed image is larger than the second preset size, the image transmission mode is selected as the image offline cache mode.

3. A UAV image transmission system, characterized in that: include: A first acquisition module (1) is used to acquire an area to be photographed; The second acquisition module (2) is used to obtain the current position of the UAV; A first judgment module (3) is used to judge whether the current position of the drone is in the area to be photographed; A third acquisition module (4) is used to acquire the signal strength of the drone connected to the transmission base station if the current position of the drone is in the area to be photographed; A second judgment module (5) is used to judge whether the signal strength is greater than a preset strength; A transmission module (6) is used for transmitting the captured image in real time if the signal strength is greater than a preset strength; Wherein, determining whether the signal strength is greater than a preset strength further includes: If the signal strength is less than the preset strength, obtaining the image size of the captured image; Determining whether the image size is larger than a first preset size and smaller than a second preset size; If the image size is larger than the first preset size and smaller than the second preset size, obtaining a compression method; compressing the captured image based on the compression method to obtain a compressed image, and compressing and transmitting the compressed image to the transmission base station; If the image size is larger than the second preset size, acquiring an offline cache mode; Based on the offline caching mode, caching the captured image offline; Wherein, if the signal strength is less than the preset strength, the method further comprises: Get the shooting progress; Based on the shooting progress, determining whether the shooting is completed; If the shooting is completed, the drone is controlled to fly within a preset radius and scan the signal strength; Determining whether the scanning signal strength is greater than a preset strength; If the scanning signal strength is greater than the preset strength, controlling the drone to keep flying in place and transmit the captured image; If the scanning signal intensity is less than or equal to the preset intensity, obtaining the image size of the captured image; If the shooting is not completed, predicting the size of the completed image after the shooting is completed based on the image size of the shot image and the shooting progress; An image transmission mode is selected based on the completed image size, where the image transmission mode includes the image offline cache mode and the compressed transmission.

4. A terminal device comprising a memory and a processor, characterized in that: The memory stores a computer program that can be run on the processor, and when the processor loads and executes the computer program, the method according to any one of claims 1 to 2 is adopted.

5. A computer-readable storage medium storing a computer program, wherein: When the computer program is loaded and executed by a processor, the method according to any one of claims 1 to 2 is adopted.

Citation Information

Patent Citations

  • Image transmission method and equipment

    CN107734300A

  • Mobile network signal test method and device, storage medium and signal test system

    CN111328099A