Projection data processing method and apparatus

The method addresses wireless projection delays by dynamically adjusting image resolution and employing super-resolution techniques to enhance user experience in diverse scenarios.

JP7533854B2Active Publication Date: 2024-08-14HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023504158
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-07-30
Filing Date
2021-05-19
Publication Date
2024-08-14
Estimated Expiration
2041-05-19

AI Technical Summary

Technical Problem

Existing wireless projection technologies suffer from significant delays, ranging from 100ms to 2000ms, which adversely affect user experience, particularly in gaming applications where real-time interaction is crucial.

Method used

A projection data processing method that dynamically adjusts the image resolution based on network quality and usage scenarios, combining network state information with layer synthesis to optimize data transmission, and employs super-resolution techniques on the receiving end to enhance image quality.

Benefits of technology

Reduces projection delays and improves user experience by minimizing data transmission while maintaining high image quality, especially in scenarios with poor network conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533854000002
    Figure 0007533854000002
  • Figure 0007533854000009
    Figure 0007533854000009
  • Figure 0007533854000007
    Figure 0007533854000007
Patent Text Reader

Abstract

An embodiment of the present application discloses a projection data processing method for reducing delay in a wireless projection process. In this embodiment, the method includes: a projection transmitting end obtains network status information, determines a target resolution of the image to be projected based on the network status information, and then determines a layer to be composited based on whether the image to be projected is in a full-screen scenario. Therefore, the amount of data to be transmitted during projection can be reduced, and projection delay can be reduced. In addition, the projection receiving end can perform super-resolution on the image to be projected to avoid image quality damage caused by reducing the amount of data transmitted by the transmitting end. This solution reduces projection delay, ensures projection image quality, and improves user experience.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to Chinese Patent Application No. 202010753147.3, entitled “PROJECTION DATA PROCESSING METHOD AND APPARATUS,” filed with the State Intellectual Property Office of the People's Republic of China on July 30, 2020, the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of projection technology, in particular to a projection data processing method and device. [Background technology]

[0003] In recent years, with the rapid development of intelligent terminals, mobile phones, tablet computers, computers, projectors and smart TVs are continuously upgraded. Wireless projection technology enables interaction between multiple screens, and the corresponding application scenarios are more diverse and widespread. Under this background, there is a strong demand for seamless transfer of mobile-centric streaming media resources between devices.

[0004] In the past one or two years, wireless projection has been a mode of interaction between multiple screens. Common scenarios include screen mirroring, game projection, and multi-screen interaction. The mainstream wireless projection protocols include the digital living network alliance (DLNA®), Apple® Airplay, and the Wi-Fi® Alliance-designated wireless display standard (Miracast).

[0005] At present, the latency of these three mainstream wireless projection modes is about 100ms to 2000ms, which is long and cannot meet the requirements of direct wireless projection in gaming applications, resulting in a poor user experience. Summary of the Invention

[0006] SUMMARY OF THE DISCLOSURE The embodiments of the present application provide a method for processing projection data to reduce projection delay and improve user experience.

[0007] A first aspect of an embodiment of the present application provides a projection data processing method, the method including: a terminal acquiring network state information, where the network state information indicates a quality of a communication link between the terminal and a projection device; the terminal determining a target resolution of an image to be projected based on the network state information; and the terminal synthesizing image data based on the target resolution and transmitting the image data to the projection device, where the image data is used by the projection device to display the image to be projected.

[0008] The projected image may be understood as a still image, e.g. a picture, or as a sequence of dynamic images, e.g. a video.

[0009] According to the projection data processing method provided in this embodiment of the present application, the terminal determines the target resolution of the image to be projected by obtaining network status information indicating the quality of the communication link between the terminal and the projection device, and adjusts the target resolution based on the real-time network status information. Compared with the prior art in which the image is transmitted at a fixed resolution, this method can be more flexibly adapted to the current scenario. In this method, the target resolution is determined by considering the network status information, and the amount of image data can be reduced by adjusting the resolution when the quality of the wireless network communication is poor, thereby reducing the video image delay during projection and improving the user experience.

[0010] In a possible implementation of the first aspect, the target resolution is positively correlated with the quality of the communication link.

[0011] According to the projection data processing method provided in this embodiment of the present application, for example, when the quality of the communication link is poor, the image is transmitted at a low resolution to reduce delay, and when the quality of the communication link is good, the image is transmitted at a high resolution to improve the projection image quality.

[0012] In a possible implementation of the first aspect, the network status information comprises a received signal strength indicator RSSI.

[0013] According to the projection data processing method provided in this embodiment of the present application, the quality of the communication link may be measured by using RSSI signal, including the wireless communication link established based on Wi-Fi protocol, the wireless communication link established based on cellular mobile network protocol, or the like. Optionally, the correspondence between the value of RSSI and the target resolution is preset. Therefore, the target in the current network state may be determined based on the RSSI signal.

[0014] In a possible implementation of the first aspect, the terminal determining a target resolution of the projected image based on the network state information includes the terminal determining that the target resolution is a first resolution if the RSSI value is greater than or equal to a first threshold; the terminal determining that the target resolution is half the first resolution if the RSSI value is less than the first threshold and greater than or equal to a second threshold, where the second threshold is less than the first threshold; or the terminal determining that the target resolution is one-third of the first resolution if the RSSI value is less than the second threshold.

[0015] According to the projection data processing method provided in this embodiment of the present application, the quality of the communication link between the terminal and the projection device may be classified into three cases according to the preset RSSI value range and the first resolution. The lower the quality of the communication link, the lower the corresponding target resolution is, and the smaller the amount of data of the projection target image to be synthesized is. This can reduce the impact on the quality of the communication link and reduce the projection delay.

[0016] In a possible implementation, the first resolution is the resolution of the layer to be composited. This information may be obtained by SurfaceFlinger obtaining all layer information for the current frame, including the application name of the layer, the actual resolution of the source of the layer, and the like.

[0017] In a possible implementation of the first aspect, the method further includes the terminal determining a current usage scenario; and the terminal synthesizing image data based on the target resolution includes the terminal selectively synthesizing the image data based on the usage scenario and the target resolution.

[0018] According to the projection data processing method provided in this embodiment of the present application, the current usage scenario is further taken into consideration, and image data is selectively synthesized based on the scenario and target resolution, so that the amount of data during wireless projection can be further reduced.

[0019] In a possible implementation of the first aspect, the terminal determining a current usage scenario includes the terminal determining whether the projected image is in a full-screen scenario; and the terminal selectively synthesizing the image data based on the usage scenario and the target resolution includes, if the terminal determines that the projected image is in the full-screen scenario, the terminal synthesizing only an application layer of all layers of the projected image based on the target resolution; or, if the terminal determines that the projected image is in a non-full-screen scenario, the terminal synthesizing a system layer and an application layer of the projected image based on the target resolution.

[0020] According to the projection data processing method provided in this embodiment of the present application, the terminal may further determine whether the current image display scenario information is a full-screen display scenario. If the current image display scenario information is a full-screen display scenario, only the application layer needs to be synthesized, encoded, and sent to the projection device. Therefore, the amount of data to be sent for projection may be further reduced, the wireless projection delay may be reduced, and the user experience may be improved.

[0021] In a possible implementation of the first aspect, the terminal determining whether the projected image is in a full-screen scenario includes the terminal determining that the projected image is in the full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold; or the terminal determining that the projected image is in the non-full-screen scenario if the source resolution of the application layer is less than a third threshold.

[0022] The projection target image displayed by the terminal may have two scenarios. One is a full-screen display scenario, such as a full-screen game picture and a full-screen picture in a video application. The full-screen display scenario may be called a full-screen scenario. The other is a non-full-screen display scenario, such as a desktop scenario or a video picture played in a small window, also called a non-full-screen scenario. This embodiment provides a specific method for determining whether the projection target image is in a full-screen scenario, that is, for determining the source resolution of the application layer. Since the source resolution of the application layer changes in different display scenarios, the resolution in the full-screen scenario is higher than the resolution in the non-full-screen scenario. A third threshold is set, and whether the current projection target image is in a full-screen scenario may be simply but roughly determined through comparison.

[0023] In a possible implementation of the first aspect, the terminal determining whether the projected image is in a full-screen scenario includes the terminal determining that the projected image is in the full-screen scenario if the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen; or the terminal determining that the projected image is in the non-full-screen scenario if the pixel aspect ratio of the application layer is different from the pixel aspect ratio of a screen.

[0024] This embodiment provides another specific method for determining whether the image to be projected is in a full-screen scenario, that is, whether the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen. Since the pixel aspect ratio of the application layer usually changes in different display scenarios, in a full-screen scenario, the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen; while in a non-full-screen scenario, the pixel aspect ratio of the application layer may be different from the pixel aspect ratio of the screen. In this solution, whether the image to be currently projected is in a full-screen scenario may be simply but roughly determined.

[0025] In a possible implementation of the first aspect, the terminal determining whether the projected image is in a full-screen scenario includes: the terminal determining that the projected image is in the full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold and the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen; or the terminal determining that the projected image is in the non-full-screen scenario if the source resolution of the application layer is less than a third threshold or the pixel aspect ratio of the application layer is different from the pixel aspect ratio of a screen.

[0026] This embodiment provides another specific method for determining whether the image to be projected is in a full-screen scenario. In addition, the source resolution of the application layer is taken into consideration to determine whether the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen. In some special cases, in full-screen or non-full-screen scenarios, the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen. Alternatively, when using a small window with high resolution to play a picture, only the source resolution of the application layer is used for the determination, and the non-full-screen scenario may be erroneously determined as a full-screen scenario. In this solution, both factors are taken into consideration, so that the accuracy of scenario determination can be improved.

[0027] In a possible implementation of the first aspect, the terminal determining whether the image to be projected is in a full-screen scenario includes: the terminal determining that the image to be projected is in the full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold, the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen, and a preset layer identifier set includes an identifier of the application layer; or the terminal determining that the image to be projected is in the non-full-screen scenario if the source resolution of the application layer is smaller than a third threshold, the pixel aspect ratio of the application layer is different from the pixel aspect ratio of a screen, or a preset layer identifier set does not include an identifier of the application layer.

[0028] This embodiment provides another specific method for determining whether the image to be projected is in a full-screen scenario. In addition, the source resolution of the application layer is taken into consideration, and it is determined whether the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen, and the layer name is determined. In rare special cases, the scenario may still be determined incorrectly based on the pixel aspect ratio and source resolution of the application layer. In this solution, the layer name may be further taken into consideration. Optionally, the terminal pre-sets a layer name whitelist, and the layer corresponding to the layer name in the layer name whitelist is the layer that can be displayed in full screen. In this way, the accuracy of the scenario determination may be further improved.

[0029] In a possible implementation of the first aspect, the terminal synthesizing image data based on the target resolution includes the terminal synthesizing the image data based on the target resolution and a first frame rate, where the first frame rate is lower than a frame rate at which the projected image is displayed on the terminal.

[0030] According to the projection data processing method provided in this embodiment of the present application, for video-type dynamic image data, the terminal may further perform frame reduction processing on the projection target image to further reduce the amount of data that needs to be transmitted for projection, thereby reducing the projection delay and improving the user experience.

[0031] A second aspect of an embodiment of the present application provides a projection data processing method, the method including: a projection device receiving a projection target image of a first resolution; the projection device performing super-resolution on the projection target image of the first resolution based on a pre-configured neural network model by using a graphics processing unit GPU to obtain an image of a second resolution; and the projection device displaying the image of the second resolution.

[0032] According to the projection data processing method provided in this embodiment of the present application, the projection device may use the GPU to perform super-resolution on the projection target image of the first resolution sent by the terminal to improve the resolution of the displayed image. The projection device usually has a high display resolution and is limited by wireless transmission delay, so that the resolution of the received projection target image is usually low. Before playing the image, the super-resolution process is performed on the image, so that the image display definition can be improved, the image quality can be improved, and the user experience can be improved.

[0033] In a possible implementation of the second aspect, the image to be projected includes a first image frame; and the projection device performing super-resolution on the image of the first resolution based on a pre-configured neural network model by using a graphics processing unit GPU to obtain an image of a second resolution includes the projection device performing decoding and super-resolution on the first image frame in one audio and video synchronization period to obtain decoded image data of the second resolution.

[0034] Generally, the projection device decodes one frame of image in one audio and video synchronization period, and transmits the image for display after the next period arrives. According to the projection data processing method provided in this embodiment of the present application, the projection device may complete the decoding and super-resolution in one audio and video synchronization period, so that the extra projection delay is not increased due to the super-resolution.

[0035] In a possible implementation of the second aspect, if the first frame rate of the projection target image is less than a fourth threshold, the projection device performs frame interpolation on the projection target image to obtain a projection target image at a second frame rate.

[0036] According to the projection data processing method provided in this embodiment of the present application, the terminal reduces the projection delay through frame subtraction, so that the projection device can accordingly increase the frame rate through frame interpolation. If the projection device determines that the frame rate of the image to be projected is low, the projection device can perform intelligent frame interpolation to improve the playback image quality.

[0037] In a possible implementation of the second aspect, the projected target image at the first resolution includes the image data to be synthesized in any one of the first aspect and possible implementations of the present application.

[0038] According to the projection data processing method provided in this embodiment of the present application, the projection target image received by the projection device may be the image data to be synthesized in the first aspect of the present application and any one of the possible implementations. In this way, the first resolution is the target resolution, and the projection device can reduce the image quality loss caused by the resolution reduction of the terminal through super-resolution. Therefore, the projection process can meet low delay and ensure the projection image quality, thereby greatly improving the user experience.

[0039] A third aspect of an embodiment of the present application provides a projection data processing apparatus, comprising: an acquisition unit configured to acquire network state information, where the network state information indicates a quality of a communication link between a terminal and a projection device; a determination unit configured to determine a target resolution of an image to be projected based on the network state information; and a synthesis unit configured to synthesize image data based on the target resolution and send the image data to the projection device, where the image data is used by the projection device to display the image to be projected.

[0040] In a possible implementation of the third aspect, the target resolution is positively correlated with the quality of the communication link.

[0041] In a possible implementation of the third aspect, the network status information comprises a received signal strength indicator RSSI.

[0042] In a possible implementation of the third aspect, the determination unit is specifically configured to determine that the target resolution is a first resolution if the RSSI value is greater than or equal to a first threshold; determine that the target resolution is half the first resolution if the RSSI value is less than the first threshold and greater than or equal to a second threshold, where the second threshold is less than the first threshold; or determine that the target resolution is one-third of the first resolution if the RSSI value is less than the second threshold.

[0043] In a possible implementation of the third aspect, the determination unit is further configured to determine a current usage scenario; and the synthesis unit is specifically configured to selectively synthesize the image data based on the usage scenario and the target resolution.

[0044] In a possible implementation of the third aspect, the determination unit is specifically configured to determine whether the image to be projected is in a full-screen scenario; and the synthesis unit is specifically configured to synthesize only an application layer of all layers of the image to be projected based on the target resolution if the image to be projected is determined to be in the full-screen scenario; or to synthesize a system layer and an application layer of the image to be projected based on the target resolution if the image to be projected is determined to be in a non-full-screen scenario.

[0045] In a possible implementation of the third aspect, the determination unit is specifically configured to determine that the projected image is in the full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold; or to determine that the projected image is in the non-full-screen scenario if the source resolution of the application layer is less than a third threshold.

[0046] In a possible implementation of the third aspect, the determination unit is specifically configured to determine that the image to be projected is in the full-screen scenario if the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen; or to determine that the image to be projected is in the non-full-screen scenario if the pixel aspect ratio of the application layer is different from the pixel aspect ratio of a screen.

[0047] In a possible implementation of the third aspect, the determination unit is specifically configured to determine that the projected image is in the full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold and the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen; or to determine that the projected image is in the non-full-screen scenario if the source resolution of the application layer is smaller than a third threshold or the pixel aspect ratio of the application layer is different from the pixel aspect ratio of a screen.

[0048] In a possible implementation of the third aspect, the determination unit is specifically configured to determine that the image to be projected is in the full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold, the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen, and a preset set of layer identifiers includes an identifier of the application layer; or to determine that the image to be projected is in the non-full-screen scenario if the source resolution of the application layer is smaller than a third threshold, the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen, or the preset set of layer identifiers does not include an identifier of the application layer.

[0049] In a possible implementation of the third aspect, the synthesis unit is specifically configured to synthesize the image data based on the target resolution and a first frame rate, where the first frame rate is lower than the frame rate at which the projected image is displayed on the terminal.

[0050] A fourth aspect of an embodiment of the present application provides a projection data processing apparatus, comprising: a receiving unit configured to receive a projection target image at a first resolution; an acquiring unit configured to perform super-resolution on the projection target image at the first resolution based on a pre-configured neural network model by using a graphics processing unit GPU to acquire an image at a second resolution; and a display unit configured to display the image at the second resolution.

[0051] In a possible implementation of the fourth aspect, the projected image includes a first image frame; and the acquisition unit is specifically configured to perform decoding and super-resolution on the first image frame in one audio and video synchronization period to obtain decoded image data of the second resolution.

[0052] In a possible implementation of the fourth aspect, the device further includes a processing unit configured to perform frame interpolation on the projection target image to obtain a projection target image at a second frame rate when the first frame rate of the projection target image is less than a fourth threshold.

[0053] In a possible implementation of the fourth aspect, the projected target image at the first resolution includes the image data that is combined in the first aspect and various possible implementations.

[0054] A fifth aspect of an embodiment of the present application provides a projection system including a transmitting end and a receiving end, the transmitting end being connected to the receiving end via a wireless communication link, the transmitting end having a projection data processing device in the third aspect of the present application and any one of the possible implementations, and the receiving end having a projection data processing device in the fourth aspect of the present application and any one of the possible implementations.

[0055] According to the projection system provided in this embodiment of the present application, the terminal adjusts the target resolution by sensing real-time network status information, and the projection device performs super-resolution on the received projection target image to reduce the image quality loss caused by the resolution reduction of the terminal. Therefore, the projection process can meet low latency and ensure image quality, thereby greatly improving the user experience.

[0056] A sixth aspect of the present embodiment provides a terminal, including a memory and one or more processors. The memory stores computer-readable instructions. The one or more processors read the computer-readable instructions, and the terminal can execute the method in the first aspect and any one of the possible implementations.

[0057] A seventh aspect of the present embodiment provides a projection device, including a memory and one or more processors. The memory stores computer-readable instructions. The one or more processors read the computer-readable instructions, and the terminal can execute the method in the second aspect and any one of the possible implementations.

[0058] An eighth aspect of an embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, can cause the computer to perform the method of the first aspect, the second aspect, and any one of the possible implementations.

[0059] A ninth aspect of an embodiment of the present application provides a computer-readable storage medium comprising instructions, which, when executed on a computer, can cause the computer to perform the method of the first aspect, the second aspect, and any one of the possible implementations.

[0060] A tenth aspect of the present embodiment provides a chip including a processor. The processor is configured to read and execute a computer program stored in a memory to perform the method in the first aspect, the second aspect, and any one of the possible implementations. Optionally, the chip includes a memory, and the memory and the processor are connected to the memory by using a circuit or a wire. Furthermore, optionally, the chip further includes a communication interface, and the processor is connected to the communication interface. The communication interface is configured to receive data and / or information that needs to be processed. The processor obtains the data and / or information from the communication interface, processes the data and / or information, and outputs the processing result through the communication interface. The communication interface may be an input / output interface.

[0061] For technical effects brought about by any implementation of the third aspect, the fourth aspect, or the sixth to tenth aspects, please refer to the technical effects brought about by the corresponding implementation of the first aspect or the second aspect, and will not be described in detail again in this specification.

[0062] According to the above technical solutions, it can be seen that the embodiments of the present application have the following advantages:

[0063] According to the projection data processing method provided in this embodiment of the present application, the terminal may obtain current network status information, determine a target resolution of the image to be projected based on the network status information, and adjust the target resolution based on the real-time network status. If the quality of the communication link between the terminal and the projection device is poor, the target resolution may be reduced to reduce the amount of data that needs to be transmitted during wireless projection, thereby reducing delay and improving user experience.

[0064] In addition, in this method, the terminal may further obtain the source resolution and screen resolution of the application layer in the projection target image, and determine whether the current projection target scenario is a full-screen scenario according to the source resolution and screen resolution of the application layer. In the full-screen scenario, only the information on the application layer may be displayed, that is, only the image data of the application layer needs to be sent to the projection device; while in the non-full-screen scenario, the image information of the application layer and the system layer needs to be displayed, so that the image data sent by the projection device needs to include the image information of the application layer and the system layer. The terminal determines the composite image layer in the projection target image according to the scenario, determines the composite target resolution according to the current network state, and composites, encodes and transmits the composite image layer according to the network state and the actual projection requirement. This can further reduce the amount of data that needs to be transmitted in wireless projection, thereby reducing delay and improving user experience.

[0065] In addition, according to the projection data processing method provided in this embodiment of the present application, the projection receiving end, i.e., the projection device, may perform super-resolution on the received image data of a first resolution, obtain image data of a second resolution, and display the image data, thereby improving the resolution of the displayed image, fully utilizing the performance of the projection device, improving image quality, and improving user experience.

[0066] According to the projection system provided in this embodiment of the present application, the terminal senses the current projection target scenario and network state to reduce the amount of image data transmitted, and cooperates with the super-resolution processing of the projection device to ensure the projection image quality when the image data is reduced. The projection system has a short projection delay and high projection image quality, thereby greatly improving the user experience. [Brief description of the drawings]

[0067] [Figure 1] Schematic diagram of a wireless projection scenario;

[0068] [Diagram 2] 1 is a schematic diagram of a technical framework of wireless projection according to an embodiment of the present application;

[0069] [Diagram 3] FIG. 2 is a schematic diagram of an embodiment of a projection data processing method at a projection transmitting end according to an embodiment of the present application;

[0070] [Figure 4a] FIG. 2 is a hierarchical structure diagram of a graphics software system of a terminal according to an embodiment of the present application;

[0071] [Figure 4b] 1 is a schematic diagram of the main steps of a perception module according to an embodiment of the present application;

[0072] [Figure 5a]FIG. 2 is a schematic diagram of an embodiment of a projection data processing method at a projection receiving end according to an embodiment of the present application;

[0073] [Figure 5b] 1 is a schematic diagram of an inference calculation of a projection device according to an embodiment of the present application;

[0074] [Figure 6] 1 is a schematic diagram of a process of audio and video synchronous integrated super-resolution according to an embodiment of the present application;

[0075] [Figure 7a] FIG. 2 is a hierarchical structure diagram of a graphics software system of a projection device according to an embodiment of the present application;

[0076] [Figure 7b] 1 is a schematic diagram of the main steps of a super-resolution module according to an embodiment of the present application;

[0077] [Figure 8] 1 is a schematic diagram of an embodiment of a projection data processing apparatus according to an embodiment of the present application;

[0078] [Figure 9] 1 is a schematic diagram of an embodiment of a projection data processing apparatus according to an embodiment of the present application;

[0079] [Figure 10] FIG. 1 is a schematic diagram of an embodiment of a terminal according to an embodiment of the present application; and

[0080] [Figure 11] 1 is a schematic diagram of an embodiment of a projection device according to an embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0081] SUMMARY OF THE DISCLOSURE The embodiments of the present application provide a method for processing projection data to reduce projection delay and improve user experience.

[0082] For ease of understanding, the following briefly describes some technical terms in the embodiments of the present application.

[0083] 1.Wireless projection

[0084] Wireless projection is also called wireless screen sharing, flying screen, or screen sharing. Specifically, the picture of device A (e.g. mobile phone, tablet, notebook computer, or computer) is displayed on the screen of another device B (e.g. tablet, notebook computer, TV, all-in-one machine, or projector) in "real-time" by using wireless transmission technology, and the output content includes various media information or real-time operation picture. At present, mature solutions that support wireless projection technology include Apple's Airplay screen mirroring, Wi-Fi Alliance's Miracast protocol, and another company's DLNA push.

[0085] Through wireless projection, meeting contents, multimedia files, game pictures, movies and video pictures can be displayed on another screen and interacted without cable connection. Users can get rid of constraints and enjoy a faster and freer projection experience. Wireless projection technology is closely related to our lives and provides more convenience for work and entertainment.

[0086] 2. Images

[0087] An image in this embodiment of the present application may be a still image, e.g., a picture, or a series of dynamic images, e.g., a video. "Image", "video frame", and "frame" may be used synonymously. An image may be obtained by compositing multiple layers.

[0088] 3. Layers

[0089] When an image is displayed on the display screen of the terminal, the displayed image may be obtained by compositing two types of layers. These two types of layers are an application layer and a system layer, respectively. The application layer is a main content display layer, and its resolution may be set or determined according to a user's selection of a display window size. The system layer is a user interface layer obtained by locally performing 2D drawing on a terminal application, and generally includes a status bar, a control menu, prompt information, and the like. The resolution of the system layer is generally the system resolution of the terminal.

[0090] Generally, when displaying a picture in a non-full screen scenario, the terminal synthesizes the application layer and the system layer in an online or offline manner, and then displays the image obtained through synthesis. A plurality of layers perform synthesis according to a preset rule to obtain an image with a preset resolution. The specific synthesis process belongs to the prior art, and will not be described in detail again in this specification. However, in a full screen display scenario, such as a full screen game scenario or a full screen video playback scenario, the terminal may only display the application layer.

[0091] It should be noted that the data included in a single layer is image data, and the data included in a display picture obtained by synthesizing multiple layers is also image data. In this embodiment of the present application, for ease of distinction, the image data used to be displayed on the terminal is called an image, and the image data corresponding to a single layer used to synthesize an image is called a layer. When the image displayed includes only one layer (e.g., in a full screen scenario, only the application layer is displayed), it can be understood that the image and the layer correspond to the same image data.

[0092] 4. Frame rate

[0093] The frequency (rate) at which bitmapped images are successively presented on a display in frames. The unit of measurement is "frames per second" (FPS) or "Hertz". FPS is commonly used to describe the number of frames played per second in film, electronic drawings, or games.

[0094] 5. Resolution

[0095] To avoid confusion, several resolution-related terms are explained and distinguished below.

[0096] Image resolution: refers to the amount of information stored in an image, i.e., the number of pixels in an image per inch (1 inch = 2.54 cm), and is usually expressed as "the number of horizontal pixels x the number of vertical pixels" or a specification code. For example, if the image resolution is 640*480, the number of horizontal pixels is 640, and the number of vertical pixels is 480, the resolution is 307200 pixels, i.e., 300,000 pixels. The resolution is 720P. The code P indicates progressive scanning. The resolution corresponding to 720P is 1280*720. Similarly, the resolution corresponding to 1080P is 1920*1080. It can be understood that the higher the resolution of an image, the more data it contains, and can also present richer details, but more computer storage resources are required.

[0097] Display resolution: refers to the physical resolution of the computer display itself. For CRT displays, it refers to the phosphor dots on the screen. For LCD displays, it refers to the pixels on the display. Display resolution is determined during the manufacture of the display. It represents the number of pixels on the display itself and is essentially an unchanging value. Display resolution is usually expressed as "number of horizontal pixels x number of vertical pixels", for example, 800 x 600, 1024 x 768, and 1280 x 1024 formats, or specification codes. Display resolution is very important for display devices. For the same size screen size, the higher the resolution, the more delicate the screen is, that is, the more clearly the image details can be presented, which can greatly improve the user's visual experience.

[0098] Screen Resolution: refers to the resolution used by a computer to display images and can be set as needed. The screen resolution must be less than or equal to the display resolution.

[0099] In addition, the following terms are further used in the embodiments of the present application:

[0100] (1) Layer source resolution: belongs to the image resolution and indicates the amount of information stored in the layer.

[0101] (2) Resolution of target display area: belongs to the screen resolution and indicates the size of the display area of ​​the image on the screen.

[0102] The following describes the embodiments of the present application with reference to the accompanying drawings. It is clear that the described embodiments are only a part of the embodiments of the present application, not all of them. Those skilled in the art can find that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application can also be applied to similar technical problems.

[0103] In the present specification, claims, and accompanying drawings, the terms "first", "second", etc. are intended to distinguish between similar objects and do not necessarily indicate a specific order or sequence. It should be understood that data named in such a manner may be interchanged in appropriate circumstances so that the embodiments of the invention described herein can be implemented in other orders than those illustrated or described herein. Also, the terms "include", "contain", and any other variations are meant to cover non-exclusive inclusions, e.g., a process, method, system, product, or device that includes a list of steps or modules is not necessarily limited to those steps or modules, but may include other steps or modules not expressly listed or inherent to such process, method, system, product, or device. The names or numbers of steps in this application do not imply that the steps in a method procedure must be performed in the chronological / logical order indicated by the names or numbers. The order of execution of steps in a named or numbered procedure can be changed based on the technical objective to be achieved, so long as the same or similar technical effect can be achieved.

[0104] The embodiments of the present application are applicable to multiple types of wireless projection scenarios, such as live video services, video calling services, and video conference services, including game projection, real-time streaming media services, and the like. As shown in FIG. 1, the wireless projection scenario includes a terminal 100 and a projection device 200.

[0105] The terminal 100 is the data transmitting end, or called the sender, in the wireless projection scenario. For example, the terminal may be a mobile phone, a notebook computer, or a tablet computer.

[0106] The projection device 200, i.e., the data receiving end in the wireless projection scenario, or the receiving end called the receiving side, has an image display function. The projection device 200 and the terminal 100 are usually located in the same scenario. For example, the projection device 200 and the terminal 100 are located in the same house, or in the same office, or in the same activity place, etc. The projection device 200 can be a computer, a smart TV, a smart screen, or the like.

[0107] The terminal 100 may project a display picture onto the projection device 200, so that the projection device 200 and the terminal 100 perform synchronous display. The above process of the terminal projecting a display picture onto the projection device may also be called "projection", "screen transfer", or "one-screen interaction", etc. The size of the display screen of the terminal 100 is usually small, so that when a user uses the terminal 100 to view an image or video picture, the user's visual experience is poor. However, the size of the display screen of the projection device 200 is usually large, or the size of the display device is large. Therefore, the display picture of the terminal 100 is projected onto the projection device 200, and the user uses the projection device 200 to view the display picture, so that the user's visual experience may be improved.

[0108] The terminal 100 communicates with the projection device 200 by using a wireless network. The wireless network includes a network established according to one or a combination of the following protocols: Wireless Fidelity protocol, Bluetooth protocol, or cellular mobile network protocol. Optionally, the terminal transmits image data to the projection device by using Wi-Fi. Optionally, the terminal transmits image data to the projection device by using 5G.

[0109] Generally, the delay range of wireless data transmission between the terminal 100 and the projection device 200 is about 100 milliseconds (ms) to 2000 ms, and the delay is moderate. In scenarios with high real-time requirements, such as game projection scenarios, the user experience is poor. The projection delay is related to the amount of image data transmitted. If the amount of data is reduced by simply reducing the resolution of the image data, the image quality will be affected, and the projected image will be blurred, affecting the user experience.

[0110] In this embodiment of the present application, in one aspect, the real-time network condition of the wireless network during wireless projection is considered, and when the quality of the wireless network communication link is high, the composition, encoding and transmission may be performed based on the source resolution of the image layer to be composited; and when the quality of the communication link is poor, the resolution of each image layer to be composited may be appropriately reduced. In another aspect, the terminal considers a specific application scenario in which the terminal displays an image, and in a full-screen display scenario, for example, a full-screen game scenario or a full-screen video playback scenario, only the application layer may be displayed, and the system layer is hidden. Therefore, in the full-screen display scenario, the terminal may only send the image data of the application layer to the projection device. In a non-full-screen display scenario, for example, a desktop display scenario, the application layer and the system layer need to be composited and then displayed. Therefore, in a non-full-screen display scenario, the terminal needs to send the image data of all layers to the projection device.

[0111] According to the projection data processing method provided in the present application, the target resolution and the image layers to be synthesized in the image data are determined based on the layer information and the network status information. In the full screen scenario, the number of layers to be transmitted is reduced, and the resolution is reduced when the quality of the communication link is poor, so as to reduce the amount of image data transmitted during wireless projection, thereby avoiding the video image delay during projection and improving the user experience.

[0112] In addition, in the current wireless projection technology, the transmitting end may unify the resolution of the projection target image to 720P or 1080P, and transmit the projection target image to the projection device. However, the projection device usually supports higher resolution, such as 2K / 4K / 8K. After receiving the wireless projection data frame, the projection device linearly stretches the data frame to the resolution supported by the TV, resulting in blurring. In addition, in some scenarios, the actual resolution of the layer at the transmitting end is lower than 720P or 1080P, and the transmitting end uniformly stretches and zooms in the layer before transmission, which affects the image quality and increases the load of encoding, decoding, and transmission.

[0113] According to the projection data processing method provided in this application, the projection device performs super-resolution on the image transmitted by the terminal to improve the resolution and improve the image quality for display, which can reduce the image quality degradation caused by the image resolution reduction at the transmitting end in poor network conditions, thus shortening the projection delay and improving the image quality, thereby greatly improving the user experience.

[0114] A brief description of projection techniques follows. FIG. 2 is a schematic diagram of a technical framework of wireless projection according to an embodiment of the present application.

[0115] The sender is, for example, a mobile phone, a synthesizer service (hereinafter, the SurfaceFlinger service in the Android system is used as an example). The SurfaceFlinger service may obtain each layer of an image to be displayed, including image data and layer information. In one aspect, the image is synthesized by a display subsystem (DSS), and the obtained image is displayed on the display screen of the mobile phone. In another aspect, the image data to be synthesized in each layer is sent to an encoder by using a GPU, and then the image data is encrypted and packaged, and then transmitted through a transmission protocol such as VIP / TCP. In this application, an intelligent perception module is added. In an intelligent perception scenario, the synthesizer is guided to select an appropriate layer for synthesis based on the network state and the target resolution determined based on the network state and the scenario, so that the transmission load can be effectively ensured and the projection delay can be reduced.

[0116] The receiving end is usually a large-screen display. The data is received, packaged, and decoded, and the data is sent to a decoder, and then the data is sent to an audio and video synchronization module for display. The newly added super-resolution module is combined with the existing audio and video synchronization module to periodically perform super-resolution by audio and video synchronization to further improve the display image quality before sending for display.

[0117] The projection data processing method of the projection transmitting end in the embodiment of the present application will be described below with reference to FIG.

[0118] 301: The terminal acquires the network status.

[0119] The terminal obtains real-time network conditions, and the network condition information indicates the quality of the communication link between the terminal and the projection device.

[0120] Optionally, the status of the current Wi-Fi connection is obtained in real time by using the Wi-Fi manager, i.e., by getting the received signal strength indication (RSSI) of the current connection and obtaining the signal strength dependent getRssi interface. If the network is connected, the RSSI value is an integer in the range 0 to 100. If the network is disconnected, the RSSI value is -200.

[0121] 302: The terminal obtains the source resolution of the application layer of the image to be projected.

[0122] The projection target image is an image to be transmitted by the terminal to the projection device through wireless projection, and the terminal may obtain the source resolution of the application layer of the image currently to be displayed by the system.

[0123] Optionally, the terminal obtains the source resolution of the application layer of the current projected image by using a system service (SurfaceFlinger). In general, the terminal uses SurfaceFlinger to composite the system layer and the application layer to obtain the image to be displayed. In this embodiment of the present application, the terminal may obtain layer information of each layer in the image by using SurfaceFlinger. The layer information includes the layer name, the source resolution of the layer, and the resolution of the target display area. The layer information is described in detail below.

[0124] (a) Layer name: Identifies the owner of the layer. Generally, there are two types of layers. One is the system layer, which usually includes the layer corresponding to the status bar or the layer corresponding to the navigation bar. The other is the application layer, which is the layer displayed by an application (App). Generally, the layer name also includes the App package name.

[0125] (b) Source resolution of a layer: refers to the actual resolution of a layer. Generally, the resolution of a system layer is consistent with the screen resolution, and the source resolution of an application layer may be adjusted or set according to an application scenario or a user command. For example, in a game application scenario, a game application is presented as different source resolutions based on different game configurations. Specifically, a terminal obtains a source resolution of an application layer, and the source resolution of the layer is smaller than or equal to the screen resolution. If the source resolution of a layer is expressed in the form of "number of horizontal pixels x number of vertical pixels", the pixel aspect ratio of the layer may be further obtained. For example, if the source resolution of a layer is 1280*720, the pixel aspect ratio of the layer is 16:9.

[0126] (c) Target display area resolution: This refers to the resolution at which the layer will be finally composited and displayed on the screen, and is used to determine the size of the layer's display area on the screen. In order to determine the specific position of the layer's display area on the screen, the start position of the layer's display area is generally also required.

[0127] It should be noted that the order for performing steps 301 and 302 is not limited.

[0128] The compositing policy (compositing target layers and composition resolution) is determined based on the network state and layer information. Specifically, the compositing target layers are determined, and the target resolution of the compositing target layers is determined. Details will be described below.

[0129] 303: Determine a target resolution of the image to be projected based on network conditions.

[0130] The terminal determines a target resolution of the image to be projected based on network conditions.

[0131] Optionally, the target resolution is positively correlated with the quality of the communication link between the terminal and the projection device, i.e., a poorer quality of the communication link indicates a smaller target resolution and a better quality of the communication link indicates a larger target resolution. In general, the target resolution is less than or equal to the source resolution of the layer.

[0132] Optionally, the terminal may pre-set a target resolution value, for example 1080*2340 or 720*1560.

[0133] Based on the current network conditions, the terminal can appropriately perform downsampling on the original resolution image data to reduce the resolution, synthesize the image data, and then encode and transmit the image data, thereby reducing the delay.

[0134] Optionally, the network state information includes a received signal strength indicator RSSI. The value of the RSSI may indicate the signal quality of the communication link. A better signal quality corresponds to a higher target resolution. Conversely, a worse signal quality corresponds to a lower target resolution. The target resolution is typically less than or equal to the source resolution of the layer.

[0135] Optionally, if the value of the RSSI is greater than or equal to a first threshold, the terminal determines that the target resolution is the first resolution; if the value of the RSSI is less than the first threshold and greater than or equal to a second threshold, the terminal determines that the target resolution is half of the first resolution, the second threshold being less than the first threshold; or if the value of the RSSI is less than the second threshold, the terminal determines that the target resolution of the layer to be synthesized is one-third of the first resolution. The first resolution may be a preset standard resolution, for example, 1080P or 720P, or may be generated in real time according to a preset rule, or may be the source resolution of the application layer. This specification does not limit the specific value of the first resolution.

[0136] For example, when the first threshold is -50, the second threshold is -70, and the first resolution is 1080P. That is, when the RSSI value falls within [0, -50], it indicates that the signal quality is good, and the terminal determines that the target resolution of the image to be projected is 1080P; when the RSSI value falls within (-50, -70], it indicates that the signal quality is medium, and the terminal determines that the target resolution is 540P; or when the RSSI value is smaller than -70, it indicates that the signal quality is poor, and the target resolution is 360P.

[0137] It should be noted that step 303 is executed after step 301, and the order of execution of steps 303, 302, and 304 is not limited.

[0138] 304: The terminal determines the image layers to be composited.

[0139] The terminal may further determine a current usage scenario and selectively synthesize image data based on the usage scenario and the target resolution. The usage scenario may be classified based on the content currently displayed on the terminal, for example, an application display scenario or a desktop display scenario. In particular, the application display scenario may be further subdivided based on the type of application, for example, an application that displays a dynamic picture, such as a video or game, or an application that updates the picture slowly, such as a music or reading application. The usage scenario may be classified based on whether the current image is displayed in full screen, including full screen scenarios and non-full screen scenarios. In the following embodiments, full screen scenarios and non-full screen scenarios are used as examples for explanation.

[0140] The terminal determines whether the current scenario is a full-screen scenario or a non-full-screen scenario, and determines different image layers to be composited according to the scenario. For a full-screen scenario, only the application layer may be composited. For a non-full-screen scenario, all layers of the image need to be composited.

[0141] There are several ways for a terminal to determine whether the current scenario is a full-screen scenario, which will be explained below by using examples.

[0142] 1. Based on the layer source resolution of the application layer

[0143] If the source resolution of the application layer is greater than or equal to the third threshold, the terminal determines that the image to be projected is in a full-screen scenario; or if the source resolution of the application layer is less than the third threshold, the terminal determines that the image to be projected is in a non-full-screen scenario.

[0144] The third threshold is a preset value and may be obtained by collecting statistics on the common resolution of the application layer when existing applications are displayed in full screen. Since the common resolution of the application layer in the full screen scenario is generally larger than 720P, the third threshold may be set to 720P. Note that this specification does not limit the specific value of the third threshold.

[0145] 2. Based on the pixel aspect ratio of the application layer

[0146] If the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen, the terminal determines that the image to be projected is in a full-screen scenario; or if the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen, the terminal determines that the image to be projected is in a non-full-screen scenario.

[0147] 3. Based on the layer source resolution and pixel aspect ratio of the application layer

[0148] If the source resolution of the application layer is greater than or equal to the third threshold and the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen, the terminal determines that the image to be projected is in a full-screen scenario.

[0149] If the source resolution of the application layer is smaller than the third threshold, or the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen, the terminal determines that the image to be projected is in a non-full screen scenario.

[0150] 4. Based on the layer source resolution and pixel aspect ratio of the application layer and the layer name

[0151] If the source resolution of the application layer is greater than or equal to a third threshold, the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen, and the preset layer identifier set includes an identifier of the application layer, the terminal determines that the image to be projected is in a full-screen scenario.

[0152] If the source resolution of the application layer is smaller than a third threshold, if the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen, or if the preset layer identifier set does not include an identifier of the application layer, the terminal determines that the image to be projected is in a non-full screen scenario.

[0153] The layer information of the application layer includes the layer source resolution of the application layer, the pixel aspect ratio of the application layer, and the layer name.

[0154] It should be noted that step 304 is executed after step 302, and the order of execution of steps 304, 301, and 303 is not limited.

[0155] 305: The terminal synthesizes image data based on the target resolution and sends the image data to the projection device.

[0156] The terminal synthesizes image data based on the target resolution, performs operations such as encoding and compression, and transmits the image data to the projection device by using a wireless network, which is used by the projection device to display the projection target image.

[0157] Optionally, the terminal may further perform synthesis on the image to be projected by reducing the frame rate, and then encode and transmit the image to be projected. The frame rate control method belongs to the prior art and will not be described in detail again in this specification. For example, the original frame rate of the image to be projected is 60 frames per second (FPS), and after the frame rate is reduced, the frame rate of the image to be projected is 30 FPS. Reducing the frame rate can further reduce the amount of data to be transmitted and reduce the projection delay.

[0158] According to the projection data processing method provided in this application, the terminal, i.e. the projection transmitting end, determines the target resolution and the image layer to be synthesized in the image data according to the layer information and the network status information. In the full screen scenario, the number of layers to be transmitted is reduced, and the resolution is reduced when the quality of the communication link is poor, so as to reduce the amount of image data transmitted during wireless projection, thereby avoiding the video image delay during projection and improving the user experience.

[0159] The following describes a system for implementing the projection data processing method in the embodiment of the present application. Optionally, the product implementation state is a program code deployed in the graphics software system of the terminal. Figure 4a shows a hierarchical structure diagram of the graphics software system of the terminal.

[0160] The top layer is the App layer, i.e., the application layer. Each App layer has its own display layer to present its own display content. As a graphics layer synthesizer on an Android intelligent terminal system, SurfaceFlinger in the Framework layer composites each App's layer and the system layer. In one aspect, the composited image is sent for display. In another aspect, if a projection service exists, SurfaceFlinger calls the API of the Open GL ES system library in the Native layer to perform GPU composition and transfer the composited data to the projection service (Cast Server). In the projection process, the output of the synthesizer may be encoded and packaged by an encoder and then sent to a peer end for display.

[0161] The perception module newly added to the transmitting end in this application may provide a perception service, in which information about each layer of the current image to be displayed is obtained through SurfaceFlinger, the current scenario is determined, and the layers to be finally synthesized and the post-synthetic resolution are derived by SurfaceFlinger, and then the information is sent to the projection service.

[0162] In the following, the main steps of the perception module are explained with reference to FIG. 4b.

[0163] The main steps of the perception module are as follows:

[0164] 1. Information collection: Information about all layers of the current frame on the SurfaceFlinger side is obtained, which mainly includes the application name of the layer and the source resolution of the layer. In addition, the network signal state of the current Wi-Fi connection is obtained by using the Wi-Fi manager service.

[0165] 2. Information Analysis: Whether the actual scenario of the currently displayed image is a full-screen scenario is inferred based on the layer information collected in stage 1 by using the application name corresponding to the layer, the source resolution of the application layer, the pixel aspect ratio of the application layer, and the like. In addition, based on the network signal condition, for example, the network condition may be classified into three states: bad, medium, and good.

[0166] 3. Policy Formulation: Policies are formulated based on anticipated scenarios and include:

[0167] 3.1 For full-screen scenarios, such as full-screen gaming scenarios or full-screen video playback scenarios, only the application layer is composited, and the resolution of the composited frames is determined based on the network conditions. If the network conditions are good, composition and encoding are performed based on the application layer source resolution or the first preset resolution. If the network conditions are moderate, composition and encoding are performed at 1 / 2 sampling at the current application layer source resolution or the first preset resolution. If the network conditions are poor, composition and encoding are performed at 1 / 3 downsampling at the current application layer source resolution or the first preset resolution.

[0168] 3.2 For non-full screen scenarios such as desktop scenarios, all application layers are composited and policies are adjusted based on network conditions, see step 3.1 for details.

[0169] 4. Policy execution: Based on the corresponding policy formulated based on the scenario in stage 3, the layers actually composited by SurfaceFlinger and the final frame resolution after composition are updated, and encoding and transmission are performed to reduce the actual link load.

[0170] Through scenario perception, the perception module obtains the actual application scenario and the user's current network state, collects and analyzes information about the layer currently being composed, executes corresponding policies based on the scenario and the network state, and dynamically adjusts the content of the composed layer and the resolution of the final composed video frame, thus changing the composed resolution to reduce encoding and data transmission, reduce load, and reduce delay.

[0171] Above, the projection data processing method of the projection sending end is described. Below, the projection data processing method of the projection receiving end is described. The projection receiving end belongs to a terminal. For ease of description, the projection receiving end is distinguished from the projection sending end. In this embodiment of the present application, the terminal of the projection receiving end is called a projection device. There is no limitation on the specific device form of the projection device.

[0172] The projection data processing method of the projection receiving end in the embodiment of the present application will be described below with reference to FIG. 5a.

[0173] 501: A projection device receives an image to be projected at a first resolution.

[0174] The projection device receives a first resolution image to be projected by using a wireless network, optionally the first resolution image to be projected is image data synthesized at a target resolution and transmitted by the terminal in an embodiment corresponding to FIG.

[0175] Generally, the resolution of the image supported by the projection device is high, but the first resolution of the received image data is low. In the conventional method of linearly stretching the first resolution to the resolution supported by the projection device for display, the displayed image is blurred, the image quality is poor, and the user experience is affected.

[0176] Optionally, for video type dynamic image data, if the frame rate of the image to be projected received by the projection device is less than or equal to a threshold, frame interpolation is performed on the image to be projected. The threshold is a fourth threshold, and the fourth threshold may be, for example, 30 FPS. The specific process of frame interpolation is a prior art, and will not be described in detail again in this specification. Optionally, intelligent frame interpolation is performed on the image to be projected. For example, if the frame rate of the image to be projected obtained is 30 FPS, increase the frame rate to 60 FPS through frame interpolation. Thus, the impact of sending frame rate control on user experience can be reduced.

[0177] 502: Perform super-resolution on the image of the first resolution based on a pre-configured neural network model to obtain image data of a second resolution.

[0178] The projection device may perform super-resolution on the image data based on a neural network model to improve the resolution of the image data. The neural network model may be any one of various existing super-resolution models. This specification does not particularly limit this. The super-resolution process is briefly described as follows.

[0179] 1. Loading the model: The model hierarchy is parsed, the layers in the topology are sorted, and the parameters of each layer are parsed, including the weight values ​​of each layer, the activation functions of each layer, the size of the corresponding convolution kernel, and the stage.

[0180] 2. Pre-processing: The input normalization range and output data normalization range are set based on the model requirements. For example, for super-resolution model input, the Y channel data in the YUV gamut of the picture is used as input, and the data is normalized to the range of 0 to 0.1 or -0.1 to 0.1.

[0181] 3. Inference computation: This is the process of performing model inference computation. For details, see Figure 5b. The process includes the following steps:

[0182] (a) Backend Selection: A suitable backend is selected based on different hardware platforms. GPU is more advantageous in processing picture data, especially in reducing data I / O overhead. Therefore, GPU is preferably selected as the backend.

[0183] (b) Resource reorganization: For the loaded model, resources are reorganized based on the selected backend. When the GPU is used as the backend, information such as parameters in each layer is sorted and a fragment shader corresponding to the current layer is generated.

[0184] (c) Traversal Computation: In the GPU backend example, for the computation of each layer of the model, the corresponding input and output texture IDs are bound. The information is used in the Fragment Shader to specify the corresponding input data source and output data storage. An Open GL instruction is called to execute the Fragment Shader of the current layer to complete all convolution computations corresponding to the current layer.

[0185] 4. Post-processing: It is the reverse process of pre-processing, in which the inference calculation result is combined with the original input data to form the original picture format, and the original picture format is used as the final data for display, i.e., image data for display.

[0186] In general, the second resolution obtained after super-resolution is an integer multiple of the first resolution, and the specific multiple is not limited. For example, the first resolution is 360P, and the second resolution obtained after super-resolution is 720P; the first resolution is 540P, and the second resolution obtained after super-resolution is 1080P. Note that, when a GPU or NPU is used to perform AI acceleration calculation and improve the display image quality, a software development kit (SDK) for super-resolution is integrated after decoding and before sending for display. In the original audio and video synchronization stage, super-resolution is completed within the time period of sending for display without adding extra time. The following describes the process of processing audio and video synchronization integrated super-resolution with reference to FIG. 6.

[0187] The Vsync signal is a trigger signal for periodic display. It is mainly used to synchronize the view drawing task in the application layer and the view synthesis task in the native layer.

[0188] In the prior art, image frames are decoded periodically according to Vsync in the audio and video synchronization phase. From FIG. 6, it can be seen that after the first frame (such as number 1 in this figure) is decoded, the first frame is displayed in the next Vsync period. Each frame of an image is decoded within a Vsync period and displayed after the Vsync period is completed. In this embodiment of the present application, a super-resolution module is added in the audio and video synchronization phase, and the super-resolution AI inference calculation is performed by using the GPU computing power of the receiving end, which takes a short time. The actions of decoding and super-resolution can be completed in one Vsync period, and then the result obtained after super-resolution is sent for display. In this way, the image quality is further improved and the user experience is enriched without affecting the delay.

[0189] The following describes a system in the receiving end that implements the projection data processing method in the embodiment of the present application. Optionally, the product implementation state is a program code deployed in the graphics software system of the terminal. Figure 7a shows a hierarchical structure diagram of the graphics software system of the projection device.

[0190] For details, please refer to the hierarchical structure of the graphics software system at the sending end. The receiving end integrates a super-resolution module (SR) after the projection service (Cast Service). In the existing solution, the data decoded by using the hardware codec of the receiving end is sent to the Cast service of the receiving end. However, in this embodiment of the present application, after receiving the data to be decoded by the sending end, the Cast first sends the data to the SR module, and finally displays the super-resolution data on the screen as a layer of the application.

[0191] In the following, the main steps of the super-resolution module are described with reference to FIG. 7b.

[0192] The main steps of the perception module are as follows:

[0193] 1. Load the model

[0194] (a) During execution, check whether the model is loaded; and if the model is not loaded, load the corresponding model file, analyze the layer structure of the model's directed graph, generate the corresponding structure layers for input / output, analyze the parameters of each layer, and generate the corresponding computation units. This process is initialized only once to load resources related to the structure and weight parameters into memory.

[0195] (b) If the model is loaded, proceed to the next step.

[0196] 2. Computation backend selection: refers to selecting a suitable backend based on different hardware platforms. GPU is preferably used as the backend because it can take advantage of its parallel processing when processing video frame data. If NPU is used on the hardware platform, NPU will be used for some auxiliary calculations.

[0197] 3. Inference computation: Based on different computation backends, the corresponding computations are executed sequentially based on the layer nodes sorted by the directed graph of the model structure.

[0198] 4. Pre-processing and post-processing: Pre-processing refers to extracting interest information, such as the channel number of the Y channel of the image, which is calculated by AI inference of the image frame before the super-resolution module calculation; and post-processing refers to restoring the image data to the original RGBA data format.

[0199] The super-resolution module integrates super-resolution in the audio and video synchronization phase at the receiving side, loads the corresponding super-resolution model based on the resolution, runs the corresponding inference engine, and selects the corresponding GPU or NPU for AI calculation based on the backend management, thereby improving the display image quality.

[0200] The projection data processing method provided in the present application has been described above. In the following, a projection data processing device that implements the projection data processing method will be described. FIG. 8 is a schematic diagram of an embodiment of a projection data processing apparatus according to an embodiment of the present application.

[0201] Only one or more of the modules in Figure 8 may be implemented using software, hardware, firmware, or a combination thereof. Software or firmware may include, but is not limited to, computer program instructions or code and be executed by a hardware processor. Hardware may include, but is not limited to, various integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC).

[0202] The projection data processing device is specifically the data sending end or sending side in the wireless projection scenario, that is, referred to as a terminal in this application. The terminal may specifically be a mobile phone, a notebook computer, a tablet computer, or the like. This specification does not limit the specific device form.

[0203] The projection data processing apparatus includes: an acquisition unit 801 configured to acquire network state information, the network state information indicating the quality of a communication link between the terminal and the projection device; a determination unit 802 configured to determine a target resolution of an image to be projected based on the network state information; and a synthesis unit 803 configured to synthesize image data based on the target resolution and send the image data to the projection device, the image data being used by the projection device to display the image to be projected.

[0204] Optionally, the target resolution is positively correlated with the quality of the communication link.

[0205] Optionally, the network status information includes a received signal strength indicator RSSI.

[0206] Optionally, the determining unit 802 is specifically configured to: determine that the target resolution is a first resolution when the value of the RSSI is greater than or equal to a first threshold; determine that the target resolution is half the first resolution when the value of the RSSI is less than the first threshold and greater than or equal to a second threshold, the second threshold being less than the first threshold; or determine that the target resolution is one-third of the first resolution when the value of the RSSI is less than the second threshold.

[0207] Optionally, the determining unit 802 is further configured to determine a current usage scenario; and the synthesizing unit 803 is specifically configured to selectively synthesize image data based on the usage scenario and the target resolution.

[0208] Optionally, the determining unit 802 is specifically configured to determine whether the image to be projected is in a full-screen scenario.

[0209] The synthesis unit 803 is specifically configured to synthesize only an application layer of all layers of the image to be projected based on a target resolution when it is determined that the image to be projected is in a full-screen scenario; or to synthesize a system layer and an application layer of the image to be projected based on a target resolution when it is determined that the image to be projected is in a non-full-screen scenario.

[0210] Optionally, the determination unit 802 is specifically configured to determine that the image to be projected is in a full-screen scenario when the source resolution of the application layer is greater than or equal to a third threshold; or determine that the image to be projected is in a non-full-screen scenario when the source resolution of the application layer is less than the third threshold.

[0211] Optionally, the determining unit 802 is specifically configured to determine that the image to be projected is in a full-screen scenario if the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen; or determine that the image to be projected is in a non-full-screen scenario if the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen.

[0212] Optionally, the determination unit 802 is specifically configured to determine that the image to be projected is in a full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold and the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen; or determine that the image to be projected is in a non-full-screen scenario if the source resolution of the application layer is smaller than the third threshold or the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen.

[0213] Optionally, the determining unit 802 is specifically configured to determine that the image to be projected is in a full-screen scenario if the source resolution of the application layer is greater than or equal to a third threshold, the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of the screen, and the preset layer identifier set includes an identifier of the application layer; or determine that the image to be projected is in a non-full-screen scenario if the source resolution of the application layer is smaller than the third threshold, the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen, or the preset layer identifier set does not include an identifier of the application layer.

[0214] Optionally, the synthesis unit 803 is specifically configured to synthesize image data based on a target resolution and a first frame rate, where the first frame rate is lower than a frame rate at which the image to be projected is displayed on the terminal.

[0215] For the advantages of the projection data processing device, please refer to the effects of the projection data processing method in the above-mentioned embodiment, and the details will not be described again in this specification.

[0216] FIG. 9 is a schematic diagram of an embodiment of a projection data processing apparatus according to an embodiment of the present application.

[0217] Only one or more of the modules in Figure 9 may be implemented using software, hardware, firmware, or a combination thereof. Software or firmware may include, but is not limited to, computer program instructions or code and be executed by a hardware processor. Hardware may include, but is not limited to, various integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC).

[0218] The projection data processing device is the data receiving end in the wireless projection scenario, or is called the receiving side, and is called the projection device in this application. The projection device has an image display function, and can be specifically a computer, a smart TV, a smart screen, or the like. There is no limitation on the device form.

[0219] The projection data processing device includes a receiving unit 901 configured to receive a projection target image of a first resolution; an acquiring unit 902 configured to perform super-resolution on the projection target image of the first resolution based on a pre-configured neural network model by using a graphics processing unit GPU to acquire an image of a second resolution; and a display unit 903 configured to display the image of the second resolution.

[0220] Optionally, the projected image includes a first image frame; and the acquisition unit 902 is specifically configured to perform decoding and super-resolution on the first image frame in one audio and video synchronization period to obtain decoded image data of a second resolution.

[0221] Optionally, the apparatus further includes a processing unit 904 configured to perform frame interpolation on the projected image to obtain a projected image at a second frame rate if the first frame rate of the projected image is less than a fourth threshold.

[0222] Optionally, the first resolution projected target image includes the synthesized image data described in the above embodiments.

[0223] FIG. 10 is a schematic diagram of an embodiment of a terminal according to an embodiment of the present application.

[0224] For ease of understanding, the following describes the structure of the terminal 100 provided in this embodiment of the present application by using an example. FIG. 10 is a schematic diagram of a structure of a terminal according to an embodiment of the present application.

[0225] As shown in FIG. 10, the terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identification module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, among others.

[0226] It may be understood that the structure shown in this embodiment of the present application is not a specific limitation for the terminal 100. In some other embodiments of the present application, the terminal 100 may include more or less components than those shown in this figure, some components may be combined, some components may be split, or there may be a different component layout. The components shown in the figure may be implemented by hardware, software, or a combination of software and hardware.

[0227] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, a neural-network processing unit (NPU), and / or the like. The different processing units may be separate components or may be integrated into one or more processors.

[0228] The controller may be the brain and command center of the terminal 100. The controller may generate an operation control signal according to the command operation code and the time series signal to complete the control of reading the command and executing the command.

[0229] A memory may also be disposed in the processor 110 and configured to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that have been used or used periodically by the processor 110. When the processor 110 needs to use the instructions or data again, the processor can retrieve the instructions or data directly from the memory, thereby avoiding repeated accesses, reducing the waiting time of the processor 110, and improving system efficiency.

[0230] In some embodiments, the processor 110 may include one or more interfaces, which may include an inter-integrated circuit (I1C) interface, an inter-integrated circuit sound (I1S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, a universal serial bus (USB) port, and / or the like.

[0231] It may be understood that the interface connection relationships between modules in this embodiment of the present application are merely examples for explanation, and do not constitute limitations on the structure of the terminal 100. In some other embodiments of the present application, the terminal 100 may alternatively use an interface connection scheme different from the above-described embodiment, or a combination of multiple interface connection schemes.

[0232] The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.

[0233] The power management module 141 is configured to connect to the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives inputs from the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, the wireless communication module 160, and the like.

[0234] The wireless communication functionality of the terminal 100 may be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem processor, a baseband processor, and the like.

[0235] In some possible implementations, the terminal 100 may communicate with another device by using a wireless communication function. For example, the terminal 100 may communicate with a second electronic device, the terminal 100 establishes a projection connection to the second electronic device, and the terminal 100 outputs projection data to the second electronic device. The projection data output by the terminal 100 may be audio and video data.

[0236] Antenna 1 and Antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in terminal 100 may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed to improve antenna utilization. For example, Antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In some other embodiments, the antennas may be used in combination with tuning switches.

[0237] The mobile communication module 150 may be applied to the terminal 100 and provide solutions including wireless communication such as 1G, 3G, 4G, 5G, and the like. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, perform processing such as filtering or amplification on the received electromagnetic waves, and send the electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may further amplify signals modulated by the modem processor and convert the signals to electromagnetic waves for emission through the antenna 2. In some embodiments, at least some functional modules in the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed in the same device as at least some modules of the processor 110. The terminal may communicate with a server by using the mobile communication module.

[0238] The modem processor may include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the low-frequency baseband signal obtained through demodulation to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then transmitted to the application processor. The application processor outputs a sound signal on an audio device (not limited to a speaker 170A, a receiver 170B, or the like) or displays an image or video on a display 194. In some embodiments, the modem processor may be an independent component. In some other embodiments, the modem processor may be independent from the processor 110 and be located in the same device as the mobile communication module 150 or another functional module.

[0239] The wireless communication module 160 may provide a wireless communication solution applied to the terminal 100, including a wireless local area network (WLAN) (e.g., a wireless fidelity (Wi-Fi) network), Bluetooth (BT), a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC) technology, infrared (IR) technology, and the like. The wireless communication module 160 may be one or more components integrating at least one communication processor module. The wireless communication module 160 receives electromagnetic waves via the antenna 1, performs frequency modulation and filtering processing on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 may further receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into an electromagnetic wave for radiation through the antenna 2. The terminal 100 may communicate with the projection device 200 by using a Wi-Fi network.

[0240] In some embodiments, antenna 1 of terminal 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160, such that terminal 100 may communicate with a network and other devices by using a wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR technologies, and / or the like. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a BeiDou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite-based augmentation system (SBAS).

[0241] The terminal 100 may implement display functions by using a GPU, a display 194, an application processor, and the like. The GPU is a microprocessor for image processing and is connected to the display 194 and the application processor. The GPU is configured to perform mathematical and geometric calculations and render images. The processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0242] The display 194 is configured to display images, videos, and the like. The display 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a mini-LED, a micro-LED, a micro-OLED, a quantum dot light-emitting diode (QLED), or the like. In some embodiments, the terminal 100 may include one or N displays 194, where N is a positive integer greater than 1. In particular, the display screen 194 may display an output word to a user.

[0243] In some possible implementations, the display 194 may be configured to display an interface for output by the system of the terminal 100. For example, the terminal 100 may synchronously output the projected image data.

[0244] The terminal 100 may implement image shooting functionality through the use of an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.

[0245] The ISP is configured to process data fed back by the camera 193. For example, during shooting, the shutter is pressed and light is sent through the lens to the camera's photosensitive elements. The light signal is converted into an electrical signal, which is then transmitted to the ISP for processing to convert the electrical signal into a visible image. The ISP may further perform algorithmic optimization on noise, brightness, and color of the image. The ISP may further optimize parameters such as exposure and color temperature for the shooting scenario. In some embodiments, the ISP may be located within the camera 193.

[0246] The camera 193 is configured to capture still images or videos. An optical image of an object is generated through a lens and projected onto a photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP, which converts the electrical signal into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard format, such as RGB or YUV. In some embodiments, the terminal 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0247] The digital signal processor is configured to process digital signals, and may process other digital signals in addition to the digital image signal.

[0248] A video codec is configured to compress or decompress digital video. Terminal 100 may support one or more video codecs. Thus, terminal 100 may play or record video in multiple encoding formats, e.g., moving picture experts group (MPEG)-1, MPEG-1, MPEG-3, and MPEG-4.

[0249] The NPU is a neural network (NN) computing processor, and can rapidly process input information and even continuously perform self-learning by referring to the structure of biological neural networks, for example, by referring to the transmission mode between neurons in the human brain. Applications such as intelligent cognition of the terminal 100, such as image recognition, face recognition, speech recognition, and text understanding, can be implemented through the NPU.

[0250] The external memory interface 120 may be used to connect an external memory card, for example, a microSD card, to expand the storage capabilities of the terminal 100. The external memory card communicates with the processor 110 through the external memory interface 120 and implements a data storage function. For example, files such as music and videos are stored on the external memory card.

[0251] The internal memory 121 may be configured to store computer executable program code. The executable program code includes instructions. The processor 110 executes the instructions stored in the internal memory 121 to implement various functional applications and data processing of the terminal 100. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system and applications necessary for at least one function (e.g., a voice playback function or an image playback function), etc. The data storage area may store data (e.g., audio data and a phone book) and the like that are created when the terminal 100 is used. In addition, the internal memory 121 may include a high-speed random access memory, and may include a non-volatile memory, for example, at least one magnetic disk storage device, a flash memory, or a universal flash storage (UFS).

[0252] Terminal 100 may implement audio functions such as playing and recording music by using audio module 170, speaker 170A, receiver 170B, microphone 170C, headset jack 170D, application processor, etc. In some possible implementations, audio module 170 may be configured to play sound corresponding to a video. For example, when display 194 displays a video playback picture, audio module 170 outputs the video playback sound.

[0253] Audio module 170 is configured to convert digital audio information into analog audio signals for output, and is also configured to convert analog audio inputs into digital audio signals.

[0254] Speaker 170A, also referred to as a "loudspeaker," is configured to convert audio electrical signals into sound signals.

[0255] The receiver 170B, also referred to as an "earphone," is configured to convert an audio electrical signal into a sound signal.

[0256] Microphone 170C, also referred to as a "mike" or "mic," is configured to convert sound signals into electrical signals.

[0257] Headset jack 170D is configured to connect to a wired headset and may be a USB interface 130, a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0258] The pressure sensor 180A is configured to sense a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display 194. Gyroscope sensor 180B may be configured to determine the motion attitude of terminal 100. Air pressure sensor 180C is configured to measure air pressure.

[0259] The acceleration sensor 180E may detect the magnitude of acceleration of the terminal 100 in various directions (usually three or six axes). The magnitude and direction of gravity may be detected when the terminal 100 is stationary. The acceleration sensor 180E may further be configured to identify the orientation of the terminal, and may be applied to applications such as switching between landscape and portrait modes, or a pedometer.

[0260] The distance sensor 180F is configured to measure distance.

[0261] Ambient light sensor 180L is configured to sense ambient light intensity.

[0262] Fingerprint sensor 180H is configured to collect a fingerprint.

[0263] The temperature sensor 180J is configured to detect a temperature.

[0264] The touch sensor 180K is also referred to as a touch panel. The touch sensor 180K may be disposed on the display 194, and the touch sensor 180K and the display 194 form a touch screen, also referred to as a "touch screen." The touch sensor 180K is configured to detect a touch operation performed on or near the touch sensor. The touch sensor may forward the detected touch operation to an application processor to determine a type of touch event. A visual output associated with the touch operation may be provided through the display 194. In some other embodiments, the touch sensor 180K may alternatively be disposed on the surface of the terminal 100 at a location different from the display 194.

[0265] Buttons 190 include a power button, a volume button, and the like. Buttons 190 may be mechanical or touch buttons. Terminal 100 may receive button inputs and generate button signal inputs associated with user settings and function control of terminal 100.

[0266] The motor 191 may generate a vibration prompt.

[0267] Indicator 192 may be an indicator light and may be configured to indicate charging status and power changes, as well as to indicate messages, missed calls, notifications, and the like.

[0268] The SIM card interface 195 is configured to connect to a SIM card.

[0269] FIG. 11 is a schematic diagram of an embodiment of a projection device according to an embodiment of the present application.

[0270] The projection device provided in this embodiment may be a computer, a television, a smart screen, or the like. This embodiment of the present application does not limit the specific device form of the projection device.

[0271] The projection device 1100 may have different configurations or capabilities and therefore may have relatively superior performance, and may include one or more processors 1101 and a memory 1102. The memory 1102 stores programs or data.

[0272] The memory 1102 may be a volatile or non-volatile memory. Optionally, the one or more processors 1101 are one or more central processing units (CPUs). The CPUs may be single-core or multi-core CPUs. The processor 1101 may communicate with the memory 1102 and execute a set of instructions in the memory 1102 on the projection device 1100.

[0273] The projection device 1100 further includes one or more wireless network interfaces 1103, such as an Ethernet interface. Optionally, although not shown in FIG. 11, the projection device 1100 may further include a wired network interface.

[0274] The projection device 1100 further includes a display 1104 configured to display the projected picture.

[0275] Optionally, although not shown in FIG. 11, the projection device 1100 may further include one or more power sources and one or more input / output interfaces. The input / output interfaces may be configured to connect to a display, a mouse, a keyboard, a touch screen device, a sensor device, or the like. The input / output interfaces are optional components that may or may not be present. This specification is not limited in this respect.

[0276] For the procedures performed by the processor 1101 of the projection device 1100 in this embodiment, please refer to the method procedures described in the above method embodiments, and will not be described in detail herein.

[0277] For the purpose of simple and concise description, those skilled in the art can clearly understand that the detailed operation processes of the above-mentioned systems, devices and units can be referred to the corresponding processes in the above-mentioned method embodiments, and the details will not be described again in this specification.

[0278] In the embodiments provided in the present application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the described device embodiment is only an example. For example, the division into units is only a division of logical functions, and there may be other divisions in actual implementation. For example, multiple units or components may be combined or integrated into another system, and some features may be ignored or not implemented. In addition, the shown or described mutual couplings or direct couplings or communication connections may be implemented by using some interfaces. Indirect couplings or communication connections between devices or units may be implemented in electronic, mechanical, or other forms.

[0279] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, located in one location or distributed across multiple network units. Some or all of the units may be selected based on actual requirements for achieving the objectives of the solutions of the embodiments.

[0280] In addition, the functional units in the embodiments of the present application may be integrated into one processing unit, each of these units may exist physically alone, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or a software functional unit.

[0281] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be essentially implemented in the form of a software product, or the part that contributes to the prior art may be implemented in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to execute all or some of the steps of the method described in the embodiments of the present application. The above-mentioned storage medium includes any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a floppy disk, or a compact disk.

[0282] The above embodiments are only intended to illustrate the technical solutions of the present application, other than to limit the present application. Although the present application has been described in detail with reference to the above embodiments, it should be understood that those skilled in the art may still make modifications to the technical solutions described in the above embodiments or equivalent substitutions for some technical features thereof without departing from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. 1. A method for processing projection data, comprising the steps of: a terminal obtaining network state information, wherein the network state information indicates a quality of a communication link between the terminal and a projection device; determining a target resolution of an image to be projected based on the network status information by the terminal; the terminal determining a current usage scenario; and the terminal selectively synthesizing image data based on the usage scenario and the target resolution, and transmitting the image data to the projection device, where the image data is used by the projection device to display the projection target image; A method for providing the above.

2. the target resolution is positively correlated with the quality of the communication link. The method of claim 1.

3. The network status information includes a received signal strength indicator (RSSI). The method according to claim 1 or 2.

4. The step of the terminal determining a target resolution of an image to be projected based on the network status information includes: if the RSSI value is greater than or equal to a first threshold, determining by the terminal that the target resolution is a first resolution; if the RSSI value is less than a first threshold and greater than or equal to a second threshold, the terminal determining that the target resolution is half the first resolution, where the second threshold is less than the first threshold; or if the RSSI value is less than a second threshold, the terminal determines that the target resolution is one-third of the first resolution.

4. The method of claim 3, comprising:

5. The step of the terminal determining a current usage scenario includes: determining whether the image to be projected is in a full screen scenario by the terminal; and The step of selectively synthesizing the image data by the terminal based on the usage scenario and the target resolution includes: When the terminal determines that the image to be projected is in the full-screen scenario, the terminal synthesizes only an application layer of all layers of the image to be projected based on the target resolution; or When the terminal determines that the image to be projected is in a non-full screen scenario, the terminal synthesizes a system layer and an application layer of the image to be projected based on the target resolution. Including, 5. The method according to any one of claims 1 to 4.

6. The step of the terminal determining whether the projection target image is in a full screen scenario further comprises: if the source resolution of the application layer is greater than or equal to a third threshold, the terminal determines that the target image is in the full-screen scenario; or and determining, by the terminal, that the image to be projected is in the non-full screen scenario if the source resolution of the application layer is less than a third threshold. The method of claim 5 , comprising:

7. The step of the terminal determining whether the projection target image is in a full screen scenario further comprises: If the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen, the terminal determines that the image to be projected is in the full-screen scenario; or determining by the terminal that the image to be projected is in the non-full screen scenario if a pixel aspect ratio of the application layer is different from a pixel aspect ratio of a screen. The method of claim 5 , comprising:

8. The step of the terminal determining whether the projection target image is in a full screen scenario further comprises: if the source resolution of the application layer is greater than or equal to a third threshold and the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen, the terminal determines that the projected image is in the full-screen scenario; or determining by the terminal that the image to be projected is in the non-full screen scenario if the source resolution of the application layer is less than a third threshold or if the pixel aspect ratio of the application layer is different from the pixel aspect ratio of a screen. The method of claim 5 , comprising:

9. The step of the terminal determining whether the projection target image is in a full screen scenario further comprises: If a source resolution of the application layer is greater than or equal to a third threshold, a pixel aspect ratio of the application layer is the same as a pixel aspect ratio of a screen, and a preset layer identifier set includes an identifier of the application layer, the terminal determines that the image to be projected is in the full-screen scenario; or The terminal determines that the image to be projected is in the non-full screen scenario if a source resolution of the application layer is smaller than a third threshold, if a pixel aspect ratio of the application layer is different from a pixel aspect ratio of a screen, or if a preset set of layer identifiers does not include an identifier of the application layer. The method of claim 5 , comprising:

10. The step of synthesizing image data based on the target resolution by the terminal includes: the terminal synthesizing the image data based on the target resolution and a first frame rate, where the first frame rate is lower than a frame rate at which the projection target image is displayed on the terminal; 10. The method according to claim 1 , comprising:

11. The method further comprising: receiving, by a projection device, an image to be projected at a first resolution; performing super-resolution on the projection target image of the first resolution based on a pre-configured neural network model by the projection device using a graphics processing unit GPU to obtain an image of a second resolution; and the projection device displaying the image at the second resolution. The method of any one of claims 1 to 10, comprising:

12. The method further comprises: the image to be projected includes a first image frame; and The step of performing super-resolution on the image of the first resolution based on a pre-configured neural network model by the projection device using a graphics processing unit GPU to obtain an image of a second resolution includes: the projection device performing decoding and super-resolution on the first image frames in one audio and video synchronization period to obtain decoded image data at the second resolution.

12. The method of claim 11, having the following structure:

13. and when the first frame rate of the projection target image is less than a fourth threshold, the projection device performs frame interpolation on the projection target image to obtain a projection target image with a second frame rate. The method of claim 11 or 12, further comprising:

14. The projection target image at the first resolution includes the image data to be synthesized.

14. The method according to any one of claims 11 to 13.

15. A projection data processing apparatus comprising: an acquiring unit configured to acquire network status information, where the network status information indicates a quality of a communication link between the terminal and the projection device; A determining unit configured to determine a target resolution of a projected image based on the network status information and to determine a current usage scenario; and a synthesis unit configured to selectively synthesize image data based on the usage scenario and the target resolution, and to transmit the image data to the projection device, where the image data is used by the projection device to display the projection target image; An apparatus comprising:

16. the target resolution is positively correlated with the quality of the communication link.

16. The apparatus of claim 15.

17. The network status information includes a received signal strength indicator (RSSI).

17. Apparatus according to claim 15 or 16.

18. The determining unit specifically includes: if the RSSI value is greater than or equal to a first threshold, determining that the target resolution is a first resolution; determine that the target resolution is half the first resolution if the RSSI value is less than a first threshold and greater than or equal to a second threshold, where the second threshold is less than the first threshold; or If the RSSI value is less than a second threshold, the target resolution is determined to be one-third of the first resolution.

20. The apparatus of claim 17, configured to:

19. The determining unit specifically includes: Determining whether the projected image is in a full screen scenario and The synthetic unit is specifically if the image to be projected is determined to be in the full screen scenario, synthesizing only an application layer of all layers of the image to be projected based on the target resolution; or If the image to be projected is determined to be in a non-full screen scenario, synthesizing a system layer and an application layer of the image to be projected based on the target resolution. It is configured as follows:

19. Apparatus according to any one of claims 15 to 18.

20. The determining unit specifically includes: determining that the target image is in the full screen scenario if the source resolution of the application layer is greater than or equal to a third threshold; or If the source resolution of the application layer is less than a third threshold, the image to be projected is determined to be in the non-full screen scenario.

20. The apparatus of claim 19, configured to:

21. The determining unit specifically includes: If the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen, determining that the image to be projected is in the full screen scenario; or If the pixel aspect ratio of the application layer is different from the pixel aspect ratio of the screen, the image to be projected is determined to be in the non-full screen scenario.

20. The apparatus of claim 19, configured to:

22. The determining unit specifically includes: If the source resolution of the application layer is greater than or equal to a third threshold and the pixel aspect ratio of the application layer is the same as the pixel aspect ratio of a screen, determining that the projected image is in the full screen scenario; or If the source resolution of the application layer is less than a third threshold or the pixel aspect ratio of the application layer is different from the pixel aspect ratio of a screen, the image to be projected is determined to be in the non-full screen scenario.

20. The apparatus of claim 19, configured to:

23. The determining unit specifically includes: If a source resolution of the application layer is greater than or equal to a third threshold, a pixel aspect ratio of the application layer is the same as a pixel aspect ratio of a screen, and a preset set of layer identifiers includes an identifier of the application layer, determining that the image to be projected is in the full screen scenario; or If a source resolution of the application layer is smaller than a third threshold, if a pixel aspect ratio of the application layer is different from a pixel aspect ratio of a screen, or if a preset set of layer identifiers does not include an identifier of the application layer, then the image to be projected is determined to be in the non-full screen scenario.

20. The apparatus of claim 19, configured to:

24. The synthetic unit is specifically synthesizing the image data based on the target resolution and a first frame rate, where the first frame rate is lower than a frame rate at which the projection target image is displayed on the terminal; It is configured as follows:

24. Apparatus according to any one of claims 15 to 23.

25. A projection system comprising a terminal which is an apparatus according to any one of claims 15 to 24 and a projection device, The projection device comprises: a receiving unit configured to receive a projection target image at a first resolution; an acquisition unit configured to perform super-resolution on the projection target image of the first resolution based on a pre-configured neural network model by using a graphics processing unit GPU to acquire an image of a second resolution; and a display unit configured to display the image at the second resolution; A projection system comprising:

26. the projected image includes a first image frame; and The acquisition unit of the projection device specifically includes: performing decoding and super-resolution on the first image frames in one audio and video synchronization period to obtain decoded image data at the second resolution; It is configured as follows:

26. The projection system of claim 25.

27. The projection device, a processing unit configured to perform frame interpolation on the projection target image to obtain a projection target image with a second frame rate when the first frame rate of the projection target image is less than a fourth threshold.

27. The projection system of claim 25 or 26, further comprising:

28. The projection target image of the first resolution includes the image data synthesized at the terminal.

28. A projection system according to any one of claims 25 to 27.

29. A terminal comprising a memory and one or more processors, the memory storing computer readable instructions; and The one or more processors are adapted to read the computer-readable instructions and the terminal is adapted to implement the method according to any one of claims 1 to 10. Terminal.

30. A computer program comprising computer readable instructions, said computer readable instructions being executed on a computer to enable said computer to carry out the method according to any one of claims 1 to 14.

31. A computer readable storage medium comprising computer readable instructions, which when executed on a computer enable the computer to perform the method of any one of claims 1 to 14.

Citation Information

Patent Citations

  • Communication device, communication method, and program

    JP2017028705A

  • Image display method, user terminal and video receiving device

    JP2018503281A

  • Video processing device

    JP2019121836A

  • Wireless video connection device

    JP2019176374A

  • Enhanced user experience for miracast devices

    US20140096164A1