WO2022141316A1 - Image transmission method, movable platform, device, system and readable storage medium - Google Patents

Image transmission method, movable platform, device, system and readable storage medium Download PDF

Info

Publication number
WO2022141316A1
WO2022141316A1 PCT/CN2020/141842 CN2020141842W WO2022141316A1 WO 2022141316 A1 WO2022141316 A1 WO 2022141316A1 CN 2020141842 W CN2020141842 W CN 2020141842W WO 2022141316 A1 WO2022141316 A1 WO 2022141316A1
Authority
WO
WIPO (PCT)
Prior art keywords
code stream
enhancement layer
layer code
wireless communication
image frame
Prior art date
Application number
PCT/CN2020/141842
Other languages
French (fr)
Chinese (zh)
Inventor
马宁
尹小俊
陈颖
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/141842 priority Critical patent/WO2022141316A1/en
Publication of WO2022141316A1 publication Critical patent/WO2022141316A1/en

Links

Images

Definitions

  • the present application relates to the technical field of wireless image transmission, and in particular, to an image transmission method, a movable platform, a device, a system, and a readable storage medium.
  • the movable platform can transmit the image back to the terminal device through wireless communication, and the terminal device can display it, which is convenient for the user to control the movable platform based on the displayed image.
  • the image transmission between the movable platform and the terminal device is mainly through private realized by means of communication.
  • the private communication method has the advantage of low delay, the image quality cannot be guaranteed. Therefore, it is difficult to realize the image transmission using a single wireless communication method to meet the user's requirements for various performance indicators such as delay and image quality.
  • the embodiments of the present application provide an image transmission method, a movable platform, a device, a system, and a readable storage medium, which aim to ensure that wireless image transmission can meet user requirements for various performance indicators such as time delay and image quality. , to improve the user experience.
  • an embodiment of the present application provides an image transmission method, which is applied to a movable platform, the movable platform includes a photographing device, and the movable platform can communicate with the The terminal device communicates, and the method includes:
  • the photographing device performs hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
  • the second partial code stream includes at least the enhancement layer code stream
  • the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  • the embodiments of the present application further provide an image transmission method, which is applied to a terminal device, where the terminal device can communicate with a movable platform through a first wireless communication manner and a second wireless communication manner, and the movable
  • the platform includes a photographing device, and the movable platform can perform hierarchical coding on the initial image frame photographed by the photographing device to obtain a multi-layer code stream, and the multi-layer code stream includes a base layer code stream and an enhancement layer code stream
  • the Methods include:
  • the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
  • the second partial code stream includes at least the enhancement layer code stream
  • the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  • an embodiment of the present application further provides a movable platform, where the movable platform can communicate with a terminal device through a first wireless communication manner and a second wireless communication manner;
  • the movable platform includes a camera, a memory and a processor
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program and implement the following steps when executing the computer program:
  • the photographing device performs hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
  • the second partial code stream includes at least the enhancement layer code stream
  • the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  • an embodiment of the present application further provides a terminal device, the terminal device can communicate with a movable platform through a first wireless communication manner and a second wireless communication manner, the movable platform includes a photographing device, and the The movable platform can perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, the multi-layer code stream includes a base layer code stream and an enhancement layer code stream, and the terminal device includes a memory and a processing device;
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program and implement the following steps when executing the computer program:
  • the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
  • the second partial code stream includes at least the enhancement layer code stream
  • the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  • an embodiment of the present application further provides an image transmission system, the image transmission system includes the above-mentioned movable platform and the above-mentioned terminal device, and the movable platform can communicate through the first wireless communication method. and the second wireless communication mode to communicate with the terminal device.
  • an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned The steps of the image transmission method.
  • the embodiments of the present application provide an image transmission method, a movable platform, a device, a system, and a readable storage medium.
  • a multi-layer code stream including a base layer code stream and an enhancement layer code stream is obtained.
  • the multi-layer code stream includes at least the second part of the code stream of the enhancement layer.
  • the base layer code stream can be decoded without referring to other layer code streams, transmitting the base layer code stream to the terminal device through the first wireless communication method with small transmission delay can meet the low-latency requirement scenarios, while enhancing the The image quality of the up-code stream is relatively high. Therefore, the enhanced up-code stream is transmitted through the second wireless communication method with a large transmission delay, which can meet the scenes with high image quality requirements, and can meet the user's delay in wireless image transmission, image quality, etc. The requirements of various performance indicators greatly improve the user experience.
  • FIG. 1 is a schematic diagram of a scene for implementing the image transmission method provided by the embodiment of the present application
  • FIG. 2 is a schematic flowchart of steps of an image transmission method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of steps of another image transmission method provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural block diagram of a movable platform provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural block diagram of an image transmission system provided by an embodiment of the present application.
  • the movable platform can transmit the image back to the terminal device through wireless communication, and the terminal device can display it, which is convenient for the user to control the movable platform based on the displayed image.
  • the image transmission between the movable platform and the terminal device is mainly through private realized by means of communication.
  • the private communication method has the advantage of low delay, the image quality cannot be guaranteed. Therefore, it is difficult to realize the image transmission using a single wireless communication method to meet the user's requirements for various performance indicators such as delay and image quality.
  • the embodiment of the present application provides an image transmission method, which obtains a multi-layer code stream including a base layer code stream and an enhancement layer code stream by performing hierarchical encoding on an initial image frame, and obtains a multi-layer code stream including a base layer code stream and an enhancement layer code stream.
  • a wireless communication method transmits at least the first part of the multi-layer code stream to the terminal device in the multi-layer code stream, and transmits at least the first part of the multi-layer code stream to the terminal device through a second wireless communication method with a large transmission delay. The second part of the code stream of the enhancement layer.
  • the base layer code stream can be decoded without referring to other layer code streams, transmitting the base layer code stream to the terminal device through the first wireless communication method with small transmission delay can meet the low-latency requirement scenarios, while enhancing the The image quality of the up-code stream is relatively high. Therefore, the enhanced up-code stream is transmitted through the second wireless communication method with a large transmission delay, which can meet the scenes with high image quality requirements, and can meet the user's delay in wireless image transmission, image quality, etc. The requirements of various performance indicators greatly improve the user experience.
  • FIG. 1 is a schematic diagram of a scene for implementing the image transmission method provided by the embodiment of the present application.
  • the scenario includes a movable platform 100 and a terminal device 200.
  • the movable platform 100 can communicate with the terminal device 200 through the first wireless communication mode and the second wireless communication mode.
  • the terminal device 200 is used to control the movable platform.
  • the movable platform 100 includes a platform body 110, a power system 120 provided on the platform body 110, a photographing device 130 and a control system (not shown in FIG. 1 ), and the power system 120 is used to provide moving power for the movable platform 100,
  • the photographing device 130 is used for capturing initial image frames.
  • the power system 120 may include one or more propellers 121 , one or more motors 122 corresponding to the one or more propellers, and one or more electronic governors (referred to as ESCs for short).
  • the motor 122 is connected between the electronic governor and the propeller 121, and the motor 122 and the propeller 121 are arranged on the platform body 110 of the movable platform 100; the electronic governor is used for receiving the driving signal generated by the control system, and according to the driving signal A driving current is provided to the motor 122 to control the rotational speed of the motor 122 .
  • the motor 122 is used to drive the propeller 121 to rotate, thereby providing power for the movement of the movable platform 100, and the power enables the movable platform 100 to achieve one or more degrees of freedom movement.
  • the movable platform 100 may rotate about one or more axes of rotation.
  • the above-mentioned rotation axes may include a roll axis, a yaw axis, and a pitch axis.
  • the motor 122 may be a DC motor or an AC motor.
  • the motor 122 may be a brushless motor or a brushed motor.
  • the control system may include a controller and a sensing system.
  • the sensing system is used to measure the attitude information of the movable platform, that is, the position information and state information of the movable platform 100 in space, such as 3D position, 3D angle, 3D velocity, 3D acceleration and 3D angular velocity.
  • the sensing system may include at least one of a gyroscope, an ultrasonic sensor, an electronic compass, an inertial measurement unit (Inertial Measurement Unit, IMU), a visual sensor, a global navigation satellite system, a barometer, and other sensors.
  • the global navigation satellite system may be the Global Positioning System (GPS).
  • the controller is used to control the movement of the movable platform 100, for example, the movement of the movable platform 100 can be controlled according to the attitude information measured by the sensing system. It should be understood that the controller can control the movable platform 100 according to pre-programmed instructions.
  • the controller of the movable platform 100 is further configured to perform hierarchical encoding on the initial image frame captured by the photographing device 130 to obtain a multi-layer code stream, and the multi-layer code stream includes a base layer code stream and an enhancement layer code stream. is also used to transmit the first part of the code stream in the multi-layer code stream to the terminal device 200 through the first wireless communication mode, and the first part of the code stream includes at least the base layer code stream; and is also used to transmit the multi-layer code stream through the second wireless communication mode.
  • the second part of the code stream in the code stream is transmitted to the terminal device 200, the second part of the code stream includes at least the enhancement layer code stream, and the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission corresponding to the second wireless communication mode. delay.
  • the terminal device 200 includes a display device 210 , and the terminal device 200 displays the initial image frame sent by the movable platform 100 through the display device 210 for the user to watch.
  • the display device 210 includes a display screen disposed on the terminal device 200 or a display independent of the terminal device 200, and the display independent of the terminal device 200 may include a mobile phone, a tablet computer, a personal computer, etc. Other electronic equipment with a display screen.
  • the display screen includes an LED display screen, an OLED display screen, an LCD display screen, and the like.
  • the terminal device 200 is used to obtain the first part of the code stream in the multi-layer code stream transmitted by the mobile platform 100 based on the first wireless communication method; and is also used to obtain the transmission of the mobile platform 100 based on the second wireless communication method.
  • the second part of the code stream in the multi-layer code stream of the Decoding is performed to obtain a second image frame, and the second image frame is output.
  • the second image frame is sent to the live broadcast server for live broadcast.
  • the base layer code stream can be directly decoded by the terminal device 200 without referring to the code streams of other layers, while when the terminal device 200 decodes the enhancement layer code stream, it needs to refer to the base layer code stream, and the enhancement layer of the higher layer needs to be referred to.
  • the code stream it is necessary to refer to the low-level enhancement layer code stream, and the image quality of the image frame obtained by decoding the enhancement layer code stream is higher than that of the image frame obtained by decoding the base layer code stream.
  • Scalable video coding includes any one of spatial scaling coding, temporal scaling coding, and signal-to-noise ratio scaling coding.
  • the adopted scaling coding is spatial scaling coding
  • the image frame obtained by decoding the base layer The first resolution is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream.
  • the hierarchical coding adopted is temporal hierarchical coding
  • the first frame rate of the image frame obtained by decoding the base layer code stream is smaller than the decoding enhancement layer code stream.
  • the second frame rate of the image frame obtained from the stream when the hierarchical coding adopted is the signal-to-noise ratio hierarchical coding, the first image quality of the image frame obtained by decoding the base layer code stream is lower than that of the image frame obtained by decoding the enhancement layer code stream. 2. Image quality.
  • the movable platform 100 includes drones, unmanned vehicles and mobile robots, and the drones include rotary-wing drones, such as quad-rotor drones, hexa-rotor drones, and octa-rotor drones. It is a fixed-wing UAV, or a combination of a rotary-wing type and a fixed-wing UAV, which is not limited here.
  • Terminal device 200 may include, but is not limited to, smart phones/mobile phones, tablet computers, personal digital assistants (PDAs), desktop computers, media content players, video game stations/systems, virtual reality systems, augmented reality systems, wearable devices (eg, watches, glasses, gloves, headwear (eg, hats, helmets, virtual reality headsets, augmented reality headsets, head mounted devices (HMDs), headbands), pendants, armbands, leg loops, shoes, vest), gesture recognition device, microphone, any electronic device capable of providing or rendering image data, or any other type of device.
  • the terminal device 200 may be a handheld terminal, and the terminal device 200 may be portable.
  • the terminal device 200 may be carried by a human user. In some cases, the end device 200 may be remote from the human user, and the user may control the end device 200 using wireless and/or wired communications.
  • the image transmission method provided by the embodiments of the present application will be described in detail with reference to the scene in FIG. 1 .
  • the scene in FIG. 1 is only used to explain the image transmission method provided by the embodiment of the present application, but does not constitute a limitation on the application scene of the image transmission method provided by the embodiment of the present application.
  • FIG. 2 is a schematic flowchart of steps of an image transmission method provided by an embodiment of the present application.
  • the image transmission method can be applied to a movable platform, and the movable platform can communicate with the terminal device through the first wireless communication manner and the second wireless communication manner.
  • the image transmission method includes steps S101 to S103.
  • Step S101 performing hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
  • Step S102 transmitting a first partial code stream in the multi-layer code stream to the terminal device through the first wireless communication method, wherein the first partial code stream includes at least the base layer code stream;
  • Step S103 Transmit a second partial code stream in the multi-layer code stream to the terminal device through the second wireless communication method, wherein the second partial code stream at least includes the enhancement layer code stream.
  • the base layer code stream can be directly decoded by the terminal device without referring to the code streams of other layers, and when the terminal device decodes the enhancement layer code stream, it needs to refer to the base layer code stream, and the high-level enhancement layer code stream When performing decoding, it is necessary to refer to the lower-level enhancement layer code stream, and the image quality of the image frame obtained by decoding the enhancement layer code stream is higher than that of the image frame obtained by decoding the base layer code stream.
  • the scalable video coding (SVC) can be H.264SVC or H.265SVC.
  • Scalable video coding includes any one of spatial scaling coding, temporal scaling coding, and signal-to-noise ratio scaling coding.
  • the adopted scaling coding is spatial scaling coding
  • the first resolution is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream.
  • the hierarchical coding adopted is temporal hierarchical coding
  • the first frame rate of the image frame obtained by decoding the base layer code stream is smaller than the decoding enhancement layer code stream.
  • the second frame rate of the image frame obtained from the stream when the hierarchical coding adopted is the signal-to-noise ratio hierarchical coding, the first image quality of the image frame obtained by decoding the base layer code stream is lower than that of the image frame obtained by decoding the enhancement layer code stream. 2. Image quality.
  • the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode, and the first transmission data volume corresponding to the first wireless communication mode is smaller than the second wireless communication mode.
  • the first wireless communication method is a private communication method
  • the second wireless communication method is a public communication method
  • the public communication method includes but is not limited to 4G communication and 5G communication. SDR) Lightbridge and Ocusync, etc.
  • the base layer code stream can be decoded without referring to other layer code streams, transmitting the base layer code stream to the terminal device through the first wireless communication method with small transmission delay can meet the low-latency requirement scenarios, while enhancing the The image quality of the up-code stream is relatively high. Therefore, the enhanced up-code stream is transmitted through the second wireless communication method with a large transmission delay, which can meet the scenes with high image quality requirements, and can meet the user's delay in wireless image transmission, image quality, etc.
  • the requirements of various performance indicators greatly improve the user experience.
  • the base layer code stream is used for real-time image transmission
  • the enhancement layer code stream is used for live broadcast.
  • the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream, and the first code rate corresponding to the base layer code stream is based on the wireless channel corresponding to the first wireless communication mode.
  • the channel bandwidth is determined
  • the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  • the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode
  • the second code rate of the enhancement layer code stream is less than or equal to the second code rate according to the second The maximum code rate determined by the channel bandwidth of the wireless channel corresponding to the wireless communication mode.
  • the first bit rate corresponding to the base layer code stream is determined based on the channel bandwidth of the wireless channel corresponding to the first wireless communication method, and the The channel bandwidth of the channel determines the second code rate corresponding to the enhancement layer code stream.
  • the mapping relationship between the channel bandwidth and the code rate is obtained, and according to the mapping relationship and the channel bandwidth of the wireless channel corresponding to the first wireless communication mode, the first code rate corresponding to the base layer code stream is determined, and according to the The mapping relationship and the channel bandwidth of the wireless channel corresponding to the second wireless communication mode determine the second code rate corresponding to the enhancement layer code stream.
  • the multi-layer code stream includes the base layer code stream and the multi-layer enhancement layer code stream
  • the multi-layer enhancement layer code stream includes the first part of the enhancement layer code stream and the second part of the enhancement layer code stream.
  • the code rate corresponding to the base layer code stream and the code rate corresponding to the first part of the enhancement layer code stream are determined based on the channel bandwidth of the wireless channel corresponding to the first wireless communication method
  • the code rate corresponding to the first part of the enhancement layer code stream is determined based on the channel bandwidth of the wireless channel corresponding to the first wireless communication
  • the channel bandwidth of the channel determines the code rate corresponding to the second part of the enhancement layer code stream, or determines the code rate corresponding to the multi-layer enhancement layer code stream based on the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection.
  • the multi-layer code stream includes a base layer code stream and a multi-layer enhancement layer code stream
  • the first part of the code stream includes a base layer code stream
  • the second part of the code stream includes a multi-layer enhancement layer code stream.
  • the device when the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is smaller than the preset channel bandwidth, only the base layer code stream is sent to the terminal device through the first wireless communication mode;
  • the device sends a multi-layer enhancement layer stream.
  • the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is small, only the base layer code stream is sent to the terminal device through the first wireless communication mode, so that the reliability of image transmission can be ensured.
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the level of the first part of the enhancement layer is lower than that of the second part of the enhancement layer code stream, and the first part of the enhancement layer corresponds to The code rate is smaller than the code rate corresponding to the second part of the enhancement layer code stream.
  • the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
  • the mobile platform when the channel bandwidth of the wireless channel corresponding to the first wireless communication method is greater than or equal to the preset channel bandwidth, the mobile platform sends the base layer code stream and the first part of the enhancement layer code stream to the terminal device through the first wireless communication method, and The second part of the enhancement layer code stream is sent to the terminal device through the second wireless communication manner.
  • the terminal device decodes the base layer code stream to obtain a third image frame, and decodes the first part of the enhancement layer code stream based on the third image frame to obtain The first image frame, and then decoding the second part of the enhancement layer code stream based on the first image frame to obtain a second image frame.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection.
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer code stream.
  • Layer enhancement layer codestream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer code stream.
  • the terminal device decodes the base layer code stream to obtain a third image frame, and decodes the first part of the enhancement layer code stream based on the third image frame to obtain The first image frame, and then decoding the multi-layer enhancement layer code stream based on the third image frame to obtain the second image frame.
  • the mobile platform when the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is greater than or equal to the preset channel bandwidth, the mobile platform sends the base layer code stream and the first part of the enhancement layer to the terminal device through the first wireless communication mode.
  • the multi-layer enhancement layer code stream is sent to the terminal device through the second wireless communication mode. Sending the base layer code stream and a part of the enhancement layer code stream to the terminal device through the first wireless communication mode can improve the image quality of the wireless image transmission under the condition of ensuring the delay.
  • sending all the enhancement layer streams can further improve the image quality of wireless image transmission.
  • the first partial code stream includes a base layer code stream
  • the second partial code stream includes a base layer code stream and a multi-layer enhancement layer code stream.
  • the terminal device decodes the base layer code stream to obtain the first image frame, and decodes the multi-layer enhancement layer code stream based on the first image frame to obtain second image frame. For example, when the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is smaller than the preset channel bandwidth, only the base layer code stream is sent to the terminal device through the first wireless communication mode; When the channel bandwidth is greater than or equal to the preset channel bandwidth, the base layer code stream and the multi-layer enhancement layer code stream are sent to the terminal device through the second wireless communication method.
  • the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is small, only the basic layer code stream is sent to the terminal device through the first wireless communication mode, so that the reliability of the image transmission can be ensured.
  • the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is sufficient, the entire multi-layer code stream is sent without referring to the base layer code stream sent in the first wireless communication mode, which can further improve the image quality of wireless image transmission.
  • the second part of the multi-layer code stream is converted by the second wireless communication mode.
  • the code stream is transmitted to the terminal device.
  • the transmission bandwidth corresponding to the first wireless communication mode is less than the transmission bandwidth corresponding to the second wireless communication mode
  • the second part of the code stream is transmitted to the terminal device through the second wireless communication mode, which can improve the performance of the terminal device on the premise of sacrificing a certain delay.
  • the utilization rate of the transmission bandwidth corresponding to the second wireless communication mode is if it is detected that the first transmission bandwidth corresponding to the first wireless communication mode is smaller than the second transmission bandwidth corresponding to the second wireless communication mode.
  • the first wireless communication method is used to convert the first transmission bandwidth in the multi-layer code stream.
  • the two-part stream is transmitted to the terminal device.
  • the transmission bandwidth corresponding to the first wireless communication mode is larger than the transmission bandwidth corresponding to the second wireless communication mode, the multi-layer code stream is only transmitted through the first wireless communication mode, which can ensure low latency and improve wireless image transmission. image quality.
  • the second part of the code stream in the multi-layer code stream is transmitted to the terminal device through the second wireless communication method. Since the data transmission reliability of the first wireless communication method is related to the communication distance, when the communication distance is long, the data transmission reliability of the first wireless communication method is relatively low.
  • the first wireless communication mode only sends the base layer code stream to the terminal device, and the second part of the code stream is sent to the terminal device through the second wireless communication mode, which can improve the reliability and image quality of wireless image transmission.
  • the second part of the code stream in the multi-layer code stream is transmitted to the terminal device through the first wireless communication method. Since the data transmission reliability of the first wireless communication method is related to the communication distance, when the communication distance is short, the data transmission reliability and channel bandwidth of the first wireless communication method are relatively high. In this case, the multi-layer code stream is only transmitted through the first wireless communication mode, which can improve the image quality of wireless image transmission while ensuring low latency.
  • a multi-layer code stream including a base layer code stream and an enhancement layer code stream is obtained by performing hierarchical coding on the initial image frame, and the first wireless communication method with small transmission delay is used to transmit to the terminal device.
  • the multi-layer code stream includes at least the first part of the base layer code stream, and transmits at least the second part of the enhancement layer code stream to the terminal device through a second wireless communication method with a large transmission delay
  • the code stream can meet the user's requirements for various performance indicators such as the delay and image quality of wireless image transmission, which greatly improves the user experience.
  • FIG. 3 is a schematic flowchart of steps of another image transmission method provided by an embodiment of the present application.
  • the image transmission method includes steps S201 to S204.
  • Step S201 acquiring a first partial code stream in the multi-layer code stream transmitted by the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
  • Step S202 Acquire a second partial code stream in the multi-layer code stream transmitted by the mobile platform based on the second wireless communication manner, wherein the second partial code stream at least includes the enhancement layer code stream ;
  • Step S203 decoding the first partial code stream to obtain a first image frame, and displaying the first image frame;
  • Step S204 Decode the second partial code stream to obtain a second image frame, and output the second image frame.
  • step S203 may include: decoding the base layer code stream to obtain the first image frame, and displaying the first image frame. an image frame.
  • step S204 may include: decoding the enhancement layer code stream according to the first image frame to obtain a second image frame, and outputting the second image frame.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection.
  • the multi-layer code stream includes a base layer code stream and a multi-layer enhancement layer code stream
  • the first part of the code stream includes a base layer code stream
  • the second part of the code stream includes a multi-layer enhancement layer code stream.
  • step S203 may include: decoding the base layer code stream to obtain the first image frame, and displaying the first image frame.
  • Step S204 may include: decoding the multi-layer enhancement layer code stream according to the first image frame to obtain a second image frame, and outputting the second image frame.
  • the multi-layer code stream includes the base layer code stream, the first layer enhancement layer code stream and the second layer enhancement layer code stream
  • the first layer enhancement layer code stream is decoded according to the first image frame to obtain the intermediate image frame
  • the code stream of the second layer enhancement layer is decoded to obtain the second image frame.
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the level of the first part of the enhancement layer is lower than that of the second part of the enhancement layer code stream, and the first part of the enhancement layer The corresponding code rate is smaller than the code rate corresponding to the second part of the enhancement layer code stream.
  • the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
  • step S203 may include: decoding the base layer code stream to obtain the third image frame, and decoding the first part of the enhancement layer code stream according to the third image frame to obtain the first image frame, and displaying the first image frame. an image frame.
  • Step S204 may include: decoding the multi-layer enhancement layer code stream according to the first image frame to obtain a second image frame, and outputting the second image frame.
  • the multi-layer enhancement layer code stream includes the first layer enhancement layer code stream and the second layer enhancement layer code stream, and the first part of the enhancement layer only includes the first layer enhancement layer code stream, and the second part of the enhancement layer code stream only includes the first layer enhancement layer code stream.
  • the second-layer enhancement layer code stream is decoded to obtain the third image frame
  • the first-layer enhancement layer code stream is decoded according to the third image frame to obtain the first image frame, and then according to the first image frame
  • the frame decodes the code stream of the second layer enhancement layer to obtain the second image frame.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection.
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream
  • the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream
  • the second part of the code stream includes the multi-layer code stream.
  • step S203 may include: decoding the base layer code stream to obtain the third image frame, and decoding the first part of the enhancement layer code stream according to the third image frame to obtain the first image frame, and displaying the first image frame. an image frame.
  • Step S204 may include: decoding the multi-layer enhancement layer code stream according to the third image frame to obtain the second image frame. For example, if the multi-layer enhancement layer code stream includes the first layer enhancement layer code stream and the second layer enhancement layer code stream, the first layer enhancement layer code stream is decoded according to the third image frame to obtain an intermediate image frame, and according to the middle image frame Image frame, decode the code stream of the second layer enhancement layer to obtain the second image frame.
  • the first partial code stream includes a base layer code stream
  • the second partial code stream includes a base layer code stream and a multi-layer enhancement layer code stream.
  • step S203 may include: decoding the base layer code stream to obtain the first image frame, and displaying the first image frame.
  • Step S204 may include: decoding the base layer code stream to obtain a first image frame, and decoding the multi-layer enhancement layer code stream according to the first image frame to obtain a second image frame.
  • the second image frame is sent to the live server. Since the second image frame is obtained by decoding the enhancement layer code stream, the image quality of the second image frame is better. By sending the second image frame with better image quality to the live server, it is convenient for people watching the user's live broadcast to see high-definition images. screen to improve user experience.
  • the first part of the code stream including at least the base layer code stream transmitted by the movable platform based on the first wireless communication mode is obtained, and the code stream including the enhancement layer transmitted by the movable platform based on the second wireless communication mode is obtained.
  • the second part of the code stream of the code stream, and then the first part of the code stream is decoded to obtain the first image frame, and the first image frame is displayed, and the second part of the code stream is decoded to obtain the second image frame and output the first image frame.
  • the base layer code stream transmitted through the first wireless communication method with a small transmission delay can meet the low-latency requirement scenarios, while the enhanced coding
  • the image quality of the stream is relatively high. Therefore, the enhanced coded stream transmitted through the second wireless communication method with a large transmission delay can meet the scene with high image quality requirements, and can meet the user's requirements for wireless image transmission delay, image quality, etc.
  • the requirements of various performance indicators have greatly improved the user experience.
  • FIG. 4 is a schematic structural block diagram of a movable platform provided by an embodiment of the present application.
  • the movable platform can communicate with the terminal device through the first wireless communication method and the second wireless communication method.
  • the movable platform 300 includes a processor 310, a memory 320, and a photographing device 330.
  • the processor 310, the memory 320, and the photographing device 330 are connected through a bus 340, such as an I2C (Inter-integrated Circuit) bus. .
  • I2C Inter-integrated Circuit
  • the processor 310 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 320 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • ROM Read-Only Memory
  • the memory 320 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • the processor 310 is configured to run the computer program stored in the memory 320, and implement the following steps when executing the computer program:
  • the photographing device performs hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
  • the second partial code stream includes at least the enhancement layer code stream
  • the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  • the processor when the processor transmits the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication manner, the processor is configured to implement:
  • the second wireless communication mode in the multi-layer code stream If it is detected that the first transmission bandwidth corresponding to the first wireless communication mode is smaller than the second transmission bandwidth corresponding to the second wireless communication mode, the second wireless communication mode in the multi-layer code stream The partial code stream is transmitted to the terminal device; otherwise, the second partial code stream in the multi-layer code stream is transmitted to the terminal device through the first wireless communication manner.
  • the processor when the processor transmits the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication manner, the processor is configured to implement:
  • the movable platform and the terminal device If it is detected that the communication distance between the movable platform and the terminal device is greater than the distance threshold, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication method ; otherwise, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner.
  • the hierarchical coding includes spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream.
  • the hierarchical coding includes temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is lower than the second frame rate of the image frame obtained by decoding the enhancement layer code stream.
  • the hierarchical coding includes signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than the second image quality of the image frame obtained by decoding the enhancement layer code stream.
  • the first transmission data volume corresponding to the first wireless communication mode is smaller than the second transmission data volume corresponding to the second wireless communication mode.
  • the first wireless communication mode is a private communication mode
  • the second communication mode is a public communication mode
  • the public communication method includes 4G communication or 5G communication.
  • the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
  • the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  • the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  • the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  • the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection.
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the first partial code stream includes the base layer code stream
  • the second partial code stream includes the multi-layer enhancement layer code stream .
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
  • the level of the first partial enhancement layer is lower than the level of the codestream of the second partial enhancement layer.
  • the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the second part of the enhancement layer code stream.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection.
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer enhancement layer code stream.
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the first partial code stream includes the base layer code stream
  • the second partial code stream includes the base layer code stream and all The multi-layer enhancement layer code stream.
  • the processor when the processor transmits the first part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner, the processor is configured to implement:
  • the base layer code stream is transmitted to the terminal device through the first wireless communication manner.
  • the processor when the processor implements transmitting the first part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner, the processor is configured to implement:
  • the base layer code stream and the multi-layer enhancement layer code stream are converted by the first wireless communication mode.
  • the first part of the enhancement layer code stream is transmitted to the terminal device.
  • the base layer code stream is used for real-time image transmission
  • the enhancement layer code stream is used for live broadcast.
  • FIG. 5 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device can communicate with the movable platform through the first wireless communication mode and the second wireless communication mode, the movable platform includes a photographing device, and the movable platform can perform hierarchical coding on the initial image frame photographed by the photographing device to obtain a multi-layer code
  • the multi-layer code stream includes a base layer code stream and an enhancement layer code stream.
  • the terminal device 400 includes a processor 410 and a memory 420.
  • the processor 410 and the memory 420 are connected through a bus 430, and the bus 430 is, for example, an I2C (Inter-integrated Circuit) bus.
  • I2C Inter-integrated Circuit
  • the processor 410 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 420 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • ROM Read-Only Memory
  • the memory 420 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • the processor 410 is configured to run the computer program stored in the memory 420, and implement the following steps when executing the computer program:
  • the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
  • the second partial code stream includes at least the enhancement layer code stream
  • the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  • the first transmission data volume corresponding to the first wireless communication mode is smaller than the second transmission data volume corresponding to the second wireless communication mode.
  • the first wireless communication mode is a private communication mode
  • the second communication mode is a public communication mode
  • the public communication method includes 4G communication or 5G communication.
  • the hierarchical coding includes spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream.
  • the hierarchical coding includes temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is lower than the second frame rate of the image frame obtained by decoding the enhancement layer code stream.
  • the hierarchical coding includes signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than the second image quality of the image frame obtained by decoding the enhancement layer code stream.
  • the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
  • the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  • the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  • the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  • the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection.
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the first partial code stream includes the base layer code stream
  • the second partial code stream includes the multi-layer enhancement layer code stream .
  • the processor when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
  • the processor When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
  • the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
  • the processor when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
  • the processor When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
  • the second part of the enhancement layer code stream is decoded to obtain a second image frame.
  • the level of the first partial enhancement layer is lower than the level of the second partial enhancement layer codestream.
  • the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the second part of the enhancement layer code stream.
  • the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection.
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer enhancement layer code stream.
  • the processor when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
  • the processor When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
  • the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  • the enhancement layer code stream is a multi-layer enhancement layer code stream
  • the first partial code stream includes the base layer code stream
  • the second partial code stream includes the base layer code stream and all The multi-layer enhancement layer code stream.
  • the processor when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
  • the processor When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
  • the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  • the processor when the processor outputs the second image frame, the processor is configured to:
  • FIG. 6 is a schematic structural block diagram of an image transmission system provided by an embodiment of the present application.
  • the image transmission system 500 includes a movable platform 510 and a terminal device 520, and the movable platform 510 can communicate with the terminal device 510 through a first wireless communication manner and a second wireless communication manner.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program includes program instructions, and the processor executes the program instructions to realize the provision of the above embodiments.
  • the steps of the image transmission method are described in detail below.
  • the computer-readable storage medium may be an internal storage unit of the removable platform or terminal device described in any of the foregoing embodiments, such as a hard disk or memory of the removable platform or terminal device.
  • the computer-readable storage medium may also be an external storage device of the removable platform or terminal device, such as a pluggable hard disk, a smart memory card (Smart Media Card, SMC) equipped on the removable platform or terminal device , Secure Digital (Secure Digital, SD) card, flash memory card (Flash Card) and so on.

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

An image transmission method, a movable platform, a device, a system, and a readable storage medium. Said method comprises: performing scalable coding on an initial image frame photographed by a photographing apparatus, so as to obtain a multi-layer code stream, the multi-layer code stream including a base layer code stream and an enhancement layer code stream (S101); transmitting, by means of a first wireless communication manner, a first part of the multi-layer code stream to a terminal device, the first part of the code stream at least including the base layer code stream (S102); and transmitting, by means of a second wireless communication manner, a second part of the multi-layer code stream to the terminal device, the second part of the code stream at least including the enhancement layer code stream, and a first transmission delay corresponding to the first wireless communication manner being less than a second transmission delay corresponding to the second wireless communication manner (S103). Said method can improve user experience.

Description

图像传输方法、可移动平台、设备、系统及可读存储介质Image transmission method, removable platform, device, system, and readable storage medium 技术领域technical field
本申请涉及无线图传技术领域,尤其涉及一种图像传输方法、可移动平台、设备、系统及可读存储介质。The present application relates to the technical field of wireless image transmission, and in particular, to an image transmission method, a movable platform, a device, a system, and a readable storage medium.
背景技术Background technique
目前,可移动平台可以通过无线通信方式将图像回传至终端设备,由终端设备进行显示,便于用户基于显示的图像控制可移动平台,可移动平台与终端设备之间的图像传输主要是通过私有通信方式实现的。虽然私有通信方式具有低延时的优点,但图像质量无法得到保证,因此,采用单一的无线通信方式来实现图像传输难以满足用户对时延、图像质量等多种性能指标的要求。At present, the movable platform can transmit the image back to the terminal device through wireless communication, and the terminal device can display it, which is convenient for the user to control the movable platform based on the displayed image. The image transmission between the movable platform and the terminal device is mainly through private realized by means of communication. Although the private communication method has the advantage of low delay, the image quality cannot be guaranteed. Therefore, it is difficult to realize the image transmission using a single wireless communication method to meet the user's requirements for various performance indicators such as delay and image quality.
发明内容SUMMARY OF THE INVENTION
基于此,本申请实施例提供了一种图像传输方法、可移动平台、设备、系统及可读存储介质,旨在保证无线图传可以满足用户对时延、图像质量等多种性能指标的要求,提高用户体验。Based on this, the embodiments of the present application provide an image transmission method, a movable platform, a device, a system, and a readable storage medium, which aim to ensure that wireless image transmission can meet user requirements for various performance indicators such as time delay and image quality. , to improve the user experience.
第一方面,本申请实施例提供了一种图像传输方法,应用于可移动平台,所述可移动平台包括拍摄装置,所述可移动平台能够通过第一无线通信方式和第二无线通信方式与终端设备进行通信,所述方法包括:In a first aspect, an embodiment of the present application provides an image transmission method, which is applied to a movable platform, the movable platform includes a photographing device, and the movable platform can communicate with the The terminal device communicates, and the method includes:
对所述拍摄装置拍摄到的初始图像帧进行分级编码,得到多层码流,其中,所述多层码流包括基本层码流和增强层码流;Perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,其中,所述第一部分码流至少包括所述基本层码流;Transmitting a first partial code stream in the multi-layer code stream to the terminal device by using the first wireless communication method, wherein the first partial code stream at least includes the base layer code stream;
通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,其中,所述第二部分码流至少包括所述增强层码流;transmitting the second partial code stream in the multi-layer code stream to the terminal device by using the second wireless communication method, wherein the second partial code stream includes at least the enhancement layer code stream;
其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
第二方面,本申请实施例还提供了一种图像传输方法,应用于终端设备,所述终端设备能够通过第一无线通信方式和第二无线通信方式与可移动平台进行通信,所述可移动平台包括拍摄装置,所述可移动平台能够对所述拍摄装置拍摄到的初始图像帧进行分级编码得到多层码流,所述多层码流包括基本层码 流和增强层码流,所述方法包括:In a second aspect, the embodiments of the present application further provide an image transmission method, which is applied to a terminal device, where the terminal device can communicate with a movable platform through a first wireless communication manner and a second wireless communication manner, and the movable The platform includes a photographing device, and the movable platform can perform hierarchical coding on the initial image frame photographed by the photographing device to obtain a multi-layer code stream, and the multi-layer code stream includes a base layer code stream and an enhancement layer code stream, and the Methods include:
获取所述可移动平台基于所述第一无线通信方式传输的所述多层码流中的第一部分码流,其中,所述第一部分码流至少包括所述基本层码流;acquiring a first partial code stream in the multi-layer code stream transmitted by the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
获取所述可移动平台基于所述第二无线通信方式传输的所述多层码流中的第二部分码流,其中,所述第二部分码流至少包括所述增强层码流;acquiring a second partial code stream in the multi-layer code stream transmitted by the movable platform based on the second wireless communication manner, wherein the second partial code stream includes at least the enhancement layer code stream;
对所述第一部分码流进行解码,得到第一图像帧,并显示所述第一图像帧;Decoding the first partial code stream to obtain a first image frame, and displaying the first image frame;
对所述第二部分码流进行解码,得到第二图像帧,并输出所述第二图像帧;Decoding the second partial code stream to obtain a second image frame, and outputting the second image frame;
其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
第三方面,本申请实施例还提供了一种可移动平台,所述可移动平台能够通过第一无线通信方式和第二无线通信方式与终端设备进行通信;In a third aspect, an embodiment of the present application further provides a movable platform, where the movable platform can communicate with a terminal device through a first wireless communication manner and a second wireless communication manner;
所述可移动平台包括拍摄装置、存储器和处理器;the movable platform includes a camera, a memory and a processor;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
对所述拍摄装置拍摄到的初始图像帧进行分级编码,得到多层码流,其中,所述多层码流包括基本层码流和增强层码流;Perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,其中,所述第一部分码流至少包括所述基本层码流;Transmitting a first partial code stream in the multi-layer code stream to the terminal device by using the first wireless communication method, wherein the first partial code stream at least includes the base layer code stream;
通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,其中,所述第二部分码流至少包括所述增强层码流;transmitting the second partial code stream in the multi-layer code stream to the terminal device by using the second wireless communication method, wherein the second partial code stream includes at least the enhancement layer code stream;
其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
第四方面,本申请实施例还提供了一种终端设备,所述终端设备能够通过第一无线通信方式和第二无线通信方式与可移动平台进行通信,所述可移动平台包括拍摄装置,所述可移动平台能够对所述拍摄装置拍摄到的初始图像帧进行分级编码得到多层码流,所述多层码流包括基本层码流和增强层码流,所述终端设备包括存储器和处理器;In a fourth aspect, an embodiment of the present application further provides a terminal device, the terminal device can communicate with a movable platform through a first wireless communication manner and a second wireless communication manner, the movable platform includes a photographing device, and the The movable platform can perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, the multi-layer code stream includes a base layer code stream and an enhancement layer code stream, and the terminal device includes a memory and a processing device;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
获取所述可移动平台基于所述第一无线通信方式传输的所述多层码流中的 第一部分码流,其中,所述第一部分码流至少包括所述基本层码流;acquiring a first partial code stream in the multi-layer code stream transmitted by the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
获取所述可移动平台基于所述第二无线通信方式传输的所述多层码流中的第二部分码流,其中,所述第二部分码流至少包括所述增强层码流;acquiring a second partial code stream in the multi-layer code stream transmitted by the movable platform based on the second wireless communication manner, wherein the second partial code stream includes at least the enhancement layer code stream;
对所述第一部分码流进行解码,得到第一图像帧,并显示所述第一图像帧;Decoding the first partial code stream to obtain a first image frame, and displaying the first image frame;
对所述第二部分码流进行解码,得到第二图像帧,并输出所述第二图像帧;Decoding the second partial code stream to obtain a second image frame, and outputting the second image frame;
其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
第五方面,本申请实施例还提供了一种图像传输系统,所述图像传输系统包括如上所述的可移动平台和如上所述的终端设备,所述可移动平台能够通过第一无线通信方式和第二无线通信方式与所述终端设备进行通信。In a fifth aspect, an embodiment of the present application further provides an image transmission system, the image transmission system includes the above-mentioned movable platform and the above-mentioned terminal device, and the movable platform can communicate through the first wireless communication method. and the second wireless communication mode to communicate with the terminal device.
第六方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上所述的图像传输方法的步骤。In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned The steps of the image transmission method.
本申请实施例提供了一种图像传输方法、可移动平台、设备、系统及可读存储介质,通过对初始图像帧进行分级编码,得到包含基本层码流和增强层码流的多层码流,通过传输时延小的第一无线通信方式向终端设备传输多层码流中的至少包括基本层码流的第一部分码流,并通过传输时延大的第二无线通信方式向终端设备传输多层码流中的至少包括增强层码流的第二部分码流。由于基本层码流不需要参考其余层级码流即可进行解码,因此,通过传输时延小的第一无线通信方式向终端设备传输基本层码流,可以满足低时延要求的场景,而增强增码流的图像质量较高,因此通过传输时延大的第二无线通信方式传输增强增码流,可以满足高图像质量要求的场景,能够满足用户对无线图传的时延、图像质量等多种性能指标的要求,极大的提高了用户体验。The embodiments of the present application provide an image transmission method, a movable platform, a device, a system, and a readable storage medium. By performing hierarchical encoding on an initial image frame, a multi-layer code stream including a base layer code stream and an enhancement layer code stream is obtained. , transmit at least the first part of the multi-layer code stream including the base layer code stream to the terminal device through a first wireless communication method with a small transmission delay, and transmit to the terminal device through a second wireless communication method with a large transmission delay The multi-layer code stream includes at least the second part of the code stream of the enhancement layer. Since the base layer code stream can be decoded without referring to other layer code streams, transmitting the base layer code stream to the terminal device through the first wireless communication method with small transmission delay can meet the low-latency requirement scenarios, while enhancing the The image quality of the up-code stream is relatively high. Therefore, the enhanced up-code stream is transmitted through the second wireless communication method with a large transmission delay, which can meet the scenes with high image quality requirements, and can meet the user's delay in wireless image transmission, image quality, etc. The requirements of various performance indicators greatly improve the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是实施本申请实施例提供的图像传输方法的一场景示意图;FIG. 1 is a schematic diagram of a scene for implementing the image transmission method provided by the embodiment of the present application;
图2是本申请实施例提供的一种图像传输方法的步骤示意流程图;2 is a schematic flowchart of steps of an image transmission method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种图像传输方法的步骤示意流程图;3 is a schematic flowchart of steps of another image transmission method provided by an embodiment of the present application;
图4是本申请实施例提供的一种可移动平台的结构示意性框图;4 is a schematic structural block diagram of a movable platform provided by an embodiment of the present application;
图5是本申请实施例提供的一种终端设备的结构示意性框图;FIG. 5 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application;
图6是本申请实施例提供的一种图像传输系统的结构示意性框图。FIG. 6 is a schematic structural block diagram of an image transmission system provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
目前,可移动平台可以通过无线通信方式将图像回传至终端设备,由终端设备进行显示,便于用户基于显示的图像控制可移动平台,可移动平台与终端设备之间的图像传输主要是通过私有通信方式实现的。虽然私有通信方式具有低延时的优点,但图像质量无法得到保证,因此,采用单一的无线通信方式来实现图像传输难以满足用户对时延、图像质量等多种性能指标的要求。At present, the movable platform can transmit the image back to the terminal device through wireless communication, and the terminal device can display it, which is convenient for the user to control the movable platform based on the displayed image. The image transmission between the movable platform and the terminal device is mainly through private realized by means of communication. Although the private communication method has the advantage of low delay, the image quality cannot be guaranteed. Therefore, it is difficult to realize the image transmission using a single wireless communication method to meet the user's requirements for various performance indicators such as delay and image quality.
为解决上述问题,本申请实施例提供了一种图像传输方法,通过对初始图像帧进行分级编码,得到包含基本层码流和增强层码流的多层码流,通过传输时延小的第一无线通信方式向终端设备传输多层码流中的至少包括基本层码流的第一部分码流,并通过传输时延大的第二无线通信方式向终端设备传输多层码流中的至少包括增强层码流的第二部分码流。由于基本层码流不需要参考其余层级码流即可进行解码,因此,通过传输时延小的第一无线通信方式向终端设备传输基本层码流,可以满足低时延要求的场景,而增强增码流的图像质量较高,因此通过传输时延大的第二无线通信方式传输增强增码流,可以满足高图像质量要求的场景,能够满足用户对无线图传的时延、图像质量等多种性能指标的要求,极大的提高了用户体验。In order to solve the above problems, the embodiment of the present application provides an image transmission method, which obtains a multi-layer code stream including a base layer code stream and an enhancement layer code stream by performing hierarchical encoding on an initial image frame, and obtains a multi-layer code stream including a base layer code stream and an enhancement layer code stream. A wireless communication method transmits at least the first part of the multi-layer code stream to the terminal device in the multi-layer code stream, and transmits at least the first part of the multi-layer code stream to the terminal device through a second wireless communication method with a large transmission delay. The second part of the code stream of the enhancement layer. Since the base layer code stream can be decoded without referring to other layer code streams, transmitting the base layer code stream to the terminal device through the first wireless communication method with small transmission delay can meet the low-latency requirement scenarios, while enhancing the The image quality of the up-code stream is relatively high. Therefore, the enhanced up-code stream is transmitted through the second wireless communication method with a large transmission delay, which can meet the scenes with high image quality requirements, and can meet the user's delay in wireless image transmission, image quality, etc. The requirements of various performance indicators greatly improve the user experience.
请参阅图1,图1是实施本申请实施例提供的图像传输方法的一场景示意 图。如图1所示,该场景包括可移动平台100和终端设备200,可移动平台100能够通过第一无线通信方式和第二无线通信方式与终端设备200进行通信,终端设备200用于控制可移动平台100。可移动平台100包括平台本体110、设于平台本体110上的动力系统120、拍摄装置130和控制系统(图1中未示出),该动力系统120用于为可移动平台100提供移动动力,该拍摄装置130用于采集初始图像帧。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a scene for implementing the image transmission method provided by the embodiment of the present application. As shown in FIG. 1 , the scenario includes a movable platform 100 and a terminal device 200. The movable platform 100 can communicate with the terminal device 200 through the first wireless communication mode and the second wireless communication mode. The terminal device 200 is used to control the movable platform. Platform 100. The movable platform 100 includes a platform body 110, a power system 120 provided on the platform body 110, a photographing device 130 and a control system (not shown in FIG. 1 ), and the power system 120 is used to provide moving power for the movable platform 100, The photographing device 130 is used for capturing initial image frames.
其中,动力系统120可以包括一个或多个螺旋桨121、与一个或多个螺旋桨相对应的一个或多个电机122、一个或多个电子调速器(简称为电调)。其中,电机122连接在电子调速器与螺旋桨121之间,电机122和螺旋桨121设置在可移动平台100的平台本体110上;电子调速器用于接收控制系统产生的驱动信号,并根据驱动信号提供驱动电流给电机122,以控制电机122的转速。电机122用于驱动螺旋桨121旋转,从而为可移动平台100的移动提供动力,该动力使得可移动平台100能够实现一个或多个自由度的运动。在某些实施例中,可移动平台100可以围绕一个或多个旋转轴旋转。例如,上述旋转轴可以包括横滚轴、偏航轴和俯仰轴。应理解,电机122可以是直流电机,也可以交流电机。另外,电机122可以是无刷电机,也可以是有刷电机。The power system 120 may include one or more propellers 121 , one or more motors 122 corresponding to the one or more propellers, and one or more electronic governors (referred to as ESCs for short). Wherein, the motor 122 is connected between the electronic governor and the propeller 121, and the motor 122 and the propeller 121 are arranged on the platform body 110 of the movable platform 100; the electronic governor is used for receiving the driving signal generated by the control system, and according to the driving signal A driving current is provided to the motor 122 to control the rotational speed of the motor 122 . The motor 122 is used to drive the propeller 121 to rotate, thereby providing power for the movement of the movable platform 100, and the power enables the movable platform 100 to achieve one or more degrees of freedom movement. In certain embodiments, the movable platform 100 may rotate about one or more axes of rotation. For example, the above-mentioned rotation axes may include a roll axis, a yaw axis, and a pitch axis. It should be understood that the motor 122 may be a DC motor or an AC motor. In addition, the motor 122 may be a brushless motor or a brushed motor.
其中,控制系统可以包括控制器和传感系统。传感系统用于测量可移动平台的姿态信息,即可移动平台100在空间的位置信息和状态信息,例如,三维位置、三维角度、三维速度、三维加速度和三维角速度等。传感系统例如可以包括陀螺仪、超声传感器、电子罗盘、惯性测量单元(Inertial Measurement Unit,IMU)、视觉传感器、全球导航卫星系统和气压计等传感器中的至少一种。例如,全球导航卫星系统可以是全球定位系统(Global Positioning System,GPS)。控制器用于控制可移动平台100的移动,例如,可以根据传感系统测量的姿态信息控制可移动平台100的移动。应理解,控制器可以按照预先编好的程序指令对可移动平台100进行控制。Wherein, the control system may include a controller and a sensing system. The sensing system is used to measure the attitude information of the movable platform, that is, the position information and state information of the movable platform 100 in space, such as 3D position, 3D angle, 3D velocity, 3D acceleration and 3D angular velocity. For example, the sensing system may include at least one of a gyroscope, an ultrasonic sensor, an electronic compass, an inertial measurement unit (Inertial Measurement Unit, IMU), a visual sensor, a global navigation satellite system, a barometer, and other sensors. For example, the global navigation satellite system may be the Global Positioning System (GPS). The controller is used to control the movement of the movable platform 100, for example, the movement of the movable platform 100 can be controlled according to the attitude information measured by the sensing system. It should be understood that the controller can control the movable platform 100 according to pre-programmed instructions.
在一实施例中,可移动平台100的控制器还用于对拍摄装置130拍摄到的初始图像帧进行分级编码,得到多层码流,多层码流包括基本层码流和增强层码流;还用于通过第一无线通信方式将多层码流中的第一部分码流传输至终端设备200,第一部分码流至少包括基本层码流;还用于通过第二无线通信方式将多层码流中的第二部分码流传输至终端设备200,第二部分码流至少包括增强层码流,第一无线通信方式对应的第一传输延时小于第二无线通信方式对应的第二传输延时。In one embodiment, the controller of the movable platform 100 is further configured to perform hierarchical encoding on the initial image frame captured by the photographing device 130 to obtain a multi-layer code stream, and the multi-layer code stream includes a base layer code stream and an enhancement layer code stream. is also used to transmit the first part of the code stream in the multi-layer code stream to the terminal device 200 through the first wireless communication mode, and the first part of the code stream includes at least the base layer code stream; and is also used to transmit the multi-layer code stream through the second wireless communication mode. The second part of the code stream in the code stream is transmitted to the terminal device 200, the second part of the code stream includes at least the enhancement layer code stream, and the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission corresponding to the second wireless communication mode. delay.
其中,终端设备200包括显示装置210,终端设备200通过显示装置210显示可移动平台100发送的初始图像帧,以供用户观看。需要说明的是,显示装置210包括设置在终端设备200上的显示屏或者独立于终端设备200的显示器,独立于终端设备200的显示器可以包括手机、平板电脑或者个人电脑等,或者也可以是带有显示屏的其他电子设备。其中,该显示屏包括LED显示屏、OLED显示屏、LCD显示屏等等。The terminal device 200 includes a display device 210 , and the terminal device 200 displays the initial image frame sent by the movable platform 100 through the display device 210 for the user to watch. It should be noted that the display device 210 includes a display screen disposed on the terminal device 200 or a display independent of the terminal device 200, and the display independent of the terminal device 200 may include a mobile phone, a tablet computer, a personal computer, etc. Other electronic equipment with a display screen. Among them, the display screen includes an LED display screen, an OLED display screen, an LCD display screen, and the like.
在一实施例中,终端设备200用于获取可移动平台100基于第一无线通信方式传输的多层码流中的第一部分码流;还用于获取可移动平台100基于第二无线通信方式传输的多层码流中的第二部分码流;还用于对第一部分码流进行解码,得到第一图像帧,并通过显示装置210显示第一图像帧;还用于对第二部分码流进行解码,得到第二图像帧,并输出第二图像帧。示例性的,将第二图像帧发送给直播服务器,用于直播。In one embodiment, the terminal device 200 is used to obtain the first part of the code stream in the multi-layer code stream transmitted by the mobile platform 100 based on the first wireless communication method; and is also used to obtain the transmission of the mobile platform 100 based on the second wireless communication method. The second part of the code stream in the multi-layer code stream of the Decoding is performed to obtain a second image frame, and the second image frame is output. Exemplarily, the second image frame is sent to the live broadcast server for live broadcast.
其中,基本层码流能够被终端设备200直接解码,不需要参考其余层级的码流,而终端设备200对增强层码流进行解码时,需要参考基本层码流,且对高层级的增强层码流进行解码时,需要参考低层级的增强层码流,解码增强层码流得到的图像帧的图像质量高于解码基本层码流得到的图像帧的图像质量。分级编码(scalable video coding,SVC)包括空间分级编码、时间分级编码和信噪比分级编码中的任一项,在采用的分级编码为空间分级编码时,解码基本层码流得到的图像帧的第一分辨率小于解码增强层码流得到的图像帧的第二分辨率,在采用的分级编码为时间分级编码时,解码基本层码流得到的图像帧的第一帧率小于解码增强层码流得到的图像帧的第二帧率,在采用的分级编码为信噪比分级编码时,解码基本层码流得到的图像帧的第一图像质量小于解码增强层码流得到的图像帧的第二图像质量。Wherein, the base layer code stream can be directly decoded by the terminal device 200 without referring to the code streams of other layers, while when the terminal device 200 decodes the enhancement layer code stream, it needs to refer to the base layer code stream, and the enhancement layer of the higher layer needs to be referred to. When decoding the code stream, it is necessary to refer to the low-level enhancement layer code stream, and the image quality of the image frame obtained by decoding the enhancement layer code stream is higher than that of the image frame obtained by decoding the base layer code stream. Scalable video coding (SVC) includes any one of spatial scaling coding, temporal scaling coding, and signal-to-noise ratio scaling coding. When the adopted scaling coding is spatial scaling coding, the image frame obtained by decoding the base layer The first resolution is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream. When the hierarchical coding adopted is temporal hierarchical coding, the first frame rate of the image frame obtained by decoding the base layer code stream is smaller than the decoding enhancement layer code stream. The second frame rate of the image frame obtained from the stream, when the hierarchical coding adopted is the signal-to-noise ratio hierarchical coding, the first image quality of the image frame obtained by decoding the base layer code stream is lower than that of the image frame obtained by decoding the enhancement layer code stream. 2. Image quality.
其中,可移动平台100包括无人机、无人车和可移动机器人,无人机包括旋翼型无人机,例如四旋翼无人机、六旋翼无人机、八旋翼无人机,也可以是固定翼无人机,还可以是旋翼型与固定翼无人机的组合,在此不作限定。终端设备200可以包括但不限于:智能电话/手机、平板电脑、个人数字助理(PDA)、台式计算机、媒体内容播放器、视频游戏站/系统、虚拟现实系统、增强现实系统、可穿戴式装置(例如,手表、眼镜、手套、头饰(例如,帽子、头盔、虚拟现实头戴耳机、增强现实头戴耳机、头装式装置(HMD)、头带)、挂件、臂章、腿环、鞋子、马甲)、手势识别装置、麦克风、能够提供或渲染图像数据的任意电子装置、或者任何其他类型的装置。该终端设备200可以是手持终 端,终端设备200可以是便携式的。该终端设备200可以由人类用户携带。在一些情况下,终端设备200可以远离人类用户,并且用户可以使用无线和/或有线通信来控制终端设备200。The movable platform 100 includes drones, unmanned vehicles and mobile robots, and the drones include rotary-wing drones, such as quad-rotor drones, hexa-rotor drones, and octa-rotor drones. It is a fixed-wing UAV, or a combination of a rotary-wing type and a fixed-wing UAV, which is not limited here. Terminal device 200 may include, but is not limited to, smart phones/mobile phones, tablet computers, personal digital assistants (PDAs), desktop computers, media content players, video game stations/systems, virtual reality systems, augmented reality systems, wearable devices (eg, watches, glasses, gloves, headwear (eg, hats, helmets, virtual reality headsets, augmented reality headsets, head mounted devices (HMDs), headbands), pendants, armbands, leg loops, shoes, vest), gesture recognition device, microphone, any electronic device capable of providing or rendering image data, or any other type of device. The terminal device 200 may be a handheld terminal, and the terminal device 200 may be portable. The terminal device 200 may be carried by a human user. In some cases, the end device 200 may be remote from the human user, and the user may control the end device 200 using wireless and/or wired communications.
以下,将结合图1中的场景对本申请的实施例提供的图像传输方法进行详细介绍。需知,图1中的场景仅用于解释本申请实施例提供的图像传输方法,但并不构成对本申请实施例提供的图像传输方法应用场景的限定。Hereinafter, the image transmission method provided by the embodiments of the present application will be described in detail with reference to the scene in FIG. 1 . It should be noted that the scene in FIG. 1 is only used to explain the image transmission method provided by the embodiment of the present application, but does not constitute a limitation on the application scene of the image transmission method provided by the embodiment of the present application.
请参阅图2,图2是本申请实施例提供的一种图像传输方法的步骤示意流程图。该图像传输方法可以应用可移动平台,可移动平台能够通过第一无线通信方式和第二无线通信方式与终端设备进行通信。Please refer to FIG. 2, which is a schematic flowchart of steps of an image transmission method provided by an embodiment of the present application. The image transmission method can be applied to a movable platform, and the movable platform can communicate with the terminal device through the first wireless communication manner and the second wireless communication manner.
如图2所示,该图像传输方法包括步骤S101至步骤S103。As shown in FIG. 2 , the image transmission method includes steps S101 to S103.
步骤S101、对所述拍摄装置拍摄到的初始图像帧进行分级编码,得到多层码流,其中,所述多层码流包括基本层码流和增强层码流;Step S101, performing hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
步骤S102、通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,其中,所述第一部分码流至少包括所述基本层码流;Step S102, transmitting a first partial code stream in the multi-layer code stream to the terminal device through the first wireless communication method, wherein the first partial code stream includes at least the base layer code stream;
步骤S103、通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,其中,所述第二部分码流至少包括所述增强层码流。Step S103: Transmit a second partial code stream in the multi-layer code stream to the terminal device through the second wireless communication method, wherein the second partial code stream at least includes the enhancement layer code stream.
其中,基本层码流能够被终端设备直接解码,不需要参考其余层级的码流,而终端设备对增强层码流进行解码时,需要参考基本层码流,且对高层级的增强层码流进行解码时,需要参考低层级的增强层码流,解码增强层码流得到的图像帧的图像质量高于解码基本层码流得到的图像帧的图像质量。分级编码(scalable video coding,SVC)可以是H.264SVC,也可以是H.265SVC。Among them, the base layer code stream can be directly decoded by the terminal device without referring to the code streams of other layers, and when the terminal device decodes the enhancement layer code stream, it needs to refer to the base layer code stream, and the high-level enhancement layer code stream When performing decoding, it is necessary to refer to the lower-level enhancement layer code stream, and the image quality of the image frame obtained by decoding the enhancement layer code stream is higher than that of the image frame obtained by decoding the base layer code stream. The scalable video coding (SVC) can be H.264SVC or H.265SVC.
分级编码(scalable video coding,SVC)包括空间分级编码、时间分级编码和信噪比分级编码中的任一项,在采用的分级编码为空间分级编码时,解码基本层码流得到的图像帧的第一分辨率小于解码增强层码流得到的图像帧的第二分辨率,在采用的分级编码为时间分级编码时,解码基本层码流得到的图像帧的第一帧率小于解码增强层码流得到的图像帧的第二帧率,在采用的分级编码为信噪比分级编码时,解码基本层码流得到的图像帧的第一图像质量小于解码增强层码流得到的图像帧的第二图像质量。Scalable video coding (SVC) includes any one of spatial scaling coding, temporal scaling coding, and signal-to-noise ratio scaling coding. When the adopted scaling coding is spatial scaling coding, the image frame obtained by decoding the base layer The first resolution is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream. When the hierarchical coding adopted is temporal hierarchical coding, the first frame rate of the image frame obtained by decoding the base layer code stream is smaller than the decoding enhancement layer code stream. The second frame rate of the image frame obtained from the stream, when the hierarchical coding adopted is the signal-to-noise ratio hierarchical coding, the first image quality of the image frame obtained by decoding the base layer code stream is lower than that of the image frame obtained by decoding the enhancement layer code stream. 2. Image quality.
在一实施例中,第一无线通信方式对应的第一传输延时小于第二无线通信方式对应的第二传输延时,第一无线通信方式对应的第一传输数据量小于第二无线通信方式对应的第二传输数据量。其中,第一无线通信方式为私有通信方式,第二无线通信方式为公有通信方式,公有通信方式包括但不限于4G通信 和5G通信,私有通信方式包括但不限于基于软件无线电(Software Defined Radio,SDR)的Lightbridge和Ocusync等。In one embodiment, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode, and the first transmission data volume corresponding to the first wireless communication mode is smaller than the second wireless communication mode. The corresponding second transmission data amount. The first wireless communication method is a private communication method, the second wireless communication method is a public communication method, and the public communication method includes but is not limited to 4G communication and 5G communication. SDR) Lightbridge and Ocusync, etc.
由于基本层码流不需要参考其余层级码流即可进行解码,因此,通过传输时延小的第一无线通信方式向终端设备传输基本层码流,可以满足低时延要求的场景,而增强增码流的图像质量较高,因此通过传输时延大的第二无线通信方式传输增强增码流,可以满足高图像质量要求的场景,能够满足用户对无线图传的时延、图像质量等多种性能指标的要求,极大的提高了用户体验。例如,基本层码流用于实时图像传输,增强层码流用于直播。Since the base layer code stream can be decoded without referring to other layer code streams, transmitting the base layer code stream to the terminal device through the first wireless communication method with small transmission delay can meet the low-latency requirement scenarios, while enhancing the The image quality of the up-code stream is relatively high. Therefore, the enhanced up-code stream is transmitted through the second wireless communication method with a large transmission delay, which can meet the scenes with high image quality requirements, and can meet the user's delay in wireless image transmission, image quality, etc. The requirements of various performance indicators greatly improve the user experience. For example, the base layer code stream is used for real-time image transmission, and the enhancement layer code stream is used for live broadcast.
在一实施例中,基本层码流对应的第一码率小于增强层码流对应的第二码率,基本层码流对应的第一码率是根据第一无线通信方式对应的无线信道的信道带宽确定的,增强层码流的第二码率是根据第二无线通信方式对应的无线信道的信道带宽确定的。进一步地,基本层码流对应的第一码率小于或等于根据第一无线通信方式对应的无线信道的信道带宽确定的最大码率,增强层码流的第二码率小于或等于根据第二无线通信方式对应的无线信道的信道带宽确定的最大码率。In one embodiment, the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream, and the first code rate corresponding to the base layer code stream is based on the wireless channel corresponding to the first wireless communication mode. The channel bandwidth is determined, and the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode. Further, the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode, and the second code rate of the enhancement layer code stream is less than or equal to the second code rate according to the second The maximum code rate determined by the channel bandwidth of the wireless channel corresponding to the wireless communication mode.
在一实施例中,对初始图像帧进行分级编码时,基于第一无线通信方式对应的无线信道的信道带宽确定基本层码流对应的第一码率,并基于第二无线通信方式对应的无线信道的信道带宽确定增强层码流对应的第二码率。示例性的,获取信道带宽与码率之间的映射关系,并根据该映射关系和第一无线通信方式对应的无线信道的信道带宽,确定基本层码流对应的第一码率,以及根据该映射关系和第二无线通信方式对应的无线信道的信道带宽,确定增强层码流对应的第二码率。In an embodiment, when performing hierarchical encoding on the initial image frame, the first bit rate corresponding to the base layer code stream is determined based on the channel bandwidth of the wireless channel corresponding to the first wireless communication method, and the The channel bandwidth of the channel determines the second code rate corresponding to the enhancement layer code stream. Exemplarily, the mapping relationship between the channel bandwidth and the code rate is obtained, and according to the mapping relationship and the channel bandwidth of the wireless channel corresponding to the first wireless communication mode, the first code rate corresponding to the base layer code stream is determined, and according to the The mapping relationship and the channel bandwidth of the wireless channel corresponding to the second wireless communication mode determine the second code rate corresponding to the enhancement layer code stream.
在一实施例中,多层码流包括基本层码流和多层增强层码流,多层增强层码流包括第一部分增强层码流和第二部分增强层码流,因此,在对初始图像帧进行分级编码时,基于第一无线通信方式对应的无线信道的信道带宽确定基本层码流对应的码率和第一部分增强层码流对应的码率,基于第二无线通信方式对应的无线信道的信道带宽确定第二部分增强层码流对应的码率,或者基于第二无线通信方式对应的无线信道的信道带宽确定多层增强层码流对应的码率。In one embodiment, the multi-layer code stream includes the base layer code stream and the multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream includes the first part of the enhancement layer code stream and the second part of the enhancement layer code stream. When the image frame is hierarchically encoded, the code rate corresponding to the base layer code stream and the code rate corresponding to the first part of the enhancement layer code stream are determined based on the channel bandwidth of the wireless channel corresponding to the first wireless communication method, and the code rate corresponding to the first part of the enhancement layer code stream is determined based on the channel bandwidth of the wireless channel corresponding to the first wireless communication The channel bandwidth of the channel determines the code rate corresponding to the second part of the enhancement layer code stream, or determines the code rate corresponding to the multi-layer enhancement layer code stream based on the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
在一实施例中,第一部分码流与第二部分码流不同,且第一部分码流与第二部分码流无交集。示例性的,多层码流包括基本层码流和多层增强层码流,第一部分码流包括基本层码流,第二部分码流包括多层增强层码流。在这种场景下,终端设备在获取到多层码流后,终端设备对基本层码流进行解码,得到 第一图像帧,并显示第一图像帧,基于第一图像帧对多层增强层码流进行解码,得到第二图像帧。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection. Exemplarily, the multi-layer code stream includes a base layer code stream and a multi-layer enhancement layer code stream, the first part of the code stream includes a base layer code stream, and the second part of the code stream includes a multi-layer enhancement layer code stream. In this scenario, after the terminal device obtains the multi-layer code stream, the terminal device decodes the base layer code stream, obtains the first image frame, displays the first image frame, and interprets the multi-layer enhancement layer based on the first image frame. The code stream is decoded to obtain a second image frame.
在一实施例中,在第一无线通信方式对应的无线信道的信道带宽小于预设信道带宽时,通过第一无线通信方式仅向终端设备发送基本层码流;通过第二无线通信方式向终端设备发送多层增强层码流。通过在第一无线通信方式对应的无线信道的信道带宽较少的情况下,通过第一无线通信方式仅向终端设备发送基本层码流,可以保证图传的可靠性。In one embodiment, when the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is smaller than the preset channel bandwidth, only the base layer code stream is sent to the terminal device through the first wireless communication mode; The device sends a multi-layer enhancement layer stream. When the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is small, only the base layer code stream is sent to the terminal device through the first wireless communication mode, so that the reliability of image transmission can be ensured.
示例性的,多层增强层码流包括第一部分增强层码流和第二部分增强层码流,第一部分增强层的层级低于第二部分增强层码流的层级,第一部分增强层对应的码率小于第二部分增强层码流对应的码率。第一部分码流包括基本层码流和第一部分增强层码流,第二部分码流包括第二部分增强层码流。例如,在第一无线通信方式对应的无线信道的信道带宽大于或等于预设信道带宽时,可移动平台通过第一无线通信方式向终端设备发送基本层码流和第一部分增强层码流,并通过第二无线通信方式向终端设备发送第二部分增强层码流。Exemplarily, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the level of the first part of the enhancement layer is lower than that of the second part of the enhancement layer code stream, and the first part of the enhancement layer corresponds to The code rate is smaller than the code rate corresponding to the second part of the enhancement layer code stream. The first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream. For example, when the channel bandwidth of the wireless channel corresponding to the first wireless communication method is greater than or equal to the preset channel bandwidth, the mobile platform sends the base layer code stream and the first part of the enhancement layer code stream to the terminal device through the first wireless communication method, and The second part of the enhancement layer code stream is sent to the terminal device through the second wireless communication manner.
在这种场景下,终端设备在获取到多层码流后,终端设备对基本层码流进行解码,得到第三图像帧,并基于第三图像帧对第一部分增强层码流进行解码,得到第一图像帧,然后基于第一图像帧对第二部分增强层码流进行解码,得到第二图像帧。通过在第一无线通信方式对应的无线信道的信道带宽足够的情况下,通过第一无线通信方式向终端设备发送基本层码流和一部分增强层码流,可以在保证时延的情况下,提高无线图传的图像质量。In this scenario, after the terminal device obtains the multi-layer code stream, the terminal device decodes the base layer code stream to obtain a third image frame, and decodes the first part of the enhancement layer code stream based on the third image frame to obtain The first image frame, and then decoding the second part of the enhancement layer code stream based on the first image frame to obtain a second image frame. By sending the base layer code stream and a part of the enhancement layer code stream to the terminal device through the first wireless communication mode when the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is sufficient, it is possible to improve the time delay while ensuring the delay. Image quality of wireless image transmission.
在一实施例中,第一部分码流与第二部分码流不同,且第一部分码流与第二部分码流有交集。示例性的,多层增强层码流包括第一部分增强层码流和第二部分增强层码流,第一部分码流包括基本层码流和第一部分增强层码流,第二部分码流包括多层增强层码流。在这种情况下,终端设备在接收到多层码流后,终端设备对基本层码流进行解码,得到第三图像帧,并基于第三图像帧对第一部分增强层码流进行解码,得到第一图像帧,然后基于第三图像帧对多层增强层码流进行解码,得到第二图像帧。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection. Exemplarily, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer code stream. Layer enhancement layer codestream. In this case, after the terminal device receives the multi-layer code stream, the terminal device decodes the base layer code stream to obtain a third image frame, and decodes the first part of the enhancement layer code stream based on the third image frame to obtain The first image frame, and then decoding the multi-layer enhancement layer code stream based on the third image frame to obtain the second image frame.
在一实施例中,在第一无线通信方式对应的无线信道的信道带宽大于或等于预设信道带宽时,可移动平台通过第一无线通信方式向终端设备发送基本层码流和第一部分增强层码流;同时在第二无线通信方式对应的无线信道的信道带宽大于或等于预设信道带宽时,通过第二无线通信方式向终端设备发送多层增强层码流。通过第一无线通信方式向终端设备发送基本层码流和一部分增强 层码流,可以在保证时延的情况下,提高无线图传的图像质量,同时在第二无线通信方式对应的无线信道的信道带宽足够的情况下,发送全部增强层码流,可以进一步地提高无线图传的图像质量。In one embodiment, when the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is greater than or equal to the preset channel bandwidth, the mobile platform sends the base layer code stream and the first part of the enhancement layer to the terminal device through the first wireless communication mode. At the same time, when the channel bandwidth of the wireless channel corresponding to the second wireless communication mode is greater than or equal to the preset channel bandwidth, the multi-layer enhancement layer code stream is sent to the terminal device through the second wireless communication mode. Sending the base layer code stream and a part of the enhancement layer code stream to the terminal device through the first wireless communication mode can improve the image quality of the wireless image transmission under the condition of ensuring the delay. When the channel bandwidth is sufficient, sending all the enhancement layer streams can further improve the image quality of wireless image transmission.
示例性的,第一部分码流包括基本层码流,第二部分码流包括基本层码流和多层增强层码流。在这种情况下,终端设备在接收到多层码流后,终端设备对基本层码流进行解码,得到第一图像帧,并基于第一图像帧对多层增强层码流进行解码,得到第二图像帧。例如,在第一无线通信方式对应的无线信道的信道带宽小于预设信道带宽时,通过第一无线通信方式仅向终端设备发送基本层码流;同时在第二无线通信方式对应的无线信道的信道带宽大于或等于预设信道带宽时,通过第二无线通信方式向终端设备发送基本层码流和多层增强层码流。通过在第一无线通信方式对应的无线信道的信道带宽较少的情况下,通过第一无线通信方式仅向终端设备发送基本层码流,可以保证图传的可靠性,同时在第二无线通信方式对应的无线信道的信道带宽足够的情况下,发送整个多层码流,不需要参考以第一无线通信方式发送的基本层码流,可以进一步地提高无线图传的图像质量。Exemplarily, the first partial code stream includes a base layer code stream, and the second partial code stream includes a base layer code stream and a multi-layer enhancement layer code stream. In this case, after the terminal device receives the multi-layer code stream, the terminal device decodes the base layer code stream to obtain the first image frame, and decodes the multi-layer enhancement layer code stream based on the first image frame to obtain second image frame. For example, when the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is smaller than the preset channel bandwidth, only the base layer code stream is sent to the terminal device through the first wireless communication mode; When the channel bandwidth is greater than or equal to the preset channel bandwidth, the base layer code stream and the multi-layer enhancement layer code stream are sent to the terminal device through the second wireless communication method. When the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is small, only the basic layer code stream is sent to the terminal device through the first wireless communication mode, so that the reliability of the image transmission can be ensured. When the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is sufficient, the entire multi-layer code stream is sent without referring to the base layer code stream sent in the first wireless communication mode, which can further improve the image quality of wireless image transmission.
在一实施例中,若检测到第一无线通信方式对应的第一传输带宽小于第二无线通信方式对应的第二传输带宽,则通过第二无线通信方式将多层码流中的第二部分码流传输至终端设备。通过在第一无线通信方式对应的传输带宽比第二无线通信方式对应的传输带宽少时,通过第二无线通信方式将第二部分码流传输至终端设备,可以在牺牲一定延迟的前提下,提高第二无线通信方式对应的传输带宽的利用率。In one embodiment, if it is detected that the first transmission bandwidth corresponding to the first wireless communication mode is smaller than the second transmission bandwidth corresponding to the second wireless communication mode, the second part of the multi-layer code stream is converted by the second wireless communication mode. The code stream is transmitted to the terminal device. When the transmission bandwidth corresponding to the first wireless communication mode is less than the transmission bandwidth corresponding to the second wireless communication mode, the second part of the code stream is transmitted to the terminal device through the second wireless communication mode, which can improve the performance of the terminal device on the premise of sacrificing a certain delay. The utilization rate of the transmission bandwidth corresponding to the second wireless communication mode.
在一实施例中,若检测到第一无线通信方式对应的第一传输带宽大于或等于第二无线通信方式对应的第二传输带宽,则通过第一无线通信方式将多层码流中的第二部分码流传输至终端设备。通过在第一无线通信方式对应的传输带宽比第二无线通信方式对应的传输带宽多时,仅通过第一无线通信方式来传输多层码流,可以在保证低时延的同时,提高无线图传的图像质量。In one embodiment, if it is detected that the first transmission bandwidth corresponding to the first wireless communication method is greater than or equal to the second transmission bandwidth corresponding to the second wireless communication method, the first wireless communication method is used to convert the first transmission bandwidth in the multi-layer code stream. The two-part stream is transmitted to the terminal device. When the transmission bandwidth corresponding to the first wireless communication mode is larger than the transmission bandwidth corresponding to the second wireless communication mode, the multi-layer code stream is only transmitted through the first wireless communication mode, which can ensure low latency and improve wireless image transmission. image quality.
在一实施例中,若检测到可移动平台与终端设备之间的通信距离大于距离阈值,则通过第二无线通信方式将多层码流中的第二部分码流传输至终端设备。由于第一无线通信方式的数据传输可靠性与通信距离有关,在通信距离较远的情况下,第一无线通信方式的数据传输可靠性较低,因此,在通信距离较远的情况下,通过第一无线通信方式仅向终端设备发送基本层码流,并通过第二无线通信方式向终端设备发送第二部分码流,可以提高无线图传的可靠性和图像 质量。In one embodiment, if it is detected that the communication distance between the movable platform and the terminal device is greater than the distance threshold, the second part of the code stream in the multi-layer code stream is transmitted to the terminal device through the second wireless communication method. Since the data transmission reliability of the first wireless communication method is related to the communication distance, when the communication distance is long, the data transmission reliability of the first wireless communication method is relatively low. The first wireless communication mode only sends the base layer code stream to the terminal device, and the second part of the code stream is sent to the terminal device through the second wireless communication mode, which can improve the reliability and image quality of wireless image transmission.
在一实施例中,若检测到可移动平台与终端设备之间的通信距离小于或等于距离阈值,则通过第一无线通信方式将多层码流中的第二部分码流传输至终端设备。由于第一无线通信方式的数据传输可靠性与通信距离有关,在通信距离较近的情况下,第一无线通信方式的数据传输可靠性和信道带宽较高,因此,在通信距离较近的情况下,仅通过第一无线通信方式来传输多层码流,可以在保证低时延的同时,提高无线图传的图像质量。In an embodiment, if it is detected that the communication distance between the movable platform and the terminal device is less than or equal to the distance threshold, the second part of the code stream in the multi-layer code stream is transmitted to the terminal device through the first wireless communication method. Since the data transmission reliability of the first wireless communication method is related to the communication distance, when the communication distance is short, the data transmission reliability and channel bandwidth of the first wireless communication method are relatively high. In this case, the multi-layer code stream is only transmitted through the first wireless communication mode, which can improve the image quality of wireless image transmission while ensuring low latency.
上述实施例提供的图像传输方法,通过对初始图像帧进行分级编码,得到包含基本层码流和增强层码流的多层码流,通过传输时延小的第一无线通信方式向终端设备传输多层码流中的至少包括基本层码流的第一部分码流,并通过传输时延大的第二无线通信方式向终端设备传输多层码流中的至少包括增强层码流的第二部分码流,能够满足用户对无线图传的时延、图像质量等多种性能指标的要求,极大的提高了用户体验。In the image transmission method provided by the above embodiment, a multi-layer code stream including a base layer code stream and an enhancement layer code stream is obtained by performing hierarchical coding on the initial image frame, and the first wireless communication method with small transmission delay is used to transmit to the terminal device. The multi-layer code stream includes at least the first part of the base layer code stream, and transmits at least the second part of the enhancement layer code stream to the terminal device through a second wireless communication method with a large transmission delay The code stream can meet the user's requirements for various performance indicators such as the delay and image quality of wireless image transmission, which greatly improves the user experience.
请参阅图3,图3是本申请实施例提供的另一种图像传输方法的步骤示意流程图。Please refer to FIG. 3 , which is a schematic flowchart of steps of another image transmission method provided by an embodiment of the present application.
如图3所示,该图像传输方法包括步骤S201至S204。As shown in FIG. 3 , the image transmission method includes steps S201 to S204.
步骤S201、获取所述可移动平台基于所述第一无线通信方式传输的所述多层码流中的第一部分码流,其中,所述第一部分码流至少包括所述基本层码流;Step S201, acquiring a first partial code stream in the multi-layer code stream transmitted by the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
步骤S202、获取所述可移动平台基于所述第二无线通信方式传输的所述多层码流中的第二部分码流,其中,所述第二部分码流至少包括所述增强层码流;Step S202: Acquire a second partial code stream in the multi-layer code stream transmitted by the mobile platform based on the second wireless communication manner, wherein the second partial code stream at least includes the enhancement layer code stream ;
步骤S203、对所述第一部分码流进行解码,得到第一图像帧,并显示所述第一图像帧;Step S203, decoding the first partial code stream to obtain a first image frame, and displaying the first image frame;
步骤S204、对所述第二部分码流进行解码,得到第二图像帧,并输出所述第二图像帧。Step S204: Decode the second partial code stream to obtain a second image frame, and output the second image frame.
示例性的,第一部分码流仅包括基本层码流,第二部分码流仅包括增强层码流,则步骤S203可以包括:对基本层码流进行解码,得到第一图像帧,并显示第一图像帧。步骤S204可以包括:根据第一图像帧对增强层码流进行解码,得到第二图像帧,并输出第二图像帧。Exemplarily, if the first part of the code stream only includes the base layer code stream, and the second part of the code stream only includes the enhancement layer code stream, then step S203 may include: decoding the base layer code stream to obtain the first image frame, and displaying the first image frame. an image frame. Step S204 may include: decoding the enhancement layer code stream according to the first image frame to obtain a second image frame, and outputting the second image frame.
在一实施例中,第一部分码流与第二部分码流不同,且第一部分码流与第二部分码流无交集。示例性的,多层码流包括基本层码流和多层增强层码流,第一部分码流包括基本层码流,第二部分码流包括多层增强层码流。在这种场景下,步骤S203可以包括:对基本层码流进行解码,得到第一图像帧,并显 示第一图像帧。步骤S204可以包括:根据第一图像帧对多层增强层码流进行解码,得到第二图像帧,并输出第二图像帧。例如,多层码流包括基本层码流、第一层增强层码流和第二层增强层码流,则根据第一图像帧对第一层增强层码流进行解码,得到中间图像帧,并根据中间图像帧,对第二层增强层码流进行解码,得到第二图像帧。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection. Exemplarily, the multi-layer code stream includes a base layer code stream and a multi-layer enhancement layer code stream, the first part of the code stream includes a base layer code stream, and the second part of the code stream includes a multi-layer enhancement layer code stream. In this scenario, step S203 may include: decoding the base layer code stream to obtain the first image frame, and displaying the first image frame. Step S204 may include: decoding the multi-layer enhancement layer code stream according to the first image frame to obtain a second image frame, and outputting the second image frame. For example, if the multi-layer code stream includes the base layer code stream, the first layer enhancement layer code stream and the second layer enhancement layer code stream, the first layer enhancement layer code stream is decoded according to the first image frame to obtain the intermediate image frame, And according to the intermediate image frame, the code stream of the second layer enhancement layer is decoded to obtain the second image frame.
在一实施例中,多层增强层码流包括第一部分增强层码流和第二部分增强层码流,第一部分增强层的层级低于第二部分增强层码流的层级,第一部分增强层对应的码率小于第二部分增强层码流对应的码率。第一部分码流包括基本层码流和第一部分增强层码流,第二部分码流包括第二部分增强层码流。在这种场景下,步骤S203可以包括:对基本层码流进行解码,得到第三图像帧,并根据第三图像帧对第一部分增强层码流进行解码,得到第一图像帧,且显示第一图像帧。步骤S204可以包括:根据第一图像帧对多层增强层码流进行解码,得到第二图像帧,并输出第二图像帧。In one embodiment, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the level of the first part of the enhancement layer is lower than that of the second part of the enhancement layer code stream, and the first part of the enhancement layer The corresponding code rate is smaller than the code rate corresponding to the second part of the enhancement layer code stream. The first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream. In this scenario, step S203 may include: decoding the base layer code stream to obtain the third image frame, and decoding the first part of the enhancement layer code stream according to the third image frame to obtain the first image frame, and displaying the first image frame. an image frame. Step S204 may include: decoding the multi-layer enhancement layer code stream according to the first image frame to obtain a second image frame, and outputting the second image frame.
例如,多层增强层码流包括第一层增强层码流和第二层增强层码流,且第一部分增强层仅包括第一层增强层码流,第二部分增强层码流仅包括第二层增强层码流,则对基本层码流进行解码,得到第三图像帧,并根据第三图像帧对第一层增强层码流进行解码,得到第一图像帧,然后根据第一图像帧对第二层增强层码流进行解码,得到第二图像帧。For example, the multi-layer enhancement layer code stream includes the first layer enhancement layer code stream and the second layer enhancement layer code stream, and the first part of the enhancement layer only includes the first layer enhancement layer code stream, and the second part of the enhancement layer code stream only includes the first layer enhancement layer code stream. The second-layer enhancement layer code stream is decoded to obtain the third image frame, and the first-layer enhancement layer code stream is decoded according to the third image frame to obtain the first image frame, and then according to the first image frame The frame decodes the code stream of the second layer enhancement layer to obtain the second image frame.
在一实施例中,第一部分码流与第二部分码流不同,且第一部分码流与第二部分码流有交集。示例性的,多层增强层码流包括第一部分增强层码流和第二部分增强层码流,第一部分码流包括基本层码流和第一部分增强层码流,第二部分码流包括多层增强层码流。在这种情况下,步骤S203可以包括:对基本层码流进行解码,得到第三图像帧,并根据第三图像帧对第一部分增强层码流进行解码,得到第一图像帧,且显示第一图像帧。步骤S204可以包括:根据第三图像帧对多层增强层码流进行解码,得到第二图像帧。例如,多层增强层码流包括第一层增强层码流和第二层增强层码流,则根据第三图像帧对第一层增强层码流进行解码,得到中间图像帧,并根据中间图像帧,对第二层增强层码流进行解码,得到第二图像帧。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection. Exemplarily, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer code stream. Layer enhancement layer codestream. In this case, step S203 may include: decoding the base layer code stream to obtain the third image frame, and decoding the first part of the enhancement layer code stream according to the third image frame to obtain the first image frame, and displaying the first image frame. an image frame. Step S204 may include: decoding the multi-layer enhancement layer code stream according to the third image frame to obtain the second image frame. For example, if the multi-layer enhancement layer code stream includes the first layer enhancement layer code stream and the second layer enhancement layer code stream, the first layer enhancement layer code stream is decoded according to the third image frame to obtain an intermediate image frame, and according to the middle image frame Image frame, decode the code stream of the second layer enhancement layer to obtain the second image frame.
在一实施例中,第一部分码流包括基本层码流,第二部分码流包括基本层码流和多层增强层码流。在这种情况下,步骤S203可以包括:对基本层码流进行解码,得到第一图像帧,并显示第一图像帧。步骤S204可以包括:对基本层码流进行解码,得到第一图像帧,根据第一图像帧对多层增强层码流进行 解码,得到第二图像帧。In an embodiment, the first partial code stream includes a base layer code stream, and the second partial code stream includes a base layer code stream and a multi-layer enhancement layer code stream. In this case, step S203 may include: decoding the base layer code stream to obtain the first image frame, and displaying the first image frame. Step S204 may include: decoding the base layer code stream to obtain a first image frame, and decoding the multi-layer enhancement layer code stream according to the first image frame to obtain a second image frame.
在一实施例中,向直播服务器发送第二图像帧。由于第二图像帧是解码增强层码流的得到,因此,第二图像帧的图像质量较好,通过向直播服务器发送图像质量较好的第二图像帧,便于看用户直播的人们看到高清的画面,提高用户体验。In one embodiment, the second image frame is sent to the live server. Since the second image frame is obtained by decoding the enhancement layer code stream, the image quality of the second image frame is better. By sending the second image frame with better image quality to the live server, it is convenient for people watching the user's live broadcast to see high-definition images. screen to improve user experience.
上述实施例提供的图像传输方法,通过获取可移动平台基于第一无线通信方式传输的至少包括基本层码流的第一部分码流,并获取可移动平台基于第二无线通信方式传输的包括增强层码流的第二部分码流,然后对第一部分码流进行解码,得到第一图像帧,并显示第一图像帧,且对第二部分码流进行解码,得到第二图像帧,并输出第二图像帧。由于基本层码流不需要参考其余层级码流即可进行解码,因此,通过传输时延小的第一无线通信方式传输的基本层码流,可以满足低时延要求的场景,而增强增码流的图像质量较高,因此通过传输时延大的第二无线通信方式传输的增强增码流,可以满足高图像质量要求的场景,能够满足用户对无线图传的时延、图像质量等多种性能指标的要求,极大的提高了用户体验。In the image transmission method provided by the above embodiment, the first part of the code stream including at least the base layer code stream transmitted by the movable platform based on the first wireless communication mode is obtained, and the code stream including the enhancement layer transmitted by the movable platform based on the second wireless communication mode is obtained. The second part of the code stream of the code stream, and then the first part of the code stream is decoded to obtain the first image frame, and the first image frame is displayed, and the second part of the code stream is decoded to obtain the second image frame and output the first image frame. Two image frames. Since the base layer code stream can be decoded without referring to the other layer code streams, the base layer code stream transmitted through the first wireless communication method with a small transmission delay can meet the low-latency requirement scenarios, while the enhanced coding The image quality of the stream is relatively high. Therefore, the enhanced coded stream transmitted through the second wireless communication method with a large transmission delay can meet the scene with high image quality requirements, and can meet the user's requirements for wireless image transmission delay, image quality, etc. The requirements of various performance indicators have greatly improved the user experience.
请参阅图4,图4是本申请实施例提供的一种可移动平台的结构示意性框图。可移动平台能够通过第一无线通信方式和第二无线通信方式与终端设备进行通信。Please refer to FIG. 4. FIG. 4 is a schematic structural block diagram of a movable platform provided by an embodiment of the present application. The movable platform can communicate with the terminal device through the first wireless communication method and the second wireless communication method.
如图4所示,可移动平台300包括处理器310、存储器320和拍摄装置330,处理器310、存储器320和拍摄装置330通过总线340连接,该总线340比如为I2C(Inter-integrated Circuit)总线。As shown in FIG. 4 , the movable platform 300 includes a processor 310, a memory 320, and a photographing device 330. The processor 310, the memory 320, and the photographing device 330 are connected through a bus 340, such as an I2C (Inter-integrated Circuit) bus. .
具体地,处理器310可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 310 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器320可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 320 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
其中,所述处理器310用于运行存储在存储器320中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 310 is configured to run the computer program stored in the memory 320, and implement the following steps when executing the computer program:
对所述拍摄装置拍摄到的初始图像帧进行分级编码,得到多层码流,其中,所述多层码流包括基本层码流和增强层码流;Perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,其中,所述第一部分码流至少包括所述基本层码流;Transmitting a first partial code stream in the multi-layer code stream to the terminal device by using the first wireless communication method, wherein the first partial code stream at least includes the base layer code stream;
通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,其中,所述第二部分码流至少包括所述增强层码流;transmitting the second partial code stream in the multi-layer code stream to the terminal device by using the second wireless communication method, wherein the second partial code stream includes at least the enhancement layer code stream;
其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
在一实施例中,所述处理器在实现通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备时,用于实现:In an embodiment, when the processor transmits the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication manner, the processor is configured to implement:
若检测到所述第一无线通信方式对应的第一传输带宽小于所述第二无线通信方式对应的第二传输带宽,通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备;否则,通过所述第一无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备。If it is detected that the first transmission bandwidth corresponding to the first wireless communication mode is smaller than the second transmission bandwidth corresponding to the second wireless communication mode, the second wireless communication mode in the multi-layer code stream The partial code stream is transmitted to the terminal device; otherwise, the second partial code stream in the multi-layer code stream is transmitted to the terminal device through the first wireless communication manner.
在一实施例中,所述处理器在实现通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备时,用于实现:In an embodiment, when the processor transmits the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication manner, the processor is configured to implement:
若检测到所述可移动平台与所述终端设备之间的通信距离大于距离阈值,通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备;否则,通过所述第一无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备。If it is detected that the communication distance between the movable platform and the terminal device is greater than the distance threshold, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication method ; otherwise, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner.
在一实施例中,所述分级编码包括空间分级编码,解码所述基本层码流得到的图像帧的第一分辨率小于解码所述增强层码流得到的图像帧的第二分辨率。In one embodiment, the hierarchical coding includes spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream.
在一实施例中,所述分级编码包括时间分级编码,解码所述基本层码流得到的图像帧的第一帧率小于解码所述增强层码流得到的图像帧的第二帧率。In one embodiment, the hierarchical coding includes temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is lower than the second frame rate of the image frame obtained by decoding the enhancement layer code stream.
在一实施例中,所述分级编码包括信噪比分级编码,解码所述基本层码流得到的图像帧的第一图像质量小于解码所述增强层码流得到的图像帧的第二图像质量。In an embodiment, the hierarchical coding includes signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than the second image quality of the image frame obtained by decoding the enhancement layer code stream. .
在一实施例中,所述第一无线通信方式对应的第一传输数据量小于所述第二无线通信方式对应的第二传输数据量。In an embodiment, the first transmission data volume corresponding to the first wireless communication mode is smaller than the second transmission data volume corresponding to the second wireless communication mode.
在一实施例中,所述第一无线通信方式为私有通信方式,所述第二通信方式为公有通信方式。In an embodiment, the first wireless communication mode is a private communication mode, and the second communication mode is a public communication mode.
在一实施例中,所述公有通信方式包括4G通信或5G通信。In an embodiment, the public communication method includes 4G communication or 5G communication.
在一实施例中,所述基本层码流对应的第一码率小于所述增强层码流对应的第二码率。In one embodiment, the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
在一实施例中,所述基本层码流对应的第一码率是根据所述第一无线通信方式对应的无线信道的信道带宽确定的。In an embodiment, the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
在一实施例中,所述基本层码流对应的第一码率小于或等于根据所述第一无线通信方式对应的无线信道的信道带宽确定的最大码率。In an embodiment, the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
在一实施例中,所述增强层码流的第二码率是根据所述第二无线通信方式对应的无线信道的信道带宽确定的。In an embodiment, the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
在一实施例中,所述增强层码流的第二码率小于或等于根据所述第二无线通信方式对应的无线信道的信道带宽确定的最大码率。In an embodiment, the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
在一实施例中,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流无交集。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection.
在一实施例中,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述多层增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the first partial code stream includes the base layer code stream, and the second partial code stream includes the multi-layer enhancement layer code stream .
在一实施例中,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述第二部分增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
在一实施例中,所述第一部分增强层的层级低于所述第二部分增强层码流的层级。In one embodiment, the level of the first partial enhancement layer is lower than the level of the codestream of the second partial enhancement layer.
在一实施例中,所述第一部分增强层对应的码率小于所述第二部分增强层码流对应的码率。In an embodiment, the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the second part of the enhancement layer code stream.
在一实施例中,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流有交集。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection.
在一实施例中,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述多层增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer enhancement layer code stream.
在一实施例中,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述基本层码流和所述多层增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the first partial code stream includes the base layer code stream, and the second partial code stream includes the base layer code stream and all The multi-layer enhancement layer code stream.
在一实施例中,所述处理器在实现通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备时,用于实现:In one embodiment, when the processor transmits the first part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner, the processor is configured to implement:
若所述第一无线通信方式对应的无线信道的信道带宽小于预设信道带宽,则通过所述第一无线通信方式将所述基本层码流传输至终端设备。If the channel bandwidth of the wireless channel corresponding to the first wireless communication manner is smaller than the preset channel bandwidth, the base layer code stream is transmitted to the terminal device through the first wireless communication manner.
在一实施例中,所述处理器在实现通过所述第一无线通信方式将所述多层 码流中的第一部分码流传输至所述终端设备时,用于实现:In one embodiment, when the processor implements transmitting the first part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner, the processor is configured to implement:
若所述第一无线通信方式对应的无线信道的信道带宽大于或等于预设信道带宽,则通过所述第一无线通信方式将所述基本层码流和所述多层增强层码流中的第一部分增强层码流传输至终端设备。If the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is greater than or equal to the preset channel bandwidth, the base layer code stream and the multi-layer enhancement layer code stream are converted by the first wireless communication mode. The first part of the enhancement layer code stream is transmitted to the terminal device.
在一实施例中,所述基本层码流用于实时图像传输,所述增强层码流用于直播。In an embodiment, the base layer code stream is used for real-time image transmission, and the enhancement layer code stream is used for live broadcast.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的可移动平台的具体工作过程,可以参考前述图像传输方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of the description, for the specific working process of the movable platform described above, reference may be made to the corresponding process in the foregoing image transmission method embodiment, which is not described here. Repeat.
请参阅图5,图5是本申请实施例提供的一种终端设备的结构示意性框图。Please refer to FIG. 5. FIG. 5 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application.
该终端设备能够通过第一无线通信方式和第二无线通信方式与可移动平台进行通信,可移动平台包括拍摄装置,可移动平台能够对拍摄装置拍摄到的初始图像帧进行分级编码得到多层码流,该多层码流包括基本层码流和增强层码流。The terminal device can communicate with the movable platform through the first wireless communication mode and the second wireless communication mode, the movable platform includes a photographing device, and the movable platform can perform hierarchical coding on the initial image frame photographed by the photographing device to obtain a multi-layer code The multi-layer code stream includes a base layer code stream and an enhancement layer code stream.
如图5所示,终端设备400包括处理器410和存储器420,处理器410和存储器420通过总线430连接,该总线430比如为I2C(Inter-integrated Circuit)总线。As shown in FIG. 5 , the terminal device 400 includes a processor 410 and a memory 420. The processor 410 and the memory 420 are connected through a bus 430, and the bus 430 is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器410可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 410 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU), or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器420可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 420 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
其中,所述处理器410用于运行存储在存储器420中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 410 is configured to run the computer program stored in the memory 420, and implement the following steps when executing the computer program:
获取所述可移动平台基于所述第一无线通信方式传输的所述多层码流中的第一部分码流,其中,所述第一部分码流至少包括所述基本层码流;acquiring a first partial code stream in the multi-layer code stream transmitted by the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
获取所述可移动平台基于所述第二无线通信方式传输的所述多层码流中的第二部分码流,其中,所述第二部分码流至少包括所述增强层码流;acquiring a second partial code stream in the multi-layer code stream transmitted by the movable platform based on the second wireless communication manner, wherein the second partial code stream includes at least the enhancement layer code stream;
对所述第一部分码流进行解码,得到第一图像帧,并显示所述第一图像帧;Decoding the first partial code stream to obtain a first image frame, and displaying the first image frame;
对所述第二部分码流进行解码,得到第二图像帧,并输出所述第二图像帧;Decoding the second partial code stream to obtain a second image frame, and outputting the second image frame;
其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
在一实施例中,所述第一无线通信方式对应的第一传输数据量小于所述第二无线通信方式对应的第二传输数据量。In an embodiment, the first transmission data volume corresponding to the first wireless communication mode is smaller than the second transmission data volume corresponding to the second wireless communication mode.
在一实施例中,所述第一无线通信方式为私有通信方式,所述第二通信方式为公有通信方式。In an embodiment, the first wireless communication mode is a private communication mode, and the second communication mode is a public communication mode.
在一实施例中,所述公有通信方式包括4G通信或5G通信。In an embodiment, the public communication method includes 4G communication or 5G communication.
在一实施例中,所述分级编码包括空间分级编码,解码所述基本层码流得到的图像帧的第一分辨率小于解码所述增强层码流得到的图像帧的第二分辨率。In one embodiment, the hierarchical coding includes spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than the second resolution of the image frame obtained by decoding the enhancement layer code stream.
在一实施例中,所述分级编码包括时间分级编码,解码所述基本层码流得到的图像帧的第一帧率小于解码所述增强层码流得到的图像帧的第二帧率。In one embodiment, the hierarchical coding includes temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is lower than the second frame rate of the image frame obtained by decoding the enhancement layer code stream.
在一实施例中,所述分级编码包括信噪比分级编码,解码所述基本层码流得到的图像帧的第一图像质量小于解码所述增强层码流得到的图像帧的第二图像质量。In an embodiment, the hierarchical coding includes signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than the second image quality of the image frame obtained by decoding the enhancement layer code stream. .
在一实施例中,所述基本层码流对应的第一码率小于所述增强层码流对应的第二码率。In one embodiment, the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
在一实施例中,所述基本层码流对应的第一码率是根据所述第一无线通信方式对应的无线信道的信道带宽确定的。In an embodiment, the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
在一实施例中,所述基本层码流对应的第一码率小于或等于根据所述第一无线通信方式对应的无线信道的信道带宽确定的最大码率。In an embodiment, the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
在一实施例中,所述增强层码流的第二码率是根据所述第二无线通信方式对应的无线信道的信道带宽确定的。In an embodiment, the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
在一实施例中,所述增强层码流的第二码率小于或等于根据所述第二无线通信方式对应的无线信道的信道带宽确定的最大码率。In an embodiment, the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
在一实施例中,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流无交集。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have no intersection.
在一实施例中,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述多层增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the first partial code stream includes the base layer code stream, and the second partial code stream includes the multi-layer enhancement layer code stream .
在一实施例中,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:In one embodiment, when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
根据所述第一图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the first image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
在一实施例中,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述第二部分增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
在一实施例中,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:In one embodiment, when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
对所述基本层码流进行解码,得到第三图像帧;Decoding the base layer code stream to obtain a third image frame;
根据所述第三图像帧,对所述第一部分增强层码流进行解码,得到第一图像帧;decoding the first part of the enhancement layer code stream according to the third image frame to obtain a first image frame;
所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
根据所述第一图像帧,对所述第二部分增强层码流进行解码,得到第二图像帧。According to the first image frame, the second part of the enhancement layer code stream is decoded to obtain a second image frame.
在一实施例中,所述第一部分增强层的层级低于所述第二部分增强层码流的层级。In one embodiment, the level of the first partial enhancement layer is lower than the level of the second partial enhancement layer codestream.
在一实施例中,所述第一部分增强层对应的码率小于所述第二部分增强层码流对应的码率。In an embodiment, the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the second part of the enhancement layer code stream.
在一实施例中,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流有交集。In one embodiment, the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream have an intersection.
在一实施例中,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述多层增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the multi-layer enhancement layer code stream includes a first part of the enhancement layer code stream and a second part of the enhancement layer code stream, the first part of the code stream It includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer enhancement layer code stream.
在一实施例中,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:In one embodiment, when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
对所述基本层码流进行解码,得到第三图像帧;Decoding the base layer code stream to obtain a third image frame;
根据所述第三图像帧,对所述第一部分增强层码流进行解码,得到第一图像帧;decoding the first part of the enhancement layer code stream according to the third image frame to obtain a first image frame;
所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
根据所述第三图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the third image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
在一实施例中,所述增强层码流为多层增强层码流,所述第一部分码流包 括所述基本层码流,所述第二部分码流包括所述基本层码流和所述多层增强层码流。In an embodiment, the enhancement layer code stream is a multi-layer enhancement layer code stream, the first partial code stream includes the base layer code stream, and the second partial code stream includes the base layer code stream and all The multi-layer enhancement layer code stream.
在一实施例中,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:In one embodiment, when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
根据所述第一图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the first image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
在一实施例中,所述处理器在实现输出所述第二图像帧时,用于实现:In an embodiment, when the processor outputs the second image frame, the processor is configured to:
向直播服务器发送所述第二图像帧。Send the second image frame to the live server.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的终端设备的具体工作过程,可以参考前述图像传输方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of the description, for the specific working process of the terminal device described above, reference may be made to the corresponding process in the foregoing image transmission method embodiment, which is not repeated here. Repeat.
请参阅图6,图6是本申请实施例提供的一种图像传输系统的结构示意性框图。Please refer to FIG. 6. FIG. 6 is a schematic structural block diagram of an image transmission system provided by an embodiment of the present application.
如图6所示,图像传输系统500包括可移动平台510和终端设备520,可移动平台510能够通过第一无线通信方式和第二无线通信方式与终端设备510进行通信。As shown in FIG. 6 , the image transmission system 500 includes a movable platform 510 and a terminal device 520, and the movable platform 510 can communicate with the terminal device 510 through a first wireless communication manner and a second wireless communication manner.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的图像传输系统的具体工作过程,可以参考前述图像传输方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of the description, for the specific working process of the image transmission system described above, reference may be made to the corresponding process in the foregoing image transmission method embodiments, which is not described here. Repeat.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现上述实施例提供的图像传输方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program includes program instructions, and the processor executes the program instructions to realize the provision of the above embodiments. The steps of the image transmission method.
其中,所述计算机可读存储介质可以是前述任一实施例所述的可移动平台或终端设备的内部存储单元,例如所述可移动平台或终端设备的硬盘或内存。所述计算机可读存储介质也可以是所述可移动平台或终端设备的外部存储设备,例如所述可移动平台或终端设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The computer-readable storage medium may be an internal storage unit of the removable platform or terminal device described in any of the foregoing embodiments, such as a hard disk or memory of the removable platform or terminal device. The computer-readable storage medium may also be an external storage device of the removable platform or terminal device, such as a pluggable hard disk, a smart memory card (Smart Media Card, SMC) equipped on the removable platform or terminal device , Secure Digital (Secure Digital, SD) card, flash memory card (Flash Card) and so on.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用 的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of the present application herein are for the purpose of describing particular embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly dictates otherwise.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (102)

  1. 一种图像传输方法,其特征在于,应用于可移动平台,所述可移动平台包括拍摄装置,所述可移动平台能够通过第一无线通信方式和第二无线通信方式与终端设备进行通信,所述方法包括:An image transmission method, characterized in that it is applied to a movable platform, the movable platform includes a photographing device, and the movable platform can communicate with a terminal device through a first wireless communication method and a second wireless communication method, so The methods described include:
    对所述拍摄装置拍摄到的初始图像帧进行分级编码,得到多层码流,其中,所述多层码流包括基本层码流和增强层码流;Perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
    通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,其中,所述第一部分码流至少包括所述基本层码流;Transmitting a first partial code stream in the multi-layer code stream to the terminal device by using the first wireless communication method, wherein the first partial code stream at least includes the base layer code stream;
    通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,其中,所述第二部分码流至少包括所述增强层码流;transmitting the second partial code stream in the multi-layer code stream to the terminal device by using the second wireless communication method, wherein the second partial code stream includes at least the enhancement layer code stream;
    其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  2. 根据权利要求1所述的图像传输方法,其特征在于,所述通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,包括:The image transmission method according to claim 1, wherein the transmitting the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication method comprises:
    若检测到所述第一无线通信方式对应的第一传输带宽小于所述第二无线通信方式对应的第二传输带宽,通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备;否则,通过所述第一无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备。If it is detected that the first transmission bandwidth corresponding to the first wireless communication mode is smaller than the second transmission bandwidth corresponding to the second wireless communication mode, the second wireless communication mode in the multi-layer code stream The partial code stream is transmitted to the terminal device; otherwise, the second partial code stream in the multi-layer code stream is transmitted to the terminal device through the first wireless communication manner.
  3. 根据权利要求1所述的图像传输方法,其特征在于,所述通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,包括:The image transmission method according to claim 1, wherein the transmitting the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication method comprises:
    若检测到所述可移动平台与所述终端设备之间的通信距离大于距离阈值,通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备;否则,通过所述第一无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备。If it is detected that the communication distance between the movable platform and the terminal device is greater than the distance threshold, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication method ; otherwise, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner.
  4. 根据权利要求1所述的图像传输方法,其特征在于,所述分级编码包括空间分级编码,解码所述基本层码流得到的图像帧的第一分辨率小于解码所述增强层码流得到的图像帧的第二分辨率。The image transmission method according to claim 1, wherein the hierarchical coding comprises spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than that obtained by decoding the enhancement layer code stream. The second resolution of the image frame.
  5. 根据权利要求1所述的图像传输方法,其特征在于,所述分级编码包括时间分级编码,解码所述基本层码流得到的图像帧的第一帧率小于解码所述增强层码流得到的图像帧的第二帧率。The image transmission method according to claim 1, wherein the hierarchical coding comprises temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is lower than that obtained by decoding the enhancement layer code stream. The second frame rate of the image frame.
  6. 根据权利要求1所述的图像传输方法,其特征在于,所述分级编码包括 信噪比分级编码,解码所述基本层码流得到的图像帧的第一图像质量小于解码所述增强层码流得到的图像帧的第二图像质量。The image transmission method according to claim 1, wherein the hierarchical coding comprises signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than that of decoding the enhancement layer code stream. The second image quality of the resulting image frame.
  7. 根据权利要求1所述的图像传输方法,其特征在于,所述第一无线通信方式对应的第一传输数据量小于所述第二无线通信方式对应的第二传输数据量。The image transmission method according to claim 1, wherein the first transmission data amount corresponding to the first wireless communication mode is smaller than the second transmission data amount corresponding to the second wireless communication mode.
  8. 根据权利要求1所述的图像传输方法,其特征在于,所述第一无线通信方式为私有通信方式,所述第二通信方式为公有通信方式。The image transmission method according to claim 1, wherein the first wireless communication mode is a private communication mode, and the second communication mode is a public communication mode.
  9. 根据权利要求8所述的图像传输方法,其特征在于,所述公有通信方式包括4G通信或5G通信。The image transmission method according to claim 8, wherein the public communication method includes 4G communication or 5G communication.
  10. 根据权利要求1所述的图像传输方法,其特征在于,所述基本层码流对应的第一码率小于所述增强层码流对应的第二码率。The image transmission method according to claim 1, wherein the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
  11. 根据权利要求1所述的图像传输方法,其特征在于,所述基本层码流对应的第一码率是根据所述第一无线通信方式对应的无线信道的信道带宽确定的。The image transmission method according to claim 1, wherein the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  12. 根据权利要求11所述的图像传输方法,其特征在于,所述基本层码流对应的第一码率小于或等于根据所述第一无线通信方式对应的无线信道的信道带宽确定的最大码率。The image transmission method according to claim 11, wherein the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode .
  13. 根据权利要求1所述的图像传输方法,其特征在于,所述增强层码流的第二码率是根据所述第二无线通信方式对应的无线信道的信道带宽确定的。The image transmission method according to claim 1, wherein the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  14. 根据权利要求13所述的图像传输方法,其特征在于,所述增强层码流的第二码率小于或等于根据所述第二无线通信方式对应的无线信道的信道带宽确定的最大码率。The image transmission method according to claim 13, wherein the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  15. 根据权利要求1-14中任一项所述的图像传输方法,其特征在于,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流无交集。The image transmission method according to any one of claims 1-14, wherein the first part of the code stream is different from the second part of the code stream, and the first part of the code stream is different from the second part of the code stream Code streams do not intersect.
  16. 根据权利要求15所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述多层增强层码流。The image transmission method according to claim 15, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first part of the code stream comprises the base layer code stream, and the second part of the code stream The multi-layer enhancement layer code stream is included.
  17. 根据权利要求15所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述第二部分增强层码流。The image transmission method according to claim 15, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer code stream A code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
  18. 根据权利要求17所述的图像传输方法,其特征在于,所述第一部分增 强层的层级低于所述第二部分增强层码流的层级。The image transmission method according to claim 17, wherein the level of the first part of the enhancement layer is lower than the level of the code stream of the second part of the enhancement layer.
  19. 根据权利要求17所述的图像传输方法,其特征在于,所述第一部分增强层对应的码率小于所述第二部分增强层码流对应的码率。The image transmission method according to claim 17, wherein the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the code stream of the second part of the enhancement layer.
  20. 根据权利要求1-14中任一项所述的图像传输方法,其特征在于,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流有交集。The image transmission method according to any one of claims 1-14, wherein the first part of the code stream is different from the second part of the code stream, and the first part of the code stream is different from the second part of the code stream Code streams have intersection.
  21. 根据权利要求20所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述多层增强层码流。The image transmission method according to claim 20, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer code stream A code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer enhancement layer code stream.
  22. 根据权利要求20所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述基本层码流和所述多层增强层码流。The image transmission method according to claim 20, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first part of the code stream comprises the base layer code stream, and the second part of the code stream It includes the base layer code stream and the multi-layer enhancement layer code stream.
  23. 根据权利要求1-14中任一项所述的图像传输方法,其特征在于,所述通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,包括:The image transmission method according to any one of claims 1-14, wherein the first part of the code stream in the multi-layer code stream is transmitted to the terminal device through the first wireless communication manner ,include:
    若所述第一无线通信方式对应的无线信道的信道带宽小于预设信道带宽,则通过所述第一无线通信方式将所述基本层码流传输至终端设备。If the channel bandwidth of the wireless channel corresponding to the first wireless communication manner is smaller than the preset channel bandwidth, the base layer code stream is transmitted to the terminal device through the first wireless communication manner.
  24. 根据权利要求23所述的图像传输方法,其特征在于,所述通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,包括:The image transmission method according to claim 23, wherein the transmitting the first part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication method comprises:
    若所述第一无线通信方式对应的无线信道的信道带宽大于或等于预设信道带宽,则通过所述第一无线通信方式将所述基本层码流和所述多层增强层码流中的第一部分增强层码流传输至终端设备。If the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is greater than or equal to the preset channel bandwidth, the base layer code stream and the multi-layer enhancement layer code stream are converted by the first wireless communication mode. The first part of the enhancement layer code stream is transmitted to the terminal device.
  25. 根据权利要求1-14中任一项所述的图像传输方法,其特征在于,所述基本层码流用于实时图像传输,所述增强层码流用于直播。The image transmission method according to any one of claims 1-14, wherein the base layer code stream is used for real-time image transmission, and the enhancement layer code stream is used for live broadcast.
  26. 一种图像传输方法,其特征在于,应用于终端设备,所述终端设备能够通过第一无线通信方式和第二无线通信方式与可移动平台进行通信,所述可移动平台包括拍摄装置,所述可移动平台能够对所述拍摄装置拍摄到的初始图像帧进行分级编码得到多层码流,所述多层码流包括基本层码流和增强层码流,所述方法包括:An image transmission method, characterized in that it is applied to a terminal device, the terminal device can communicate with a movable platform through a first wireless communication method and a second wireless communication method, the movable platform includes a photographing device, and the The movable platform can perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, and the multi-layer code stream includes a base layer code stream and an enhancement layer code stream, and the method includes:
    获取所述可移动平台基于所述第一无线通信方式传输的所述多层码流中的第一部分码流,其中,所述第一部分码流至少包括所述基本层码流;acquiring a first partial code stream in the multi-layer code stream transmitted by the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
    获取所述可移动平台基于所述第二无线通信方式传输的所述多层码流中的第二部分码流,其中,所述第二部分码流至少包括所述增强层码流;acquiring a second partial code stream in the multi-layer code stream transmitted by the movable platform based on the second wireless communication manner, wherein the second partial code stream includes at least the enhancement layer code stream;
    对所述第一部分码流进行解码,得到第一图像帧,并显示所述第一图像帧;Decoding the first partial code stream to obtain a first image frame, and displaying the first image frame;
    对所述第二部分码流进行解码,得到第二图像帧,并输出所述第二图像帧;Decoding the second partial code stream to obtain a second image frame, and outputting the second image frame;
    其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  27. 根据权利要求26所述的图像传输方法,其特征在于,所述第一无线通信方式对应的第一传输数据量小于所述第二无线通信方式对应的第二传输数据量。The image transmission method according to claim 26, wherein the first transmission data volume corresponding to the first wireless communication mode is smaller than the second transmission data volume corresponding to the second wireless communication mode.
  28. 根据权利要求26所述的图像传输方法,其特征在于,所述第一无线通信方式为私有通信方式,所述第二通信方式为公有通信方式。The image transmission method according to claim 26, wherein the first wireless communication method is a private communication method, and the second communication method is a public communication method.
  29. 根据权利要求28所述的图像传输方法,其特征在于,所述公有通信方式包括4G通信或5G通信。The image transmission method according to claim 28, wherein the public communication method includes 4G communication or 5G communication.
  30. 根据权利要求26所述的图像传输方法,其特征在于,所述分级编码包括空间分级编码,解码所述基本层码流得到的图像帧的第一分辨率小于解码所述增强层码流得到的图像帧的第二分辨率。The image transmission method according to claim 26, wherein the hierarchical coding comprises spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than that obtained by decoding the enhancement layer code stream. The second resolution of the image frame.
  31. 根据权利要求26所述的图像传输方法,其特征在于,所述分级编码包括时间分级编码,解码所述基本层码流得到的图像帧的第一帧率小于解码所述增强层码流得到的图像帧的第二帧率。The image transmission method according to claim 26, wherein the hierarchical coding comprises temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is smaller than that obtained by decoding the enhancement layer code stream. The second frame rate of the image frame.
  32. 根据权利要求26所述的图像传输方法,其特征在于,所述分级编码包括信噪比分级编码,解码所述基本层码流得到的图像帧的第一图像质量小于解码所述增强层码流得到的图像帧的第二图像质量。The image transmission method according to claim 26, wherein the hierarchical coding comprises signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than that of decoding the enhancement layer code stream. The second image quality of the resulting image frame.
  33. 根据权利要求26所述的图像传输方法,其特征在于,所述基本层码流对应的第一码率小于所述增强层码流对应的第二码率。The image transmission method according to claim 26, wherein the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
  34. 根据权利要求26所述的图像传输方法,其特征在于,所述基本层码流对应的第一码率是根据所述第一无线通信方式对应的无线信道的信道带宽确定的。The image transmission method according to claim 26, wherein the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  35. 根据权利要求34所述的图像传输方法,其特征在于,所述基本层码流对应的第一码率小于或等于根据所述第一无线通信方式对应的无线信道的信道带宽确定的最大码率。The image transmission method according to claim 34, wherein the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode .
  36. 根据权利要求26所述的图像传输方法,其特征在于,所述增强层码流的第二码率是根据所述第二无线通信方式对应的无线信道的信道带宽确定的。The image transmission method according to claim 26, wherein the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  37. 根据权利要求36所述的图像传输方法,其特征在于,所述增强层码流的第二码率小于或等于根据所述第二无线通信方式对应的无线信道的信道带宽确定的最大码率。The image transmission method according to claim 36, wherein the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  38. 根据权利要求26-37中任一项所述的图像传输方法,其特征在于,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流无交集。The image transmission method according to any one of claims 26-37, wherein the first part of the code stream is different from the second part of the code stream, and the first part of the code stream is different from the second part of the code stream Code streams have no intersection.
  39. 根据权利要求38所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述多层增强层码流。The image transmission method according to claim 38, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first part of the code stream comprises the base layer code stream, and the second part of the code stream The multi-layer enhancement layer code stream is included.
  40. 根据权利要求39所述的图像传输方法,其特征在于,所述对所述第一部分码流进行解码,得到第一图像帧,包括:The image transmission method according to claim 39, wherein the decoding the first partial code stream to obtain the first image frame comprises:
    对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
    所述对所述第二部分码流进行解码,得到第二图像帧,包括:The decoding of the second partial code stream to obtain a second image frame includes:
    根据所述第一图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the first image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  41. 根据权利要求38所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述第二部分增强层码流。The image transmission method according to claim 38, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer code stream A code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
  42. 根据权利要求41所述的图像传输方法,其特征在于,所述对所述第一部分码流进行解码,得到第一图像帧,包括:The image transmission method according to claim 41, wherein the decoding the first partial code stream to obtain the first image frame comprises:
    对所述基本层码流进行解码,得到第三图像帧;Decoding the base layer code stream to obtain a third image frame;
    根据所述第三图像帧,对所述第一部分增强层码流进行解码,得到第一图像帧;decoding the first part of the enhancement layer code stream according to the third image frame to obtain a first image frame;
    所述对所述第二部分码流进行解码,得到第二图像帧,包括:The decoding of the second partial code stream to obtain a second image frame includes:
    根据所述第一图像帧,对所述第二部分增强层码流进行解码,得到第二图像帧。According to the first image frame, the second part of the enhancement layer code stream is decoded to obtain a second image frame.
  43. 根据权利要求41所述的图像传输方法,其特征在于,所述第一部分增强层的层级低于所述第二部分增强层码流的层级。The image transmission method according to claim 41, wherein the level of the first part of the enhancement layer is lower than the level of the code stream of the second part of the enhancement layer.
  44. 根据权利要求41所述的图像传输方法,其特征在于,所述第一部分增强层对应的码率小于所述第二部分增强层码流对应的码率。The image transmission method according to claim 41, wherein the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the code stream of the second part of the enhancement layer.
  45. 根据权利要求26-37中任一项所述的图像传输方法,其特征在于,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部 分码流有交集。The image transmission method according to any one of claims 26-37, wherein the first part of the code stream is different from the second part of the code stream, and the first part of the code stream is different from the second part of the code stream Code streams have intersection.
  46. 根据权利要求45所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述多层增强层码流。The image transmission method according to claim 45, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer code stream A code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer enhancement layer code stream.
  47. 根据权利要求46所述的图像传输方法,其特征在于,所述对所述第一部分码流进行解码,得到第一图像帧,包括:The image transmission method according to claim 46, wherein the decoding the first partial code stream to obtain the first image frame comprises:
    对所述基本层码流进行解码,得到第三图像帧;Decoding the base layer code stream to obtain a third image frame;
    根据所述第三图像帧,对所述第一部分增强层码流进行解码,得到第一图像帧;decoding the first part of the enhancement layer code stream according to the third image frame to obtain a first image frame;
    所述对所述第二部分码流进行解码,得到第二图像帧,包括:The decoding of the second partial code stream to obtain a second image frame includes:
    根据所述第三图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the third image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  48. 根据权利要求45所述的图像传输方法,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述基本层码流和所述多层增强层码流。The image transmission method according to claim 45, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first part of the code stream comprises the base layer code stream, and the second part of the code stream It includes the base layer code stream and the multi-layer enhancement layer code stream.
  49. 根据权利要求48所述的图像传输方法,其特征在于,所述对所述第一部分码流进行解码,得到第一图像帧,包括:The image transmission method according to claim 48, wherein the decoding the first partial code stream to obtain the first image frame comprises:
    对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
    所述对所述第二部分码流进行解码,得到第二图像帧,包括:The decoding of the second partial code stream to obtain a second image frame includes:
    对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
    根据所述第一图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the first image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  50. 根据权利要求26-37中任一项所述的图像传输方法,其特征在于,所述输出所述第二图像帧,包括:The image transmission method according to any one of claims 26-37, wherein the outputting the second image frame comprises:
    向直播服务器发送所述第二图像帧。Send the second image frame to the live server.
  51. 一种可移动平台,其特征在于,所述可移动平台能够通过第一无线通信方式和第二无线通信方式与终端设备进行通信;A movable platform, characterized in that the movable platform can communicate with a terminal device through a first wireless communication manner and a second wireless communication manner;
    所述可移动平台包括拍摄装置、存储器和处理器;the movable platform includes a camera, a memory and a processor;
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
    对所述拍摄装置拍摄到的初始图像帧进行分级编码,得到多层码流,其中,所述多层码流包括基本层码流和增强层码流;Perform hierarchical coding on the initial image frame captured by the photographing device to obtain a multi-layer code stream, wherein the multi-layer code stream includes a base layer code stream and an enhancement layer code stream;
    通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备,其中,所述第一部分码流至少包括所述基本层码流;Transmitting a first partial code stream in the multi-layer code stream to the terminal device by using the first wireless communication method, wherein the first partial code stream at least includes the base layer code stream;
    通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备,其中,所述第二部分码流至少包括所述增强层码流;transmitting the second partial code stream in the multi-layer code stream to the terminal device by using the second wireless communication method, wherein the second partial code stream includes at least the enhancement layer code stream;
    其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  52. 根据权利要求51所述的可移动平台,其特征在于,所述处理器在实现通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备时,用于实现:The mobile platform according to claim 51, wherein when the processor implements the transmission of the second part of the multi-layer code stream to the terminal device through the second wireless communication manner , which is used to implement:
    若检测到所述第一无线通信方式对应的第一传输带宽小于所述第二无线通信方式对应的第二传输带宽,通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备;否则,通过所述第一无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备。If it is detected that the first transmission bandwidth corresponding to the first wireless communication mode is smaller than the second transmission bandwidth corresponding to the second wireless communication mode, the second wireless communication mode in the multi-layer code stream The partial code stream is transmitted to the terminal device; otherwise, the second partial code stream in the multi-layer code stream is transmitted to the terminal device through the first wireless communication manner.
  53. 根据权利要求51所述的可移动平台,其特征在于,所述处理器在实现通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备时,用于实现:The mobile platform according to claim 51, wherein when the processor implements the transmission of the second part of the multi-layer code stream to the terminal device through the second wireless communication manner , which is used to implement:
    若检测到所述可移动平台与所述终端设备之间的通信距离大于距离阈值,通过所述第二无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备;否则,通过所述第一无线通信方式将所述多层码流中的第二部分码流传输至所述终端设备。If it is detected that the communication distance between the movable platform and the terminal device is greater than the distance threshold, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the second wireless communication method ; otherwise, transmit the second part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner.
  54. 根据权利要求51所述的可移动平台,其特征在于,所述分级编码包括空间分级编码,解码所述基本层码流得到的图像帧的第一分辨率小于解码所述增强层码流得到的图像帧的第二分辨率。The mobile platform according to claim 51, wherein the hierarchical coding comprises spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than that obtained by decoding the enhancement layer code stream. The second resolution of the image frame.
  55. 根据权利要求51所述的可移动平台,其特征在于,所述分级编码包括时间分级编码,解码所述基本层码流得到的图像帧的第一帧率小于解码所述增强层码流得到的图像帧的第二帧率。The mobile platform according to claim 51, wherein the hierarchical coding comprises temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is lower than that obtained by decoding the enhancement layer code stream. The second frame rate of the image frame.
  56. 根据权利要求51所述的可移动平台,其特征在于,所述分级编码包括信噪比分级编码,解码所述基本层码流得到的图像帧的第一图像质量小于解码所述增强层码流得到的图像帧的第二图像质量。The mobile platform according to claim 51, wherein the hierarchical coding comprises signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than that of decoding the enhancement layer code stream The second image quality of the resulting image frame.
  57. 根据权利要求51所述的可移动平台,其特征在于,所述第一无线通信方式对应的第一传输数据量小于所述第二无线通信方式对应的第二传输数据量。The mobile platform according to claim 51, wherein the first transmission data volume corresponding to the first wireless communication mode is smaller than the second transmission data volume corresponding to the second wireless communication mode.
  58. 根据权利要求51所述的可移动平台,其特征在于,所述第一无线通信 方式为私有通信方式,所述第二通信方式为公有通信方式。The mobile platform according to claim 51, wherein the first wireless communication mode is a private communication mode, and the second communication mode is a public communication mode.
  59. 根据权利要求58所述的可移动平台,其特征在于,所述公有通信方式包括4G通信或5G通信。The mobile platform according to claim 58, wherein the public communication method includes 4G communication or 5G communication.
  60. 根据权利要求51所述的可移动平台,其特征在于,所述基本层码流对应的第一码率小于所述增强层码流对应的第二码率。The mobile platform according to claim 51, wherein the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
  61. 根据权利要求51所述的可移动平台,其特征在于,所述基本层码流对应的第一码率是根据所述第一无线通信方式对应的无线信道的信道带宽确定的。The mobile platform according to claim 51, wherein the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  62. 根据权利要求61所述的可移动平台,其特征在于,所述基本层码流对应的第一码率小于或等于根据所述第一无线通信方式对应的无线信道的信道带宽确定的最大码率。The mobile platform according to claim 61, wherein the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode .
  63. 根据权利要求51所述的可移动平台,其特征在于,所述增强层码流的第二码率是根据所述第二无线通信方式对应的无线信道的信道带宽确定的。The mobile platform according to claim 51, wherein the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  64. 根据权利要求63所述的可移动平台,其特征在于,所述增强层码流的第二码率小于或等于根据所述第二无线通信方式对应的无线信道的信道带宽确定的最大码率。The mobile platform according to claim 63, wherein the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  65. 根据权利要求51-64中任一项所述的可移动平台,其特征在于,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流无交集。The mobile platform according to any one of claims 51-64, wherein the first part of the code stream is different from the second part of the code stream, and the first part of the code stream is different from the second part of the code stream Code streams do not intersect.
  66. 根据权利要求65所述的可移动平台,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述多层增强层码流。The mobile platform according to claim 65, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first part of the code stream comprises the base layer code stream, and the second part of the code stream The multi-layer enhancement layer code stream is included.
  67. 根据权利要求65所述的可移动平台,其特征在于,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述第二部分增强层码流。The mobile platform according to claim 65, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer A code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the second part of the enhancement layer code stream.
  68. 根据权利要求67所述的可移动平台,其特征在于,所述第一部分增强层的层级低于所述第二部分增强层码流的层级。The mobile platform according to claim 67, wherein the level of the first part of the enhancement layer is lower than the level of the code stream of the second part of the enhancement layer.
  69. 根据权利要求67所述的可移动平台,其特征在于,所述第一部分增强层对应的码率小于所述第二部分增强层码流对应的码率。The mobile platform according to claim 67, wherein the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the second part of the enhancement layer code stream.
  70. 根据权利要求51-64中任一项所述的可移动平台,其特征在于,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流有交集。The mobile platform according to any one of claims 51-64, wherein the first part of the code stream is different from the second part of the code stream, and the first part of the code stream is different from the second part of the code stream Code streams have intersection.
  71. 根据权利要求70所述的可移动平台,其特征在于,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述多层增强层码流。The mobile platform according to claim 70, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer A code stream, the first part of the code stream includes the base layer code stream and the first part of the enhancement layer code stream, and the second part of the code stream includes the multi-layer enhancement layer code stream.
  72. 根据权利要求70所述的可移动平台,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述基本层码流和所述多层增强层码流。The mobile platform according to claim 70, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first part of the code stream comprises the base layer code stream, and the second part of the code stream It includes the base layer code stream and the multi-layer enhancement layer code stream.
  73. 根据权利要求51-64中任一项所述的可移动平台,其特征在于,所述处理器在实现通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备时,用于实现:The mobile platform according to any one of claims 51-64, wherein the processor transmits the first part of the multi-layer code stream to the multi-layer code stream through the first wireless communication method. The terminal device is used to realize:
    若所述第一无线通信方式对应的无线信道的信道带宽小于预设信道带宽,则通过所述第一无线通信方式将所述基本层码流传输至终端设备。If the channel bandwidth of the wireless channel corresponding to the first wireless communication manner is smaller than the preset channel bandwidth, the base layer code stream is transmitted to the terminal device through the first wireless communication manner.
  74. 根据权利要求73所述的可移动平台,其特征在于,所述处理器在实现通过所述第一无线通信方式将所述多层码流中的第一部分码流传输至所述终端设备时,用于实现:The mobile platform according to claim 73, wherein when the processor implements the transmission of the first part of the code stream in the multi-layer code stream to the terminal device through the first wireless communication manner, Used to implement:
    若所述第一无线通信方式对应的无线信道的信道带宽大于或等于预设信道带宽,则通过所述第一无线通信方式将所述基本层码流和所述多层增强层码流中的第一部分增强层码流传输至终端设备。If the channel bandwidth of the wireless channel corresponding to the first wireless communication mode is greater than or equal to the preset channel bandwidth, the base layer code stream and the multi-layer enhancement layer code stream are converted by the first wireless communication mode. The first part of the enhancement layer code stream is transmitted to the terminal device.
  75. 根据权利要求51-64中任一项所述的可移动平台,其特征在于,所述基本层码流用于实时图像传输,所述增强层码流用于直播。The mobile platform according to any one of claims 51-64, wherein the base layer code stream is used for real-time image transmission, and the enhancement layer code stream is used for live broadcast.
  76. 一种终端设备,其特征在于,所述终端设备能够通过第一无线通信方式和第二无线通信方式与可移动平台进行通信,所述可移动平台包括拍摄装置,所述可移动平台能够对所述拍摄装置拍摄到的初始图像帧进行分级编码得到多层码流,所述多层码流包括基本层码流和增强层码流,所述终端设备包括存储器和处理器;A terminal device, characterized in that the terminal device can communicate with a movable platform through a first wireless communication mode and a second wireless communication mode, the movable platform includes a photographing device, and the movable platform can The initial image frame captured by the photographing device is subjected to hierarchical encoding to obtain a multi-layer code stream, the multi-layer code stream includes a base layer code stream and an enhancement layer code stream, and the terminal device includes a memory and a processor;
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
    获取所述可移动平台基于所述第一无线通信方式传输的所述多层码流中的第一部分码流,其中,所述第一部分码流至少包括所述基本层码流;acquiring a first partial code stream in the multi-layer code stream transmitted by the mobile platform based on the first wireless communication manner, wherein the first partial code stream includes at least the base layer code stream;
    获取所述可移动平台基于所述第二无线通信方式传输的所述多层码流中的第二部分码流,其中,所述第二部分码流至少包括所述增强层码流;acquiring a second partial code stream in the multi-layer code stream transmitted by the movable platform based on the second wireless communication manner, wherein the second partial code stream includes at least the enhancement layer code stream;
    对所述第一部分码流进行解码,得到第一图像帧,并显示所述第一图像帧;Decoding the first partial code stream to obtain a first image frame, and displaying the first image frame;
    对所述第二部分码流进行解码,得到第二图像帧,并输出所述第二图像帧;Decoding the second partial code stream to obtain a second image frame, and outputting the second image frame;
    其中,所述第一无线通信方式对应的第一传输延时小于所述第二无线通信方式对应的第二传输延时。Wherein, the first transmission delay corresponding to the first wireless communication mode is smaller than the second transmission delay corresponding to the second wireless communication mode.
  77. 根据权利要求76所述的终端设备,其特征在于,所述第一无线通信方式对应的第一传输数据量小于所述第二无线通信方式对应的第二传输数据量。The terminal device according to claim 76, wherein the first transmission data volume corresponding to the first wireless communication mode is smaller than the second transmission data volume corresponding to the second wireless communication mode.
  78. 根据权利要求76所述的终端设备,其特征在于,所述第一无线通信方式为私有通信方式,所述第二通信方式为公有通信方式。The terminal device according to claim 76, wherein the first wireless communication mode is a private communication mode, and the second communication mode is a public communication mode.
  79. 根据权利要求78所述的终端设备,其特征在于,所述公有通信方式包括4G通信或5G通信。The terminal device according to claim 78, wherein the public communication method includes 4G communication or 5G communication.
  80. 根据权利要求76所述的终端设备,其特征在于,所述分级编码包括空间分级编码,解码所述基本层码流得到的图像帧的第一分辨率小于解码所述增强层码流得到的图像帧的第二分辨率。The terminal device according to claim 76, wherein the hierarchical coding comprises spatial hierarchical coding, and the first resolution of the image frame obtained by decoding the base layer code stream is smaller than that of the image obtained by decoding the enhancement layer code stream The second resolution of the frame.
  81. 根据权利要求76所述的终端设备,其特征在于,所述分级编码包括时间分级编码,解码所述基本层码流得到的图像帧的第一帧率小于解码所述增强层码流得到的图像帧的第二帧率。The terminal device according to claim 76, wherein the hierarchical coding comprises temporal hierarchical coding, and the first frame rate of the image frame obtained by decoding the base layer code stream is smaller than that of the image obtained by decoding the enhancement layer code stream The second frame rate of the frame.
  82. 根据权利要求76所述的终端设备,其特征在于,所述分级编码包括信噪比分级编码,解码所述基本层码流得到的图像帧的第一图像质量小于解码所述增强层码流得到的图像帧的第二图像质量。The terminal device according to claim 76, wherein the hierarchical coding comprises signal-to-noise ratio hierarchical coding, and the first image quality of the image frame obtained by decoding the base layer code stream is lower than that obtained by decoding the enhancement layer code stream. The second image quality of the image frame.
  83. 根据权利要求76所述的终端设备,其特征在于,所述基本层码流对应的第一码率小于所述增强层码流对应的第二码率。The terminal device according to claim 76, wherein the first code rate corresponding to the base layer code stream is smaller than the second code rate corresponding to the enhancement layer code stream.
  84. 根据权利要求76所述的终端设备,其特征在于,所述基本层码流对应的第一码率是根据所述第一无线通信方式对应的无线信道的信道带宽确定的。The terminal device according to claim 76, wherein the first code rate corresponding to the base layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  85. 根据权利要求84所述的终端设备,其特征在于,所述基本层码流对应的第一码率小于或等于根据所述第一无线通信方式对应的无线信道的信道带宽确定的最大码率。The terminal device according to claim 84, wherein the first code rate corresponding to the base layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the first wireless communication mode.
  86. 根据权利要求76所述的终端设备,其特征在于,所述增强层码流的第二码率是根据所述第二无线通信方式对应的无线信道的信道带宽确定的。The terminal device according to claim 76, wherein the second code rate of the enhancement layer code stream is determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  87. 根据权利要求86所述的终端设备,其特征在于,所述增强层码流的第二码率小于或等于根据所述第二无线通信方式对应的无线信道的信道带宽确定的最大码率。The terminal device according to claim 86, wherein the second code rate of the enhancement layer code stream is less than or equal to the maximum code rate determined according to the channel bandwidth of the wireless channel corresponding to the second wireless communication mode.
  88. 根据权利要求76-87中任一项所述的终端设备,其特征在于,所述第 一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流无交集。The terminal device according to any one of claims 76-87, wherein the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream are different Streams do not intersect.
  89. 根据权利要求88所述的终端设备,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述多层增强层码流。The terminal device according to claim 88, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first partial code stream includes the base layer code stream, and the second partial code stream includes the multi-layer enhancement layer code stream.
  90. 根据权利要求89所述的终端设备,其特征在于,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:The terminal device according to claim 89, wherein when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
    对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
    所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
    根据所述第一图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the first image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  91. 根据权利要求88所述的终端设备,其特征在于,所述增强层码流为多层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述第二部分增强层码流。The terminal device according to claim 88, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer code stream The first partial code stream includes the base layer code stream and the first partial enhancement layer code stream, and the second partial code stream includes the second partial enhancement layer code stream.
  92. 根据权利要求91所述的终端设备,其特征在于,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:The terminal device according to claim 91, wherein when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
    对所述基本层码流进行解码,得到第三图像帧;Decoding the base layer code stream to obtain a third image frame;
    根据所述第三图像帧,对所述第一部分增强层码流进行解码,得到第一图像帧;decoding the first part of the enhancement layer code stream according to the third image frame to obtain a first image frame;
    所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
    根据所述第一图像帧,对所述第二部分增强层码流进行解码,得到第二图像帧。According to the first image frame, the second part of the enhancement layer code stream is decoded to obtain a second image frame.
  93. 根据权利要求91所述的终端设备,其特征在于,所述第一部分增强层的层级低于所述第二部分增强层码流的层级。The terminal device according to claim 91, wherein the level of the first part of the enhancement layer is lower than the level of the code stream of the second part of the enhancement layer.
  94. 根据权利要求91所述的终端设备,其特征在于,所述第一部分增强层对应的码率小于所述第二部分增强层码流对应的码率。The terminal device according to claim 91, wherein the code rate corresponding to the first part of the enhancement layer is smaller than the code rate corresponding to the code stream of the second part of the enhancement layer.
  95. 根据权利要求76-87中任一项所述的终端设备,其特征在于,所述第一部分码流与所述第二部分码流不同,且所述第一部分码流与所述第二部分码流有交集。The terminal device according to any one of claims 76-87, wherein the first partial code stream and the second partial code stream are different, and the first partial code stream and the second partial code stream are different Flows intersect.
  96. 根据权利要求95所述的终端设备,其特征在于,所述增强层码流为多 层增强层码流,所述多层增强层码流包括第一部分增强层码流和第二部分增强层码流,所述第一部分码流包括所述基本层码流和所述第一部分增强层码流,所述第二部分码流包括所述多层增强层码流。The terminal device according to claim 95, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, and the multi-layer enhancement layer code stream comprises a first part of the enhancement layer code stream and a second part of the enhancement layer code stream The first partial code stream includes the base layer code stream and the first partial enhancement layer code stream, and the second partial code stream includes the multi-layer enhancement layer code stream.
  97. 根据权利要求96所述的终端设备,其特征在于,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:The terminal device according to claim 96, wherein when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
    对所述基本层码流进行解码,得到第三图像帧;Decoding the base layer code stream to obtain a third image frame;
    根据所述第三图像帧,对所述第一部分增强层码流进行解码,得到第一图像帧;decoding the first part of the enhancement layer code stream according to the third image frame to obtain a first image frame;
    所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
    根据所述第三图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the third image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  98. 根据权利要求95所述的终端设备,其特征在于,所述增强层码流为多层增强层码流,所述第一部分码流包括所述基本层码流,所述第二部分码流包括所述基本层码流和所述多层增强层码流。The terminal device according to claim 95, wherein the enhancement layer code stream is a multi-layer enhancement layer code stream, the first partial code stream includes the base layer code stream, and the second partial code stream includes the base layer code stream and the multi-layer enhancement layer code stream.
  99. 根据权利要求98所述的终端设备,其特征在于,所述处理器在实现对所述第一部分码流进行解码,得到第一图像帧时,用于实现:The terminal device according to claim 98, wherein when the processor decodes the first partial code stream to obtain the first image frame, the processor is configured to:
    对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
    所述处理器在实现对所述第二部分码流进行解码,得到第二图像帧时,用于实现:When the processor decodes the second partial code stream to obtain the second image frame, the processor is used to implement:
    对所述基本层码流进行解码,得到第一图像帧;Decoding the base layer code stream to obtain a first image frame;
    根据所述第一图像帧,对所述多层增强层码流进行解码,得到第二图像帧。According to the first image frame, the multi-layer enhancement layer code stream is decoded to obtain a second image frame.
  100. 根据权利要求76-87中任一项所述的终端设备,其特征在于,所述处理器在实现输出所述第二图像帧时,用于实现:The terminal device according to any one of claims 76-87, wherein, when the processor outputs the second image frame, the processor is configured to:
    向直播服务器发送所述第二图像帧。Send the second image frame to the live server.
  101. 一种图像传输系统,其特征在于,所述图像传输系统包括权利要求51-75中任一项所述的可移动平台和权利要求76-100中任一项所述的终端设备,所述可移动平台能够通过第一无线通信方式和第二无线通信方式与所述终端设备进行通信。An image transmission system, characterized in that the image transmission system comprises the movable platform described in any one of claims 51-75 and the terminal device described in any one of claims 76-100, and the movable platform described in any one of claims 76-100. The mobile platform can communicate with the terminal device through the first wireless communication manner and the second wireless communication manner.
  102. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1-50中任一项所述的图像传输方法的步骤。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 processor implements the method described in any one of claims 1-50. The steps of the image transmission method described above.
PCT/CN2020/141842 2020-12-30 2020-12-30 Image transmission method, movable platform, device, system and readable storage medium WO2022141316A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/141842 WO2022141316A1 (en) 2020-12-30 2020-12-30 Image transmission method, movable platform, device, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/141842 WO2022141316A1 (en) 2020-12-30 2020-12-30 Image transmission method, movable platform, device, system and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022141316A1 true WO2022141316A1 (en) 2022-07-07

Family

ID=82260025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/141842 WO2022141316A1 (en) 2020-12-30 2020-12-30 Image transmission method, movable platform, device, system and readable storage medium

Country Status (1)

Country Link
WO (1) WO2022141316A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668210A (en) * 2009-09-28 2010-03-10 浙江大学 Transmission method of broadcast quality audio and video based on commercial wireless network
CN102164124A (en) * 2011-03-15 2011-08-24 中国联合网络通信集团有限公司 Multimedia distribution method and system as well as terminal
WO2012040348A1 (en) * 2010-09-23 2012-03-29 Qualcomm Incorporated Method and apparatus for scalable multimedia broadcast using a multi-carrier communication system
CN105049862A (en) * 2014-04-25 2015-11-11 统一有限责任两合公司 Method and device for transmission of encoded media data
CN112040240A (en) * 2020-11-03 2020-12-04 深圳市大疆创新科技有限公司 Data processing method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668210A (en) * 2009-09-28 2010-03-10 浙江大学 Transmission method of broadcast quality audio and video based on commercial wireless network
WO2012040348A1 (en) * 2010-09-23 2012-03-29 Qualcomm Incorporated Method and apparatus for scalable multimedia broadcast using a multi-carrier communication system
CN102164124A (en) * 2011-03-15 2011-08-24 中国联合网络通信集团有限公司 Multimedia distribution method and system as well as terminal
CN105049862A (en) * 2014-04-25 2015-11-11 统一有限责任两合公司 Method and device for transmission of encoded media data
CN112040240A (en) * 2020-11-03 2020-12-04 深圳市大疆创新科技有限公司 Data processing method, device and storage medium

Similar Documents

Publication Publication Date Title
US11625841B2 (en) Localization and tracking method and platform, head-mounted display system, and computer-readable storage medium
KR102371099B1 (en) Spherical rotation for encoding wide view video
US10969591B2 (en) Image correction apparatus, image correction method and program
US10410562B2 (en) Image generating device and image generating method
WO2017181429A1 (en) Systems and methods for processing image data based on region-of-interest (roi) of a user
CN108702454B (en) Method, system and computing device for video display
EP3596931B1 (en) Method and apparatus for packaging and streaming of virtual reality media content
US10412202B2 (en) Method and device for encoding/decoding a packet comprising data representative of a haptic effect
KR102606976B1 (en) Electronic device and method for transmitting and receiving image data in electronic device
EP3510780B1 (en) Method and apparatus for session control support for field of view virtual reality streaming
CN116134809A (en) Method and apparatus for transmitting 3D XR media data
US11924391B2 (en) Immersive video streaming using view-adaptive prefetching and buffer control
KR20150026201A (en) A digital device and method of controlling the same
EP3179336A1 (en) Method and device for rendering haptic effects in an immersive content
WO2022141316A1 (en) Image transmission method, movable platform, device, system and readable storage medium
WO2022000350A1 (en) Video transmission method, mobile platform, terminal device, video transmission system, and storage medium
WO2022140971A1 (en) Image transmission method and apparatus, platform, device and computer-readable storage medium
WO2021249562A1 (en) Information transmission method, related device, and system
WO2022217555A1 (en) Image transmission method for unmanned aerial vehicle, and unmanned aerial vehicle and computer-readable storage medium
WO2022217557A1 (en) Image transmission method for movable platform, movable platform, and readable storage medium
WO2022174431A1 (en) Image transmission method, mobile platform, device, and computer readable storage medium
WO2023065126A1 (en) Photography control method, device, photographing system and storage medium
WO2022141121A1 (en) Image transmission method, mobile platform, remote control device, system, and storage medium
US20240032118A1 (en) Wireless communication method, movable platform, system, and computer-readable storage media
US11956409B2 (en) Immersive media interoperability

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20967655

Country of ref document: EP

Kind code of ref document: A1