WO2021136158A1 - Video window picture displaying method and apparatus - Google Patents
Video window picture displaying method and apparatus Download PDFInfo
- Publication number
- WO2021136158A1 WO2021136158A1 PCT/CN2020/140063 CN2020140063W WO2021136158A1 WO 2021136158 A1 WO2021136158 A1 WO 2021136158A1 CN 2020140063 W CN2020140063 W CN 2020140063W WO 2021136158 A1 WO2021136158 A1 WO 2021136158A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- window
- electronic device
- system resolution
- video
- window size
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 71
- 230000008859 change Effects 0.000 claims description 26
- 238000004891 communication Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 6
- 230000006872 improvement Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 19
- 230000002452 interceptive effect Effects 0.000 description 17
- 238000009877 rendering Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 239000002131 composite material Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/485—End-user interface for client configuration
- H04N21/4858—End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
Definitions
- This application relates to the field of computer technology, and in particular to a method and device for displaying a video window screen.
- system resolution is: the resolution supported by the operating system of the electronic device.
- the electronic device needs to refresh and render the video screen displayed in the video window in real time. Therefore, when the electronic device adopts the system When the resolution is higher, the CPU (Central Processing Unit) load of the electronic device may be too high, which will cause the video screen displayed in the video window to appear stuck, which affects the display effect of the video screen displayed in the video window. .
- the CPU Central Processing Unit
- the purpose of the embodiments of the present application is to provide a video window screen display method, device, electronic device, and storage medium, so as to improve the display effect of the video screen displayed by the video window.
- the specific technical solutions are as follows:
- an embodiment of the present application provides a method for displaying a video window screen, which is applied to an electronic device.
- the method includes: determining a window size of a video window; and adjusting the system resolution of the electronic device to be the same as that of the window.
- the target system resolution corresponding to the size; the screen of the video window is displayed according to the target system resolution corresponding to the window size.
- the electronic device includes: an electronic device with video conferencing and electronic drawing board functions; the maximum system resolution of the electronic device is 4K resolution.
- the target system resolution corresponding to the window size is: under the window size, used to ensure that the CPU load of the electronic device meets the target load condition
- the step of determining the window size of the video window includes: determining the window size of the video window when the video window is opened; or, when opening video playback in the video window, determining all The window size of the video window; or, in the case of obtaining a window size adjustment instruction for the video window from small to large, determine the window size of the video window after responding to the window size adjustment instruction from small to large.
- the step of adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size includes: according to a preset window size and system resolution The corresponding relationship of the electronic device is to reduce the system resolution of the electronic device to the target system resolution corresponding to the window size; or, according to a preset resolution adjustment amount, the system resolution of the electronic device is reduced until the The CPU load of the electronic device satisfies the target load condition.
- the resolution of the video screen displayed by the video window is less than the maximum system resolution that the electronic device can provide; when the window size of the video window reaches a preset size
- the target system resolution corresponding to the window size of the video window is: the resolution of the video picture.
- the target system resolution corresponding to the window size of the video window is: The maximum system resolution provided.
- the preset size is: the window size of the video window when the video window is displayed in full screen.
- the system resolution of the electronic device is the first system resolution
- the first system resolution includes: the initial system resolution of the electronic device or the maximum system resolution provided by the electronic device; displaying the video at the target system resolution corresponding to the window size
- the method further includes: acquiring a state change instruction for the video window, wherein the state change instruction includes: a restoration instruction, a hiding instruction, a closing instruction, and a window reorganization instruction of the video window.
- the restoration instruction is: an instruction for instructing to restore the window size of the video window to the window size before the window size adjustment instruction from the smallest to the largest;
- the system resolution of the electronic device is adjusted to the first system resolution.
- the method further includes: obtaining a window for the video window From large to small adjustment instruction; determine the current window size of the video window after responding to the large to small adjustment instruction of the window; increase the system resolution of the electronic device to the second system resolution, wherein the first The second system resolution is: the maximum system resolution used to ensure that the CPU load of the electronic device meets the target load condition under the current window size of the video window.
- the step of adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size includes: determining that the window size of the video window is full-screen In this case, the system resolution of the electronic device is adjusted to the target system resolution corresponding to the full screen.
- the method before the step of adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size, the method further includes: detecting the electronic device Whether the CPU load of the device meets the target load condition; if not, execute the step of adjusting the system resolution of the electronic device to the target system resolution corresponding to the window size.
- an embodiment of the present application provides a video window screen display device, which is applied to an electronic device, and the device includes: a first window size determining module for determining the window size of the video window; and a first resolution adjusting module , For adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size; a picture display module for displaying the picture of the video window according to the target system resolution corresponding to the window size .
- the electronic device includes: an electronic device with video conferencing and electronic drawing board functions; the maximum system resolution of the electronic device is 4K resolution.
- the target system resolution corresponding to the window size is: under the window size, used to ensure that the CPU load of the electronic device meets the target load condition
- the first window size determination module is specifically configured to: determine the window size of the video window when opening the video window; or, when opening video playback in the video window, determine the The window size of the video window; or, in the case of obtaining a window size adjustment instruction for the video window from small to large, determine the window size of the video window after responding to the window size adjustment instruction from small to large.
- the first resolution adjustment module is specifically configured to: reduce the system resolution of the electronic device to that of the system resolution according to the preset correspondence between the window size and the system resolution.
- the target system resolution corresponding to the window size; or, according to a preset resolution adjustment amount, the system resolution of the electronic device is reduced until the CPU load of the electronic device meets the target load condition.
- the device further includes: a relationship determination module, configured to: if the resolution of the video screen displayed by the video window is less than the maximum system resolution that the electronic device can provide, When the window size of the video window reaches the preset size, it is determined that the system resolution corresponding to the window size of the video window is: the resolution of the video picture.
- a relationship determination module configured to: if the resolution of the video screen displayed by the video window is less than the maximum system resolution that the electronic device can provide, When the window size of the video window reaches the preset size, it is determined that the system resolution corresponding to the window size of the video window is: the resolution of the video picture.
- the relationship determination module is further configured to determine that the target system resolution corresponding to the window size of the video window is: provided by the electronic device when the window size of the video window does not reach a preset size The maximum system resolution.
- the preset size is: the window size of the video window when the video window is displayed in full screen.
- the system resolution of the electronic device is the first system resolution
- the first system resolution includes: the initial system resolution of the electronic device or the maximum system resolution provided by the electronic device; the device further includes: a change instruction acquisition module for After the step of displaying the screen of the video window at the target system resolution corresponding to the window size, a state change instruction for the video window is obtained, wherein the state change instruction includes: a restoration instruction and a hiding instruction of the video window At least one of a close instruction and a window adjustment instruction from large to small, where the restoration instruction is used to instruct to restore the window size of the video window to the one before responding to the window adjustment instruction from small to large Window size instruction; a second resolution adjustment module for adjusting the system resolution of the electronic device to the first system resolution.
- the device further includes: an adjustment instruction obtaining module, configured to obtain after the step of displaying the image of the video window according to the target system resolution corresponding to the window size An instruction for adjusting the window of the video window from large to small; a second window size determining module for determining the current window size of the video window after responding to the instruction for adjusting the window from large to small; a resolution increasing module, Used to increase the system resolution of the electronic device to a second system resolution, where the second system resolution is: under the current window size of the video window, used to ensure the CPU load of the electronic device The maximum system resolution that meets the target load condition.
- an adjustment instruction obtaining module configured to obtain after the step of displaying the image of the video window according to the target system resolution corresponding to the window size An instruction for adjusting the window of the video window from large to small
- a second window size determining module for determining the current window size of the video window after responding to the instruction for adjusting the window from large to small
- a resolution increasing module Used to increase the system resolution of the electronic device to
- the first resolution adjustment module is specifically configured to: adjust the system resolution of the electronic device to be the same as the resolution of the electronic device when it is determined that the window size of the video window is full screen The target system resolution corresponding to the full screen.
- the device further includes: a load detection module for adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size. Previously, it was detected whether the CPU load of the electronic device satisfies the target load condition; if not, the execution and triggering of the first resolution adjustment module were executed.
- an embodiment of the present application provides an electronic device, including a processor and a memory, the memory is used to store a computer program; the processor is used to execute the program stored in the memory to implement the above-mentioned first aspect Provides the steps of any video window screen display method.
- the electronic device further includes a communication interface and a communication bus; wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus.
- an embodiment of the present application provides a computer-readable storage medium having a computer program stored in the computer-readable storage medium, and when the computer program is executed by a processor, any frequency provided by the above-mentioned first aspect is implemented.
- the steps of the window screen display method are not limited to:
- the embodiments of the present application provide a computer program product containing instructions that, when executed by a processor, implement the steps of any video window screen display method provided in the first aspect.
- the solution provided by the embodiments of this application when conducting video calls, watching live broadcasts and other activities, you can first determine the window size of the video window, and then adjust the system resolution of the electronic device to correspond to the window size Target system resolution. In this way, the video screen displayed in the video window can be displayed according to the adjusted target system resolution. Based on this, by applying the solution provided by the embodiments of the present application, the system resolution adopted by the electronic device can be adjusted adaptively according to the window size of the video window, so that the CPU load of the electronic device can meet the requirements for processing the video screen displayed by the video window. The need for real-time refreshing and rendering, thereby improving the display effect of the video screen displayed in the video window.
- Figure 1(a) is a schematic diagram of the display screen of the electronic device when the video call window is displayed in a small window;
- Figure 1(b) is a schematic diagram of the display screen of the electronic device when the video call window is displayed in full screen;
- FIG. 2 is a schematic flowchart of a method for displaying a video window screen provided by an embodiment of the application
- Fig. 3(a) is a schematic flowchart of another video window screen display method provided by an embodiment of the application.
- FIG. 3(b) is a schematic flowchart of another video window screen display method provided by an embodiment of the application.
- FIG. 4(a) is a schematic flowchart of a video window screen display method provided by an embodiment of the present application based on the specific implementation shown in FIG. 3(a);
- FIG. 4(b) is a schematic flowchart of a video window screen display method provided by an embodiment of the present application based on the specific implementation shown in FIG. 3(b);
- FIG. 5(a) is a schematic flowchart of another video window screen display method provided by an embodiment of the present application on the basis of the specific implementation shown in FIG. 3(a);
- Figure 5(b) is a schematic flowchart of another video window screen display method provided by an embodiment of the present application based on the specific implementation shown in Figure 3(b);
- FIG. 6 is a schematic flowchart of another video window screen display method provided by an embodiment of the application.
- FIG. 7 is a schematic structural diagram of a video window screen display device provided by an embodiment of the application.
- FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of this application.
- FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
- an embodiment of the present application provides a method for displaying a video window screen.
- the method can be applied to any electronic device that needs to display a video window and display a video screen in the video window, such as a mobile phone, a notebook computer, a tablet computer, etc., which is not specifically limited in the embodiment of the present application, as follows Referred to as electronic equipment.
- the electronic device that implements the video window screen display mode may be: an electronic device having both a video conference function and an electronic drawing board function, such as an intelligent interactive all-in-one machine.
- the so-called intelligent interactive all-in-one machine refers to: an intelligent interactive all-in-one machine that has both remote video conferencing functions and electronic drawing board functions.
- the intelligent interactive all-in-one machine can be: an electronic device that integrates an operating system, a display screen that supports touch-screen operation, and a camera; preferably, the intelligent interactive all-in-one machine can run a set of electronic drawing board writing and document presentation. , Wireless projection, remote video conference and other interactive functions in one interactive software.
- the operating system of the intelligent interactive all-in-one machine may be a Windows operating system
- the camera of the intelligent interactive all-in-one machine may be an external camera or a built-in camera.
- FIG. 1(a) it is a schematic diagram of the display screen of the electronic device when the video window is displayed in a small window.
- the video window displayed in the small window is suspended in a corner of the display screen of the intelligent interactive all-in-one machine, and the intelligent interaction
- the other area of the display screen of the all-in-one machine is an electronic drawing board, and the user can write on the electronic drawing board by touching the screen or using a stylus pen; among them, the video window is a small window display means: a display in the electronic device Or the video window area formed by multiple video windows only occupies a part of the area of the display screen of the electronic device, but does not occupy the entire area of the display screen of the electronic device.
- FIG. 1(b) it is a schematic diagram of the display screen of the electronic device when the video window is displayed in full screen.
- multiple video windows are tiled on the display screen of the intelligent interactive all-in-one machine, and occupy the area of the intelligent interactive all-in-one machine.
- the entire area of the display screen; where the full-screen display of the video window means that the video window area composed of one or more video windows displayed in the electronic device occupies the entire area of the display screen of the electronic device.
- the video window area formed by the one or more video windows is equivalent to a composite video window synthesized by the one or more video windows, and the window size of the composite video window is the full screen size.
- the maximum system resolution of the electronic device may be 4K resolution.
- 4K resolution refers to: in the display screen of the electronic device, the number of pixels in each pixel row in the horizontal direction can reach or close to a resolution of 4096.
- the 4K resolution can usually be: 4096*2160 .
- 4K resolution can also have various derivative resolutions.
- Full Aperture 4K is: 4096*3112
- Academy 4K is: 3656*2664
- UHDTV standard is: 3840*2160, etc.
- the above resolutions are all 4K resolutions. Category.
- a method for displaying a video window screen may include:
- the picture of the video window is displayed according to the target system resolution corresponding to the window size.
- the solution provided by the embodiments of this application when conducting video calls, watching live broadcasts and other activities, you can first determine the window size of the video window, and then adjust the system resolution of the electronic device to correspond to the window size Target system resolution. In this way, the video screen displayed in the video window can be displayed according to the adjusted target system resolution. Based on this, by applying the solution provided by the embodiments of the present application, the system resolution adopted by the electronic device can be adjusted adaptively according to the window size of the video window, so that the CPU load of the electronic device can meet the requirements for processing the video screen displayed by the video window. The need for real-time refreshing and rendering, thereby improving the display effect of the video screen displayed in the video window.
- FIG. 2 is a schematic flowchart of a method for displaying a video window screen provided by an embodiment of the application. As shown in FIG. 2, the method may include the following steps:
- the electronic device can change the window size of the video window according to various instructions sent by the user to adjust the window size of the video window. Based on this, in order to ensure the display effect of the video screen displayed by the video window under different window sizes, the electronic device may first determine the window size of the video window.
- the electronic device can display the video window on the display screen in a variety of display modes, and the window size of the video window can be different in different display modes, so that when the display mode of the video window is changed , The window size of the video window can be changed.
- the electronic device when detecting a change in the display mode of the video window, the electronic device needs to re-determine the window size of the video window, thereby determining whether the system resolution needs to be adjusted.
- the electronic device can determine the window size of the video window in a variety of ways, which is not specifically limited in the embodiment of the present application.
- the electronic device may detect the display mode of the video window, so as to determine the window size of the video window according to the detected display mode.
- the electronic device can detect the ratio of the area occupied by the video window on the display screen to the entire display screen, so that the size of the video window can be determined according to the ratio and the size of the display screen. The size of the window.
- the electronic device may directly detect the length and width dimensions of the video window, and thereby, determine the window size of the video window according to the detected length and width dimensions.
- the electronic device when the electronic device receives the full-screen display instruction, it can determine that the window size of the video window is the full-screen size, and then it can be determined that the window size of the video window is the size of the display screen of the electronic device.
- the electronic device can continue to perform the above step S202 to adjust the system resolution of the electronic device to the target system resolution corresponding to the window size.
- S203 Display the picture of the video window according to the target system resolution corresponding to the window size.
- the system resolution of the electronic device is adjusted to the target system resolution corresponding to the determined window size, the electronic device can display the picture of the video window according to the target system resolution corresponding to the window size.
- step S201 determining the window size of the video window
- the electronic device may execute the above step S201 at different times to obtain the window size of the video window.
- the target system resolution corresponding to the window size may be: under the window size, the system resolution used to ensure that the CPU load of the electronic device meets the target load condition.
- the above step S201 may include the following steps:
- the window size of the video window after responding to the adjustment instruction for the window from small to large is determined.
- the electronic device can perform the above step S201 in three cases, wherein, in the three cases, the specific implementation manner of the electronic device is as follows:
- the video window is opened; specifically, in this case, the electronic device can determine the window size of the opened video window when the video window is opened.
- a video window can include three processes from the beginning of the display to the end of the display: opening the video window, displaying the video image in the video window, and closing the video window. Obviously, after the video window is opened, the video window starts to display the video image. Therefore, the electronic device needs to refresh and render the video image displayed in the video window in real time. Therefore, when the video window is opened, the electronic device needs to determine whether Need to adjust the system resolution. Based on this, the electronic device can determine the window size of the video window when the video window is opened.
- the electronic device may preset a default display mode when the video window is opened, that is, preset a display mode used when the video window is started. In this way, the window size of the video window can be directly determined when the video window is opened.
- video playback is started in the video window; specifically, in this case, the electronic device can determine the window size of the video window when starting video playback in the video window, that is, when the video screen starts to be displayed in the video window To determine the window size of the video window.
- the video window is opened but the video playback is not started, that is, although there is a video window on the display screen of the electronic device, the video window does not display a video screen, or there is Although there is a video window on the display screen of the electronic device, the video picture displayed in the video window remains unchanged, that is, the video picture played by the video window is in a playback pause state. Then, in this case, although the video window is open, because there is no video screen displayed in the video window, or the played video screen is in a playback pause state, the electronic device does not need to display the video in the video window. The screen is refreshed and rendered in real time.
- the electronic device may determine that the system resolution does not need to be adjusted, and therefore, the electronic device may not determine the window size of the video window. Furthermore, when video playback is started in the video window, since the video screen displayed in the video window may continue to change, the electronic device may start to need to refresh and render the video screen displayed in the video window in real time, thus, The electronic device needs to determine whether the system resolution needs to be adjusted. Based on this, when detecting that the video in the video window is started to play, the electronic device can determine the window size of the video window.
- an adjustment instruction for the window of the video window from small to large is obtained; specifically, in this case, the electronic device first responds to the obtained adjustment instruction, and then determines the result obtained after responding to the adjustment instruction The window size of the video window.
- the user can change the window size of the video window at any time.
- the window size of the video window changes from small to large, after the window size change is completed, when the electronic device refreshes and renders the video screen displayed in the video window in real time, the number of pixels that need to be refreshed and rendered Will increase, and thus, the CPU load of the electronic device will increase accordingly.
- the electronic device needs to adjust the system resolution so that the CPU load can meet the real-time refresh and rendering requirements of the video window. Ensure that the CPU load of the electronic device meets the target load condition.
- the target load conditions include conditions that enable the CPU load of the electronic device to meet the requirements for real-time refreshing and rendering of the video screen displayed by the video window.
- the foregoing target load condition may be: less than a target load threshold; or: within a target load range.
- the target load threshold includes: the maximum CPU load threshold that the electronic device can bear when meeting the requirements for real-time refreshing and rendering of the video screen displayed in the video window.
- the target load condition may be a condition preset in the electronic device, and specifically may be less than a preset load threshold, or may be within a preset load range.
- the target load condition can also be other conditions that enable the CPU load of the electronic device to meet the requirements for real-time refreshing and rendering of the video screen displayed by the video window, thereby improving the display effect of the video screen displayed by the video window , This is all reasonable.
- the electronic device can determine the window size of the video window in response to the small to large adjustment instruction of the window.
- the above-mentioned adjustment instruction for the window of the video window from small to large may be a switch instruction for the video window from small screen display to full screen display.
- the video window currently displayed in full screen can be switched to a small window display; for another example, when the user wants When viewing the expression of the caller in the video screen displayed in the video window more clearly, you can switch the video window currently displayed in the small window to full-screen display.
- the size of the video window will change from small to large, so that the electronic device can determine the window size of the electronic device after the switching is completed.
- the target system resolution corresponding to the window size is the system resolution used to ensure that the CPU load of the electronic device meets the target load condition under the window size. Therefore, after adjusting the system resolution of the electronic device to the target system resolution corresponding to the window size of the video window, the electronic device can smoothly refresh and refresh the video screen displayed in the video window in real time under the window size. Rendering, thereby improving the display effect of the video screen displayed in the video window.
- step S202 of adjusting the system resolution of the electronic device to the target system resolution corresponding to the window size will be described in detail.
- the target system resolution corresponding to the window size may be: under the window size, the system resolution used to ensure that the CPU load of the electronic device meets the target load condition.
- the electronic device can smoothly refresh and refresh the video screen displayed in the video window in real time under the window size. Rendering, thereby improving the display effect of the video screen displayed in the video window.
- the system resolution of the electronic device can be adjusted It is the target system resolution corresponding to the full screen.
- the system resolution of the electronic device may be adjusted to the target system resolution corresponding to the full screen only when the window size of the video window is determined to be the full screen.
- adjusting the system resolution of an electronic device may cause the operation interface of the electronic device to be deformed.
- the size of the icon in the operation interface or the aspect ratio of the icon changes, etc., and when it is only in the window size of the video window
- the system resolution for full screen since the video window occupies the entire area of the display screen of the electronic device, the user can only see the video displayed in the full screen video window, but not The operation interface of the electronic device, therefore, even if the operation interface of the electronic device is deformed due to the adjustment of the system resolution, the user will not perceive it, so that the user experience can be improved.
- step S202 may include the following steps:
- S202A Decrease the system resolution of the electronic device to the target system resolution corresponding to the window size according to the preset correspondence between the window size and the system resolution.
- the system resolution that can ensure that the CPU load of the electronic device meets the target load condition can be determined in advance, so that the corresponding relationship between the window size and the system resolution is established, and the corresponding relationship is recorded In electronic equipment.
- the electronic device can directly read the target system resolution corresponding to the determined window size from the corresponding relationship.
- the corresponding relationship between the window size and the system resolution may be determined according to the resolution of the video screen displayed in the video window (or the resolution of the code stream).
- the resolution (or stream resolution) of the video screen displayed by the video window is less than the maximum system resolution that the electronic device can provide, you can set: when the window size of the video window reaches the preset size, Determine the resolution (or stream resolution) of the video screen displayed in the video window as the system resolution corresponding to the window size.
- the maximum system resolution that the electronic device can provide may be determined as the system resolution corresponding to the window size.
- the maximum system resolution that electronic devices such as smart interactive all-in-one machines can provide is 4K resolution
- the video screen resolution in the video window is 1920*1080, which is referred to as 1080P.
- the preset size of the video window can be set to 50% of the display screen size of the above-mentioned smart interactive all-in-one electronic device, so that when the window size of the video window reaches the size of the display screen of the above-mentioned smart interactive all-in-one electronic device
- the system resolution corresponding to the window size of the video window is determined to be 1080P
- the window size of the video window does not reach 50% of the display screen size of the above-mentioned smart interactive all-in-one machine and other electronic devices, the window size of the video window
- the corresponding system resolution is determined to be 4K resolution.
- the window size and system resolution are determined according to the resolution (or stream resolution) of the video screen displayed in the video window.
- the aforementioned preset size may be: the window size of the video window when the video window is displayed in full screen.
- the system resolution corresponding to the window size of the video window is determined as: the resolution of the video screen;
- the resolution corresponding to the window size of the video window is: the maximum system resolution provided by the electronic device.
- the display mode of the video window in the above-mentioned smart interactive all-in-one electronic device includes small screen display and full screen display, you can set: when the display mode of the video window is small screen display, the system corresponding to the window size of the video window The resolution is determined as the initial system resolution of the electronic device or the maximum resolution that the electronic device can provide, such as 4K resolution; when the display mode of the video window is full-screen display, set the system resolution corresponding to the window size of the video window Set as the resolution (or stream resolution) of the video screen displayed in the video window, for example, 1080P.
- the system resolution of the electronic device is adjusted to the resolution (or stream resolution) of the video screen displayed in the video window.
- the resolution of the video screen displayed in the video window does not match It does not drop, but reduces the system resolution of the electronic device, thereby reducing the CPU resources consumed by the electronic device when performing operations such as decoding, refreshing, and rendering the video screen displayed in the video window, and improves the video screen displayed in the video window.
- the smoothness of the video window improves the display effect of the video screen displayed in the video window.
- the video window when the video window is displayed in full screen, since the video window occupies the entire area of the display screen of the electronic device, the user can only see the video window displayed in full screen, and not the operation interface of the electronic device. In this way, even if the operation interface of the electronic device is deformed due to the adjustment of the system resolution, the user will not perceive it, which can improve the user experience; in addition, the system resolution of the electronic device is reduced only when the video window is displayed in full screen, The maximum system resolution provided by the electronic device can be used when the video window is displayed on a small screen other than the full-screen display, so that when the video window is displayed on a small screen other than the full-screen display, the user can perform other tasks on the electronic device.
- step S202 may include the following steps:
- S202B Decrease the system resolution of the electronic device according to the preset resolution adjustment amount until the CPU load of the electronic device meets the target load condition.
- the window size of the video window is when the electronic device opens the video window, or when the video playback is started in the video window, or when the window size adjustment instruction for the video window is obtained from small to large Therefore, in order to ensure that the CPU load of the electronic device meets the target load condition, the system resolution of the electronic device can be reduced.
- the display screen can also have a higher definition, the electronic device can gradually reduce the system resolution of the electronic device according to the preset resolution adjustment amount, until The CPU load of the electronic device satisfies the target load condition.
- the electronic device may calculate the current CPU load of the electronic device and detect whether the CPU load meets the target load condition. Furthermore, when the detection result is yes, stop reducing the system resolution, otherwise, you can adjust the preset resolution again to reduce the system resolution, and repeat the above calculation and detection process until the CPU load of the electronic device meets the target Load conditions.
- step S202 is performed to adjust the system resolution of the electronic device to the target system resolution corresponding to the determined window size, the electronic device uses a certain system resolution to display its own display screen. contents.
- the system resolution of the electronic device may be the first system resolution
- the first system resolution may include: the initial system resolution of the electronic device or the maximum system resolution that the electronic device can provide.
- the initial system resolution of the electronic device may be a system resolution not greater than the maximum system resolution that the electronic device can provide.
- the first system resolution may also be other system resolutions besides the aforementioned initial system resolution and maximum system resolution.
- the display state of the video window can be changed, so that the electronic device You can adjust the system resolution again.
- this application implements The example provides a method for displaying a video window screen, which may also include the following steps:
- the state change instruction includes: at least one instruction among the video window restoration instruction, hiding instruction, closing instruction, and window adjustment instruction from large to small; and, the restoration instruction is: used to instruct to restore the window size of the video window to Respond to the instruction of adjusting the size of the window before the instruction from small to large.
- S205 Adjust the system resolution of the electronic device to the first system resolution.
- the electronic device when the above state change instruction is a restore instruction or a window size adjustment instruction from large to small, the electronic device will reduce the window size of the video window; and when the above state change instruction is a close instruction or a hide instruction, the display screen will The video window is no longer displayed. Based on this, when the state change instruction for the video window is obtained, when the electronic device refreshes and renders the picture displayed in the video window in real time, the number of refreshed and rendered pixels will be reduced, or the electronic device It is no longer necessary to refresh and render the picture displayed in the video window in real time, and therefore, the CPU load of the electronic device will be reduced.
- the current system resolution of the electronic device is the system resolution adjusted to after the above step S202 is executed, and according to the above-mentioned specific comparison shown in FIG. 3(a) and FIG. 3(b) Description of the implementation method, the current system resolution of the electronic device can be smaller than the first system resolution of the electronic device. Therefore, in order to improve the definition of the display screen of the electronic device, the electronic device can restore the system resolution to the first system resolution. Resolution.
- the display can also be displayed in accordance with the first system resolution.
- the picture displayed in the video window is a restoration command or a window adjustment command from large to small
- the electronic device may record the first system resolution of the electronic device before performing step S202 above, so that the electronic device can directly read the recorded first system resolution of the electronic device after acquiring the state change instruction for the video window, and then execute the above-mentioned step S205.
- the video window screen display method provided by the embodiment may further include the following steps:
- S207 Determine the current window size of the video window after responding to the window adjustment instruction from large to small;
- the second system resolution is: the maximum system resolution used to ensure that the CPU load of the electronic device meets the target load condition under the current window size of the video window.
- the electronic device can continue to obtain the window size adjustment instruction for the video window from large to small, so that the electronic device can respond to the adjustment instruction to reduce the window size of the video window. Furthermore, the electronic device can determine the current window size of the video window after responding to the window adjustment instruction from large to small.
- the display mode of the video window is first converted from a small screen display to a full screen display or a window display larger than a small screen video window, and then a full screen display or a window display larger than a small screen video window is converted to a small screen display.
- the instruction acquired by the electronic device may be: a restoration instruction, and the restoration instruction may be a window size adjustment instruction for the video window.
- the electronic device since the window size of the video window is reduced after responding to the window size adjustment command from large to small, the electronic device performs the operation on the video screen displayed by the video window after responding to the window size adjustment command from large to small.
- the electronic device can increase the system resolution to the second system resolution.
- the electronic device may also display the picture of the video window according to the second system resolution.
- the maximum system resolution that can ensure that the CPU load of the electronic device meets the target load conditions can be determined in advance, thereby establishing the correspondence between the window size and the second system resolution, and The corresponding relationship is recorded in the electronic device.
- the video window after the determined adjustment instruction of the response window from large to small can be directly read from the corresponding relationship.
- the current window size corresponds to the second system resolution, thereby increasing the system resolution of the electronic device to the second system resolution.
- the electronic device may gradually increase the system resolution according to a preset resolution adjustment amount until the CPU load of the electronic device does not meet the target load condition, and the difference between the CPU load of the electronic device and the target load threshold is the smallest.
- the electronic device can calculate the current CPU load of the electronic device and detect whether the difference between the CPU load and the target load threshold is less than the preset resolution adjustment Then, when the detection result is yes, stop reducing the system resolution, otherwise, you can adjust the amount according to the preset resolution again to increase the system resolution, and repeat the above calculation and detection process until the CPU load of the electronic device is not The target load condition is met, and the difference between the CPU load of the electronic device and the target load threshold is the smallest.
- the electronic device may not adjust the system resolution.
- the video window screen display method provided in the embodiment of the present application may further include the following steps:
- the electronic device can further detect whether the CPU load of the electronic device meets the target load condition. For example, detecting whether the CPU load of the electronic device is greater than the target load threshold; for another example, detecting whether the CPU load of the electronic device is within the target threshold range, and so on.
- the electronic device may adjust the system resolution to the target system resolution corresponding to the window size of the video window.
- the electronic device may also first detect whether the CPU load is greater than the target load threshold, and when the detection result is yes, determine the window size of the video window, and adjust the system resolution to the target system resolution corresponding to the window size of the video window. In this way, the number of times of adjusting the system resolution can be reduced, thereby reducing the number of times the operation interface of the electronic device is deformed. For the user, the interface layout seen by the user is more stable and the user experience is improved.
- the embodiment of the present application also provides a video window screen display device.
- FIG. 7 is a schematic structural diagram of a video window screen display device provided by an embodiment of the application. As shown in FIG. 7, the device may include the following modules:
- the first window size determining module 710 is configured to determine the window size of the video window
- the first resolution adjustment module 720 is configured to adjust the system resolution of the electronic device to a target system resolution corresponding to the window size
- the screen display module 730 is configured to display the screen of the video window according to the target system resolution corresponding to the window size.
- the solution provided by the embodiments of this application when conducting video calls, watching live broadcasts and other activities, you can first determine the window size of the video window, and then adjust the system resolution of the electronic device to correspond to the window size Target system resolution. In this way, the video screen displayed in the video window can be displayed according to the adjusted target system resolution. Based on this, by applying the solution provided by the embodiments of the present application, the system resolution adopted by the electronic device can be adjusted adaptively according to the window size of the video window, so that the CPU load of the electronic device can meet the requirements for processing the video screen displayed by the video window. The need for real-time refreshing and rendering, thereby improving the display effect of the video screen displayed in the video window.
- the electronic device includes: an electronic device with video conferencing and electronic drawing board functions; the maximum system resolution of the electronic device is 4K resolution.
- the first window size determining module 710 is specifically configured to:
- the target system resolution corresponding to the window size is: under the window size, used to ensure that the CPU load of the electronic device meets the target load condition System resolution.
- the first resolution adjustment module 720 is specifically configured to:
- the device further includes: a relationship determination module, configured to: if the resolution of the video screen displayed by the video window is less than the maximum system resolution that the electronic device can provide, When the window size of the video window reaches the preset size, it is determined that the system resolution corresponding to the window size of the video window is: the resolution of the video picture.
- a relationship determination module configured to: if the resolution of the video screen displayed by the video window is less than the maximum system resolution that the electronic device can provide, When the window size of the video window reaches the preset size, it is determined that the system resolution corresponding to the window size of the video window is: the resolution of the video picture.
- the relationship determining module is further configured to determine the resolution corresponding to the window size of the video window when the window size of the video window does not reach a preset size: The maximum system resolution provided by the electronic device.
- the preset size is: the window size of the video window when the video window is displayed in full screen.
- the system resolution of the electronic device is the first system resolution
- the first system resolution includes: the initial system resolution of the electronic device or the maximum system resolution provided by the electronic device; the apparatus further includes:
- a change instruction obtaining module configured to obtain a state change instruction for the video window after the step of displaying the screen of the video window according to the target system resolution corresponding to the window size, wherein the state change instruction Including: at least one of a restoration instruction, a hiding instruction, a closing instruction, and a window adjustment instruction of the video window, and the restoration instruction is used to instruct to restore the window size of the video window to a response An instruction to adjust the size of the window before the instruction from small to large;
- the second resolution adjustment module is configured to adjust the system resolution of the electronic device to the first system resolution.
- the device further includes:
- An adjustment instruction obtaining module configured to obtain an adjustment instruction for the window of the video window from large to small after the step of displaying the picture of the video window according to the target system resolution corresponding to the window size;
- the second window size determining module is used to determine the current window size of the video window after responding to the window size adjustment instruction;
- the resolution improvement module is used to increase the system resolution of the electronic device to a second system resolution, where the second system resolution is: under the current window size of the video window, used to ensure that the The maximum system resolution at which the CPU load of the electronic device satisfies the target load condition.
- the first resolution adjustment module 720 is specifically configured to:
- the system resolution of the electronic device is adjusted to the target system resolution corresponding to the full screen.
- the device further includes:
- a load detection module configured to detect whether the CPU load of the electronic device meets the target load condition before the step of adjusting the system resolution of the electronic device to the target system resolution corresponding to the window size;
- an embodiment of the present application also provides an electronic device, as shown in FIG. 8, including a processor 801 and a memory 803,
- the memory 803 is used to store computer programs
- the processor 801 is configured to implement the video window screen display method provided in the above embodiment of the present application when executing the program stored in the memory 803.
- the electronic device further includes a communication interface 802 and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete mutual communication through the communication bus 804. Communication.
- the communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
- PCI Peripheral Component Interconnect
- EISA Extended Industry Standard Architecture
- the communication bus can be divided into address bus, data bus, control bus and so on.
- the figure is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
- the communication interface is used for communication between the above-mentioned electronic device and other devices.
- the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
- NVM non-Volatile Memory
- the memory may also be at least one storage device located far away from the foregoing processor.
- the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), a dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
- CPU central processing unit
- NP Network Processor
- DSP Digital Signal Processing
- ASIC Application Specific Integrated Circuit
- FPGA Field-Programmable Gate Array
- FPGA Field-Programmable Gate Array
- the embodiments of the present application also provide a computer-readable storage medium in which a computer program is stored, and the computer program is executed by a processor. When executed, the steps of any of the video window screen display methods provided in the above embodiments of the present application are implemented.
- the embodiments of the present application also provide a computer program product containing instructions that, when executed by a processor, implement any video provided in the first aspect. The steps of the window screen display method.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- Picture Signal Circuits (AREA)
Abstract
Description
Claims (24)
- 一种视频窗口画面显示方法,其特征在于,应用于电子设备,所述方法包括:A method for displaying a video window screen, characterized in that it is applied to an electronic device, and the method includes:确定视频窗口的窗口大小;Determine the window size of the video window;将所述电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率;Adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size;按照所述窗口大小对应的目标系统分辨率显示所述视频窗口的画面。The picture of the video window is displayed according to the target system resolution corresponding to the window size.
- 根据权利要求1所述的方法,其特征在于,所述电子设备包括:具备视频会议及电子画板功能的电子设备;所述电子设备的最大系统分辨率为4K分辨率。The method according to claim 1, wherein the electronic device comprises: an electronic device with video conferencing and electronic drawing board functions; the maximum system resolution of the electronic device is 4K resolution.
- 根据权利要求1所述的方法,其特征在于,所述与所述窗口大小对应的目标系统分辨率为:在所述窗口大小下,用于保证所述电子设备的中央处理器CPU负载满足目标负载条件的系统分辨率;The method according to claim 1, wherein the target system resolution corresponding to the window size is: under the window size, used to ensure that the CPU load of the electronic device meets the target System resolution of load conditions;所述确定视频窗口的窗口大小的步骤,包括:The step of determining the window size of the video window includes:在开启所述视频窗口时,确定所述视频窗口的窗口大小;或者,When opening the video window, determine the window size of the video window; or,在所述视频窗口中开启视频播放时,确定所述视频窗口的窗口大小;或者,When starting video playback in the video window, determine the window size of the video window; or,在获取到针对所述视频窗口的窗口由小至大的调整指令的情况下,确定响应所述窗口由小至大的调整指令后的视频窗口的窗口大小。In the case of obtaining an adjustment instruction for the window from small to large for the video window, determine the window size of the video window after responding to the instruction for adjusting the window from small to large.
- 根据权利要求3所述的方法,其特征在于,所述将所述电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率的步骤,包括:The method according to claim 3, wherein the step of adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size comprises:根据预设的窗口大小与系统分辨率的对应关系,将所述电子设备的系统分辨率降低为与所述窗口大小对应的目标系统分辨率;或者,Reduce the system resolution of the electronic device to the target system resolution corresponding to the window size according to the preset correspondence between the window size and the system resolution; or,按照预设分辨率调整量,降低所述电子设备的系统分辨率,直至所述电子设备的CPU负载满足所述目标负载条件。According to the preset resolution adjustment amount, the system resolution of the electronic device is reduced until the CPU load of the electronic device meets the target load condition.
- 根据权利要求1所述的方法,其特征在于,所述视频窗口所显示的视频画面的分辨率小于所述电子设备所能提供的最大系统分辨率;The method according to claim 1, wherein the resolution of the video picture displayed by the video window is less than the maximum system resolution that the electronic device can provide;在所述视频窗口的窗口大小达到预设大小的情况下,所述视频窗口的窗口大小对应的目标系统分辨率为:所述视频画面的分辨率。When the window size of the video window reaches the preset size, the target system resolution corresponding to the window size of the video window is: the resolution of the video screen.
- 根据权利要求5所述的方法,其特征在于,所述预设大小为:所述视频窗口为全屏显示时,所述视频窗口的窗口大小;The method according to claim 5, wherein the preset size is: the window size of the video window when the video window is displayed in full screen;在所述视频窗口的窗口大小未达到所述预设大小的情况下,所述视频窗口的窗口大小对应的目标系统分辨率为:所述电子设备所提供的最大系统分辨率。In the case that the window size of the video window does not reach the preset size, the target system resolution corresponding to the window size of the video window is: the maximum system resolution provided by the electronic device.
- 根据权利要求3所述的方法,其特征在于,在所述将电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率之前,所述电子设备的系统分辨率为第一系统分辨率,所述第一系统分辨率包括:所述电子设备的初始系统分辨率或所述电子设备所提供的最大系统分辨率;The method according to claim 3, wherein before the adjusting the system resolution of the electronic device to the target system resolution corresponding to the window size, the system resolution of the electronic device is the first system resolution Resolution, the first system resolution includes: the initial system resolution of the electronic device or the maximum system resolution provided by the electronic device;在所述按照所述窗口大小对应的目标系统分辨率显示所述视频窗口的画面的步骤之后,所述方法还包括:After the step of displaying the picture of the video window according to the target system resolution corresponding to the window size, the method further includes:获取针对所述视频窗口的状态变更指令,其中,所述状态变更指令包括:所述视频窗口的还原指令、隐藏指令、关闭指令和窗口由大至小的调整指令中的至少一个指令,所述 还原指令为:用于指示将所述视频窗口的窗口大小还原为响应所述窗口由小至大的调整指令前的窗口大小的指令;Acquire a state change instruction for the video window, where the state change instruction includes: at least one instruction of a restoration instruction, a hiding instruction, a closing instruction, and an adjustment instruction of the window from a large to a small size of the video window, the The restoration instruction is: an instruction for instructing to restore the window size of the video window to the window size before responding to the window size adjustment instruction from small to large;将所述电子设备的系统分辨率调整为所述第一系统分辨率。The system resolution of the electronic device is adjusted to the first system resolution.
- 根据权利要求3所述的方法,其特征在于,在所述按照所述窗口大小对应的目标系统分辨率显示所述视频窗口的画面的步骤之后,所述方法还包括:The method according to claim 3, wherein after the step of displaying the picture of the video window according to the target system resolution corresponding to the window size, the method further comprises:获取针对所述视频窗口的窗口由大至小的调整指令;Obtaining a window size adjustment instruction for the video window from large to small;确定响应所述窗口由大至小的调整指令后的视频窗口的当前窗口大小;Determining the current window size of the video window after responding to the window adjustment instruction from large to small;提高所述电子设备的系统分辨率至第二系统分辨率,其中,所述第二系统分辨率为:在所述视频窗口的当前窗口大小下,用于保证所述电子设备的CPU负载满足所述目标负载条件的最大系统分辨率。Increase the system resolution of the electronic device to a second system resolution, where the second system resolution is: under the current window size of the video window, used to ensure that the CPU load of the electronic device meets all requirements. The maximum system resolution for the stated target load conditions.
- 根据权利要求1-8任一项所述的方法,其特征在于,所述将所述电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率的步骤,包括:The method according to any one of claims 1-8, wherein the step of adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size comprises:在确定视频窗口的窗口大小为全屏的情况下,将所述电子设备的系统分辨率调整为与所述全屏对应的目标系统分辨率。When it is determined that the window size of the video window is the full screen, the system resolution of the electronic device is adjusted to the target system resolution corresponding to the full screen.
- 根据权利要求1-8任一项所述的方法,其特征在于,在所述将所述电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率的步骤之前,所述方法还包括:The method according to any one of claims 1-8, wherein before the step of adjusting the system resolution of the electronic device to a target system resolution corresponding to the window size, the method Also includes:检测所述电子设备的CPU负载是否满足目标负载条件;Detecting whether the CPU load of the electronic device meets the target load condition;如果不满足,执行所述将所述电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率的步骤。If not, execute the step of adjusting the system resolution of the electronic device to the target system resolution corresponding to the window size.
- 一种视频窗口画面显示装置,其特征在于,应用于电子设备,所述装置包括:A video window screen display device, characterized in that it is applied to electronic equipment, and the device includes:第一窗口大小确定模块,用于确定视频窗口的窗口大小;The first window size determining module is used to determine the window size of the video window;第一分辨率调整模块,用于将所述电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率;A first resolution adjustment module, configured to adjust the system resolution of the electronic device to a target system resolution corresponding to the window size;画面显示模块,用于按照所述窗口大小对应的目标系统分辨率显示所述视频窗口的画面。The picture display module is configured to display the picture of the video window according to the target system resolution corresponding to the window size.
- 根据权利要求11所述的装置,其特征在于,所述电子设备包括:具备视频会议及电子画板功能的电子设备;所述电子设备的最大系统分辨率为4K分辨率。The apparatus according to claim 11, wherein the electronic device comprises: an electronic device with video conference and electronic drawing board functions; the maximum system resolution of the electronic device is 4K resolution.
- 根据权利要求11所述的装置,其特征在于,所述与所述窗口大小对应的目标系统分辨率为:在所述窗口大小下,用于保证所述电子设备的中央处理器CPU负载满足目标负载条件的系统分辨率;The apparatus according to claim 11, wherein the target system resolution corresponding to the window size is: at the window size, used to ensure that the CPU load of the electronic device meets the target System resolution of load conditions;所述第一窗口大小确定模块具体用于:The first window size determining module is specifically configured to:在开启所述视频窗口时,确定所述视频窗口的窗口大小;或者,When opening the video window, determine the window size of the video window; or,在所述视频窗口中开启视频播放时,确定所述视频窗口的窗口大小;或者,When starting video playback in the video window, determine the window size of the video window; or,在获取到针对所述视频窗口的窗口由小至大的调整指令的情况下,确定响应所述窗口由小至大的调整指令后的视频窗口的窗口大小。In the case of obtaining an adjustment instruction for the window from small to large for the video window, determine the window size of the video window after responding to the instruction for adjusting the window from small to large.
- 根据权利要求13所述的装置,其特征在于,所述第一分辨率调整模块具体用于:The device according to claim 13, wherein the first resolution adjustment module is specifically configured to:根据预设的窗口大小与系统分辨率的对应关系,将所述电子设备的系统分辨率降低为 与所述窗口大小对应的目标系统分辨率;或者,Reduce the system resolution of the electronic device to the target system resolution corresponding to the window size according to the preset correspondence between the window size and the system resolution; or,按照预设分辨率调整量,降低所述电子设备的系统分辨率,直至所述电子设备的CPU负载满足所述目标负载条件。According to the preset resolution adjustment amount, the system resolution of the electronic device is reduced until the CPU load of the electronic device meets the target load condition.
- 根据权利要求11所述的装置,其特征在于,所述装置还包括:关系确定模块,用于若所述视频窗口所显示的视频画面的分辨率小于所述电子设备所能提供的最大系统分辨率,在所述视频窗口的窗口大小达到预设大小的情况下,确定所述视频窗口的窗口大小对应的目标系统分辨率为:所述视频画面的分辨率。The device according to claim 11, wherein the device further comprises: a relationship determination module, configured to: if the resolution of the video screen displayed by the video window is less than the maximum system resolution that the electronic device can provide When the window size of the video window reaches a preset size, it is determined that the target system resolution corresponding to the window size of the video window is: the resolution of the video screen.
- 根据权利要求15所述的装置,其特征在于,所述预设大小为:所述视频窗口为全屏显示时,所述视频窗口的窗口大小;The device according to claim 15, wherein the preset size is: the window size of the video window when the video window is displayed in full screen;所述关系确定模块,还用于在所述视频窗口的窗口大小未达到预设大小的情况下,确定所述视频窗口的窗口大小对应的目标系统分辨率为:所述电子设备所提供的最大系统分辨率。The relationship determination module is further configured to determine that the target system resolution corresponding to the window size of the video window is: the maximum resolution provided by the electronic device when the window size of the video window does not reach a preset size System resolution.
- 根据权利要求13所述的装置,其特征在于,在所述将电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率之前,所述电子设备的系统分辨率为第一系统分辨率,所述第一系统分辨率包括:所述电子设备的初始系统分辨率或所述电子设备所提供的最大系统分辨率;所述装置还包括:The apparatus according to claim 13, wherein before the system resolution of the electronic device is adjusted to the target system resolution corresponding to the window size, the system resolution of the electronic device is the first system resolution Resolution, the first system resolution includes: the initial system resolution of the electronic device or the maximum system resolution provided by the electronic device; the apparatus further includes:变更指令获取模块,用于在所述按照所述窗口大小对应的目标系统分辨率显示所述视频窗口的画面的步骤之后,获取针对所述视频窗口的状态变更指令,其中,所述状态变更指令包括:所述视频窗口的还原指令、隐藏指令、关闭指令和窗口由大至小的调整指令中的至少一个指令,所述还原指令为:用于指示将所述视频窗口的窗口大小还原为响应所述窗口由小至大的调整指令前的窗口大小的指令;A change instruction obtaining module, configured to obtain a state change instruction for the video window after the step of displaying the screen of the video window according to the target system resolution corresponding to the window size, wherein the state change instruction Including: at least one of a restoration instruction, a hiding instruction, a closing instruction, and a window adjustment instruction of the video window, and the restoration instruction is used to instruct to restore the window size of the video window to a response An instruction to adjust the size of the window before the instruction from small to large;第二分辨率调整模块,用于将所述电子设备的系统分辨率调整为所述第一系统分辨率。The second resolution adjustment module is configured to adjust the system resolution of the electronic device to the first system resolution.
- 根据权利要求13所述的装置,其特征在于,所述装置还包括:The device according to claim 13, wherein the device further comprises:调整指令获取模块,用于在所述按照所述窗口大小对应的目标系统分辨率显示所述视频窗口的画面的步骤之后,获取针对所述视频窗口的窗口由大至小的调整指令;An adjustment instruction obtaining module, configured to obtain an adjustment instruction for the window of the video window from large to small after the step of displaying the picture of the video window according to the target system resolution corresponding to the window size;第二窗口大小确定模块,用于确定响应所述窗口由大至小的调整指令后的视频窗口的当前窗口大小;The second window size determining module is used to determine the current window size of the video window after responding to the window size adjustment instruction;分辨率提高模块,用于提高所述电子设备的系统分辨率至第二系统分辨率,其中,所述第二系统分辨率为:在所述视频窗口的当前窗口大小下,用于保证所述电子设备的CPU负载满足所述目标负载条件的最大系统分辨率。The resolution improvement module is used to increase the system resolution of the electronic device to a second system resolution, where the second system resolution is: under the current window size of the video window, used to ensure The maximum system resolution at which the CPU load of the electronic device satisfies the target load condition.
- 根据权利要求11-18任一项所述的装置,其特征在于,所述第一分辨率调整模块具体用于:The device according to any one of claims 11-18, wherein the first resolution adjustment module is specifically configured to:在确定视频窗口的窗口大小为全屏的情况下,将所述电子设备的系统分辨率调整为与所述全屏对应的目标系统分辨率。When it is determined that the window size of the video window is the full screen, the system resolution of the electronic device is adjusted to the target system resolution corresponding to the full screen.
- 根据权利要求11-18任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 11-18, wherein the device further comprises:负载检测模块,用于在所述将所述电子设备的系统分辨率调整为与所述窗口大小对应的目标系统分辨率的步骤之前,检测所述电子设备的CPU负载是否满足目标负载条件;A load detection module, configured to detect whether the CPU load of the electronic device meets the target load condition before the step of adjusting the system resolution of the electronic device to the target system resolution corresponding to the window size;如果不满足,执行触发所述第一分辨率调整模块。If it is not satisfied, execute the triggering of the first resolution adjustment module.
- 一种电子设备,其特征在于,包括处理器和存储器;An electronic device, characterized in that it comprises a processor and a memory;存储器,用于存放计算机程序;Memory, used to store computer programs;处理器,用于执行所述存储器上所存放的程序时,实现权利要求1-10任一所述的方法步骤。The processor is configured to implement the method steps of any one of claims 1-10 when executing the program stored on the memory.
- 根据权利要求21所述的电子设备,其特征在于,所述电子设备还包括通信接口和通信总线;其中,所述处理器,所述通信接口,所述存储器通过通信总线完成相互间的通信。21. The electronic device according to claim 21, wherein the electronic device further comprises a communication interface and a communication bus; wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-10任一所述的方法步骤。A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps according to any one of claims 1-10 are realized.
- 一种计算机程序产品,其特征在于,当所述计算机程序产品被处理器执行时实现权利要求1-10任一所述的方法步骤。A computer program product, characterized in that, when the computer program product is executed by a processor, the method steps of any one of claims 1-10 are realized.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911409627.1A CN111432261A (en) | 2019-12-31 | 2019-12-31 | Video window picture display method and device |
CN201911409627.1 | 2019-12-31 |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2021136158A1 true WO2021136158A1 (en) | 2021-07-08 |
WO2021136158A8 WO2021136158A8 (en) | 2021-08-12 |
Family
ID=71546964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/140063 WO2021136158A1 (en) | 2019-12-31 | 2020-12-28 | Video window picture displaying method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111432261A (en) |
WO (1) | WO2021136158A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111432261A (en) * | 2019-12-31 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Video window picture display method and device |
CN113691846A (en) * | 2020-09-10 | 2021-11-23 | 华为终端有限公司 | Multi-window screen projection method and electronic equipment |
CN113271429A (en) * | 2020-09-30 | 2021-08-17 | 常熟九城智能科技有限公司 | Video conference information processing method and device, electronic equipment and system |
CN115917472A (en) * | 2020-12-31 | 2023-04-04 | 华为技术有限公司 | Terminal control method and device and electronic equipment |
CN113596584B (en) * | 2021-08-11 | 2023-03-28 | 抖音视界有限公司 | Video playing method, device and storage medium |
CN118283407A (en) * | 2022-12-29 | 2024-07-02 | 华为技术有限公司 | Display method and electronic equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1746843A (en) * | 2004-09-08 | 2006-03-15 | 英业达股份有限公司 | Window and icon set system and method |
CN102662593A (en) * | 2012-04-16 | 2012-09-12 | 华为终端有限公司 | Multi-size display method and terminal |
CN102681648A (en) * | 2012-03-28 | 2012-09-19 | 中兴通讯股份有限公司 | Large screen terminal power saving method and device |
CN103135742A (en) * | 2013-01-15 | 2013-06-05 | 广东欧珀移动通信有限公司 | Method for improving endurance of mobile terminal |
CN103295510A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Electronic equipment and method for adjusting resolution ratios |
WO2017026709A1 (en) * | 2015-08-12 | 2017-02-16 | 삼성전자 주식회사 | Method and device for adjusting resolution of electronic device |
CN111432261A (en) * | 2019-12-31 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Video window picture display method and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100117709A (en) * | 2009-04-27 | 2010-11-04 | 이노디지털 주식회사 | Graphic user interface and display method for the same |
KR102454196B1 (en) * | 2014-05-27 | 2022-10-14 | 삼성전자 주식회사 | Method for controlling display and electronic device supporting the same |
CN106293047B (en) * | 2015-06-26 | 2020-01-10 | 微软技术许可有限责任公司 | Reducing power consumption of mobile devices by dynamic resolution scaling |
CN105139792B (en) * | 2015-08-18 | 2018-04-20 | 京东方科技集团股份有限公司 | Display methods and display device |
CN109801940A (en) * | 2017-11-17 | 2019-05-24 | 上海和辉光电有限公司 | A kind of display panel |
WO2019212575A1 (en) * | 2018-04-30 | 2019-11-07 | Ramzi Khalil Maalouf | System, apparatus, and method for optimizing viewing experience on an intelligent terminal |
-
2019
- 2019-12-31 CN CN201911409627.1A patent/CN111432261A/en active Pending
-
2020
- 2020-12-28 WO PCT/CN2020/140063 patent/WO2021136158A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1746843A (en) * | 2004-09-08 | 2006-03-15 | 英业达股份有限公司 | Window and icon set system and method |
CN103295510A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Electronic equipment and method for adjusting resolution ratios |
CN102681648A (en) * | 2012-03-28 | 2012-09-19 | 中兴通讯股份有限公司 | Large screen terminal power saving method and device |
CN102662593A (en) * | 2012-04-16 | 2012-09-12 | 华为终端有限公司 | Multi-size display method and terminal |
CN103135742A (en) * | 2013-01-15 | 2013-06-05 | 广东欧珀移动通信有限公司 | Method for improving endurance of mobile terminal |
WO2017026709A1 (en) * | 2015-08-12 | 2017-02-16 | 삼성전자 주식회사 | Method and device for adjusting resolution of electronic device |
CN111432261A (en) * | 2019-12-31 | 2020-07-17 | 杭州海康威视数字技术股份有限公司 | Video window picture display method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2021136158A8 (en) | 2021-08-12 |
CN111432261A (en) | 2020-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021136158A1 (en) | Video window picture displaying method and apparatus | |
CN113055629B (en) | Display device and control method thereof | |
CN114302195B (en) | Display device, external device and play control method | |
WO2021008424A1 (en) | Method and device for image synthesis, electronic apparatus and storage medium | |
US9826276B2 (en) | Method and computing device for performing virtual camera functions during playback of media content | |
WO2020024580A1 (en) | Graphic drawing method and apparatus, device, and storage medium | |
WO2020249044A1 (en) | Method for window-level switching, device, equipment, and storage medium | |
WO2016082586A1 (en) | Webpage update method and apparatus | |
WO2020224337A1 (en) | Split-screen playback method and apparatus for screen-locked video, device, and storage medium | |
TW201913375A (en) | Electronic device and method for adjusting refresh rate of display screen | |
WO2014187043A1 (en) | Application display processing method and apparatus | |
WO2021244666A1 (en) | Video playing control method and apparatus, and computer device and storage medium | |
US11249630B2 (en) | Method, apparatus, terminal device, and storage medium for switching global special effects | |
CN103888840B (en) | A kind of video mobile terminal Real Time Dragging and the method and device for scaling | |
US20150363091A1 (en) | Electronic device and method of controlling same | |
CN104571802B (en) | A kind of information processing method and electronic equipment | |
TW201421344A (en) | User interface generating apparatus and associated method | |
CN111918099A (en) | Video processing method and device, electronic equipment and storage medium | |
CN113282262A (en) | Control method and device for screen projection display picture, mobile terminal and storage medium | |
JP2011223163A (en) | Mobile terminal | |
US11126399B2 (en) | Method and device for displaying sound volume, terminal equipment and storage medium | |
WO2023160240A1 (en) | Screen mirroring control method and apparatus, electronic device, and computer-readable storage medium | |
WO2023197679A1 (en) | Video playing method and apparatus, electronic device and storage medium | |
TWI699670B (en) | Electronic system and method of freezing screen | |
WO2020224158A1 (en) | Editing method, computer-readable storage medium, and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20910884 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20910884 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.05.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20910884 Country of ref document: EP Kind code of ref document: A1 |