[go: up one dir, main page]

CN114647468B - Screen projection image display method and device, electronic equipment and storage medium - Google Patents

Screen projection image display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114647468B
CN114647468B CN202210189624.7A CN202210189624A CN114647468B CN 114647468 B CN114647468 B CN 114647468B CN 202210189624 A CN202210189624 A CN 202210189624A CN 114647468 B CN114647468 B CN 114647468B
Authority
CN
China
Prior art keywords
image
screen projection
target
screen
projected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210189624.7A
Other languages
Chinese (zh)
Other versions
CN114647468A (en
Inventor
李好
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202210189624.7A priority Critical patent/CN114647468B/en
Publication of CN114647468A publication Critical patent/CN114647468A/en
Application granted granted Critical
Publication of CN114647468B publication Critical patent/CN114647468B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

本申请公开了一种投屏图像显示方法、装置、电子设备及存储介质,所述投屏图像显示方法包括:获取所述投屏推送端的上层应用信息;将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式;当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像;输出所述目标投屏图像。本申请解决了现有技术投屏显示效果较差的技术问题。

Figure 202210189624

The present application discloses a projection screen image display method, device, electronic equipment, and storage medium. The projection screen image display method includes: obtaining the upper-level application information of the projection screen push end; and displaying the target projection screen of the projection screen Switching the mode to the screen projection display mode corresponding to the upper layer application information; when receiving the screen projection image sent by the screen projection push end, performing image processing on the screen projection image according to the target screen projection display mode to obtain Target screen projection image; output the target screen projection image. The present application solves the technical problem of poor screen projection display effect in the prior art.

Figure 202210189624

Description

投屏图像显示方法、装置、电子设备及存储介质Screen projection image display method, device, electronic device and storage medium

技术领域technical field

本申请涉及投屏技术领域,尤其涉及一种投屏图像显示方法、装置、电子设备及存储介质。The present application relates to the technical field of screen projection, and in particular to a screen projection image display method, device, electronic equipment, and storage medium.

背景技术Background technique

随着科技的发展和人们生活水平的提高,通过电视大屏、投影仪等显示设备,显示手机、平板电脑、计算机等移动设备的屏幕的功能已经日益普及,用户常常将移动设备的图片、音乐、视频等推送到显示设备上进行播放,然而,在投屏过程中,常常可能出现卡顿、掉帧等情况,特别对于第一人称射击游戏、高帧率电影等对帧率要求较高的投屏场景,卡顿或掉帧会严重影响游戏或电影的流畅性,导致投屏显示的效果较差,从而影响了用户的投屏体验。With the development of science and technology and the improvement of people's living standards, the function of displaying the screens of mobile devices such as mobile phones, tablets, and computers through large TV screens, projectors, and other display devices has become increasingly popular. , videos, etc. are pushed to the display device for playback. However, during the screen projection process, there may often be freezes and frame drops, especially for first-person shooting games, high frame rate movies, etc. Screen scenes, freezes or frame drops will seriously affect the fluency of games or movies, resulting in poor screen projection display effects, which will affect the user's screen projection experience.

发明内容Contents of the invention

本申请的主要目的在于提供一种投屏图像显示方法、装置、电子设备及存储介质,旨在解决现有技术投屏显示效果较差的技术问题。The main purpose of the present application is to provide a projection screen image display method, device, electronic equipment and storage medium, aiming to solve the technical problem of poor projection display effect in the prior art.

为实现上述目的,本申请提供一种投屏图像显示方法,所述投屏图像显示方法包括:In order to achieve the above purpose, the present application provides a screen projection image display method, the projection screen image display method includes:

获取所述投屏推送端的上层应用信息;Obtain the upper layer application information of the screen projection push end;

将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式;Switching the target screen display mode of the screen projection to the screen projection display mode corresponding to the upper layer application information;

当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像;When receiving the image to be projected sent by the screen projection push end, perform image processing on the image to be projected according to the display mode of the target screen projection to obtain the target screen projection image;

输出所述目标投屏图像。Outputting the target projection image.

可选地,所述根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像的步骤包括:Optionally, the step of performing image processing on the image to be projected according to the display mode of the target projection to obtain the target projection image includes:

获取所述待投屏图像对应的初始显示参数;Acquiring initial display parameters corresponding to the image to be projected;

根据所述目标投屏显示模式调整所述初始显示参数,得到目标显示参数;Adjusting the initial display parameters according to the target projection display mode to obtain target display parameters;

根据所述目标显示参数对所述待投屏图像进行图像处理,得到目标投屏图像。Performing image processing on the image to be projected according to the target display parameters to obtain a target projected image.

可选地,所述显示参数包括帧率和分辨率,所述根据所述目标投屏显示模式调整所述初始显示参数,得到目标显示参数的步骤包括:Optionally, the display parameters include frame rate and resolution, and the step of adjusting the initial display parameters according to the target projection display mode to obtain the target display parameters includes:

若确定所述目标投屏显示模式为帧率优先模式,则对所述初始帧率进行增大调整,得到目标帧率,并对所述初始分辨率进行减小调整,得到目标分辨率;If it is determined that the target screen projection display mode is the frame rate priority mode, then increase and adjust the initial frame rate to obtain the target frame rate, and decrease and adjust the initial resolution to obtain the target resolution;

若确定所述目标投屏显示模式为分辨率优先模式,则对所述初始帧率进行减小调整,得到目标帧率,并对所述初始分辨率进行增大调整,得到目标分辨率。If it is determined that the target projection screen display mode is the resolution priority mode, the initial frame rate is decreased and adjusted to obtain the target frame rate, and the initial resolution is increased and adjusted to obtain the target resolution.

可选地,所述投屏显示模式包括帧率优先模式和分辨率优先模式,所述将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式的步骤包括:Optionally, the screen projection display mode includes a frame rate priority mode and a resolution priority mode, and the step of switching the target screen projection display mode of the projection screen to the screen projection display mode corresponding to the upper-layer application information includes :

根据所述上层应用信息,判断所述投屏推送端的上层应用是否为高帧率应用;According to the upper-layer application information, it is judged whether the upper-layer application of the screen projection push end is a high frame rate application;

若确定所述投屏推送端的上层应用为高帧率应用,则将所述投屏的目标投屏显示模式切换至帧率优先模式;If it is determined that the upper layer application of the screen projection push end is a high frame rate application, then switching the target screen projection display mode of the projection screen to a frame rate priority mode;

若确定所述投屏推送端的上层应用不为高帧率应用,则将所述投屏的目标投屏显示模式切换至分辨率优先模式。If it is determined that the upper layer application of the screen projection push end is not a high frame rate application, then switch the target screen projection display mode of the projection screen to a resolution priority mode.

可选地,所述上层应用信息包括上层应用类型,所述根据所述上层应用信息,判断所述投屏推送端的上层应用是否为高帧率应用的步骤包括:Optionally, the upper-layer application information includes an upper-layer application type, and according to the upper-layer application information, the step of judging whether the upper-layer application at the screen projection push end is a high frame rate application includes:

判断所述上层应用类型是否属于预设的高帧率应用白名单;Judging whether the upper-layer application type belongs to a preset white list of high frame rate applications;

若所述上层应用类型属于预设的高帧率应用白名单,则判定所述投屏推送端的上层应用为高帧率应用。If the upper-layer application type belongs to the preset high frame rate application whitelist, it is determined that the upper-layer application on the screen projection push end is a high frame rate application.

可选地,所述输出所述目标投屏图像的步骤之后,还包括:Optionally, after the step of outputting the target projection image, it also includes:

实时监测所述投屏的过程中是否出现图像帧丢失;Real-time monitoring whether image frame loss occurs during the screen projection process;

当检测到所述投屏的过程中出现图像帧丢失时,将所述投屏的投屏显示模式切换至帧率优先模式。When it is detected that an image frame loss occurs during the screen projection process, the screen projection display mode of the screen projection is switched to a frame rate priority mode.

可选地,所述输出所述目标投屏图像的步骤之后,还包括:Optionally, after the step of outputting the target projection image, it also includes:

实时监测所述目标投屏图像的变化率是否小于预设变化率;Real-time monitoring whether the rate of change of the projected image of the target is less than a preset rate of change;

当检测到所述目标投屏图像的变化率是否小于预设变化率时,将所述投屏的目标投屏显示模式切换至分辨率优先模式。When it is detected whether the change rate of the target screen projection image is less than a preset change rate, the target screen projection display mode of the projection screen is switched to a resolution priority mode.

本申请还提供一种投屏图像显示装置,所述投屏图像显示装置应用于投屏图像显示设备,所述投屏图像显示装置包括:The present application also provides a projected screen image display device, the projected screen image display device is applied to a projected screen image display device, and the projected screen image display device includes:

获取模块,用于获取所述投屏推送端的上层应用信息;An acquisition module, configured to acquire the upper-layer application information of the screen projection push end;

模式切换模块,用于将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式;A mode switching module, configured to switch the target screen display mode of the screen projection to the screen projection display mode corresponding to the upper-layer application information;

图像处理模块,用于当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像;An image processing module, configured to perform image processing on the image to be projected according to the display mode of the target screen projection when receiving the image to be projected from the screen projection pusher to obtain the target screen projection image;

输出模块,用于输出所述目标投屏图像。An output module, configured to output the target projected screen image.

本申请还提供一种电子设备,所述电子设备为实体设备,所述电子设备包括:存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的所述投屏图像显示方法的程序,所述投屏图像显示方法的程序被处理器执行时可实现如上述的投屏图像显示方法的步骤。The present application also provides an electronic device, the electronic device is a physical device, and the electronic device includes: a memory, a processor, and the projected image display stored in the memory and operable on the processor The program of the method, when the program of the screen projection image display method is executed by the processor, can realize the steps of the above projection screen image display method.

本申请还提供一种存储介质,所述存储介质为计算机可读存储介质,所述计算机可读存储介质上存储有实现投屏图像显示方法的程序,所述投屏图像显示方法的程序被处理器执行时实现如上述的投屏图像显示方法的步骤。The present application also provides a storage medium, the storage medium is a computer-readable storage medium, and the computer-readable storage medium stores a program for implementing a method for displaying a projected screen image, and the program for the method for displaying a projected screen image is processed When the device is executed, the steps of the method for displaying the projected screen image as described above are realized.

本申请还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述的投屏图像显示方法的步骤。The present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for displaying a projected screen image are realized.

本申请提供了一种投屏图像显示方法、装置、电子设备及存储介质,通过获取所述投屏推送端的上层应用信息,将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式,实现了根据所述投屏推送端的上层应用对目标投屏显示模式进行切换,进而通过当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像,输出所述目标投屏图像,实现了根据目标投屏显示模式,对投屏的待投屏图像进行图像处理,也即实现了根据投屏推送端的上层应用,对投屏的待投屏图像进行图像处理,使得输出的目标投屏图像,随上层应用的不同进行适应性调整,既可以满足不同上层应用的不同的显示要求,又可以通过图像处理有效提高待投屏图像的处理速度,进而有效避免投屏过程中可能出现的卡顿、掉帧等情况,克服了现有技术投屏显示效果较差的技术问题,有效提高了投屏显示效果。The present application provides a projection screen image display method, device, electronic equipment and storage medium, by obtaining the upper layer application information of the projection screen push end, switching the target projection screen display mode of the projection screen to the upper layer application information The corresponding screen projection display mode realizes switching of the target screen projection display mode according to the upper-layer application of the screen projection push end, and then when receiving the image to be screen projection sent by the screen projection push end, according to the target projection screen The display mode performs image processing on the image to be projected to obtain a target projected image, and outputs the target projected image, so that image processing is performed on the projected image to be projected according to the target projected display mode, that is, According to the upper application of the projection push end, image processing is performed on the image to be projected, so that the output target projection image can be adaptively adjusted according to the difference of the upper application, which can meet the different display requirements of different upper applications requirements, and image processing can be used to effectively improve the processing speed of the image to be projected, thereby effectively avoiding possible freezes, frame drops, etc. Effectively improve the display effect of the projection screen.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings without paying creative labor.

图1为本申请投屏图像显示方法一实施例的投屏连接场景示意图;FIG. 1 is a schematic diagram of a screen projection connection scene in an embodiment of a screen projection image display method of the present application;

图2为本申请实施例中投屏图像显示方法涉及的硬件运行环境的电子设备结构示意图;FIG. 2 is a schematic structural diagram of an electronic device in a hardware operating environment involved in a screen projection image display method in an embodiment of the present application;

图3为本申请投屏图像显示方法一实施例的流程示意图;FIG. 3 is a schematic flow diagram of an embodiment of a screen projection image display method of the present application;

图4为本申请投屏图像显示方法一种可实施方式的场景示意图;FIG. 4 is a schematic diagram of a scenario of an implementation mode of the projected image display method of the present application;

图5为本申请投屏图像显示方法一实施例的流程示意图;FIG. 5 is a schematic flowchart of an embodiment of a method for displaying images on a projected screen according to the present application;

图6为本申请投屏图像显示方法一实施例的流程示意图;FIG. 6 is a schematic flowchart of an embodiment of a method for displaying images on a projected screen according to the present application;

图7为本申请实施例中投屏图像显示方法涉及的装置结构示意图。FIG. 7 is a schematic structural diagram of a device involved in a screen projection image display method in an embodiment of the present application.

本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functions and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动的前提下所获得的所有其它实施例,均属于本发明保护的范围。In order to make the above objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

参照图1,图1为本发明实施例方案涉及的投屏连接示意图。Referring to FIG. 1 , FIG. 1 is a schematic diagram of a screen projection connection involved in an embodiment of the present invention.

如图1所示,投屏器包括:投屏器发射器和/或投屏器接收器,其中,第一电子设备可以是个人电脑,也可以是智能手机、平板电脑、电子书阅读器、便携计算机等可移动式终端设备,第二电子设备可以是电视,也可以是显示器,投影仪等具有显示功能的显示设备。As shown in Figure 1, the screen projector includes: a screen projector transmitter and/or a screen projector receiver, wherein the first electronic device may be a personal computer, or a smart phone, a tablet computer, an e-book reader, For mobile terminal equipment such as a portable computer, the second electronic equipment may be a television, or may be a display device with a display function such as a monitor or a projector.

在一些实施例中,第一电子设备通过有线或无线网络连接投屏器发射器和/或投屏器接收器进行数据传输与交互;投屏器发射器通过无线网络连接投屏器接收器进行数据传输与交互,或者投屏器发射器通过无线网络连接第二电子设备进行数据传输与交互;投屏器接收器通过有线或无线网络连接第二电子设备进行数据传输与交互。在一可选实现方式中,投屏器接收器与第二电子设备之间以及投屏器发射器与第一电子设备之间的有线连接方式,可以包括基于HDMI(High Definition Multimedia Interface,高清多媒体接口)、USB(Universal Serial Bus,通用串行总线)、DP(DisplayPort,显示接口)和VGA(VideoGraphics Array,视频图形阵列)等有线连接。第一电子设备与投屏器发射器和投屏器接收器之间、第二电子设备与投屏器发射器和投屏器接收器之间的无线通信方式,可以包括蓝牙(Bluetooth)、无线宽带(Wi-Fi)、红外通讯等无线通信。In some embodiments, the first electronic device is connected to the screen projector transmitter and/or screen projector receiver through a wired or wireless network for data transmission and interaction; the screen projector transmitter is connected to the screen projector receiver through a wireless network for data transmission and interaction. Data transmission and interaction, or the screen projector transmitter is connected to the second electronic device through a wireless network for data transmission and interaction; the screen projector receiver is connected to the second electronic device through a wired or wireless network for data transmission and interaction. In an optional implementation, the wired connection between the screen projector receiver and the second electronic device and between the screen projector transmitter and the first electronic device may include HDMI (High Definition Multimedia Interface, high-definition multimedia Interface), USB (Universal Serial Bus, Universal Serial Bus), DP (DisplayPort, Display Interface) and VGA (VideoGraphics Array, Video Graphics Array) and other wired connections. The wireless communication methods between the first electronic device and the screen projector transmitter and the screen projector receiver, and between the second electronic device and the screen projector transmitter and the screen projector receiver may include Bluetooth, wireless Broadband (Wi-Fi), infrared communication and other wireless communications.

所以,第一电子设备、投屏器发射器、投屏器接收器和第二电子设备之间实现投屏时可能的连接方式至少包括:Therefore, possible connection methods for implementing screen projection between the first electronic device, the screen projector transmitter, the screen projector receiver and the second electronic device at least include:

(1)投屏器发射器与投屏器接收器连接,第一电子设备画面经过投屏器发射器、投屏器接收器最终投屏到第二电子设备;(1) The screen projector transmitter is connected to the screen projector receiver, and the screen of the first electronic device is finally projected to the second electronic device through the screen projector transmitter and the screen projector receiver;

(2)投屏器发射器与第二电子设备无线连接,第一电子设备画面经过投屏器发射器投屏到第二电子设备,此时投屏器发射器与第二电子设备内置的无线通信模块通过无线网络相连;(2) The transmitter of the screen projector is wirelessly connected with the second electronic device, and the screen of the first electronic device is projected to the second electronic device through the transmitter of the screen projector. At this time, the transmitter of the screen projector and the built-in wireless The communication modules are connected through a wireless network;

(3)第一电子设备与投屏器接收器连接,第一电子设备画面经过投屏器接收器投屏到第二电子设备。(3) The first electronic device is connected to the screen projector receiver, and the screen of the first electronic device is projected to the second electronic device through the screen projector receiver.

参照图2,图2为本申请实施例中投屏图像显示方法涉及的硬件运行环境的电子设备结构示意图。本公开实施例中的电子设备可以包括但不限于诸如电视机、投屏器、投屏器接收器、投屏器发射器、移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、数字TV、台式计算机等等的固定终端。Referring to FIG. 2 , FIG. 2 is a schematic structural diagram of an electronic device of a hardware operating environment involved in the method for displaying a projected screen image in an embodiment of the present application. Electronic devices in the embodiments of the present disclosure may include, but are not limited to, TVs, screen projectors, screen projector receivers, screen projector transmitters, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants) , PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as vehicle navigation terminal), digital TV, desktop computer and other fixed terminals.

如图2所示,所述电子设备还包括:处理器1001,例如中央处理器(CentralProcessing Unit,CPU),通信总线1002,网络接口1003,存储器1004。其中,通信总线1002用于实现这些组件之间的连接通信。网络接口1003可选的可以包括标准的有线接口、无线接口(如无线保真(Wireless-Fidelity,WI-FI)接口)。存储器1004可以是高速的随机存取存储器(Random Access Memory,RAM)存储器,也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1004可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 2 , the electronic device further includes: a processor 1001 , such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002 , a network interface 1003 , and a memory 1004 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. Optionally, the network interface 1003 may include a standard wired interface and a wireless interface (such as a Wireless-Fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1004 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. Optionally, the memory 1004 may also be a storage device independent of the aforementioned processor 1001 .

可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may also include a camera, an RF (Radio Frequency, radio frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors such as light sensors, motion sensors and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile terminal posture (such as horizontal and vertical screen switching, Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; of course, the mobile terminal can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. No longer.

本领域技术人员可以理解,图2中示出的结构并不构成对运行设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 2 does not constitute a limitation on the operating equipment, and may include more or less components than shown in the figure, or combine some components, or arrange different components.

如图2所示,作为一种存储介质的存储器1004中可以包括操作系统、数据存储模块、网络通信模块以及投屏图像显示程序。As shown in FIG. 2 , the memory 1004 as a storage medium may include an operating system, a data storage module, a network communication module, and a screen projection image display program.

在图2所示的运行设备中,网络接口1003主要用于与其他设备进行数据通信。本发明运行设备中的处理器1001、存储器1004可以设置在运行设备中,所述运行设备通过处理器1001调用存储器1004中存储的投屏图像显示程序,并执行以下操作:In the running device shown in FIG. 2 , the network interface 1003 is mainly used for data communication with other devices. The processor 1001 and memory 1004 in the operating device of the present invention can be set in the operating device, and the operating device calls the projected screen image display program stored in the memory 1004 through the processor 1001, and performs the following operations:

获取所述投屏推送端的上层应用信息;Obtain the upper layer application information of the screen projection push end;

将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式;Switching the target screen display mode of the screen projection to the screen projection display mode corresponding to the upper layer application information;

当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像;When receiving the image to be projected sent by the screen projection push end, perform image processing on the image to be projected according to the display mode of the target screen projection to obtain the target screen projection image;

输出所述目标投屏图像。Outputting the target projection image.

进一步地,处理器1001可以调用存储器1004中存储的投屏图像显示程序,还执行以下操作:Further, the processor 1001 may call the projected screen image display program stored in the memory 1004, and further perform the following operations:

获取所述待投屏图像对应的初始显示参数;Acquiring initial display parameters corresponding to the image to be projected;

根据所述目标投屏显示模式调整所述初始显示参数,得到目标显示参数;Adjusting the initial display parameters according to the target projection display mode to obtain target display parameters;

根据所述目标显示参数对所述待投屏图像进行图像处理,得到目标投屏图像。Performing image processing on the image to be projected according to the target display parameters to obtain a target projected image.

进一步地,处理器1001可以调用存储器1004中存储的投屏图像显示程序,还执行以下操作:Further, the processor 1001 may call the projected screen image display program stored in the memory 1004, and further perform the following operations:

若确定所述目标投屏显示模式为帧率优先模式,则对所述初始帧率进行增大调整,得到目标帧率,并对所述初始分辨率进行减小调整,得到目标分辨率;If it is determined that the target screen projection display mode is the frame rate priority mode, then increase and adjust the initial frame rate to obtain the target frame rate, and decrease and adjust the initial resolution to obtain the target resolution;

若确定所述目标投屏显示模式为分辨率优先模式,则对所述初始帧率进行减小调整,得到目标帧率,并对所述初始分辨率进行增大调整,得到目标分辨率。If it is determined that the target projection screen display mode is the resolution priority mode, the initial frame rate is decreased and adjusted to obtain the target frame rate, and the initial resolution is increased and adjusted to obtain the target resolution.

进一步地,处理器1001可以调用存储器1004中存储的投屏图像显示程序,还执行以下操作:Further, the processor 1001 may call the projected screen image display program stored in the memory 1004, and further perform the following operations:

根据所述上层应用信息,判断所述投屏推送端的上层应用是否为高帧率应用;According to the upper-layer application information, it is judged whether the upper-layer application of the screen projection push end is a high frame rate application;

若确定所述投屏推送端的上层应用为高帧率应用,则将所述投屏的目标投屏显示模式切换至帧率优先模式;If it is determined that the upper layer application of the screen projection push end is a high frame rate application, then switching the target screen projection display mode of the projection screen to a frame rate priority mode;

若确定所述投屏推送端的上层应用不为高帧率应用,则将所述投屏的目标投屏显示模式切换至分辨率优先模式。If it is determined that the upper layer application of the screen projection push end is not a high frame rate application, then switch the target screen projection display mode of the projection screen to a resolution priority mode.

进一步地,处理器1001可以调用存储器1004中存储的投屏图像显示程序,还执行以下操作:Further, the processor 1001 may call the projected screen image display program stored in the memory 1004, and further perform the following operations:

判断所述上层应用类型是否属于预设的高帧率应用白名单;Judging whether the upper-layer application type belongs to a preset white list of high frame rate applications;

若所述上层应用类型属于预设的高帧率应用白名单,则判定所述投屏推送端的上层应用为高帧率应用。If the upper-layer application type belongs to the preset high frame rate application whitelist, it is determined that the upper-layer application on the screen projection push end is a high frame rate application.

进一步地,处理器1001可以调用存储器1004中存储的投屏图像显示程序,还执行以下操作:Further, the processor 1001 may call the projected screen image display program stored in the memory 1004, and further perform the following operations:

实时监测所述投屏的过程中是否出现图像帧丢失;Real-time monitoring whether image frame loss occurs during the screen projection process;

当检测到所述投屏的过程中出现图像帧丢失时,将所述投屏的投屏显示模式切换至帧率优先模式。When it is detected that an image frame loss occurs during the screen projection process, the screen projection display mode of the screen projection is switched to a frame rate priority mode.

进一步地,处理器1001可以调用存储器1004中存储的投屏图像显示程序,还执行以下操作:Further, the processor 1001 may call the projected screen image display program stored in the memory 1004, and further perform the following operations:

实时监测所述目标投屏图像的变化率是否小于预设变化率;Real-time monitoring whether the rate of change of the projected image of the target is less than a preset rate of change;

当检测到所述目标投屏图像的变化率是否小于预设变化率时,将所述投屏的目标投屏显示模式切换至分辨率优先模式。When it is detected whether the change rate of the target screen projection image is less than a preset change rate, the target screen projection display mode of the projection screen is switched to a resolution priority mode.

本申请实施例提供一种投屏图像显示方法,在本申请投屏图像显示方法的第一实施例中,参照图3,所述投屏图像显示方法包括:An embodiment of the present application provides a screen projection image display method. In the first embodiment of the projection screen image display method of the present application, referring to FIG. 3 , the projection screen image display method includes:

步骤S10,获取所述投屏推送端的上层应用信息;Step S10, obtaining the upper-layer application information of the screen projection push end;

在本实施例中,需要说明的是,所述投屏是将投屏推送端的显示画面和/或声音投送到投屏接收端进行输出和显示的过程。本实施例的执行主体为投屏接收端,其中,所述投屏接收端是接收投屏的设备,例如电视机、计算机或投影仪等,在一种可实施的方式中,所述投屏接收端也可以是与显示器和/或扬声器连接的投屏器接收器,所述投屏器接收器与显示器和/或扬声器之间可以通过有线或无线连接,在接收到投屏的音频信号和图像信号之后,通过与投屏器接收器连接的显示器和/或扬声器,输出接收到投屏的音频信号和图像信号;所述投屏推送端是推送投屏的移动设备,例如手机、计算机或平板电脑等,所述投屏推送端可以通过传统的通信网络或互联网与其他移动设备进行通信,所述投屏推送端与所述投屏接收端之间可以通过有线或无线连接,在一种可实施的方式中,所述投屏推送端也可以是与移动设备连接的投屏器发射器,所述投屏器发射器与移动设备之间可以通过有线或无线连接,移动设备通过投屏器发射器将所需投屏的音频信号和图像信号发送到投屏接收端。In this embodiment, it should be noted that the screen projection is a process of projecting the display screen and/or sound of the screen projection pusher to the screen projection receiver for output and display. The execution subject of this embodiment is the screen projection receiver, wherein the screen projection receiver is a device that receives the screen projection, such as a TV, a computer, or a projector, etc. In an implementable manner, the screen projection The receiving end may also be a screen projector receiver connected to the display and/or speaker, and the screen projector receiver may be connected to the display and/or speaker through a wired or wireless connection. After receiving the screen projection audio signal and After the image signal, output the received audio signal and image signal for screen projection through the display and/or speaker connected to the receiver of the screen projection device; tablet computer, etc., the screen projection push end can communicate with other mobile devices through a traditional communication network or the Internet, and the screen projection push end and the screen projection receiver can be connected through a wired or wireless connection. In an implementable manner, the screen projection push end may also be a screen projection transmitter connected to a mobile device, and the screen projection transmitter and the mobile device may be connected through a wired or wireless connection. The transmitter transmitter sends the audio signal and image signal of the desired screen projection to the screen projection receiver.

具体地,在投屏推送端向投屏接收端投屏的过程中,从所述投屏推送端获取所述投屏推送端当前的上层应用信息,其中,所述上层应用信息是在所述投屏推送端最上层显示的应用的相关信息,包括应用名称、应用类型(例如:第一人称射击游戏、棋牌类游戏、视频应用、聊天应用等)、显示参数(例如:帧率、分辨率等)等,所述获取所述投屏推送端的上层应用信息的方式包括,但不限于:检测所述投屏推送端的上层应用,并直接获取上层应用对应的上层应用信息;获取待投屏图像,对所述待投屏图像进行图像识别,确定所述待投屏图像中的上层应用信息。Specifically, in the process of projecting the screen from the screen projection pusher to the screen projection receiver, the current upper-layer application information of the screen projection pusher is obtained from the screen projection pusher, wherein the upper-layer application information is in the Information about the application displayed on the top layer of the screen projection push terminal, including application name, application type (for example: first-person shooter game, chess and card game, video application, chat application, etc.), display parameters (for example: frame rate, resolution, etc. ), etc., the method of obtaining the upper-layer application information of the screen projection push end includes, but is not limited to: detecting the upper-layer application of the screen projection push end, and directly obtaining the upper-layer application information corresponding to the upper-layer application; obtaining the image to be projected, Image recognition is performed on the image to be projected to determine the upper layer application information in the image to be projected.

在一种可实施的方式中,所述获取所述投屏推送端的上层应用信息的步骤之前,还包括:监测所述投屏推送端的上层应用是否发生改变,当检测到所述上层应用发生改变时,获取所述投屏推送端当前的上层应用信息,其中,所述上层应用信息为所述投屏推送端的上层应用改变后的新的上层应用的信息。In an implementable manner, before the step of obtaining the upper-layer application information of the screen-casting pusher, it further includes: monitoring whether the upper-layer application of the screen-casting pusher changes, and when it is detected that the upper-layer application changes At this time, the current upper-layer application information of the screen projection push terminal is obtained, wherein the upper-layer application information is information of a new upper-layer application after the upper-layer application of the screen projection push terminal has been changed.

步骤S20,将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式;Step S20, switching the target screen display mode of the screen projection to the screen projection display mode corresponding to the upper application information;

在本实施例中,需要说明的是,所述投屏显示模式是对投屏接收端输出图像的显示参数进行调整的方式,包括帧率优先模式、分辨率优先模式、流畅模式等,其中,所述帧率优先模式是采用预设的帧率优先技术或算法(例如MEMC(Motion Estimation and MotionCompensation,运动估计与运动补偿)技术等),使得帧率以外的其他显示参数减小或不变,以使得帧率提高或保持不变,保证帧率在预设的高帧率范围内的模式,所述分辨率优先模式是采用预设的分辨率优先技术或算法(例如AI-SR(Artificial Intelligence SuperResolution,人工智能超级分辨率)技术、AI-PQ(Artificial Intelligence PictureQuality,人工智能图像画质增强)技术等),使得分辨率以外的其他显示参数减小或不变,以使得分辨率提高或保持不变,保证分辨率在预设的高分辨率范围内的模式,所述流畅模式是通过均衡减小调整帧率、分辨率等显示参数,以保证投屏不卡顿的模式,所述目标投屏显示模式,为所述投屏当前设置的投屏显示模式,可基于用户操作在各所述预设的投屏显示模式中进行切换。In this embodiment, it should be noted that the screen projection display mode is a way to adjust the display parameters of the output image of the screen projection receiving end, including frame rate priority mode, resolution priority mode, smooth mode, etc., wherein, The frame rate priority mode uses a preset frame rate priority technology or algorithm (such as MEMC (Motion Estimation and Motion Compensation, motion estimation and motion compensation) technology, etc.), so that other display parameters other than the frame rate are reduced or unchanged, In order to increase or keep the frame rate unchanged and ensure the frame rate is within the preset high frame rate range, the resolution priority mode adopts the preset resolution priority technology or algorithm (such as AI-SR (Artificial Intelligence SuperResolution (artificial intelligence super resolution) technology, AI-PQ (Artificial Intelligence Picture Quality, artificial intelligence image quality enhancement) technology, etc.), so that other display parameters other than resolution are reduced or unchanged, so that the resolution is increased or maintained Unchanged, to ensure that the resolution is within the preset high-resolution range. The smooth mode is a mode that adjusts display parameters such as frame rate and resolution by reducing the balance to ensure that the screen does not freeze. The target The screen projection display mode is the screen projection display mode currently set for the projection screen, and can be switched among the preset projection screen display modes based on user operations.

具体地,根据预设的应用信息与投屏显示模式之间的映射关系,确定所述上层应用信息对应的投屏显示模式,将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式,所述应用信息与投屏显示模式之间的映射关系,可以预先根据实际情况进行设定,可以是应用名称与投屏显示模式之间的映射关系,可以是应用类型与投屏显示模式之间的映射关系,可以是显示参数所属的参数范围与投屏显示模式之间的映射关系,也可以是根据多个应用信息确定的应用分类(例如,将应用类型为电影,帧率大于60fps的应用确定为高帧率应用,将应用类型为游戏,帧率大于60fps的应用确定为高帧率应用等)与投屏显示模式之间的映射关系。Specifically, according to the preset mapping relationship between the application information and the screen projection display mode, determine the projection screen display mode corresponding to the upper-layer application information, and switch the target screen projection display mode of the projection screen to the upper-layer application The projection display mode corresponding to the information, the mapping relationship between the application information and the projection display mode can be set in advance according to the actual situation, it can be the mapping relationship between the application name and the projection display mode, it can be the application The mapping relationship between the type and the screen projection display mode can be the mapping relationship between the parameter range to which the display parameter belongs and the projection screen display mode, or it can be the application classification determined according to multiple application information (for example, the application type is Movies, applications with a frame rate greater than 60fps are determined to be high frame rate applications, the application type is games, applications with a frame rate greater than 60fps are determined to be high frame rate applications, etc.) and the mapping relationship between the projection display mode.

可选地,所述投屏显示模式包括帧率优先模式和分辨率优先模式,所述将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式的步骤包括:Optionally, the screen projection display mode includes a frame rate priority mode and a resolution priority mode, and the step of switching the target screen projection display mode of the projection screen to the screen projection display mode corresponding to the upper-layer application information includes :

步骤S21,根据所述上层应用信息,判断所述投屏推送端的上层应用是否为高帧率应用;Step S21, according to the upper-layer application information, it is judged whether the upper-layer application of the screen projection push end is a high frame rate application;

在本实施例中,具体地,根据预设的分类规则和所述上层应用信息,判断所述投屏推送端的上层应用是否为高帧率应用,其中,所述预设的分类规则是判断应用是否为高帧率应用的判定规则,可以是建立高帧率应用名单,判断所述上层应用信息中的应用名称或应用类型是否属于所述高帧率应用名单中的应用名称或应用类型;也可以是预先设定帧率低限,判断所述上层应用信息中的帧率是否高于所述帧率低限,若所述上层应用信息中的帧率高于所述帧率低限,则判定所述上层应用为高帧率应用。In this embodiment, specifically, according to the preset classification rule and the upper-layer application information, it is judged whether the upper-layer application of the screen projection push terminal is a high frame rate application, wherein the preset classification rule is to determine whether the application The determination rule for whether it is a high frame rate application may be to establish a high frame rate application list, and determine whether the application name or application type in the upper layer application information belongs to the application name or application type in the high frame rate application list; It may be to pre-set the lower frame rate limit, and judge whether the frame rate in the upper-layer application information is higher than the lower frame rate limit, and if the frame rate in the upper-layer application information is higher than the lower frame rate limit, then It is determined that the upper layer application is a high frame rate application.

可选地,所述上层应用信息包括上层应用类型,所述根据所述上层应用信息,判断所述投屏推送端的上层应用是否为高帧率应用的步骤包括:Optionally, the upper-layer application information includes an upper-layer application type, and according to the upper-layer application information, the step of judging whether the upper-layer application at the screen projection push end is a high frame rate application includes:

步骤S211,判断所述上层应用类型是否属于预设的高帧率应用白名单;Step S211, judging whether the upper-layer application type belongs to the preset white list of high frame rate applications;

步骤S212,若所述上层应用类型属于预设的高帧率应用白名单,则判定所述投屏推送端的上层应用为高帧率应用。Step S212, if the type of the upper-layer application belongs to the preset white list of high frame rate applications, then determine that the upper-layer application on the screen projection push end is a high frame rate application.

在本实施例中,具体地,判断所述上层应用类型是否属于预设的高帧率应用白名单,若所述上层应用类型属于预设的高帧率应用白名单,则判定所述投屏推送端的上层应用为高帧率应用,若所述上层应用类型不属于预设的高帧率应用白名单,则判定所述投屏推送端的上层应用不为高帧率应用,其中,所述高帧率应用白名单是高帧率应用对应的应用类型,所述应用类型是应用的分类标签,每个应用可以属于一个或多个应用类型,所述高帧率应用白名单可以根据实际情况由系统或用户进行设定,例如,可以将所有游戏列入高帧率应用白名单,也可以将第一人称射击游戏和帧率高于60fps的电影列入高帧率应用白名单,通过高帧率应用白名单的设置,可以准确地对高帧率应用进行划分,减少误判。In this embodiment, specifically, it is determined whether the upper-layer application type belongs to the preset high frame rate application whitelist, and if the upper-layer application type belongs to the preset high frame rate application whitelist, then it is determined that the screen projection The upper-layer application on the push end is a high frame rate application. If the upper-layer application type does not belong to the preset high frame rate application whitelist, it is determined that the upper-layer application on the screen projection push end is not a high frame rate application. The frame rate application whitelist is the application type corresponding to the high frame rate application. The application type is the classification label of the application. Each application can belong to one or more application types. The high frame rate application whitelist can be determined according to the actual situation. The system or the user can make settings. For example, all games can be included in the high frame rate application whitelist, and first-person shooting games and movies with a frame rate higher than 60fps can also be included in the high frame rate application whitelist. Through the high frame rate The application whitelist setting can accurately classify high frame rate applications and reduce misjudgment.

步骤S22,若确定所述投屏推送端的上层应用为高帧率应用,则将所述投屏的目标投屏显示模式切换至帧率优先模式;Step S22, if it is determined that the upper layer application of the screen projection push end is a high frame rate application, then switch the target screen projection display mode of the projection screen to the frame rate priority mode;

在本实施例中,具体地,若确定所述投屏推送端的上层应用为高帧率应用,则将所述投屏对应的目标投屏显示模式切换至帧率优先模式,其中,所述帧率优先模式是采用预设的帧率优先技术或算法(例如MEMC技术等),使得帧率以外的其他显示参数减小或不变,以使得帧率提高或保持不变,保证帧率在预设的高帧率范围内的模式,在一种可实施的方式中,所述将所述投屏的目标投屏显示模式切换至帧率优先模式的方式可以是,将所述目标投屏显示模式切换至MEMC模式,以调用MEMC算法进行待投屏图像处理,其中,所述MEMC算法与现有技术类似,此处不做过多赘述。In this embodiment, specifically, if it is determined that the upper-layer application of the screen projection push end is a high frame rate application, the target screen projection display mode corresponding to the screen projection is switched to the frame rate priority mode, wherein the frame rate The rate priority mode is to use the preset frame rate priority technology or algorithm (such as MEMC technology, etc.), so that other display parameters other than the frame rate are reduced or unchanged, so that the frame rate is increased or kept unchanged, and the frame rate is guaranteed to be within the preset frame rate. In an implementable manner, the method of switching the target screen display mode of the screen projection to the frame rate priority mode may be to display the target screen projection The mode is switched to the MEMC mode, so as to call the MEMC algorithm to process the image to be projected, wherein the MEMC algorithm is similar to the prior art, and will not be repeated here.

步骤S23,若确定所述投屏推送端的上层应用不为高帧率应用,则将所述投屏的目标投屏显示模式切换至分辨率优先模式。Step S23, if it is determined that the upper-layer application of the screen projection push end is not a high frame rate application, switch the target screen projection display mode of the projection screen to a resolution priority mode.

在本实施例中,具体地,若确定所述投屏推送端的上层应用不为高帧率应用,则将所述投屏对应的目标投屏显示模式切换至预置的分辨率优先模式,其中,所述分辨率优先模式是采用预设的分辨率优先技术或算法(例如AI-SR技术、AI-PQ技术等),使得分辨率以外的其他显示参数减小或不变,以使得分辨率提高或保持不变,保证分辨率在预设的高分辨率范围内的模式,在一种可实施的方式中,所述将所述投屏的目标投屏显示模式切换至分辨率优先模式的方式可以是,将所述目标投屏显示模式切换至AI-SR模式或AI-PQ模式,以调用AI-SR算法或AI-PQ算法进行待投屏图像处理,其中,所述AI-SR算法和AI-PQ算法与现有技术类似,此处不做过多赘述。In this embodiment, specifically, if it is determined that the upper-layer application of the screen projection push end is not a high frame rate application, then the target screen projection display mode corresponding to the projection screen is switched to a preset resolution priority mode, wherein , the resolution priority mode is to use a preset resolution priority technology or algorithm (such as AI-SR technology, AI-PQ technology, etc.), so that other display parameters other than resolution are reduced or unchanged, so that the resolution Improve or keep the same mode to ensure that the resolution is within the preset high-resolution range. In an implementable manner, the target screen display mode of the screen projection is switched to the resolution priority mode. The method may be to switch the display mode of the target projection screen to AI-SR mode or AI-PQ mode, so as to call the AI-SR algorithm or AI-PQ algorithm to process the image to be projected, wherein the AI-SR algorithm The AI-PQ algorithm is similar to the prior art, and will not be described in detail here.

步骤S30,当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像;Step S30, when receiving the image to be projected sent by the screen projection pusher, perform image processing on the image to be projected according to the display mode of the target screen projection to obtain the target screen projection image;

在本实施例中,具体地,当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对应的图像处理算法对所述待投屏图像进行图像处理,其中,所述待投屏图像可以为静态图像或动态图像,所述待投屏图像的数量可以为一各或多个,所述图像处理包括图像分辨率调整、图像帧率调整、图像大小调整、图像重构等,所述图像处理算法包括MEMC算法、AI-SR算法、AI-PQ算法等。In this embodiment, specifically, when receiving the image to be projected from the screen projection pusher, image processing is performed on the image to be projected according to the image processing algorithm corresponding to the target screen projection display mode, wherein, The image to be projected can be a static image or a dynamic image, and the number of images to be projected can be one or more. The image processing includes image resolution adjustment, image frame rate adjustment, image size adjustment, image Reconstruction, etc., the image processing algorithm includes MEMC algorithm, AI-SR algorithm, AI-PQ algorithm, etc.

可选地,所述根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像的步骤包括:Optionally, the step of performing image processing on the image to be projected according to the display mode of the target projection to obtain the target projection image includes:

步骤S31,获取所述待投屏图像对应的初始显示参数;Step S31, acquiring initial display parameters corresponding to the image to be projected;

步骤S32,根据所述目标投屏显示模式调整所述初始显示参数,得到目标显示参数;Step S32, adjusting the initial display parameters according to the target projection screen display mode to obtain target display parameters;

在本实施例中,具体地,获取所述待投屏图像对应的至少一个初始显示参数,根据当前的目标投屏显示模式对应的图像处理算法,调整各所述待投屏图像对应的初始显示参数,得到目标显示参数,其中,所述待投屏图像可以为静态图像或动态图像,所述待投屏图像的数量可以为一各或多个,所述显示参数为待投屏图像在显示设备上进行输出和显示的相关参数,包括分辨率、帧率和/或带宽等。In this embodiment, specifically, at least one initial display parameter corresponding to the image to be projected is acquired, and the initial display corresponding to each of the images to be projected is adjusted according to the image processing algorithm corresponding to the current target projected screen display mode Parameters to obtain target display parameters, wherein the image to be projected can be a static image or a dynamic image, the number of images to be projected can be one or more, and the display parameter is that the image to be projected is displayed Related parameters for output and display on the device, including resolution, frame rate and/or bandwidth, etc.

可选地,所述显示参数包括帧率和分辨率,所述根据所述目标投屏显示模式调整所述初始显示参数,得到目标显示参数的步骤包括:Optionally, the display parameters include frame rate and resolution, and the step of adjusting the initial display parameters according to the target projection display mode to obtain the target display parameters includes:

步骤S321,若确定所述目标投屏显示模式为帧率优先模式,则对所述初始帧率进行增大调整,得到目标帧率,并对所述初始分辨率进行减小调整,得到目标分辨率;Step S321, if it is determined that the target screen projection display mode is the frame rate priority mode, increase and adjust the initial frame rate to obtain the target frame rate, and decrease and adjust the initial resolution to obtain the target resolution Rate;

在本实施例中,需要说明的是,所述显示参数包括帧率和分辨率,即所述初始显示参数包括初始帧率和初始分辨率,所述目标显示参数包括目标帧率和目标分辨率。In this embodiment, it should be noted that the display parameters include frame rate and resolution, that is, the initial display parameters include initial frame rate and initial resolution, and the target display parameters include target frame rate and target resolution .

具体地,判断所述目标投屏显示模式是否为帧率优先模式,若确定所述目标投屏显示模式为帧率优先模式,则对所述初始帧率进行增大调整,得到目标帧率,并对所述初始分辨率进行减小调整,得到目标分辨率,容易理解的是,对帧率和分辨率进行调整的方式可以是采用预设的帧率优先技术或算法实现,例如MEMC算法等,所述MEMC算法与现有技术类似,此处不做过多赘述。Specifically, it is judged whether the target screen projection display mode is a frame rate priority mode, and if it is determined that the target screen projection display mode is a frame rate priority mode, then the initial frame rate is increased and adjusted to obtain a target frame rate, And the initial resolution is reduced and adjusted to obtain the target resolution. It is easy to understand that the method of adjusting the frame rate and resolution can be realized by using a preset frame rate priority technology or algorithm, such as MEMC algorithm, etc. , the MEMC algorithm is similar to the prior art, and will not be repeated here.

对于第一人称射击游戏、高帧率电影等对帧率要求较高的投屏场景,通过减小调整分辨率,适当地增大调整帧率,既可以有效保证图像处理、传输的速度,避免出现卡顿或掉帧的情况,又可以对帧率进行补偿,满足较高帧率的需求,有效提高投屏的流畅性,提高投屏效果。For screen projection scenes that require a high frame rate, such as first-person shooter games and high frame rate movies, by reducing the adjustment resolution and appropriately increasing the adjustment frame rate, it can effectively ensure the speed of image processing and transmission, and avoid the occurrence of In the case of freeze or frame drop, the frame rate can be compensated to meet the demand for a higher frame rate, effectively improve the smoothness of the screen projection, and improve the screen projection effect.

步骤S322,若确定所述目标投屏显示模式为分辨率优先模式,则对所述初始帧率进行减小调整,得到目标帧率,并对所述初始分辨率进行增大调整,得到目标分辨率。Step S322, if it is determined that the target projection screen display mode is the resolution priority mode, decrease and adjust the initial frame rate to obtain the target frame rate, and increase and adjust the initial resolution to obtain the target resolution Rate.

在本实施例中,具体地,判断所述目标投屏显示模式是否为分辨率优先模式,若确定所述目标投屏显示模式为分辨率优先模式,则对所述初始帧率进行减小调整,得到目标帧率,并对所述初始分辨率进行增大调整,得到目标分辨率,容易理解的是,对帧率和分辨率进行调整的方式可以是采用预设的分辨率优先技术或算法实现,例如AI-SR算法或AI-PQ算法等,所述AI-SR算法和所述AI-PQ算法与现有技术类似,此处不做过多赘述。In this embodiment, specifically, it is judged whether the target screen projection display mode is a resolution priority mode, and if it is determined that the target screen projection display mode is a resolution priority mode, the initial frame rate is reduced and adjusted , to obtain the target frame rate, and increase and adjust the initial resolution to obtain the target resolution. It is easy to understand that the way to adjust the frame rate and resolution can be to use a preset resolution priority technology or algorithm Realization, such as AI-SR algorithm or AI-PQ algorithm, etc., the AI-SR algorithm and the AI-PQ algorithm are similar to the prior art, and will not be repeated here.

对于图片投屏、帧率较低的电影等投屏场景,通过适当地减小调整帧率,适当地增大调整分辨率,既可以有效保证图像处理、传输的速度,避免出现卡顿情况,又可以提高图像的分辨率,有效提升提升原有画面的分辨率,让画面更加更清晰,提高投屏效果。For screen projection scenarios such as image projection and movies with a low frame rate, by appropriately reducing the adjustment frame rate and increasing the adjustment resolution, the image processing and transmission speed can be effectively guaranteed, and the freeze situation can be avoided. It can also improve the resolution of the image, effectively enhance the resolution of the original picture, make the picture clearer, and improve the projection effect.

步骤S33,根据所述目标显示参数对所述待投屏图像进行图像处理,得到目标投屏图像。Step S33 , performing image processing on the image to be projected according to the target display parameters to obtain a target projected image.

在本实施例中,具体地,根据所述目标显示参数对所述待投屏图像进行图像处理,得到显示参数为所述目标显示参数的目标投屏图像。In this embodiment, specifically, image processing is performed on the image to be screen-projected according to the target display parameter to obtain a target screen-projection image whose display parameter is the target display parameter.

步骤S40,输出所述目标投屏图像。Step S40, outputting the target projected screen image.

在本实施例中,具体地,通过投屏接收端对应的显示设备输出显示所述目标投屏图像。In this embodiment, specifically, the display device corresponding to the screen projection receiving end outputs and displays the target screen projection image.

在一种可实施的方式中,参照图4,所述投屏接收端包括电视机400和投屏器接收器300,所述电视机400和所述投屏器接收器300通信连接,所述投屏推送端包括手机100和投屏器发射器200,所述手机100和所述投屏器发射器200通信连接,所述投屏器接收器300与所述投屏器发射器200通信连接,在手机100向电视机400投屏过程中,投屏器发射器200获取手机100的上层应用信息,并将所述上层应用信息发送到投屏器接收器300,投屏器接收器300将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式,投屏器发射器200将手机100的屏幕画面和声音同步传输到投屏器接收器300,投屏器接收器300将接收到的手机100的屏幕画面和声音发送至电视机400进行画面显示和声音播放,当投屏器接收器300接收到投屏器发射器200发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像,将所述目标投屏图像发送至电视机400进行输出显示。In an implementable manner, referring to FIG. 4 , the screen projection receiver includes a TV 400 and a screen projector receiver 300, the TV 400 and the screen projector receiver 300 are connected in communication, and the The screen projection push end includes a mobile phone 100 and a screen projector transmitter 200, the mobile phone 100 is communicatively connected to the screen projector transmitter 200, and the screen projector receiver 300 is communicatively connected to the screen projector transmitter 200 , during the screen projection process from the mobile phone 100 to the TV 400, the screen projector transmitter 200 obtains the upper-layer application information of the mobile phone 100, and sends the upper-layer application information to the screen projector receiver 300, and the screen projector receiver 300 sends the The target screen display mode of the screen projection is switched to the screen projection display mode corresponding to the upper layer application information, and the screen projection device transmitter 200 synchronously transmits the screen image and sound of the mobile phone 100 to the screen projection device receiver 300, and the screen projection device The receiver 300 sends the received screen picture and sound of the mobile phone 100 to the TV 400 for picture display and sound playback. Perform image processing on the image to be projected according to the target projection display mode to obtain a target projection image, and send the target projection image to the TV 400 for output and display.

在本实施例中,通过获取所述投屏推送端的上层应用信息,将所述投屏的目标投屏显示模式切换至所述上层应用信息对应的投屏显示模式,实现了根据所述投屏推送端的上层应用对目标投屏显示模式进行切换,进而通过当接收到投屏推送端发送的待投屏图像时,根据所述目标投屏显示模式对所述待投屏图像进行图像处理,得到目标投屏图像,输出所述目标投屏图像,实现了根据目标投屏显示模式,对投屏的待投屏图像进行图像处理,也即实现了根据投屏推送端的上层应用,对投屏的待投屏图像进行图像处理,使得输出的目标投屏图像,随上层应用的不同进行适应性调整,既可以满足不同上层应用的不同的显示要求,又可以通过图像处理有效提高待投屏图像的处理速度,进而有效避免投屏过程中可能出现的卡顿、掉帧等情况,克服了现有技术投屏显示效果较差的技术问题,有效提高了投屏显示效果。In this embodiment, by obtaining the upper-layer application information of the screen-casting push end, the target screen-casting display mode of the screen-casting is switched to the screen-casting display mode corresponding to the upper-layer application information, so that The upper-layer application on the push end switches the display mode of the target screen projection, and then performs image processing on the image to be projected according to the target screen projection display mode when receiving the image to be projected from the screen projection push end, to obtain Target screen projection image, outputting the target screen projection image, realizing image processing on the screen projection image to be screen projection according to the target projection screen display mode, that is, realizing the projection screen according to the upper layer application of the screen projection push terminal Image processing is performed on the image to be projected, so that the output target projected image can be adaptively adjusted with different upper-layer applications, which can not only meet the different display requirements of different upper-layer applications, but also effectively improve the quality of the image to be projected through image processing. The processing speed can effectively avoid possible freezes and frame drops during the projection process, overcome the technical problem of poor projection display effect in the prior art, and effectively improve the projection display effect.

进一步地,在本申请投屏图像显示方法的另一实施例中,参照图5,所述输出所述目标投屏图像的步骤之后,还包括:Further, in another embodiment of the projected screen image display method of the present application, referring to FIG. 5 , after the step of outputting the target projected screen image, it further includes:

步骤A10,实时监测所述投屏的过程中是否出现图像帧丢失;Step A10, monitoring in real time whether an image frame is lost during the screen projection process;

在本实施例中,具体地,在投屏推送端向投屏接收端投屏的过程中,实时监测是否出现图像帧丢失,其中,所述图像帧丢失是投屏接收端输出的图像帧的数量少于理论输出帧数的现象,例如卡顿或掉帧等,所述监测是否出现图像帧丢失的方式,可以通过监测图像处理和图像传输进程是否出现数据异常情况,判断是否出现图像帧丢失,可以通过获取所述投屏过程中的丢包率、图像处理速度等流畅度参数,根据所述流畅度参数进行计算和比较判断是否出现图像帧丢失,也可以通过比较检测输出的图像帧之间的相似度,判断是否出现图像帧丢失。In this embodiment, specifically, in the process of projecting a screen from the screen projection pusher to the screen projection receiver, it is monitored in real time whether an image frame is lost, wherein the image frame loss is a part of the image frame output by the screen projection receiver. If the number of frames is less than the theoretical output frame number, such as freeze or frame drop, the method of monitoring whether there is image frame loss can judge whether there is image frame loss by monitoring whether there is data abnormality in the process of image processing and image transmission , by obtaining fluency parameters such as packet loss rate and image processing speed in the screen projection process, calculating and comparing according to the fluency parameters to determine whether an image frame is lost, or by comparing and detecting the difference between the output image frames The similarity between them is used to judge whether there is an image frame loss.

步骤A20,当检测到所述投屏的过程中出现图像帧丢失时,将所述投屏的投屏显示模式切换至帧率优先模式。Step A20, when it is detected that an image frame loss occurs during the screen projection, switch the screen projection display mode of the screen projection to a frame rate priority mode.

在本实施例中,具体地,当检测到所述投屏的过程中出现图像帧丢失时,将所述投屏的投屏显示模式切换至帧率优先模式,以对所述目标投屏图像对应的目标分辨率进行减小调整,并对所述目标投屏图像对应的目标帧率进行增大调整,通过减小调整所述目标投屏图像的分辨率,可以有效降低图像处理和图像传输的负荷,提高图像处理和图像传输速度,通过增大调整所述目标投屏图像的帧率,可以对因为图像处理或图像传输负荷过大导致的图像帧丢失的情况进行帧率补偿,从而有效提高投屏显示效果,提高投屏体验。In this embodiment, specifically, when it is detected that an image frame loss occurs during the screen projection process, the screen projection display mode of the projection screen is switched to the frame rate priority mode, so as to control the target screen projection image The corresponding target resolution is reduced and adjusted, and the target frame rate corresponding to the target projection image is increased and adjusted. By reducing and adjusting the resolution of the target projection image, image processing and image transmission can be effectively reduced. The load of image processing and image transmission is improved, and by increasing and adjusting the frame rate of the target projected image, the frame rate compensation can be performed for the loss of image frames caused by excessive image processing or image transmission load, thereby effectively Improve the display effect of the screen projection and improve the screen projection experience.

进一步地,在本申请投屏图像显示方法的另一实施例中,参照图6,所述输出所述目标投屏图像的步骤之后,还包括:Further, in another embodiment of the projected screen image display method of the present application, referring to FIG. 6 , after the step of outputting the target projected screen image, it further includes:

步骤B10,实时监测所述目标投屏图像的变化率是否小于预设变化率;Step B10, monitoring in real time whether the rate of change of the projected image of the target is less than a preset rate of change;

在本实施例中,具体地,在投屏推送端向投屏接收端投屏的过程中,比较所述待投屏图像中预设数量连续的图像帧之间的相似度,根据所述相似度确定所述目标投屏图像的变化率,判定所述变化率是否小于预设变化率,其中,所述根据所述相似度确定所述目标投屏图像的变化率的方式可以是将所述相似度作为所述变化率,也可以是根据所述相似度进一步通过预设的变化率算法进行计算得到变化率,对此,本实施例不加以限制。In this embodiment, specifically, in the process of projecting from the screen projection pusher to the screen projection receiver, the similarity between a preset number of consecutive image frames in the image to be projected is compared, and according to the similarity Determine the change rate of the target projected screen image according to the degree of change, and determine whether the change rate is less than a preset change rate, wherein the method of determining the change rate of the target projected screen image according to the similarity may be to use the The similarity as the rate of change may also be a rate of change obtained by further calculating a preset rate of change algorithm according to the similarity, which is not limited in this embodiment.

步骤B20,当检测到所述目标投屏图像的变化率是否小于预设变化率时,将所述投屏的目标投屏显示模式切换至分辨率优先模式。Step B20, when it is detected whether the rate of change of the target projected screen image is less than a preset rate of change, switch the target projected screen display mode of the projected screen to a resolution priority mode.

在本实施例中,具体地,当检测到所述目标投屏图像的变化率是否小于预设变化率时,将所述投屏的投屏显示模式切换至分辨率优先模式,以对所述目标投屏图像对应的目标分辨率进行减增大调整,并对所述目标投屏图像对应的目标帧率进行减小调整,当所述目标投屏图像的变化率较小时,此时的投屏内容可能为图片、非高帧率电影等,通过减小调整所述目标投屏图像的帧率,可以有效降低图像处理和图像传输的负荷,提高图像处理和图像传输速度,通过增大调整所述目标投屏图像的分辨率,可以提升投屏画质,有效提高投屏显示效果,提高投屏体验。In this embodiment, specifically, when it is detected whether the change rate of the target projected screen image is less than a preset change rate, the projected screen display mode of the projected screen is switched to the resolution priority mode, so as to Decrease and increase the target resolution corresponding to the target projection image, and decrease and adjust the target frame rate corresponding to the target projection image. When the change rate of the target projection image is small, the projection The screen content may be pictures, non-high frame rate movies, etc. By reducing and adjusting the frame rate of the target projected image, the load of image processing and image transmission can be effectively reduced, and the speed of image processing and image transmission can be improved. The resolution of the target projection image can improve the image quality of the projection, effectively improve the display effect of the projection, and improve the projection experience.

进一步地,本申请实施例还提供一种投屏图像显示装置,参照图7,所述投屏图像显示装置应用于投屏图像显示设备,所述投屏图像显示装置包括:Further, the embodiment of the present application also provides a projected screen image display device. Referring to FIG. 7 , the projected screen image display device is applied to a projected screen image display device, and the projected screen image display device includes:

获取模块10,用于获取所述投屏推送端的上层应用信息;An acquisition module 10, configured to acquire the upper-level application information of the screen projection push end;

模式切换模块20,用于确定所述上层应用信息对应的目标投屏显示模式;A mode switching module 20, configured to determine the target projection screen display mode corresponding to the upper-layer application information;

图像处理模块30,用于当接收到投屏推送端发送的待投屏图像时,获取所述待投屏图像对应的初始显示参数;The image processing module 30 is configured to obtain initial display parameters corresponding to the image to be projected when receiving the image to be projected sent by the screen projection push end;

输出模块40,用于根据所述目标投屏显示模式调整所述初始显示参数,得到目标显示参数,基于所述目标显示参数输出所述待投屏图像。The output module 40 is configured to adjust the initial display parameters according to the target projection display mode to obtain target display parameters, and output the image to be projected based on the target display parameters.

可选地,所述模式切换模块20,还用于:Optionally, the mode switching module 20 is also used for:

根据所述上层应用信息,判断所述投屏推送端的上层应用是否为高帧率应用;According to the upper-layer application information, it is judged whether the upper-layer application of the screen projection push end is a high frame rate application;

若确定所述投屏推送端的上层应用为高帧率应用,则将预置的帧率优先模式确定为目标投屏显示模式。If it is determined that the upper layer application on the screen projection push end is a high frame rate application, then the preset frame rate priority mode is determined as the target screen projection display mode.

可选地,所述模式切换模块20,还用于:Optionally, the mode switching module 20 is also used for:

若确定所述投屏推送端的上层应用不为高帧率应用,则将预置的分辨率优先模式确定为目标投屏显示模式。If it is determined that the upper layer application on the screen projection push end is not a high frame rate application, then the preset resolution priority mode is determined as the target screen projection display mode.

可选地,所述输出模块40,还用于:Optionally, the output module 40 is also used for:

判断所述目标投屏显示模式是否为帧率优先模式;Judging whether the target projection display mode is a frame rate priority mode;

若确定所述目标投屏显示模式为帧率优先模式,则对所述初始帧率进行不变或增大调整,得到目标帧率,并对所述初始分辨率进行不变或减小调整,得到目标分辨率。If it is determined that the target screen projection display mode is the frame rate priority mode, the initial frame rate is adjusted unchanged or increased to obtain the target frame rate, and the initial resolution is adjusted unchanged or decreased, Get the target resolution.

可选地,所述输出模块40,还用于:Optionally, the output module 40 is also used for:

判断所述目标投屏显示模式是否为分辨率优先模式;Judging whether the target projection display mode is a resolution priority mode;

若确定所述目标投屏显示模式为分辨率优先模式,则对所述初始帧率进行不变或减小调整,得到目标帧率,并对所述初始分辨率进行不变或增大调整,得到目标分辨率。If it is determined that the target screen projection display mode is the resolution priority mode, the initial frame rate is adjusted unchanged or decreased to obtain the target frame rate, and the initial resolution is adjusted unchanged or increased, Get the target resolution.

可选地,所述投屏图像显示装置还包括监测模块,还用于:Optionally, the screen projection image display device also includes a monitoring module, which is also used for:

实时监测所述投屏的过程中是否出现图像帧丢失;Real-time monitoring whether image frame loss occurs during the screen projection process;

当检测到所述投屏的过程中出现图像帧丢失时,根据所述目标投屏显示模式调整所述目标显示参数。When it is detected that image frame loss occurs during the screen projection process, the target display parameter is adjusted according to the target screen projection display mode.

可选地,所述监测模块,还用于:Optionally, the monitoring module is also used for:

若确定所述目标投屏显示模式为帧率优先模式,则对所述目标分辨率进行减小调整,得到新的目标分辨率;If it is determined that the target screen projection display mode is a frame rate priority mode, the target resolution is reduced and adjusted to obtain a new target resolution;

若确定所述目标投屏显示模式为分辨率优先模式,则对所述目标帧率进行减小调整,得到新的目标帧率。If it is determined that the target screen projection display mode is a resolution priority mode, the target frame rate is reduced and adjusted to obtain a new target frame rate.

本发明提供的投屏图像显示装置,采用上述实施例中的投屏图像显示方法,解决了现有技术投屏显示效果较差的技术问题。与现有技术相比,本发明实施例提供的投屏图像显示装置的有益效果与上述实施例提供的投屏图像显示方法的有益效果相同,且该投屏图像显示装置中的其他技术特征与上述实施例方法公开的特征相同,在此不做赘述。The projected screen image display device provided by the present invention adopts the projected screen image display method in the above-mentioned embodiments, and solves the technical problem of poor projected screen display effect in the prior art. Compared with the prior art, the beneficial effect of the screen projection image display device provided by the embodiment of the present invention is the same as that of the screen projection image display method provided by the above embodiment, and other technical features of the screen projection image display device are the same as The features disclosed by the methods in the above embodiments are the same, and will not be repeated here.

进一步地,本申请还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述的投屏图像显示方法的步骤。Further, the present application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for displaying a projected screen image are realized.

本申请提供的计算机程序产品解决了现有技术投屏显示效果较差的技术问题。与现有技术相比,本发明实施例提供的计算机程序产品的有益效果与上述实施例提供的投屏图像显示方法的有益效果相同,在此不做赘述。The computer program product provided by this application solves the technical problem of poor projected screen display effect in the prior art. Compared with the prior art, the beneficial effect of the computer program product provided by the embodiment of the present invention is the same as the beneficial effect of the method for displaying a projected screen image provided by the above embodiment, and details are not repeated here.

以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利处理范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent processing scope of the present application in the same way.

Claims (8)

1. A screen-projected image display method is characterized by comprising the following steps:
acquiring upper-layer application information of a screen projection pushing end;
switching the target screen projection display mode of the screen projection to a screen projection display mode corresponding to the upper application information;
when receiving a screen image to be projected sent by a screen projection pushing end, carrying out image processing on the screen image to be projected according to the target screen projection display mode to obtain a target screen projection image, wherein the image processing comprises image resolution adjustment and image frame rate adjustment;
outputting the target screen projection image;
wherein, after the step of outputting the target screen projection image, the method further comprises:
monitoring whether image frame loss occurs in the screen projection process in real time;
when the image frame loss is detected in the screen projection process, switching a screen projection display mode of the screen projection to a frame rate priority mode so as to reduce and adjust the target resolution corresponding to the target screen projection image and increase and adjust the target frame rate corresponding to the target screen projection image;
after the step of outputting the target screen projection image, the method further comprises the following steps:
comparing the similarity between a preset number of continuous image frames in the image to be projected, determining the change rate of the target screen projection image according to the similarity, and monitoring whether the change rate of the target screen projection image is smaller than a preset change rate in real time;
when the change rate of the target screen projection image is smaller than the preset change rate, switching the screen projection target display mode to a resolution priority mode to increase and adjust the target resolution corresponding to the target screen projection image and decrease and adjust the target frame rate corresponding to the target screen projection image.
2. The screen-projected image display method of claim 1, wherein the step of performing image processing on the image to be projected according to the target screen-projected display mode to obtain a target screen-projected image comprises:
acquiring initial display parameters corresponding to the image to be projected;
adjusting the initial display parameters according to the target screen projection display mode to obtain target display parameters;
and carrying out image processing on the image to be projected according to the target display parameters to obtain a target screen projection image.
3. The method for displaying a projected image according to claim 2, wherein the display parameters include a frame rate and a resolution, and the step of adjusting the initial display parameters according to the target projected display mode to obtain the target display parameters comprises:
if the target screen projection display mode is determined to be a frame rate priority mode, increasing and adjusting the initial frame rate to obtain a target frame rate, and decreasing and adjusting the initial resolution to obtain a target resolution;
and if the target screen projection display mode is determined to be a resolution priority mode, reducing and adjusting the initial frame rate to obtain a target frame rate, and increasing and adjusting the initial resolution to obtain a target resolution.
4. The method for displaying a projected image according to claim 1, wherein the projected display mode includes a frame rate priority mode and a resolution priority mode, and the step of switching the target projected display mode of the projected screen to the projected display mode corresponding to the upper layer application information includes:
judging whether the upper layer application of the screen projection pushing end is a high frame rate application or not according to the upper layer application information;
if the upper-layer application of the screen projection pushing end is determined to be the high frame rate application, switching the target screen projection display mode of the screen projection to a frame rate priority mode;
and if the upper application of the screen projection pushing end is determined not to be the high frame rate application, switching the target screen projection display mode of the screen projection to a resolution priority mode.
5. The method for displaying the screen-projected image according to claim 4, wherein the upper layer application information includes an upper layer application type, and the step of determining whether the upper layer application of the screen-projected push terminal is a high frame rate application according to the upper layer application information includes:
judging whether the upper layer application type belongs to a preset high frame rate application white list or not;
and if the upper layer application type belongs to a preset high frame rate application white list, judging that the upper layer application of the screen projection pushing end is the high frame rate application.
6. A screen-projected image display apparatus, comprising:
the acquisition module is used for acquiring upper-layer application information of the screen projection pushing end;
the mode switching module is used for switching the target screen projection display mode of the screen projection to a screen projection display mode corresponding to the upper-layer application information;
the image processing module is used for carrying out image processing on the screen image to be projected according to the target screen projection display mode when the screen image to be projected sent by the screen projection pushing end is received, so as to obtain a target screen projection image;
the output module is used for outputting the target screen projection image, wherein the image processing comprises image resolution adjustment and image frame rate adjustment;
the monitoring module is used for monitoring whether the image frame is lost in the screen projection process in real time; when the image frame loss occurs in the screen projection process, adjusting target display parameters according to the target screen projection display mode so as to reduce and adjust the target resolution ratio corresponding to the target screen projection image and increase and adjust the target frame rate corresponding to the target screen projection image;
the monitoring module is further used for comparing the similarity among a preset number of continuous image frames in the image to be projected, determining the change rate of the target screen projected image according to the similarity, and monitoring whether the change rate of the target screen projected image is smaller than a preset change rate in real time; and when detecting that the change rate of the target screen projection image is smaller than a preset change rate, switching the target screen projection display mode of the screen projection to a resolution priority mode.
7. An electronic device, characterized in that the electronic device comprises:
at least one processor; and (c) a second step of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the projected image display method of any of claims 1 to 5.
8. A storage medium, characterized in that the storage medium is a computer-readable storage medium having stored thereon a program for implementing a projected image display method, the program being executed by a processor to implement the steps of the projected image display method according to any one of claims 1 to 5.
CN202210189624.7A 2022-02-28 2022-02-28 Screen projection image display method and device, electronic equipment and storage medium Active CN114647468B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210189624.7A CN114647468B (en) 2022-02-28 2022-02-28 Screen projection image display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210189624.7A CN114647468B (en) 2022-02-28 2022-02-28 Screen projection image display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114647468A CN114647468A (en) 2022-06-21
CN114647468B true CN114647468B (en) 2023-04-07

Family

ID=81993257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210189624.7A Active CN114647468B (en) 2022-02-28 2022-02-28 Screen projection image display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114647468B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117560534A (en) * 2022-08-05 2024-02-13 华为技术有限公司 Multi-window screen projection method, electronic equipment and system
CN116055794B (en) * 2023-01-03 2025-03-21 北京京东方光电科技有限公司 Screen projection method, screen projection device and screen projection system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019897B (en) * 2020-08-27 2022-11-08 北京字节跳动网络技术有限公司 Screen projection method and device, electronic equipment and computer readable medium
CN113691846A (en) * 2020-09-10 2021-11-23 华为终端有限公司 Multi-window screen projection method and electronic equipment
CN112667181A (en) * 2020-12-31 2021-04-16 努比亚技术有限公司 Screen projection method, screen projection equipment, screen projection control system and storage medium
CN112822538A (en) * 2020-12-31 2021-05-18 努比亚技术有限公司 Screen projection display method, screen projection device, terminal and storage medium

Also Published As

Publication number Publication date
CN114647468A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
US11321906B2 (en) Asynchronous time and space warp with determination of region of interest
WO2022111672A1 (en) Data processing method and apparatus, and electronic device
US12279070B2 (en) Method for frame interpolation and related products
CN114647468B (en) Screen projection image display method and device, electronic equipment and storage medium
CN108234894B (en) Exposure adjusting method and terminal equipment
CN114428598B (en) Screen projection method, device, electronic device and storage medium
WO2022048424A1 (en) Screen picture adaptive adjustment method, apparatus and device, and storage medium
CN109462745B (en) White balance processing method and mobile terminal
CN114501122B (en) Screen projection method, device, storage medium and screen projection device for audio and video data
CN111432261A (en) Video window picture display method and device
CN107409237A (en) Dynamic adjustment of cloud gaming data streams for output devices and network quality
US12217368B2 (en) Extended field of view generation for split-rendering for virtual reality streaming
US9996311B2 (en) Efficient communication interface for casting interactively controlled visual content
CN110660365A (en) Area backlight control method, display and storage medium
CN114501089B (en) Screen-throwing communication method and device, electronic equipment and storage medium
US20250211719A1 (en) Projection apparatus and operating method thereof
JP2013015741A (en) Image output device, image output method and program
CN114463358A (en) Screen projection display method and device, electronic equipment and readable storage medium
CN114463359A (en) Screen projection display method, device, electronic device and readable storage medium
CN114564142A (en) Screen projection control method and device, electronic equipment and storage medium
WO2019020112A1 (en) Terminal display method, terminal and computer-readable storage medium
CN114489549B (en) Screen projection image processing method and device, electronic equipment and storage medium
WO2021036551A1 (en) Power consumption adjustment method and device, and computer-readable storage medium
US12333205B2 (en) Display configuration determination for connected display devices
CN109561258B (en) A kind of supplementary light method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant