Resolution adjustment method and related products
By detecting user touch operations and adjusting the display resolution, the problem of increased power consumption caused by the high resolution of mobile terminals is solved and the battery life of the device is extended.
Patent Information
- Application Number
- CN201780097033.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-11-25
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2037-11-25
AI Technical Summary
The demand for high resolution in mobile terminal displays increases the amount of computing and power consumption, affecting the battery life of the device.
By detecting the user's touch operation, the corresponding resolution adjustment parameters are determined, and the resolution of the display screen is adjusted according to these parameters to reduce the amount of calculation and power consumption.
It achieves flexible adjustment of the display resolution according to user needs, reduces the power consumption of mobile terminals, and extends the battery life of the device.
Smart Images

Figure CN111406246B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a resolution adjustment method and related products. Background Art
[0002] With the rapid development of information technology, mobile terminals (such as mobile phones, tablet computers, etc.) are becoming more and more popular, and users' requirements for mobile terminals are also getting higher and higher. The screens of many mobile terminals (mobile phones, tablet computers, etc.) can display higher-resolution display interfaces. For example, some mobile phones can reach a resolution of 2K.
[0003] However, the higher the resolution requirement of the mobile terminal display, the greater the amount of computing required by the mobile terminal, resulting in greater power consumption of the display, which is not conducive to saving power consumption and the battery life of the mobile terminal. For example, a mobile phone with a 2K resolution display, although the difference between 2K resolution and 1080p resolution is not large, a mobile phone with a 2K resolution display requires about 1.78 times the amount of computing to make the smoothness equal to that of a mobile phone with a 1080p resolution display, which greatly increases the power consumption of the chip. Therefore, it is necessary to propose a method to reduce the resolution of the display and reduce the power consumption of the mobile terminal in terms of the display. Summary of the invention
[0004] The embodiments of the present application provide a resolution adjustment method and related products, which can adjust the resolution simply and quickly.
[0005] A first aspect of an embodiment of the present application provides a resolution adjustment method, including:
[0006] Detect touch operation;
[0007] Determining a resolution adjustment parameter corresponding to the touch operation;
[0008] The resolution of the display screen is adjusted according to the resolution adjustment parameter.
[0009] A second aspect of an embodiment of the present application provides a resolution adjustment device, including:
[0010] A detection unit, used for detecting touch operation;
[0011] A first determining unit, used to determine a resolution adjustment parameter corresponding to the touch operation;
[0012] The first adjustment unit is used to adjust the resolution of the display screen according to the resolution adjustment parameter.
[0013] In a third aspect, an embodiment of the present application provides a mobile terminal, comprising: a processor and a memory; and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the processor, the program including instructions for some or all of the steps described in the first aspect.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, wherein the computer program enables a computer to execute instructions of some or all of the steps described in the first aspect of the embodiment of the present application.
[0015] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0017] Figure 1a This is a flowchart of a first embodiment of a resolution adjustment method provided in an embodiment of the present application;
[0018] Figure 1b This is a schematic diagram showing a user's finger touching a display screen provided in an embodiment of the present application;
[0019] Figure 1c This is another schematic diagram of demonstrating a user's finger touching a display screen provided in an embodiment of the present application;
[0020] Figure 1d is a schematic diagram demonstrating the sliding tracks of two touch points on a display screen provided in an embodiment of the present application;
[0021] Figure 1e is a schematic diagram showing the starting coordinates and ending coordinates of two touch points on a display screen provided in an embodiment of the present application;
[0022] Figure 2a This is a flowchart of a second embodiment of a resolution adjustment method provided in an embodiment of the present application;
[0023] Figure 2bis a schematic diagram showing an icon layout before resolution reduction provided by an embodiment of the present application;
[0024] Figure 2c is a schematic diagram showing an icon layout after a resolution reduction provided by an embodiment of the present application;
[0025] Figure 2d This is a schematic diagram showing the layout of icons before the resolution is increased, provided in an embodiment of the present application;
[0026] Figure 2e This is a schematic diagram showing an icon layout after the resolution is increased, provided in an embodiment of the present application;
[0027] Figure 3a is a schematic diagram of the structure of an embodiment of a resolution adjustment device provided in an embodiment of the present application;
[0028] Figure 3b The embodiment of this application provides Figure 3a A schematic structural diagram of a first determination unit of the described resolution adjustment device;
[0029] Figure 3c The embodiment of this application provides Figure 3b A schematic diagram of the structure of an acquisition module of the described resolution adjustment device;
[0030] Figure 3d The embodiment of this application provides Figure 3b Another structural schematic diagram of the acquisition module of the described resolution adjustment device;
[0031] Figure 4 is another structural schematic diagram of a resolution adjustment device provided in an embodiment of the present application;
[0032] Figure 5 It is a schematic diagram of the structure of an embodiment of a mobile terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0034] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present application and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0035] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The presentation of the phrase at various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0036] The mobile terminals described in the embodiments of the present application may include smart phones (such as Android phones, IOS phones, Windows Phone phones, etc.), tablet computers, PDAs, laptop computers, mobile Internet devices (MID, Mobile Internet Devices) or wearable devices, etc. The above are only examples and not exhaustive, including but not limited to the above mobile terminals.
[0037] See also Figure 1a , Figure 1a The following is a flow chart of a first embodiment of a resolution adjustment method provided in an embodiment of the present application. Figure 1a As shown, the resolution adjustment method described in this embodiment includes the following steps:
[0038] 101. Detect a touch operation. Specifically, detect a touch operation of a user's finger on the touch screen.
[0039] In an embodiment of the present application, the above-mentioned touch screen can be used to receive touch operations of the user's fingers, and the display screen is used to display the interface content currently output by the mobile terminal. The interface content may include desktop icons that display applications, and may also include the interface of the application program, which is not limited here.
[0040] Wherein, at least two fingers of the user touch the touch screen, each finger corresponds to a touch point, and the touch operation may include a zoom operation performed on the touch screen by any two touch points.
[0041] Optionally, the touch operation may include a pinching operation and a stretching operation. Touch instructions corresponding to different touch operations of two touch points on the display screen may be preset, wherein the touch instructions corresponding to different touch operations may be set by system default or by the user.
[0042] Optionally, the pinching operation may correspond to a touch instruction of the user to reduce the resolution, and the stretching operation may correspond to a touch instruction of the user to increase the resolution.
[0043] See also Figure 1b and Figure 1c , Figure 1b and 1c Figure 1 is a schematic diagram of two types of user finger touch screens. Figure 1b As shown, two fingers of the user touch the touch screen, each finger corresponds to a touch point, and the touch operation of the embodiment of the present application can be a pinching operation between the two touch points, corresponding to a touch instruction to reduce the resolution. The user's fingers are not limited to the fingers of one hand or both hands, nor are they limited to the fingers of the left hand or the fingers of the right hand.
[0044] like Figure 1c As shown, three fingers of the user touch the display screen, each finger corresponds to a touch point, and the touch operation of the embodiment of the present application can be a stretching operation between any two touch points, corresponding to a touch instruction to increase the resolution.
[0045] Optionally, the touch operation of the embodiment of the present application may also include four or five fingers of the user contacting the touch screen, each finger corresponding to a touch point, wherein a pinching operation between any two touch points corresponds to a touch instruction to reduce the resolution; the touch operation of the embodiment of the present application may also include a stretching operation between any two touch points, corresponding to a touch instruction to increase the resolution.
[0046] 102. Determine a resolution adjustment parameter corresponding to the touch operation.
[0047] In the embodiment of the present application, the resolution adjustment parameter includes a direction of resolution adjustment, which specifically corresponds to a touch instruction for increasing the resolution and a touch instruction for decreasing the resolution.
[0048] Optionally, the method of determining whether the touch operation is a pinch operation or a stretch operation is as follows: when the distance between the starting coordinates of the two touch points on the display screen is greater than the distance between the ending coordinates, the touch operation is determined to be a pinch operation; when the distance between the starting coordinates of the two touch points on the display screen is greater than the distance between the ending coordinates, the touch operation is determined to be a stretch operation. It can be seen that by determining whether the touch operation is a pinch operation or a stretch operation, the direction of resolution adjustment is determined.
[0049] Optionally, the touch operation is a zoom operation between two touch points, and the two touch points correspond to at least two fingers of the user;
[0050] In step 102, determining a resolution adjustment parameter corresponding to the touch operation includes:
[0051] 21. Obtain the displacement of the two touch points on the display screen;
[0052] 22. Determine a resolution adjustment parameter based on the displacement.
[0053] The displacement of the two touch points on the display screen includes the direction in which the two touch points slide on the display screen and the distance in which the two touch points slide on the display screen. Specifically, the direction in which the two touch points slide on the display screen may include the direction of the pinching operation and the direction of the stretching operation. Determining that the touch operation is a pinching operation or a stretching operation means determining the direction in which the two touch points slide on the display screen.
[0054] Optionally, based on the distance that the two touch points slide on the display screen, the average distance that the two touch points slide on the display screen is calculated, and the resolution adjustment parameter corresponding to each distance average value can be set in advance, and the corresponding resolution adjustment parameter can be determined based on the distance average value, wherein the resolution adjustment parameter corresponding to each distance average value can be set by system default or by the user.
[0055] Optionally, based on the distance that the two touch points slide on the display screen, the sum of the distances that the two touch points slide on the display screen respectively can be calculated, and a resolution adjustment parameter corresponding to each sum of distances can be preset, and the corresponding resolution adjustment parameter can be determined based on the sum of distances, wherein the resolution adjustment parameter corresponding to each sum of distances can be set by the system default or by the user.
[0056] Optionally, in the above step 21, obtaining the displacements of the two touch points on the display screen includes:
[0057] Obtaining sliding tracks of the two touch points on the display screen;
[0058] The displacements of the two touch points on the display screen are determined according to the sliding trajectory.
[0059] like Figure 1d As shown, Figure 1d The schematic diagram is a sliding track of two touch points on the display screen. According to the sliding track of the two touch points on the display screen, the direction and length of the sliding track are calculated, and the direction and length of the sliding track are the displacement of the two touch points on the display screen.
[0060] Optionally, in the above step 21, obtaining the displacements of the two touch points on the display screen includes:
[0061] Respectively obtaining the starting coordinates and the ending coordinates of the two touch points on the display screen;
[0062] The displacements of the two touch points on the display screen are determined according to the starting coordinates and the ending coordinates of the two touch points on the display screen.
[0063] like Figure 1e As shown, Figure 1e Schematic diagram of the starting coordinates and ending coordinates of two touch points on the display screen. Wherein, (X0, Y0) is the starting coordinate of the first touch point, (X1, Y1) is the starting coordinate of the second touch point, (X2, Y2) is the ending coordinate of the first touch point, and (X3, Y3) is the ending coordinate of the second touch point. According to the above starting coordinates and ending coordinates, the displacements of the two touch points on the display screen are calculated respectively.
[0064] 103. Adjust the resolution of the display screen according to the resolution adjustment parameter. Specifically, adjust the resolution of the display screen according to the resolution adjustment parameter to obtain a target resolution.
[0065] In an embodiment of the present application, the resolution adjustment parameters may include a resolution change value. If the above-mentioned touch operation is determined to be a pinching operation, an operation of reducing the resolution may be performed according to the resolution change value to obtain the target resolution; if the above-mentioned touch operation is determined to be a stretching operation, an operation of enhancing the resolution may be performed according to the resolution change value.
[0066] For example, based on the distance that the two touch points slide on the display screen, the average distance that the two touch points slide on the display screen can be calculated, and the preset resolution change value corresponding to the distance average can be determined. Assuming that the zoom operation of the user's finger is a pinching operation, the operation of reducing the resolution is performed according to the resolution change value, and the display screen can be adjusted to the target resolution.
[0067] Optionally, the resolution adjustment parameter may include a target resolution, and the current resolution of the display screen is acquired, and the absolute value of the difference between the current resolution and the target resolution is calculated. The display screen may be adjusted to the target resolution according to the absolute value of the difference.
[0068] For example, based on the distance that the two touch points slide on the display screen, the average distance that the two touch points slide on the display screen can be calculated, the preset target resolution corresponding to the distance average can be determined, the current resolution of the display screen is obtained, and the absolute value of the difference between the current resolution and the target resolution is calculated. Assuming that the zoom operation of the user's finger is a pinch operation, the display screen can be adjusted to the target resolution according to the absolute value of the difference.
[0069] It can be seen that through the embodiments of the present application, the mobile terminal detects the touch operation of the user's finger on the display screen, determines the resolution adjustment parameters corresponding to the touch operation, including determining the touch instructions for increasing or decreasing the resolution corresponding to the touch operation, and the amplitude of increasing or decreasing the resolution, and adjusts the resolution of the display screen according to the resolution adjustment parameters to obtain the target resolution, so as to reduce the amount of calculation and thus reduce power consumption.
[0070] Consistent with the above, see Figure 2a , is a flow chart of a second embodiment of a resolution adjustment method provided in an embodiment of the present application. Figure 2a As shown, the resolution adjustment method described in this embodiment includes the following steps:
[0071] 201. Detect touch operation.
[0072] 202. Determine a resolution adjustment parameter corresponding to the touch operation.
[0073] 203. Adjust the resolution of the display screen according to the resolution adjustment parameter to obtain a target resolution.
[0074] 204. Obtain a first icon layout parameter of the display screen.
[0075] In the embodiment of the present application, the desktop icons of the mobile terminal can be rearranged so that after the resolution of the display screen is adjusted, the impact on the display clarity of the desktop icons is reduced.
[0076] The first icon layout parameter corresponds to a first icon layout, and the first icon layout is the current icon layout of the display screen. For example, the first icon layout may be a 4*5 icon layout or a 5*5 icon layout.
[0077] 205. Determine a second icon layout parameter corresponding to the target resolution.
[0078] In an embodiment of the present application, the icon layout parameters corresponding to the target resolution can be pre-set. When the target resolution is obtained, the second icon layout parameters corresponding to the target resolution can be determined, wherein the second icon layout parameters correspond to the second icon layout. The second icon layout parameters corresponding to the target resolution can be set by the system default or by the user.
[0079] 206. When the first icon layout parameter is inconsistent with the second icon layout parameter, adjust the icon layout of the display screen according to the second icon layout parameter.
[0080] In an embodiment of the present application, it can be determined whether the first icon layout parameters are consistent with the second icon layout parameters. If the first icon layout parameters are consistent with the second icon layout parameters, there is no need to adjust the current icon layout. If the first icon layout parameters are inconsistent with the second icon layout parameters, it is necessary to adjust the icon layout of the display screen according to the second icon layout parameters, and adjust the display screen to the second icon layout corresponding to the second icon layout parameters.
[0081] For example, Figure 2b and 2c As shown, Figure 2b This is a schematic diagram of the icon layout before the resolution is reduced. Figure 2c The figure is a schematic diagram of an icon layout after the resolution is reduced. The first icon layout is a 4*5 icon layout, and the second icon layout is a 5*5 icon layout. After the display screen resolution is reduced, the display screen can be adjusted to the second icon layout, i.e., a 5*5 icon layout, according to the second icon layout parameters. After the icons are reduced, the display effect after the resolution is reduced is clearer.
[0082] For example, Figure 2d and 2e As shown, Figure 2d This is a schematic diagram of icon layout before the resolution is increased. Figure 2e The figure is a schematic diagram of icon layout after the resolution is increased. The first icon layout is a 5*5 icon layout, and the second icon layout is a 4*5 icon layout. After the display screen resolution is increased, the display screen can be adjusted to the second icon layout, i.e., a 4*5 icon layout, according to the second icon layout parameters. After the icons are enlarged, the user's visual experience is better.
[0083] It can be seen that through the embodiments of the present application, the touch operation of the user's finger on the display screen is detected, the resolution adjustment parameter corresponding to the touch operation is determined, the resolution of the display screen is adjusted according to the resolution adjustment parameter, and the target resolution is obtained. The resolution can be flexibly adjusted according to the user's needs, the amount of calculation is reduced, and thus the power consumption is reduced; the first icon layout parameter of the display screen is obtained, the second icon layout parameter corresponding to the target resolution is determined, and it is determined whether the first icon layout parameter is consistent with the second icon layout parameter. When the first icon layout parameter is inconsistent with the second icon layout parameter, the icon layout of the display screen is adjusted according to the second icon layout parameter to reduce the influence of the adjusted resolution on the icon display clarity.
[0084] Consistent with the above, the following is a device for implementing the above resolution adjustment method, specifically as follows:
[0085] See also Figure 3a, is a schematic diagram of the structure of an embodiment of a resolution adjustment device provided in an embodiment of the present application. The resolution adjustment device described in this embodiment is applied to a mobile terminal, and the device includes: a detection unit 301, a first determination unit 302 and a first adjustment unit 303, which are specifically as follows:
[0086] A detection unit 301, used to detect a touch operation;
[0087] A first determining unit 302, configured to determine a resolution adjustment parameter corresponding to the touch operation;
[0088] The first adjustment unit 303 is used to adjust the resolution of the display screen according to the resolution adjustment parameter to obtain a target resolution.
[0089] Alternatively, if Figure 3b , Figure 3b for Figure 3a The specific detailed structure of the first determination unit 302 of the resolution adjustment device described in the embodiment of the present invention, the first determination unit 302 may include: an acquisition module 3021 and a determination module 3022, which are as follows:
[0090] An acquisition module 3021 is used to acquire the displacements of the two touch points on the display screen;
[0091] The determination module 3022 is used to determine a resolution adjustment parameter according to the displacement.
[0092] Alternatively, if Figure 3c , Figure 3c for Figure 3b The specific detailed structure of the acquisition module 3021 of the resolution adjustment device described in the above, the acquisition module 3021 may include: a first acquisition submodule 30211 and a first determination submodule 30212, which are as follows:
[0093] A first acquisition submodule 30211 is used to acquire sliding tracks of the two touch points on the display screen;
[0094] The first determining submodule 30212 is used to determine the displacement of the two touch points on the display screen according to the sliding trajectory.
[0095] Alternatively, if Figure 3d , Figure 3d for Figure 3b Another specific detailed structure of the acquisition module 3021 of the resolution adjustment device described in the embodiment, the acquisition module 3021 may include: a second acquisition submodule 30213 and a second determination submodule 30214, which are as follows:
[0096] The second acquisition submodule 30213 is used to acquire the starting coordinates and the ending coordinates of the two touch points on the display screen;
[0097] The second determining submodule 30214 is used to determine the displacement of the two touch points on the display screen according to the starting coordinates and the ending coordinates of the two touch points on the display screen.
[0098] Through the embodiments of the present application, the mobile terminal detects the touch operation of the user's finger on the display screen, determines the resolution adjustment parameters corresponding to the touch operation, including determining the touch instructions for increasing or decreasing the resolution corresponding to the touch operation, and the amplitude of increasing or decreasing the resolution, and adjusts the resolution of the display screen according to the resolution adjustment parameters to obtain the target resolution, so as to reduce the amount of calculation and thus reduce power consumption.
[0099] See also Figure 4 , is a schematic diagram of another embodiment of a resolution adjustment device provided in an embodiment of the present application. The resolution adjustment device described in this embodiment includes: a detection unit 401, a first determination unit 402, an adjustment unit 403, an acquisition unit 404, a second determination unit 405 and a second adjustment unit 406, which are specifically as follows:
[0100] A detection unit 401, used to detect a touch operation;
[0101] A first determining unit 402, configured to determine a resolution adjustment parameter corresponding to the touch operation;
[0102] The first adjustment unit 403 is used to adjust the resolution of the display screen according to the resolution adjustment parameter to obtain a target resolution.
[0103] An acquiring unit 404 is used to acquire a first icon layout parameter of the display screen;
[0104] A second determining unit 405, configured to determine a second icon layout parameter corresponding to the target resolution;
[0105] The second adjusting unit 406 is configured to adjust the icon layout of the display screen according to the second icon layout parameter when the first icon layout parameter is inconsistent with the second icon layout parameter.
[0106] It can be seen that through the embodiments of the present application, the touch operation of the user's finger on the display screen is detected, the resolution adjustment parameter corresponding to the touch operation is determined, the resolution of the display screen is adjusted according to the resolution adjustment parameter, and the target resolution is obtained. The resolution can be flexibly adjusted according to the user's needs, the amount of calculation is reduced, and thus the power consumption is reduced; the first icon layout parameter of the display screen is obtained, the second icon layout parameter corresponding to the target resolution is determined, and it is determined whether the first icon layout parameter is consistent with the second icon layout parameter. When the first icon layout parameter is inconsistent with the second icon layout parameter, the icon layout of the display screen is adjusted according to the second icon layout parameter to reduce the influence of the adjusted resolution on the icon display clarity.
[0107] It should be noted that the resolution adjustment device described in the device embodiment of the present application is presented in the form of a functional unit. The term "unit" used here should be understood as the broadest possible meaning, and the object used to implement the functions described by each "unit" can be, for example, an integrated circuit ASIC, a single circuit, a processor (shared, dedicated or chipset) and memory for executing one or more software or firmware programs, a combinational logic circuit, and / or other suitable components that provide the above functions.
[0108] For example, the detection unit 401, which is used to detect the touch operation of the user's finger on the display screen, can be Figure 5 The mobile terminal shown in the figure can be implemented by the processor 3000 calling the executable program code in the memory 4000 to detect the touch operation of the user's finger on the display screen.
[0109] Consistent with the above, see Figure 5 , is a schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application. The mobile terminal described in this embodiment includes: at least one input device 1000; at least one output device 2000; at least one processor 3000, such as a CPU; and a memory 4000, wherein the input device 1000, the output device 2000, the processor 3000 and the memory 4000 are connected via a bus 5000.
[0110] The input device 1000 may specifically include a touch panel, a physical button, a mouse and a microphone.
[0111] The output device 2000 may specifically be a display screen.
[0112] The memory 4000 may be a high-speed RAM memory or a non-volatile memory, such as a disk memory. The memory 4000 is used to store a set of program codes, and the input device 1000, the output device 2000 and the processor 3000 are used to call the program codes stored in the memory 4000 and perform the following operations:
[0113] The processor 3000 is used for:
[0114] Detect touch operation;
[0115] Determining a resolution adjustment parameter corresponding to the touch operation;
[0116] The resolution of the display screen is adjusted according to the resolution adjustment parameter.
[0117] Optionally, the processor 3000 determines a resolution adjustment parameter corresponding to the touch operation, including:
[0118] Obtaining displacements of the two touch points on the display screen;
[0119] A resolution adjustment parameter is determined according to the displacement.
[0120] Optionally, the processor 3000 obtains the displacement of the two touch points on the display screen, including:
[0121] Obtaining sliding tracks of the two touch points on the display screen;
[0122] The displacements of the two touch points on the display screen are determined according to the sliding trajectory.
[0123] Optionally, the processor 3000 obtains the displacement of the two touch points on the display screen, including:
[0124] Respectively obtaining the starting coordinates and the ending coordinates of the two touch points on the display screen;
[0125] The displacements of the two touch points on the display screen are determined according to the starting coordinates and the ending coordinates of the two touch points on the display screen.
[0126] Optionally, the processor 3000 is further specifically configured to:
[0127] Acquire a first icon layout parameter of the display screen;
[0128] Determine a second icon layout parameter corresponding to the target resolution;
[0129] When the first icon layout parameter is inconsistent with the second icon layout parameter, the icon layout of the display screen is adjusted according to the second icon layout parameter.
[0130] An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program includes part or all of the steps of any one of the resolution adjustment methods recorded in the above method embodiments.
[0131] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any resolution adjustment method recorded in the above method embodiments.
[0132] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment), or computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code. The computer program is stored / distributed in a suitable medium, provided together with other hardware or as a part of hardware, and other distribution forms may also be adopted, such as by Internet or other wired or wireless telecommunication systems.
[0134] The present application is described with reference to the flowchart and / or block diagram of the method, device (equipment) and computer program product of the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the function specified in one process or multiple processes in the flowchart and / or one box or multiple boxes in the block diagram.
[0135] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0136] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0137] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for adjusting the resolution of a mobile terminal, characterized in that: The method comprises: Detecting a touch operation, where the touch operation is a zoom operation between two touch points; Determining a resolution adjustment parameter corresponding to the touch operation includes: obtaining a displacement of the two touch points on the display screen, and determining the resolution adjustment parameter according to the displacement; Adjusting the resolution of the display screen according to the resolution adjustment parameter to obtain a target resolution; Obtaining first desktop icon layout parameters of the display screen; Determine a second desktop icon layout parameter corresponding to the target resolution; When the first desktop icon layout parameter is inconsistent with the second desktop icon layout parameter, the desktop icon layout of the display screen is adjusted according to the second desktop icon layout parameter.
2. The method according to claim 1, characterized in that The obtaining the displacements of the two touch points on the display screen includes: Obtaining sliding tracks of the two touch points on the display screen; The displacements of the two touch points on the display screen are determined according to the sliding trajectory.
3. The method according to claim 1, characterized in that The obtaining the displacements of the two touch points on the display screen includes: Respectively obtaining the starting coordinates and the ending coordinates of the two touch points on the display screen; The displacements of the two touch points on the display screen are determined according to the starting coordinates and the ending coordinates of the two touch points on the display screen.
4. A mobile terminal resolution adjustment device, characterized in that: The device comprises: A detection unit, used to detect a touch operation, where the touch operation is a zoom operation between two touch points; A first determining unit, used to determine a resolution adjustment parameter corresponding to the touch operation; The first determination unit is specifically configured to obtain a displacement of the two touch points on the display screen, and determine a resolution adjustment parameter according to the displacement; A first adjustment unit, configured to adjust the resolution of the display screen according to the resolution adjustment parameter to obtain a target resolution; An acquiring unit, used for acquiring a first desktop icon layout parameter of the display screen; A second determining unit, used to determine a second desktop icon layout parameter corresponding to the target resolution; The second adjustment unit is used to adjust the desktop icon layout of the display screen according to the second desktop icon layout parameter when the first desktop icon layout parameter is inconsistent with the second desktop icon layout parameter.
5. A mobile terminal, characterized in that: include: A processor and a memory; wherein the processor executes the method according to any one of claims 1 to 3 by calling the code or instruction in the memory.
6. A computer storage medium, characterized in that: The device is used for storing a computer program, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 3.
