CN113296664A - Screen resolution adjusting method and device, terminal equipment and storage medium - Google Patents

Screen resolution adjusting method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113296664A
CN113296664A CN202110541326.5A CN202110541326A CN113296664A CN 113296664 A CN113296664 A CN 113296664A CN 202110541326 A CN202110541326 A CN 202110541326A CN 113296664 A CN113296664 A CN 113296664A
Authority
CN
China
Prior art keywords
resolution
condition
displayed
target
screen
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.)
Pending
Application number
CN202110541326.5A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110541326.5A priority Critical patent/CN113296664A/en
Publication of CN113296664A publication Critical patent/CN113296664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4092Image resolution transcoding, e.g. by using client-server architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a screen resolution adjusting method, a screen resolution adjusting device, terminal equipment and a storage medium, belongs to the technical field of image processing, and can solve the problems that the operation process of switching screen resolution in the related art is complicated and time-consuming. The method comprises the following steps: determining a second resolution according to the first resolution of the object to be displayed; and adjusting the screen resolution of the terminal equipment to be a second resolution.

Description

Screen resolution adjusting method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a method and an apparatus for adjusting a screen resolution, a terminal device, and a storage medium.
Background
With the rapid development of terminal technology, the application of terminal equipment is more and more extensive.
At present, a screen of a terminal device may support multi-resolution display and resolution switching functions, however, when a screen resolution needs to be switched, a user needs to trigger the terminal device to display a setting interface by operating, trigger the terminal device to display a plurality of display setting options by clicking a "display" option on the setting interface, trigger the terminal device to display a plurality of resolution options by clicking a "resolution" option in the plurality of display setting options, and trigger the terminal device to switch the screen resolution by clicking a target resolution option.
Thus, the operation process of switching the screen resolution in the related art is cumbersome and time-consuming.
Disclosure of Invention
The embodiment of the application provides a screen resolution adjusting method, a screen resolution adjusting device, terminal equipment and a storage medium, and aims to solve the problems that the operation process of switching the screen resolution in the related art is complicated and time-consuming.
In a first aspect of the embodiments of the present application, a method for adjusting a screen resolution is provided, where the method is applied to a terminal device, and the method includes: determining a second resolution according to the first resolution of the object to be displayed; and adjusting the screen resolution of the terminal equipment to be a second resolution.
In a second aspect of the embodiments of the present application, there is provided a screen resolution adjusting apparatus, including: a determining module and an adjusting module; the determining module is used for determining a second resolution according to the first resolution of the object to be displayed; the adjusting module is used for adjusting the screen resolution of the terminal device to be the second resolution determined by the determining module.
In a third aspect of the embodiments of the present application, there is provided a terminal device, where the terminal device includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and the computer program, when executed by the processor, implements the step of adjusting the screen resolution according to the first aspect.
In a fourth aspect of the embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the screen resolution adjustment method according to the first aspect.
In a fifth aspect of the embodiments of the present application, a chip is provided, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute program instructions to implement the screen resolution adjustment method according to the first aspect.
In the embodiment of the application, the second resolution can be determined according to the first resolution of the object to be displayed; and then adjusting the screen resolution of the terminal equipment to be a second resolution. Therefore, the resolution of the screen of the terminal equipment can be automatically adjusted, the operation process is simplified, and the operation efficiency is improved. And the resolution of the screen can be matched and automatically adjusted according to the resolution of the object to be displayed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the embodiments and the drawings used in the description of the prior art, and obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained according to the drawings.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2A is a schematic flowchart of a screen resolution adjustment method according to an embodiment of the present disclosure;
fig. 2B is a second schematic flowchart of a screen resolution adjustment method according to an embodiment of the present application;
fig. 2C is a third schematic flowchart of a screen resolution adjustment method according to an embodiment of the present application;
fig. 3 is a fourth schematic flowchart of a screen resolution adjustment method according to an embodiment of the present application;
fig. 4 is a block diagram illustrating a structure of a screen resolution adjusting apparatus according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following first explains some of the nouns or terms referred to in the claims and the specification of the present invention.
The resolution may be classified from both the display resolution and the image resolution. The display resolution (screen resolution) is the precision of the screen image and refers to how many pixels can be displayed on the display. Since the dots, lines and planes on the screen are all composed of pixels, the more pixels that can be displayed by the display, the finer the picture is, and the more information can be displayed in the same screen area, so that the resolution is one of the very important performance indexes. The whole image can be thought of as a large chessboard, and the resolution is expressed by the number of all the longitude and latitude intersections. Under the condition of a certain display resolution, the smaller the display screen is, the clearer the image is, on the contrary, when the size of the display screen is fixed, the clearer the image is when the display resolution is higher. The image resolution is the number of pixels included in a unit inch, and its definition is closer to the definition of the resolution itself.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or a damming operating system, and may also be other possible operating systems, which is not specifically limited in the embodiment of the present invention.
The following describes a software environment to which the screen resolution adjustment method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the screen resolution adjusting method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the screen resolution adjusting method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the screen resolution adjusting method provided by the embodiment of the invention by running the software program in the android operating system.
The terminal device in the embodiment of the application may be a mobile terminal device or a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present application are not particularly limited.
An execution main body of the screen resolution adjustment method provided in the embodiment of the present application may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the screen resolution adjustment method in the terminal device, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present application.
The screen resolution adjustment provided by the embodiment of the present application is described in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
At present, a terminal device can support very high resolution, but the higher the resolution, the more serious the power consumption. In the related art, screen resolution switching is usually manual switching on a setting interface, the switching process is complicated to operate, and user experience is not high. And the resolution can be set only for the entire screen, not according to the display object (display scene). Moreover, when the resolution of the display object is much lower than the screen resolution, the display object is not made clear due to the high screen resolution, and the power consumption is greatly increased due to the high screen resolution.
The screen resolution adjusting method provided by the embodiment of the application can be applied to scenes for automatically adjusting the screen resolution according to the resolution of the object to be displayed. Specifically, the second resolution may be determined according to the first resolution of the object to be displayed; and then adjusting the screen resolution of the terminal equipment to be a second resolution. Therefore, the resolution of the screen of the terminal equipment can be automatically adjusted, the operation process is simplified, and the operation efficiency is improved. And the resolution of the screen can be matched and automatically adjusted according to the resolution of the object to be displayed.
As shown in fig. 2A, an embodiment of the present application provides a screen resolution adjusting method, and an example of the screen resolution adjusting method provided in the embodiment of the present application is described below with an execution subject as a terminal device. The method may include steps 201 and 202 described below.
201. And the terminal equipment determines the second resolution according to the first resolution of the object to be displayed.
It can be understood that, in the embodiment of the present application, the object to be displayed may be a video to be displayed, a game to be displayed, an image to be displayed, an electronic book text to be displayed, or the like, and the embodiment of the present application is not limited.
The video to be displayed can be understood as a video picture to be displayed and a video to be played.
Alternatively, when the resolution of the terminal device may be set to any resolution, the terminal device may determine the first resolution of the object to be displayed as the second resolution. Alternatively, the terminal device may determine the second resolution according to a relationship between the first resolution and a preset condition. Alternatively, the terminal device may determine the second resolution according to the first resolution and the remaining power of the terminal device. For example, when the residual current of the terminal device is greater than a preset threshold, the terminal device may determine the first resolution as the second resolution (when the resolution of the terminal device may be set to any resolution), or may determine the second resolution according to a relationship between the first resolution and a preset condition; when the residual current of the terminal device is less than or equal to the preset threshold, the terminal device may set a value less than the first resolution as the second resolution, which may specifically be determined according to the actual use requirement, and the embodiment of the present application is not limited.
The method for determining the second resolution by the terminal device according to the first resolution may also be other methods, and the embodiment of the present application is not limited.
202. And the terminal equipment adjusts the screen resolution of the terminal equipment to be a second resolution.
It can be understood that, assuming that the screen resolution before the terminal device is adjusted is the third resolution, the step 202 may specifically be: and the terminal equipment adjusts the screen resolution of the terminal equipment from the third resolution to the second resolution.
Optionally, in this embodiment of the application, before the terminal device adjusts the screen resolution of the terminal device to the second resolution, the terminal device may display a prompt message, where the prompt message is used to prompt a user whether to adjust the screen resolution.
In the embodiment of the application, the second resolution can be determined according to the first resolution of the object to be displayed; and then adjusting the screen resolution of the terminal equipment to be a second resolution. Therefore, the resolution of the screen of the terminal equipment can be automatically adjusted, the operation process is simplified, and the operation efficiency is improved. And the resolution of the screen can be matched and automatically adjusted according to the resolution of the object to be displayed.
Alternatively, in conjunction with fig. 2A, as shown in fig. 2B, the step 202 may be specifically implemented by the following step 202A.
202a, the terminal equipment adjusts the screen resolution from the third resolution to the second resolution.
Wherein the second resolution is greater than or equal to the first resolution and less than the third resolution; alternatively, the first resolution is greater than the third resolution and less than or equal to the second resolution. The third resolution is the screen resolution before adjustment.
It can be understood that, when the second resolution is greater than or equal to the first resolution and less than the third resolution, the terminal device adjusts the screen resolution to the second resolution closer to the first resolution, and thus, while the object display effect is ensured, power consumption can be saved.
It can be understood that, under the condition that the first resolution is greater than the third resolution and less than or equal to the second resolution, the terminal device adjusts the screen resolution to the second resolution greater than the first resolution, so that the display effect of the object to be displayed can be better ensured.
Optionally, the second resolution is a resolution which is greater than or equal to the first resolution and is closest to the first resolution among screen resolutions supported by the terminal device.
In the embodiment of the application, the screen resolution is adjusted to the level which is not much different from the resolution of the object to be displayed (compared with the screen resolution, the level is greatly different from the resolution of the object to be displayed), so that the power consumption can be saved while the object display effect is ensured.
Optionally, in step 201, specifically, the terminal device determines the target resolution as the second resolution when the first resolution satisfies the target condition.
Exemplarily, in conjunction with fig. 2B, as shown in fig. 2C, the step 201 described above may be specifically realized by the step 201a described below.
201a, the terminal device determines the target resolution as the second resolution when the first resolution satisfies the target condition.
The target resolution is a resolution corresponding to the target condition.
It can be understood that, in the embodiment of the present application, the target resolution is a screen resolution that can be preset and supported by the terminal device.
It is to be understood that the terminal device may set at least one condition, and when the first resolution satisfies a target condition of the at least one condition, determine a target resolution corresponding to the target condition as the second resolution.
Optionally, the terminal device sets two conditions, and determines a target resolution corresponding to the target condition as the second resolution when the first resolution satisfies the target condition of the two conditions.
Illustratively, the two conditions are a first predetermined condition and a second predetermined condition, the resolution corresponding to the first predetermined condition is a first predetermined resolution, and the resolution corresponding to the second predetermined condition is a second predetermined resolution. In the case that the target condition is a first predetermined condition, the target resolution is a first predetermined resolution; in a case where the target condition is a second predetermined condition, the target resolution is a second predetermined resolution.
It is understood that the terminal device determines the first predetermined resolution as the second resolution in a case where the first resolution satisfies a first predetermined condition; in a case where the first resolution satisfies a second predetermined condition, the second predetermined resolution is determined as the second resolution.
Optionally, in this embodiment of the application, the step 201a may be specifically implemented by the following steps 201a1 to 201a 3.
201a1, the terminal device determines whether the first resolution satisfies a first predetermined condition.
If the first predetermined condition is satisfied, step 201a2 is executed, and if the first predetermined condition is not satisfied, step 201a3 is executed.
201a2, the terminal device determines the first predetermined resolution as the second resolution.
201a3, the terminal device determines the second predetermined resolution as the second resolution.
Optionally, the first resolution is a × b, the first predetermined resolution is s1 × t1, and the second predetermined resolution is s2 × t 2; s1 is more than 0 and less than s2, t1 is more than 0 and less than t2, and a and b are positive numbers; the first predetermined condition is a ≦ s1 and b ≦ t 1; the second predetermined condition is a > s1, or the second predetermined condition is b > t 1.
It is understood that when a ≦ s1 and b ≦ t1, the second resolution is determined to be s1 × t 1; when a > s1 or b > t1, the second resolution is determined to be s2 × t 2.
Optionally, the first resolution is a × b, the first predetermined resolution is s1 × t1, and the second predetermined resolution is s2 × t 2; s1 is more than 0 and less than s2, t1 is more than 0 and less than t2, and a and b are positive numbers; the first predetermined condition is a b ≦ s1 × t1, and the second predetermined condition is a b > s1 × t 1.
It is understood that when a x b ≦ s1 x t1, the second resolution is determined to be s1 x t 1; when a × b > s1 × t1, the second resolution is determined to be s2 × t 2.
In the embodiment of the application, the second resolution is determined according to the first preset condition and the second preset condition, so that the display requirement of the object to be displayed can be met, and meanwhile, the power consumption is saved.
Alternatively, the terminal device may set three conditions, and when the first resolution satisfies a target condition among the three conditions, determine a target resolution corresponding to the target condition as the second resolution.
Illustratively, the three conditions are a first preset condition, a second preset condition and a third preset condition, the resolution corresponding to the first preset condition is a first preset resolution, the resolution corresponding to the second preset condition is a second preset resolution, and the resolution corresponding to the third preset condition is a third preset resolution. Under the condition that the target condition is a first preset condition, the target resolution is a first preset resolution; under the condition that the target condition is a second preset condition, the target resolution is a second preset resolution; and in the case that the target condition is a third preset condition, the target resolution is a third preset resolution.
It can be understood that the terminal device determines the first preset resolution as the second resolution when the first resolution meets the first preset condition; determining the second preset resolution as the second resolution under the condition that the first resolution meets a second preset condition; and determining the third preset resolution as the second resolution under the condition that the first resolution meets a third preset condition.
Alternatively, as shown in fig. 3, the step 201a in the embodiment of the present application may be specifically implemented by the following steps 301 to 305.
301. The terminal equipment judges whether the first resolution meets a first preset condition or not.
If the first preset condition is satisfied, go to step 302, and if the first preset condition is not satisfied, go to step 303.
302. The terminal equipment determines the first preset resolution as a second resolution.
303. The terminal equipment judges whether the first resolution meets a third preset condition.
If the third predetermined condition is satisfied, go to step 304, and if the third predetermined condition is not satisfied, go to step 305.
304. And the terminal equipment determines the third preset resolution as the second resolution.
305. The terminal device determines the second preset resolution as the second resolution.
Optionally, the first resolution is a × b, the first preset resolution is m1 × n1, the second preset resolution is m2 × n2, and the third preset resolution is m3 × n 3; m1 < m2 < m3, n1 < n2 < n3, wherein a and b are positive numbers. The first preset condition is that a is not less than m1 and b is not less than n 1; the second preset condition is that m1 is more than or equal to m2 and b is more than or equal to n2, or the second preset condition is that a is more than or equal to m2 and n1 is more than or equal to b is more than or equal to n 2; the third preset condition is a > m2, or the third preset condition is b > n2 (denoted as decision strategy 1).
It is understood that when a ≦ m1 and b ≦ n1, the second resolution is determined to be m1 × n 1; when m1 < a ≦ m2 and b ≦ n2, or a ≦ m2 and n1 < b ≦ n2, determining the second resolution as m2 × n 2; at a > m2 or b > n2, the second resolution is m3 × n 3.
In the embodiment of the application, the second resolution is determined according to the first preset condition, the second preset condition and the third preset condition, so that the display requirement of the object to be displayed can be met, and power consumption can be saved.
Optionally, the first resolution is a × b, the first preset resolution is m1 × n1, the second preset resolution is m2 × n2, and the third preset resolution is m3 × n 3; m1 < m2 < m3, n1 < n2 < n3, wherein a and b are positive numbers. The first preset condition is a × b ≦ m1 × n1, the second preset condition is m1 × n1 < a × b ≦ m2 × n2, and the third preset condition is a × b > m2 × n2 (denoted as determination policy 2).
It is understood that when a x b ≦ m1 x n1 (i.e., the first resolution is less than or equal to the first preset resolution), the second resolution is determined to be m1 x n 1; when m1 Xn 1 < a Xb ≦ m2 Xn 2 (i.e., the first resolution is greater than the first predetermined resolution and less than or equal to the second predetermined resolution), determining the second resolution as m2 Xn 2; when a × b > m2 × n2 (i.e., the first resolution is greater than the second preset resolution), the second resolution is determined to be m3 × n 3.
In the embodiment of the application, the second resolution is determined according to the first preset condition, the second preset condition and the third preset condition, so that the display requirement of the object to be displayed can be met, and power consumption can be saved.
In the embodiment of the application, a plurality of determination strategies of the second resolution are set, the terminal device can select a proper determination strategy according to actual requirements, and determine the proper second resolution according to the first resolution.
Alternatively, in this embodiment of the application, the second resolution may be determined by combining the determination policy 1 and the determination policy 2. For example, in the case where a.ltoreq.m 1, b > n2, but m1 × n1 < a × b.ltoreq.m 2 × n2 (i.e., according to determination strategy 1, the second resolution is m3 × n3, according to determination strategy 2, the second resolution is m2 × n2), it is preferable to determine the second resolution as m3 × n3 according to determination strategy 1. Optionally, in this embodiment of the present application, when there are multiple determination policies, a priority policy may be set, where the priority policy may be set by a terminal device from a factory, or may be determined by a user according to a requirement, and this embodiment of the present application is not limited.
Optionally, the terminal device may further set four conditions, five conditions, even more conditions, and the like, and the embodiment of the present application is not limited.
Optionally, before the step 201, the screen resolution adjusting method provided in the embodiment of the present application may further include the following step 203.
203. The terminal device acquires the first resolution.
It can be understood that, in the embodiment of the present application, when the first resolution is obtained, whether the object to be displayed is a local object or an online object is distinguished.
It can be understood that the local object is an object stored locally in the terminal device, and the online object is an object that can be acquired and displayed only by the terminal device through a media terminal such as a connection network or a television signal.
Illustratively, when the object to be displayed is a video to be displayed, the local object is a local video, and the online object is an online video. And when the object to be displayed is the game to be displayed, the local object is the local game, and the online object is the online game.
Alternatively, the step 203 may be specifically realized by the following step 203a or step 203 b.
203a, the terminal device acquires the first resolution according to the attribute information of the object to be displayed when the object to be displayed is the local object.
It is understood that the terminal device may read the resolution attribute from the attribute information of the local object, that is, the first resolution.
203b, the terminal device determines the first resolution according to the resolution of the application program for displaying the object to be displayed under the condition that the object to be displayed is the online object.
It can be understood that, in the case that the object to be displayed is an online object, the terminal device determines the resolution of the application program that displays the object to be displayed as the first resolution.
Illustratively, in a case where the object to be displayed is an online video, a resolution set by a player displaying the online video when the player creates an encoder before displaying the online video is determined as the first resolution.
According to the embodiment of the application, different first resolution acquisition methods are provided for local objects and online pair keys, so that the first resolution can be quickly and accurately acquired, the terminal equipment can automatically acquire the second resolution according to the first resolution, and the resolution of the screen of the terminal equipment is adjusted.
Optionally, before step 203, the screen resolution adjusting method provided in the embodiment of the present application may further include step 204 or step 205 described below.
204. And the terminal equipment receives input for adjusting the resolution of the object to be displayed under the condition of displaying the application program interface.
Wherein the first resolution is the adjusted resolution.
It is to be understood that the input may be an input of selecting the first resolution at the application program interface by the user, and optionally, the input may be a click input, a sliding input, and the like, which is not limited in this embodiment of the application.
In the embodiment of the application, in the process of displaying the display object, if an input of adjusting the resolution of the object to be displayed by a user is received, the terminal device can correspondingly adjust the resolution of the screen.
205. The terminal device receives an input for displaying an object to be displayed.
It is to be understood that the input may be an input of clicking on an object to be displayed, or an input of clicking on an identifier of an object to be displayed. Optionally, the input may be a click input or a slide input, and the embodiment of the present application is not limited.
For example, if the object to be displayed is a video to be displayed, the input may be an input in which the user clicks an identifier of the video to be displayed, and in response to the input, the terminal device adjusts the screen resolution and then plays the video to be displayed.
In the embodiment of the application, before the object is displayed, the terminal equipment can quickly adjust the screen resolution according to the resolution of the object to be displayed, so that the display effect can be ensured when the object is displayed, and the power consumption can be reasonably managed.
Optionally, after step 202, the screen resolution adjusting method provided in the embodiment of the present application may further include steps 206 to 207 described below.
206. And the terminal equipment displays the object to be displayed.
207. And the terminal equipment adjusts the screen resolution to the target resolution under the condition that the foreground display of the object to be displayed is stopped.
Wherein the target resolution is any one of: the resolution before the object to be displayed is displayed (i.e., the third resolution described above), the default resolution. I.e. the target resolution is the resolution before displaying the object to be displayed, or is the default resolution.
For example, if the object to be displayed is a video to be displayed, the foreground is stopped from displaying the video to be displayed, and the application program corresponding to the video to be displayed may be controlled to run in the background, or the video to be displayed is quitted (closed), or the application program corresponding to the video to be displayed is closed.
In the embodiment of the application, under the condition that the foreground display of the object to be displayed is stopped, the screen resolution is adjusted to the previous resolution or the default resolution, so that the user experience can be improved.
Optionally, in a case that the first resolution is smaller than the second resolution, the terminal device may determine the target display area according to the first resolution and the second resolution; and displaying the object to be displayed in the target display area.
In the embodiment of the application, the target display area is smaller than the screen display area, and when the resolution of the object to be displayed is smaller than the screen resolution, the definition of the object to be displayed can be improved by reducing the display area of the object to be displayed.
Illustratively, when the terminal device plays a local video through a player (a three-party application), the resolution a × b of the local video file is obtained first (when the terminal device plays an online video through the player, the resolution a × b is set when a decoder is created before the video is played), and then different screen resolutions preset by the current system are matched: low resolution m1 × n1, medium resolution m2 × n2, and high resolution m3 × n 3. Specifically, if a is not more than m1 and b is not more than n1, the terminal device switches the screen resolution to the low resolution m1 × n1 (i.e., if the video picture resolution length does not exceed the screen resolution m1 and the width does not exceed the screen resolution n1, the terminal device switches to the low resolution); if a > m2 or b > n2, the terminal device switches the screen resolution to high resolution m3 × n3 (i.e., if the video picture resolution length is greater than medium resolution m2 or the width is greater than medium resolution n2, the screen resolution is switched to high resolution); if the above condition is not satisfied, the terminal device switches the screen resolution to the medium resolution m2 × n 2. When the user selects to quit the video playing, the terminal equipment switches the screen resolution to the original resolution or the default resolution of the system. When the input for adjusting the resolution is detected in the online video playing process, the terminal equipment can match the resolution of the system screen again according to the adjusted resolution of the online video.
Fig. 4 is a block diagram illustrating a structure of a screen resolution adjusting apparatus according to an embodiment of the present application, and as shown in fig. 4, the screen resolution adjusting apparatus includes: a determination module 401 and an adjustment module 402; the determining module 401 is configured to determine a second resolution according to the first resolution of the object to be displayed; the adjusting module 402 is configured to adjust the screen resolution of the terminal device to the second resolution determined by the determining module 401.
In the embodiment of the application, the second resolution can be determined according to the first resolution of the object to be displayed; and then adjusting the screen resolution of the terminal equipment to be a second resolution. Therefore, the resolution of the screen of the terminal equipment can be automatically adjusted, the operation process is simplified, and the operation efficiency is improved. And the resolution of the screen can be matched and automatically adjusted according to the resolution of the object to be displayed.
As an optional implementation manner of the embodiment of the present application, the adjusting module 402 is specifically configured to adjust the screen resolution from a third resolution to a second resolution; wherein the second resolution is greater than or equal to the first resolution and less than the third resolution; alternatively, the first resolution is greater than the third resolution and less than or equal to the second resolution.
As an optional implementation manner of the embodiment of the present application, the determining module 401 is specifically configured to determine, when the first resolution meets a target condition, the target resolution as a second resolution, where the target resolution is a resolution corresponding to the target condition.
As an optional implementation manner of the embodiment of the present application, in a case that the target condition is a first predetermined condition, the target resolution is a first predetermined resolution; in the case that the target condition is a second predetermined condition, the target resolution is a second predetermined resolution; wherein the first resolution is a × b, the first predetermined resolution is s1 × t1, and the second predetermined resolution is s2 × t 2; 0 < s1 < s2, 0 < t1 < t2, and a and b are positive numbers.
As an alternative implementation of the embodiment of the application, the first predetermined condition is that a is not more than s1 and b is not more than t 1; the second predetermined condition is a > s1, or the second predetermined condition is b > t 1.
As an alternative implementation of the embodiment of the present application, the first predetermined condition is a × b ≦ s1 × t1, and the second predetermined condition is a × b > s1 × t 1.
As an optional implementation manner of the embodiment of the present application, in a case that the target condition is a first preset condition, the target resolution is a first preset resolution; under the condition that the target condition is a second preset condition, the target resolution is a second preset resolution; under the condition that the target condition is a third preset condition, the target resolution is a third preset resolution; wherein the first resolution is a × b, the first preset resolution is m1 × n1, the second preset resolution is m2 × n2, and the third preset resolution is m3 × n 3; m1 < m2 < m3, n1 < n2 < n3, wherein a and b are positive numbers.
As an optional implementation manner of the embodiment of the application, the first preset condition is that a is less than or equal to m1 and b is less than or equal to n 1; the second preset condition is that m1 is more than or equal to m2 and b is more than or equal to n2, or the second preset condition is that a is more than or equal to m2 and n1 is more than or equal to b is more than or equal to n 2; the third predetermined condition is a > m2, or the third predetermined condition is b > n 2.
As an alternative implementation manner of the embodiment of the application, the first preset condition is that a × b ≦ m1 × n1, the second preset condition is that m1 × n1 < a × b ≦ m2 × n2, and the third preset condition is that a × b > m2 × n 2.
As an optional implementation manner of the embodiment of the present application, the screen resolution adjusting apparatus further includes: an obtaining module 403, where the obtaining module 403 is configured to obtain the first resolution before the determining module 401 determines the second resolution according to the first resolution of the object to be displayed.
As an optional implementation manner of the embodiment of the present application, the obtaining module 403 is specifically configured to, when the object to be displayed is a local object, obtain a first resolution according to attribute information of the object to be displayed; and under the condition that the object to be displayed is the online object, determining the first resolution according to the resolution of the application program for displaying the object to be displayed.
As an optional implementation manner of the embodiment of the present application, the screen resolution adjusting apparatus further includes: a receiving module 404; the receiving module 404 is configured to receive an input for adjusting the resolution of the object to be displayed in the case of displaying the application program interface before the determining module 401 determines the first resolution according to the resolution of the application program that displays the object to be displayed when the object to be displayed is the online object, where the first resolution is the adjusted resolution.
As an optional implementation manner of the embodiment of the present application, the screen resolution adjusting apparatus further includes: a display module 405; the display module 405 is configured to display the object to be displayed; the adjusting module 402 is further configured to, when the foreground display of the object to be displayed is stopped, adjust the screen resolution from the second resolution to a target resolution, where the target resolution is any one of: and displaying the resolution of the object to be displayed before, and setting the system to default the resolution.
It should be noted that: as shown in fig. 4, the modules that must be included in the screen resolution adjustment apparatus are illustrated by solid line boxes, such as a determination module 401, an adjustment module 402; modules which may or may not be included in the screen resolution adjustment apparatus are indicated by dashed boxes, such as an acquisition module 403, a reception module 404, and a display module 405.
In the embodiment of the present application, each module may implement the screen resolution adjusting method provided in the above method embodiment, and may achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
Fig. 5 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present application, as shown in fig. 5, the terminal device includes, but is not limited to: a Radio Frequency (RF) circuit 501, a memory 502, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a wireless fidelity (WiFi) module 507, a processor 508, a power supply 509, and a camera 510. The radio frequency circuit 501 includes a receiver 5011 and a transmitter 5012. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 508; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing of the terminal device by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 503 may include a touch panel 5031 and other input devices 5032. The touch panel 5031, also called a touch screen, can collect a touch operation performed by a user on or near the touch panel 5031 (e.g., an operation performed by the user on or near the touch panel 5031 by using any suitable object or accessory such as a finger or a stylus pen), and drive a corresponding connection device according to a preset program. Alternatively, the touch panel 5031 may include two parts, that is, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, the touch panel 5031 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 503 may include other input devices 5032 in addition to the touch panel 5031. In particular, other input devices 5032 can include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 504 may include a display panel 5041, and optionally, the display panel 5041 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 5031 can cover the display panel 5041, and when the touch panel 5031 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 508 to determine a touch event, and then the processor 508 provides a corresponding visual output on the display panel 5041 according to the touch event. Although in fig. 5, the touch panel 5031 and the display panel 5041 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 5031 and the display panel 5041 may be integrated to implement the input and output functions of the terminal device.
The terminal device may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 5041 according to the brightness of ambient light, and a proximity sensor that may exit the display panel 5041 and/or a backlight when the terminal device is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the terminal device, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a geomagnetic sensor, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device, further description is omitted here. In the embodiment of the present application, the terminal device may include an acceleration sensor, a depth sensor, a distance sensor, or the like.
Audio circuitry 506, speaker 5061, and microphone 5062 may provide an audio interface between the user and the terminal device. The audio circuit 506 may transmit the electrical signal converted from the received audio data to the speaker 5061, and convert the electrical signal into an audio signal by the speaker 5061 and output the audio signal; on the other hand, the microphone 5062 converts a collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 506, and then outputs the audio data to the processor 508 for processing, for example, to another terminal device via the RF circuit 501, or outputs the audio data to the memory 502 for further processing.
WiFi belongs to short-distance wireless transmission technology, and terminal equipment can help a user to receive and send e-mails, browse webpages, access streaming media and the like through a WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the terminal device. Alternatively, processor 508 may include one or more processing units; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The terminal device also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 508 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. Although not shown, the terminal device may further include a bluetooth module or the like, which is not described in detail herein.
In this embodiment of the application, the processor 508 is configured to determine a second resolution according to a first resolution of an object to be displayed; and adjusting the screen resolution of the terminal equipment to be a second resolution.
In the embodiment of the application, the second resolution can be determined according to the first resolution of the object to be displayed; and then adjusting the screen resolution of the terminal equipment to be a second resolution. Therefore, the resolution of the screen of the terminal equipment can be automatically adjusted, the operation process is simplified, and the operation efficiency is improved. And the resolution of the screen can be matched and automatically adjusted according to the resolution of the object to be displayed.
As an optional implementation manner of the embodiment of the present application, the processor 508 is specifically configured to adjust the screen resolution from the third resolution to the second resolution; wherein the second resolution is greater than or equal to the first resolution and less than the third resolution; alternatively, the first resolution is greater than the third resolution and less than or equal to the second resolution.
As an optional implementation manner of this embodiment of the present application, the processor 508 is specifically configured to determine, when the first resolution meets a target condition, the target resolution as the second resolution, where the target resolution is a resolution corresponding to the target condition.
As an optional implementation manner of the embodiment of the present application, in a case that the target condition is a first predetermined condition, the target resolution is a first predetermined resolution; in the case that the target condition is a second predetermined condition, the target resolution is a second predetermined resolution; wherein the first resolution is a × b, the first predetermined resolution is s1 × t1, and the second predetermined resolution is s2 × t 2; 0 < s1 < s2, 0 < t1 < t2, and a and b are positive numbers.
As an alternative implementation of the embodiment of the application, the first predetermined condition is that a is not more than s1 and b is not more than t 1; the second predetermined condition is a > s1, or the second predetermined condition is b > t 1.
As an alternative implementation of the embodiment of the present application, the first predetermined condition is a × b ≦ s1 × t1, and the second predetermined condition is a × b > s1 × t 1.
As an optional implementation manner of the embodiment of the present application, in a case that the target condition is a first preset condition, the target resolution is a first preset resolution; under the condition that the target condition is a second preset condition, the target resolution is a second preset resolution; under the condition that the target condition is a third preset condition, the target resolution is a third preset resolution; wherein the first resolution is a × b, the first preset resolution is m1 × n1, the second preset resolution is m2 × n2, and the third preset resolution is m3 × n 3; m1 < m2 < m3, n1 < n2 < n3, wherein a and b are positive numbers.
As an optional implementation manner of the embodiment of the application, the first preset condition is that a is less than or equal to m1 and b is less than or equal to n 1; the second preset condition is that m1 is more than or equal to m2 and b is more than or equal to n2, or the second preset condition is that a is more than or equal to m2 and n1 is more than or equal to b is more than or equal to n 2; the third predetermined condition is a > m2, or the third predetermined condition is b > n 2.
As an alternative implementation manner of the embodiment of the application, the first preset condition is that a × b ≦ m1 × n1, the second preset condition is that m1 × n1 < a × b ≦ m2 × n2, and the third preset condition is that a × b > m2 × n 2.
As an optional implementation manner of this embodiment of the present application, the processor 508 is further configured to acquire the first resolution before determining the second resolution according to the first resolution of the object to be displayed.
As an optional implementation manner of this embodiment of the present application, the processor 508 is specifically configured to, when the object to be displayed is a local object, obtain a first resolution according to attribute information of the object to be displayed; and under the condition that the object to be displayed is the online object, determining the first resolution according to the resolution of the application program for displaying the object to be displayed.
As an optional implementation manner of this embodiment of the present application, the input unit 503 is configured to, before determining the first resolution according to a resolution of an application program that displays the object to be displayed when the object to be displayed is an online object, receive an input for adjusting a resolution of the object to be displayed when the application program interface is displayed, where the first resolution is an adjusted resolution.
As an optional implementation manner of the embodiment of the present application, the display unit 504 is configured to display the object to be displayed after the screen resolution of the terminal device is adjusted to the second resolution; the processor 508 is further configured to, in a case that the foreground display of the object to be displayed is stopped, adjust the screen resolution from the second resolution to a target resolution, where the target resolution is any one of: and displaying the resolution of the object to be displayed before, and setting the system to default the resolution.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the foregoing screen resolution adjustment method embodiment, and in order to avoid repetition, details are not described here again.
An embodiment of the present application further provides a terminal device, where the terminal device may include: the computer program can implement each process of the screen resolution adjustment method provided by the above method embodiments when executed by the processor, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiments of the present application provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the screen resolution adjustment method provided in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present application further provides a computer program product, where the computer program product includes a computer instruction, and when the computer program product runs on a processor, the processor executes the computer instruction, so as to implement each process of the screen resolution adjustment method provided in the foregoing method embodiment, and achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned screen resolution adjustment method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, server and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A screen resolution adjusting method is applied to a terminal device, and comprises the following steps:
determining a second resolution according to the first resolution of the object to be displayed;
and adjusting the screen resolution of the terminal equipment to be the second resolution.
2. The method according to claim 1, wherein the adjusting the screen resolution of the terminal device to the second resolution comprises:
adjusting the screen resolution from a third resolution to the second resolution;
wherein the second resolution is greater than or equal to the first resolution and less than the third resolution;
alternatively, the first and second electrodes may be,
the first resolution is greater than the third resolution and less than or equal to the second resolution.
3. The method according to claim 1 or 2, wherein determining the second resolution from the first resolution of the object to be displayed comprises:
determining a target resolution as the second resolution if the first resolution satisfies a target condition, the target resolution being a resolution corresponding to the target condition.
4. The method of claim 3,
in the case that the target condition is a first predetermined condition, the target resolution is a first predetermined resolution;
in the case that the target condition is a second predetermined condition, the target resolution is a second predetermined resolution;
wherein the first resolution is a × b, the first predetermined resolution is s1 × t1, and the second predetermined resolution is s2 × t 2; s1 is more than 0 and less than s2, t1 is more than 0 and less than t2, and a and b are positive numbers;
the first predetermined condition is a ≦ s1 and b ≦ t 1; the second predetermined condition is a > s1, or the second predetermined condition is b > t 1;
alternatively, the first and second electrodes may be,
the first predetermined condition is a b ≦ s1 xt 1, and the second predetermined condition is a b > s1 xt 1.
5. The method of claim 3,
under the condition that the target condition is a first preset condition, the target resolution is a first preset resolution;
under the condition that the target condition is a second preset condition, the target resolution is a second preset resolution;
under the condition that the target condition is a third preset condition, the target resolution is a third preset resolution;
wherein the first resolution is a × b, the first preset resolution is m1 × n1, the second preset resolution is m2 × n2, and the third preset resolution is m3 × n 3; m1 is more than 0 and less than m2 and less than m3, n1 is more than 0 and less than n2 and less than n3, and a and b are positive numbers;
the first preset condition is that a is not less than m1 and b is not less than n 1; the second preset condition is that m1 is more than or equal to m2 and b is more than or equal to n2, or the second preset condition is that a is more than or equal to m2 and n1 is more than or equal to b is more than or equal to n 2; the third preset condition is a > m2, or the third preset condition is b > n 2;
alternatively, the first and second electrodes may be,
the first preset condition is that a is not less than m1 x n1, the second preset condition is that m1 x n1 is not less than a x b is not less than m2 x n2, and the third preset condition is that a x b is more than m2 x n 2.
6. The method according to claim 1 or 2, wherein before determining the second resolution according to the first resolution of the object to be displayed, the method further comprises:
under the condition that the object to be displayed is a local object, acquiring the first resolution according to the attribute information of the object to be displayed;
and under the condition that the object to be displayed is an online object, determining the first resolution according to the resolution of an application program for displaying the object to be displayed.
7. The method according to claim 1 or 2, wherein after the adjusting the screen resolution of the terminal device to the second resolution, the method further comprises:
displaying the object to be displayed;
under the condition that the foreground display of the object to be displayed is stopped, adjusting the screen resolution from a second resolution to a target resolution, wherein the target resolution is any one of the following: and displaying the resolution of the object to be displayed before, and setting the system to default the resolution.
8. A screen resolution adjustment apparatus, comprising: a determining module and an adjusting module;
the determining module is used for determining a second resolution according to the first resolution of the object to be displayed;
the adjusting module is configured to adjust the screen resolution of the terminal device to the second resolution determined by the determining module.
9. A terminal device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the screen resolution adjustment method according to any one of claims 1 to 7.
10. A readable storage medium, characterized in that a program or instructions are stored thereon, which when executed by a processor, implement the steps of the screen resolution adjustment method according to any one of claims 1 to 7.
CN202110541326.5A 2021-05-18 2021-05-18 Screen resolution adjusting method and device, terminal equipment and storage medium Pending CN113296664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110541326.5A CN113296664A (en) 2021-05-18 2021-05-18 Screen resolution adjusting method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110541326.5A CN113296664A (en) 2021-05-18 2021-05-18 Screen resolution adjusting method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113296664A true CN113296664A (en) 2021-08-24

Family

ID=77322636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110541326.5A Pending CN113296664A (en) 2021-05-18 2021-05-18 Screen resolution adjusting method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113296664A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115484485A (en) * 2022-09-06 2022-12-16 三星电子(中国)研发中心 Screen projection method, equipment and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325040A (en) * 2008-07-16 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Mobile terminal capable of adjusting resolution and method for adjusting resolution of the mobile terminal
CN104778655A (en) * 2015-03-30 2015-07-15 广东欧珀移动通信有限公司 Image display method and terminal
CN104981766A (en) * 2014-04-28 2015-10-14 华为终端有限公司 Method for displaying data on screen and display control device
CN105867585A (en) * 2016-03-24 2016-08-17 昆山龙腾光电有限公司 Method and device for saving power of liquid crystal display terminal
CN106251819A (en) * 2016-09-20 2016-12-21 京东方科技集团股份有限公司 A kind of method carrying out showing and display device
CN108696733A (en) * 2017-02-22 2018-10-23 深圳市光峰光电技术有限公司 Projected picture antidote and device
CN111223047A (en) * 2019-11-26 2020-06-02 维沃移动通信有限公司 Image display method and electronic equipment
CN111290810A (en) * 2020-01-19 2020-06-16 维沃移动通信有限公司 Image display method and electronic equipment
CN111344736A (en) * 2018-12-18 2020-06-26 深圳市大疆创新科技有限公司 Image processing method, image processing device and unmanned aerial vehicle
CN111681167A (en) * 2020-06-03 2020-09-18 腾讯科技(深圳)有限公司 Image quality adjusting method and device, storage medium and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325040A (en) * 2008-07-16 2008-12-17 宇龙计算机通信科技(深圳)有限公司 Mobile terminal capable of adjusting resolution and method for adjusting resolution of the mobile terminal
CN104981766A (en) * 2014-04-28 2015-10-14 华为终端有限公司 Method for displaying data on screen and display control device
CN104778655A (en) * 2015-03-30 2015-07-15 广东欧珀移动通信有限公司 Image display method and terminal
CN105867585A (en) * 2016-03-24 2016-08-17 昆山龙腾光电有限公司 Method and device for saving power of liquid crystal display terminal
CN106251819A (en) * 2016-09-20 2016-12-21 京东方科技集团股份有限公司 A kind of method carrying out showing and display device
CN108696733A (en) * 2017-02-22 2018-10-23 深圳市光峰光电技术有限公司 Projected picture antidote and device
CN111344736A (en) * 2018-12-18 2020-06-26 深圳市大疆创新科技有限公司 Image processing method, image processing device and unmanned aerial vehicle
CN111223047A (en) * 2019-11-26 2020-06-02 维沃移动通信有限公司 Image display method and electronic equipment
CN111290810A (en) * 2020-01-19 2020-06-16 维沃移动通信有限公司 Image display method and electronic equipment
CN111681167A (en) * 2020-06-03 2020-09-18 腾讯科技(深圳)有限公司 Image quality adjusting method and device, storage medium and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115484485A (en) * 2022-09-06 2022-12-16 三星电子(中国)研发中心 Screen projection method, equipment and system

Similar Documents

Publication Publication Date Title
CN111061574B (en) Object sharing method and electronic device
US10643666B2 (en) Video play method and device, and computer storage medium
US10033920B2 (en) Method for controlling cameras, non-transitory storage medium and terminal
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
CN109271014B (en) Method and equipment for adjusting screen brightness
US11363196B2 (en) Image selection method and related product
CN111142991A (en) Application function page display method and electronic equipment
CN108513671B (en) Display method and terminal for 2D application in VR equipment
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
KR20220092937A (en) Screen display control method and electronic device
CN111669664B (en) Video playing method, video playing device, electronic equipment and storage medium
US11915633B2 (en) Screen color temperature control method, apparatus, storage medium, and mobile terminal
CN112019929A (en) Volume adjusting method and device
CN108564539B (en) Method and device for displaying image
CN110597478A (en) Audio output method and electronic equipment
CN107562303B (en) Method and device for controlling element motion in display interface
CN110505660B (en) Network rate adjusting method and terminal equipment
CN107797723B (en) Display style switching method and terminal
CN108491143B (en) Object movement control method and mobile terminal
CN107622234B (en) Method and device for displaying budding face gift
US20160119695A1 (en) Method, apparatus, and system for sending and playing multimedia information
CN110224732B (en) Antenna switching method and terminal equipment
CN113296664A (en) Screen resolution adjusting method and device, terminal equipment and storage medium
CN113612957B (en) Call method and related equipment
CN107391732B (en) Function guiding method and device of application program 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