A display control method, an electronic device, and a storage medium

By adjusting the display content according to the display area ratio in the curved screen electronic device, the problem of accidentally touching the viewing experience is solved, and the display area is automatically adjusted to avoid accidentally touching and optimize the display effect.

CN111045563BActive Publication Date: 2025-07-29VIVO MOBILE COMM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN201911200796.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-29
Publication Date
2025-07-29
Estimated Expiration
2039-11-29

AI Technical Summary

Technical Problem

Curved screen electronic devices are prone to accidentally touching problems that affect users' viewing experience during the display of content.

Method used

By obtaining the ratio of the display area of the first object to the display screen area, if the ratio is greater than the preset threshold, the first object is displayed to the home screen area, and the target object in the side screen area is updated, including adjustment of display content or target parameters.

Benefits of technology

Automatically adjust the display area to avoid accidentally touching the side screen area, optimize the display effect, and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111045563B_ABST
    Figure CN111045563B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention discloses a display control method, an electronic device, and a storage medium, which relate to the field of communication technologies and are used to solve the problems of mis-triggering and affecting the user viewing experience during the display of content on a curved screen electronic device. The method includes: obtaining a first ratio of a first display area of a first object to a second display area of the display screen; in a case where the first ratio is greater than a preset first threshold, displaying the first object in a main screen area of the display screen, and updating a target object in the first side screen area, where the target object includes at least one of display content and target parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to a display control method, an electronic device, and a storage medium. Background Art

[0002] With the continuous development of Internet technologies, electronic devices including curved screens have gradually emerged on the market. When the display screen displays a picture, due to the extension of the side screen area, a part of the picture will extend to the side screen area.

[0003] Since both the main screen area and the side screen area of the curved screen can perform normal display and touch input, when the user holds the electronic device during use, it is easy to press the side screen area, resulting in the problem of accidental touch on the currently normally touch-input screen. In addition, in some special scenarios, a part of the picture extends to the side screen area, which will affect the user's viewing experience when the user is viewing. Summary of the Invention

[0004] Embodiments of the present invention provide a display control method, an electronic device, and a storage medium to solve the problems of accidental triggering and affecting the user's viewing experience existing in the process of displaying content on existing curved-screen electronic devices.

[0005] To solve the above technical problems, the present invention is implemented as follows:

[0006] In a first aspect, an embodiment of the present invention provides a display control method applied to an electronic device. The method includes: obtaining a first ratio of a first display area of a first object to a second display area of the display screen; and in a case where the first ratio is greater than a preset first threshold, displaying the first object in a main screen area of the display screen, and updating a target object in the first side screen area, where the target object includes at least one of display content and target parameters.

[0007] In a second aspect, an embodiment of the present invention provides an electronic device, including: an obtaining module and a processing module; the obtaining module is configured to obtain a first ratio of a first display area of a first object to a second display area of the display screen; the processing module is configured to, in a case where the first ratio is greater than a preset first threshold, display the first object in a main screen area of the display screen, and update a target object in the first side screen area, where the target object includes at least one of display content and target parameters.

[0008] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the display control method in the first aspect are implemented.

[0009] Fourthly, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the display control method in the first aspect are implemented.

[0010] In an embodiment of the present invention, by obtaining a first ratio of a first display area of a first object to a second display area of the display screen; when the first ratio is greater than a preset first threshold, the first object is displayed in the main screen area of the display screen, and the target object in the first side screen area is updated, where the target object includes at least one of display content and target parameters. That is, by displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area, the display area of the first object can be automatically adjusted, avoiding accidental touch of the side screen area by the user and optimizing the display effect of the display screen of the curved screen electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a schematic diagram of an architecture of a possible Android operating system provided by an embodiment of the present invention;

[0012] Figure 2 It is one of the flowcharts of the application recommendation method provided by an embodiment of the present invention;

[0013] Figure 3 It is another flowchart of the application recommendation method provided by an embodiment of the present invention;

[0014] Figure 4 It is one of the schematic diagrams of the electronic device updating the first display area of the first object provided by an embodiment of the present invention;

[0015] Figure 5 It is another schematic diagram of the electronic device updating the first display area of the first object provided by an embodiment of the present invention;

[0016] Figure 6 It is yet another schematic diagram of the electronic device updating the first display area of the first object provided by an embodiment of the present invention;

[0017] Figure 7 It is still another schematic diagram of the electronic device updating the first display area of the first object provided by an embodiment of the present invention;

[0018] Figure 8 It is yet another schematic diagram of the electronic device updating the first display area of the first object provided by an embodiment of the present invention;

[0019] Figure 9 It is still another schematic diagram of the electronic device updating the first display area of the first object provided by an embodiment of the present invention;

[0020] Figure 10 Schematic diagram VII of updating the first display area of the first object by the electronic device provided in the embodiment of the present invention;

[0021] Figure 11 Schematic diagram I of the first object being a video screen by the electronic device provided in the embodiment of the present invention;

[0022] Figure 12 Schematic diagram I of the electronic device further including a second side screen area provided in the embodiment of the present invention;

[0023] Figure 13 Schematic diagram of the structure of the electronic device provided in the embodiment of the present invention;

[0024] Figure 14 Hardware schematic diagram of the electronic device provided in the embodiment of the present invention. Detailed implementation manners

[0025] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts shall fall within the protection scope of the present invention.

[0026] The terms "first", "second", "third", "fourth", etc. in the description and claims of the present invention are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first input, the second input, the third input, and the fourth input are used to distinguish different inputs, rather than to describe a specific order of the inputs.

[0027] In the embodiments of the present invention, words such as "exemplarily" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplarily" or "for example" in the embodiments of the present invention should not be construed as being more preferred or more advantageous than other embodiments or design solutions. Exactly, the use of words such as "exemplarily" or "for example" is intended to present relevant concepts in a specific manner.

[0028] In the description of the embodiments of the present invention, unless otherwise specified, the meaning of "a plurality of" refers to two or more. For example, a plurality of processing units refers to two or more processing units; a plurality of elements refers to two or more elements, etc.

[0029] An embodiment of the present invention provides a display control method. An electronic device can obtain a first ratio of a first display area of a first object to a second display area of the display screen; when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen, and update a target object in the first side screen area, where the target object includes at least one of display content and target parameters. Therefore, through this solution, the display area of the first object can be automatically adjusted, avoiding accidental touches on the side screen area by the user and optimizing the display effect of the display screen of the curved screen electronic device.

[0030] Taking the Android operating system as an example, the software environment to which the display control method provided by the embodiment of the present invention is applied will be introduced below.

[0031] As Figure 1 shown, it is a schematic diagram of the architecture of a possible Android operating system provided by the embodiment of the present invention. In Figure 1 , the architecture of the Android operating system includes 4 layers, namely: the application layer, the application framework layer, the system runtime layer, and the kernel layer (specifically, it can be the Linux kernel layer).

[0032] Among them, the application layer includes various applications in the Android operating system (including system applications and third-party applications).

[0033] The application framework layer is the framework of applications. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.

[0034] The system runtime layer includes libraries (also known as system libraries) and the Android operating system runtime environment. The libraries mainly provide various resources required by the Android operating system. The Android operating system runtime environment is used to provide a software environment for the Android operating system.

[0035] The kernel layer is the operating system layer of the Android operating system and belongs to the bottom layer of the software hierarchy of the Android operating system. The kernel layer provides core system services and hardware-related drivers for the Android operating system based on the Linux kernel.

[0036] Taking the Android operating system as an example, in the embodiment of the present invention, developers can develop a software program implementing the display control method provided by the embodiment of the present invention based on the system architecture of the Android operating system as Figure 1 shown, so that the display control method can run based on the Android operating system as Figure 1 shown. That is, the processor or the terminal can implement the display control method provided by the embodiment of the present invention by running this software program in the Android operating system.

[0037] The electronic device in the embodiments of the present invention can be a mobile electronic device or a non-mobile electronic device. The mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc.; the non-mobile electronic device can be a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc.; the embodiments of the present invention do not make specific limitations.

[0038] The execution subject of the display control method provided by the embodiments of the present invention can be the above-mentioned electronic device (including mobile electronic devices and non-mobile electronic devices), or a functional module and / or functional entity in the electronic device that can implement this method, and specifically can be determined according to actual usage requirements, and the embodiments of the present invention do not make limitations. Hereinafter, taking the electronic device as an example, the display control method provided by the embodiments of the present invention will be exemplarily described.

[0039] Refer to Figure 2 As shown in, the embodiments of the present invention provide a display control method applied to an electronic device. The display screen of the electronic device includes a main screen area and a first side screen area. Optionally, the electronic device can include, but is not limited to, a curved screen, a waterfall screen, etc. This method can include the following steps 201-202.

[0040] Step 201, obtain a first ratio of the first display area of the first object to the second display area of the display screen. <e

[0041] Optionally, the first object can be any interface content of any application program, such as text, video images, pictures, controls, etc.

[0042] Optionally, the second display area of the display screen is the area of the entire display area of the display screen. As shown in (a) of Figure 4 the second display area of the display screen is the area of the entire display area composed of the main screen area 401, the first side screen area 402, and the second side screen area 403.

[0043] Optionally, it may be to obtain a first ratio of the first display area of the first object to the second display area of the display screen after the first object is displayed on the display screen. Exemplarily, the first object is the interface of an e-book. After this interface is displayed on the display screen, the first ratio of the first display area of this interface to the second display area of the display screen is obtained. It may also be that the electronic device detects that the first object is to be displayed on the display screen at the next moment, and obtains the first ratio of the first display area of the first object to the second display area of the display screen. Exemplarily, the first object is the interface of an e-book. When the user clicks on the icon of the e-book application, the electronic device detects that the interface of this e-book is to be displayed. Before displaying the interface of this e-book, the first ratio of the first display area of this interface to the second display area of the display screen is obtained. Of course, other situations are also within the protection scope of the present invention.

[0044] Optionally, the first display area of the first object and the second display area of the display screen may be obtained first, and then the first ratio is obtained by dividing the first display area by the second display area. Exemplarily, the first object is a picture. The length value of this picture is multiplied by the width value to obtain a first display area of 24 square centimeters, and the second display area of the display screen is 32 square centimeters. Then, 24 divided by 32 gives 0.75 as the first ratio.

[0045] Step 202, when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen, and update the target object in the first side screen area, where the target object includes at least one of display content and target parameters.

[0046] Optionally, the preset first threshold may be set by default or set by the user. The specific value may be 0.7, 0.8, 0.9, etc.

[0047] Optionally, updating the target object in the first side screen area may be to only update the display content in the first side screen area, or only adjust the target parameters in the first side screen area, or update the display content in the first side screen area and adjust the target parameters at the same time. It can be specifically determined according to the actual situation.

[0048] In the embodiment of the present invention, by obtaining the first ratio of the first display area of the first object to the second display area of the display screen; when the first ratio is greater than a preset first threshold, displaying the first object in the main screen area of the display screen, and updating the target object in the first side screen area, where the target object includes at least one of display content and target parameters, that is, by displaying the first object in the main screen area of the display screen and adjusting the target object in the first side screen area, it is possible to automatically adjust the display area of the first object, avoid the user from accidentally touching the side screen area, and optimize the display effect of the display screen of the curved screen electronic device.

[0049] Optionally, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area includes: adjusting target parameters of the first side screen area;

[0050] Wherein, the target parameters include at least one of the following: brightness, resolution, contrast, color saturation, sharpness, touch sensitivity. In this way, the target parameters of the first side screen area can be conveniently adjusted.

[0051] Optionally, the target parameter is at least one of a display parameter and a touch parameter. The display parameter includes but is not limited to brightness, resolution, contrast, color saturation, sharpness, etc., and the touch parameter includes but is not limited to touch sensitivity, touch pressure, touch duration, etc.

[0052] Optionally, adjusting the target parameters of the first side screen area can be to adjust only one of the target parameters, can be to adjust any one of the display parameters. For example, adjusting the brightness of the first side screen area can be to increase the brightness of the first side screen area or to decrease the brightness. It can be understood that when the brightness is adjusted to 0, it is equivalent to the first side screen area being in the screen-off state. It can also be to adjust any one of the touch parameters. For example, adjusting the touch sensitivity of the first side screen area can be to increase the touch sensitivity or to decrease the touch sensitivity, which can be specifically determined according to the actual situation. It can be understood that after the touch sensitivity of the first side screen area is reduced, the user needs to apply a greater touch pressure to make the first side screen area respond to the user's touch input.

[0053] Optionally, adjusting the target parameters of the first side screen area can be to adjust two or more items simultaneously. It can be to adjust any two or more items of the display parameters. Exemplarily, the brightness and resolution can be adjusted simultaneously. For example, the brightness can be increased while the resolution is decreased. The brightness, resolution and contrast can be adjusted simultaneously. For example, the brightness is decreased, the resolution is decreased, and the contrast is decreased simultaneously. It can also be to adjust any two or more items of the display parameters and the touch parameters simultaneously. For example, the brightness and touch sensitivity are adjusted simultaneously. The brightness can be decreased while the touch sensitivity is decreased. Of course, adjusting the target parameters of the first side screen area is not limited to the above-listed situations, which can be specifically determined according to the actual situation.

[0054] Optionally, updating the target object in the first side screen area can also be to update the display content in the first side screen area. Exemplarily, the first side screen area can be closed to make it in the locked screen state, or the display content in the first side screen area can be updated to other objects. For example, notification messages can be displayed in the first side screen area. Of course, it is not limited to the above-listed situations, which can be specifically determined according to the actual situation.

[0055] Optionally, the target object for updating the first side screen area may also be to update both the display content and display parameters of the first side screen area simultaneously. Exemplarily, the display content of the first side screen area may be updated to other objects while the brightness of the first side screen area is lowered. Of course, other update methods are also within the protection scope of the present invention.

[0056] Optionally, the method further includes:

[0057] Step 211, receiving a sliding input of a user on the display screen;

[0058] Optionally, the sliding input here may be a sliding operation of a single finger on the display screen or a multi-touch sliding operation, such as sliding two fingers on the display screen simultaneously, such as a two-finger pinch operation, etc. Here, the sliding input on the display screen may be a sliding input in the main screen area or a sliding input in the first side screen area, and it may be a slide from the main screen area to the first side screen area or from the first side screen area to the main screen area. Of course, the sliding input can also be set by the user and can be specifically determined according to the actual situation. The embodiments of the present invention do not make any limitations in this regard.

[0059] Step 212, in response to the sliding input, updating the first display area of the first object;

[0060] Wherein, the first display area of the first object is associated with the sliding trajectory of the sliding input. In this way, the first display area of the first object can be automatically adjusted according to the trajectory of the user's sliding input.

[0061] Optionally, updating the first display area of the first object may be to display the first object after magnification, that is, the display area becomes larger, or to display the first object after reduction, that is, the display area becomes smaller, which can be specifically determined according to the actual situation. Optionally, the first display area of the first object is associated with the sliding trajectory of the sliding input, and the first display area may change with the change of the sliding trajectory of the sliding input. The first display area may be updated in real time according to the distance of the sliding input. For example, the first display area may become larger as the sliding input trajectory changes, and the first display area may become smaller as the sliding input trajectory changes. It may also be to update the first display area according to the direction of the sliding input. It can be specifically determined according to the actual situation.

[0062] Method 1: The first display area of the first object may be updated in real time according to the distance of the sliding input.

[0063] Situation 1: Before receiving the sliding input, the first object is displayed in the main screen area.

[0064] Exemplarily, as Figure 4 shown in (a) of Figure 4 , the display area of the first object is the main screen area 401, and the direction of the trajectory of the user's sliding input is from the main screen area 401 to the first side screen area 402. As the user slides from the main screen area 401 to the first side screen area 402, the display area of the first object gradually increases, and finally, as shown in (b) of

[0065] Exemplarily, as Figure 5 shown in (a) of Figure 5 , the display area of the first object is the main screen area 401, and the direction of the trajectory of the user's sliding input is from the first side screen area 402 to the main screen area 401. As the user slides from the first side screen area 402 to the main screen area 401, the display area of the first object gradually decreases, and finally, as shown in (b) of

[0066] Case 2: Before receiving the sliding input, the first object is displayed in the main screen area and the first side screen area.

[0067] Exemplarily, as Figure 6 shown in (a) of Figure 6 , the display area of the first object is the main screen area 401 and the first side screen area 402, and the direction of the trajectory of the user's sliding input is from the first side screen area 402 to the main screen area 401. As the user slides from the first side screen area 402 to the main screen area 401, the display area of the first object gradually decreases, and finally, as shown in (b) of

[0068] Case 3: Before receiving the sliding input, the first object is displayed in the main screen area, the first side screen area, and the second side screen area. 7]

[0069] Exemplarily, as Figure 7 shown in (a) of Figure 7As shown in (b), the first display area of the first object decreases and is only displayed in a partial area of the main screen area, where 701 is the boundary line between the main screen area 401 and the first side screen area 402, and 702 is the boundary line between the main screen area 401 and the second side screen area 403.

[0070] Method 2: It can be to update the first display area of the first object according to the direction of the sliding input.

[0071] Optionally, before receiving the sliding input, the display area of the first object is the main screen area;

[0072] The updating of the first display area of the first object includes: when the first display area of the first object exceeds the display range of the main screen area, enlarging the first object to be displayed in the main screen area and the first side screen area of the display screen. In this way, the display area of the first object can be automatically adjusted according to the input trajectory of the user and the display area of the first object.

[0073] Optionally, the electronic device can detect the first display area of the first object in real time. When the first display area of the first object exceeds the display range of the main screen area, enlarge the first object to be displayed in the main screen area and the first side screen area of the display screen.

[0074] Exemplarily, as Figure 8 shown in (a), before receiving the sliding input, the display area of the first object is the main screen area 401, the direction of the trajectory of the sliding input is from the main screen area 401 to the first side screen area 402, the electronic device can detect the first display area of the first object in real time. When the first display area of the first object exceeds the display range 401 of the main screen area, the first object can be enlarged to be displayed in the main screen area 401 and the first side screen area 402 of the display screen, as Figure 8 shown in (b).

[0075] Optionally, before receiving the sliding input, the display area of the first object is the main screen area and the first side screen area;

[0076] The updating of the first display area of the first object includes: when the first display area of the first object is less than or equal to the display area of the main screen area, reducing the first object to be displayed in the main screen area of the display screen. In this way, the display area of the first object can be automatically determined according to the input trajectory of the user and the display area of the first object.

[0077] Exemplarily, as Figure 9As shown in (a) therein, before receiving the sliding input, the display area of the first object is the main screen area 401 and the first side screen area 402, and the direction of the trajectory of the sliding input is from the first side screen area 402 to the main screen area 401. The electronic device detects the first display area of the first object in real time. When the first display area of the first object is less than or equal to the display area of the main screen area, the first object is reduced to be displayed in the main screen area 401 of the display screen, as Figure 9 shown in (b) therein.

[0078] Exemplarily, as Figure 10 shown in (a) therein, before receiving the sliding input, the display area of the first object is the main screen area 401, the first side screen area 402 and the second side screen area 403. The direction of the trajectory of the sliding input of one finger of the user is from the first side screen area 402 to the main screen area 401, and the direction of the trajectory of the sliding input of the other finger is from the second side screen area 403 to the main screen area 401. The electronic device detects the first display area of the first object in real time. When the first display area of the first object is less than or equal to the display area of the main screen area, the first object is reduced to be displayed in the main screen area 401 of the display screen, as Figure 10 shown in (b) therein.

[0079] Of course, the situation where the first display area of the first object is associated with the sliding trajectory of the sliding input is not limited to the several situations listed above, and can be specifically determined according to the actual situation. The embodiments of the present invention do not make any limitation thereto.

[0080] Optionally, updating the target object in the first side screen area includes:

[0081] Setting the first side screen area to a target state;

[0082] Wherein, the target state is a state that does not respond to the input in the first side screen area. In this way, the electronic device does not respond to the input of the user in the first side screen area, which can effectively avoid the accidental touch operation of the user on the first side screen area.

[0083] Optionally, setting the first side screen area to the target state can be set by default or by the user, and can be specifically determined according to the actual situation. The embodiments of the present invention do not make any limitation thereto.

[0084] Exemplarily, the first object may be text. Obtain a first ratio of the first display area of the text to the second display area of the display screen. When the first ratio is greater than a preset first threshold, display the text in the main screen area of the display screen, and the first side screen area may be set to a target state. Further, after setting the first side screen area to the target state, the user can also perform a sliding input, such as the direction of the sliding input trajectory from the main screen area to the first side screen area, to display the text in the main screen area and the first side screen area. At this time, the first side screen area can still be in the target state, so that it can effectively avoid accidental touch by the user.

[0085] Optionally, the first object is text;

[0086] Optionally, the first object is text. Exemplarily, the user can use an electronic device to read a novel.

[0087] Adjusting the target parameter of the first side screen area includes:

[0088] Obtain a first brightness value of the main screen area;

[0089] Optionally, the first brightness value of the main screen area may be the current brightness value of the main screen area.

[0090] Obtain a second brightness value of the first side screen area;

[0091] Optionally, the second brightness value of the first side screen area may be the current brightness value of the first side screen area.

[0092] When the first brightness value is less than or equal to the second brightness value, adjust the brightness of the first side screen area to a third brightness value, and the third brightness value is lower than the first brightness value.

[0093] Optionally, the electronic device can compare the first brightness value with the second brightness value. When the first brightness value is less than or equal to the second brightness value, adjust the brightness value of the first side screen area to the third brightness value, so that the third brightness value is lower than the first brightness value, that is, the brightness value of the first side screen area is lower than the brightness value of the main screen area.

[0094] If the brightness value of the first side screen area is higher than the brightness value of the main screen area, when the user reads text on the electronic device, it will be affected by the first side screen area. In the embodiments of the present invention, the influence of the brightness of the first side screen area on the main screen area can be reduced, and the user's reading experience can be further improved.

[0095] Exemplarily, when a user reads a novel using an electronic device, the first object is the novel interface. The first ratio of the first display area of the first object to the second display area of the display screen is obtained. When the first ratio is greater than a preset first threshold, the novel interface is displayed in the first main screen area. The first brightness value of the main screen area is obtained, and the second brightness value of the first side screen area is obtained. If the first brightness value is less than or equal to the second brightness value, the brightness of the first side screen area is adjusted to a third brightness value, such that the third brightness value is lower than the first brightness value.

[0096] Optionally, before displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area, it further includes:

[0097] Receiving a touch input from the user on the first side screen;

[0098] Optionally, the touch input on the first side screen includes, but is not limited to, a single - click touch operation, a double - click touch operation, a swipe touch operation, a long - press touch operation, or a hard - press touch operation, etc.

[0099] Obtaining the touch pressure value of the touch input;

[0100] Optionally, obtaining the touch pressure value of the touch input can be achieved by a pressure sensor arranged below the touch screen. Other obtaining methods are also included within the protection scope of the present invention.

[0101] When the first ratio is greater than the preset first threshold, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area includes: when the first ratio is greater than the preset first threshold and the touch pressure value is greater than a preset second threshold, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area. In this way, the display area of the first object can be automatically adjusted, and accidental touch operations on the first side screen area can be avoided.

[0102] Optionally, updating the target object in the first side screen area can be only updating the display content in the first side screen area, or only adjusting the target parameters in the first side screen area, or simultaneously updating the display content and adjusting the target parameters. It can be specifically determined according to the actual situation.

[0103] Optionally, the preset second threshold can be set by default or set by the user. Specifically, it can be 100 Newtons, 90 Newtons, 200 Newtons, etc., and can be specifically determined according to the actual situation.

[0104] Exemplarily, the first object may be a control. When a user uses an electronic device, a first ratio of a first display area of the first object to a second display area of the display screen is obtained. When the first ratio is greater than a preset first threshold, and a touch input is received in the first side screen area and a touch pressure value of the touch input exceeds a second threshold, it can be considered that the user is holding the electronic device and there may be a risk of accidental touch. The first object control can be displayed in the main screen area, and the first side screen area can be automatically closed. In this way, when it is considered that there is a risk of accidental touch by the user, the first side screen area is automatically closed, which can effectively avoid accidental touch operations by the user.

[0105] Optionally, the first object is a video picture;

[0106] Exemplarily, the user watches a video on the electronic device.

[0107] In the case where the first ratio is greater than the preset first threshold, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area includes: when the first ratio is greater than the preset first threshold and the target text in the video picture is displayed in the first side screen area, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area. In this way, when the user watches a video on the electronic device, the video picture can be automatically displayed in the main screen area, thereby improving the user's viewing experience.

[0108] Optionally, the target text includes but is not limited to subtitles, bullet screens, etc. in the video picture.

[0109] Optionally, updating the target object in the first side screen area may be only updating the display content in the first side screen area, or only adjusting the target parameters in the first side screen area, or updating both the display content and the target parameters at the same time, which can be specifically determined according to the actual situation.

[0110] Exemplarily, as Figure 11 shown in (a) below, the first object is a video picture, the display area of the first object is the main screen area 401 and the first side screen area 402. When the first ratio is greater than the default preset first threshold and the subtitle 1101 is displayed in the first side screen area 402, the video picture is displayed in the main screen area 401 of the display screen, as Figure 11 shown in (b) below.

[0111] Optionally, the display screen of the electronic device further includes a second side screen area;

[0112] Step 201, when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen and update the target object in the first side screen area, including: when the first ratio is greater than the first threshold, display the first object in the main screen area of the display screen, display a second object in the first side screen area, and display a third object in the second side screen area. In this way, displaying the first object in the main screen area improves the user's viewing experience. In addition, by displaying different contents in the main screen area, the first side screen area, and the second side screen area respectively, the utilization rate of the first side screen area and the second side screen area can be improved.

[0113] Optionally, the second object may include, but is not limited to, a status bar, a message, etc. The third object may include, but is not limited to, a status bar, a message, etc. For example, the second object can be a status bar and the third object can be a message. The second object can be the first message and the third object can be the second message, which can be determined according to the actual situation.

[0114] Exemplarily, as Figure 12 shown in (a) of, the display screen includes a main screen area 401, a first side screen area 402, and a second side screen area 403. Obtain the first ratio of the first display area of the first object to the second display area of the display screen. When the first ratio is greater than a preset first threshold, display the first object in the main screen area 401 of the display screen. A notification message can also be displayed in the first side screen area 402, and the status bar 1201 can be displayed in the second side screen area 403, as Figure 12 shown in (b) of.

[0115] An embodiment of the present invention provides a display control method. An electronic device can obtain the first ratio of the first display area of the first object to the second display area of the display screen; when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen and update the target object in the first side screen area, where the target object includes at least one of display content and target parameters. Therefore, through this solution, the display area of the first object can be automatically adjusted, avoiding accidental touch of the side screen area by the user, and optimizing the display effect of the display screen of the curved screen electronic device; in addition, the first display area of the first object can be automatically adjusted according to the trajectory of the user's sliding input; the first side screen area can also be set to a target state, thereby effectively preventing accidental touch operations on the first side screen area by the user. The brightness of the first side screen area can also be adjusted to reduce the influence of the brightness of the first side screen area on the main screen area, further enhancing the user's viewing experience.

[0116] Such as Figure 13As shown in the figure, an embodiment of the present invention provides an electronic device 120. The display screen of the electronic device includes a main screen area and a first side screen area. The electronic device may include, but is not limited to, a curved screen, a waterfall screen, etc. The electronic device 120 includes: an acquisition module 121 and a processing module 122.

[0117] The acquisition module 121 is configured to acquire a first ratio of a first display area of a first object to a second display area of the display screen; the processing module 122 is configured to, when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen and update a target object in the first side screen area, where the target object includes at least one of display content and target parameters.

[0118] Optionally, in some embodiments of the present invention, the electronic device 120 further includes: a receiving module, configured to receive a sliding input of a user on the display screen; an updating module, configured to update the first display area of the first object in response to the sliding input; where the first display area of the first object is associated with a sliding trajectory of the sliding input. In this way, the first display area of the first object can be automatically adjusted according to the trajectory of the user's sliding input.

[0119] Optionally, before receiving the sliding input, a display area of the first object is the main screen area; the updating module is further configured to, when the first display area of the first object exceeds a display range of the main screen area, enlarge the first object to be displayed in the main screen area and the first side screen area of the display screen.

[0120] Optionally, before receiving the sliding input, a display area of the first object is the main screen area and the first side screen area; the updating module is further configured to, when the first display area of the first object is less than or equal to a display area of the main screen area, shrink the first object to be displayed in the main screen area of the display screen.

[0121] Optionally, in some embodiments of the present invention, the electronic device 120 further includes: a setting module, configured to set the first side screen area to a target state; where the target state is a state that does not respond to an input on the first side screen area. In this way, accidental touch operations on the first side screen area by the user can be effectively avoided.

[0122] Optionally, in some embodiments of the present invention, the electronic device 120 further includes: an adjustment module, configured to adjust target parameters of the first side screen area; where the target parameters include at least one of the following: brightness, resolution, contrast, color saturation, sharpness, touch sensitivity. In this way, the target parameters of the first side screen area can be conveniently adjusted.

[0123] Optionally, the first object is text; the obtaining module 121 is further configured to obtain a first brightness value of the main screen area; the obtaining module 121 is further configured to obtain a second brightness value of the first side screen area; the adjusting module is further configured to, when the first brightness value is less than or equal to the second brightness value, adjust the brightness of the first side screen area to a third brightness value, where the third brightness value is lower than the first brightness value. This can reduce the influence of the brightness of the first side screen area on the main screen area.

[0124] Optionally, the receiving module is further configured to receive a touch input from the user on the first side screen; the obtaining module 121 is further configured to obtain a touch pressure value of the touch input; the processing module 122 is further configured to, when the first ratio is greater than a preset first threshold and the touch pressure value is greater than a preset second threshold, display the first object on the main screen area of the display screen and update the target object in the first side screen area. In this way, it is possible to avoid accidental touches by the user on the first side screen area.

[0125] Optionally, the first object is a video picture; the processing module 122 is further configured to, when the first ratio is greater than a preset first threshold and the target text in the video picture is displayed in the first side screen area, display the first object on the main screen area of the display screen and update the target object in the first side screen area. In this way, when the user watches a video on the electronic device and the video picture is displayed on the main screen area, the viewing experience of the user can be improved.

[0126] Optionally, the display screen of the electronic device further includes a second side screen area; the processing module 122 is further configured to, when the first ratio is greater than the first threshold, display the first object on the main screen area of the display screen, display a second object in the first side screen area, and display a third object in the second side screen area. In this way, displaying the first object on the main screen area can improve the viewing experience of the user. Additionally, different contents can be displayed in the main screen area, the first side screen area, and the second side screen area respectively, thereby improving the utilization rate of the first side screen area and the second side screen area.

[0127] In an embodiment of the present invention, an electronic device can obtain a first ratio of a first display area of a first object to a second display area of the display screen; when the first ratio is greater than a preset first threshold, display the first object on the main screen area of the display screen and update the target object in the first side screen area, where the target object includes at least one of display content and target parameters. Therefore, through this solution, the display area of the first object can be automatically adjusted, accidental touches by the user on the side screen area are avoided, and the display effect of the display screen of the curved screen electronic device is optimized.

[0128] Figure 14 Schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention. As Figure 14 shown, the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components. Those skilled in the art can understand that Figure 14 the structure of the electronic device shown in does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. In the embodiments of the present invention, the electronic device includes but is not limited to mobile phones, tablet computers, laptop computers, handheld computers, in-vehicle electronic devices, wearable devices, and pedometers, etc.

[0129] Among them, the processor 110 is used to obtain a first ratio of the first display area of the first object to the second display area of the display screen; the display unit 106 is used to, when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen and update the target object in the first side screen area, where the target object includes at least one of display content and target parameters.

[0130] The electronic device provided in the embodiments of the present invention can obtain a first ratio of the first display area of the first object to the second display area of the display screen; when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen and update the target object in the first side screen area, where the target object includes at least one of display content and target parameters. Therefore, through this solution, the display area of the first object can be automatically adjusted, avoiding accidental touch of the side screen area by the user and optimizing the display effect of the display screen of the curved screen electronic device.

[0131] It should be understood that in the embodiments of the present invention, the radio frequency unit 101 can be used for receiving and sending information or signals during a call. Specifically, after receiving the downlink data from the base station, it is given to the processor 110 for processing; in addition, the uplink data is sent to the base station. Usually, the radio frequency unit 101 includes but is not limited to antennas, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.

[0132] The network module 102 provides the user with wireless broadband Internet access for the electronic device, such as helping the user to send and receive emails, browse web pages, and access streaming media, etc.

[0133] The audio output unit 103 can convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 can also provide audio output related to specific functions performed by the electronic device 100 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, etc.

[0134] The input unit 104 is used to receive audio or video signals. The input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes image data of a still picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 can be stored in the memory 109 (or other storage media) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound and can process such sound into audio data. The processed audio data can be output in a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of a phone call mode.

[0135] The electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. Among them, the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 1061 and / or the backlight when the electronic device 100 is moved to the ear. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as a pedometer, tapping), etc.; the sensor 105 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be elaborated here.

[0136] The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 can be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), etc.

[0137] The user input unit 107 can be used to receive input numerical or character information and generate key signal inputs related to the user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also known as a touch screen, can collect touch operations of the user thereon or nearby (such as operations of the user using any suitable object or accessory such as a finger, a stylus, etc. on or near the touch panel 1071). The touch panel 1071 can include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the processor 110, and receives and executes the command sent by the processor 110. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 can also include other input devices 1072. Specifically, the other input devices 1072 can include but are not limited to a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, which will not be elaborated here.

[0138] Furthermore, the touch panel 1071 can cover the display panel 1061. After the touch panel 1071 detects a touch operation thereon or nearby, it transmits the operation to the processor 110 to determine the type of the touch event. Subsequently, the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in Figure 12 the touch panel 1071 and the display panel 1061 are implemented as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated to realize the input and output functions of the electronic device, and the specific implementation here is not limited.

[0139] The interface unit 108 is an interface for connecting an external device to the electronic device 100. For example, the external device can include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headset port, and so on. The interface unit 108 can be used to receive inputs from the external device (such as data information, power, etc.) and transmit the received inputs to one or more components within the electronic device 100 or can be used to transmit data between the electronic device 100 and the external device.

[0140] The memory 109 can be used to store software programs and various data. The memory 109 mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory 109 can include high-speed random access memory and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0141] The processor 110 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and circuits. By running or executing software programs and / or modules stored in the memory 109, and calling data stored in the memory 109, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 110 can include one or more processing units; optionally, the processor 110 can integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 110.

[0142] The electronic device 100 can also include a power supply 111 (such as a battery) for supplying power to each component. Optionally, the power supply 111 can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system.

[0143] In addition, the electronic device 100 includes some functional modules not shown here, which will not be elaborated here.

[0144] Optionally, an embodiment of the present invention further provides an electronic device, which may include the above-mentioned Figure 14 shown processor 110, memory 109, and a computer program stored on the memory 109 and executable on the processor 110. When the computer program is executed by the processor 110, it implements each process of the display control method shown in any one of the above method embodiments Figures 2 to 12 and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0145] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the Figures 2 to 12Each process of the display control method shown by any one of them can achieve the same technical effect. To avoid repetition, it will not be elaborated here. Among them, the computer-readable storage medium includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.

[0146] It should be noted that in this article, the term "including", "comprising", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such a process, method, article, or device. Without more limitations, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article, or device including that element.

[0147] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions to enable an electronic device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention.

[0148] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the purpose of the present invention and the scope protected by the claims, and all of them belong to the protection scope of the present invention.

Claims

1. A display control method, applied to an electronic device, wherein the display screen of the electronic device includes a main screen area and a first side screen area, and is characterized in that Including: Obtaining a first ratio of a first display area of a first object to a second display area of the display screen; When the first ratio is greater than a preset first threshold, displaying the first object in a main screen area of the display screen, and updating a target object in the first side screen area, where the target object includes at least one of display content and target parameters; The first object is a video picture; When the first ratio is greater than the preset first threshold, displaying the first object in the main screen area of the display screen, and updating the target object in the first side screen area, including: When the first ratio is greater than the preset first threshold and target text in the video picture is displayed in the first side screen area, displaying the first object in the main screen area of the display screen, and updating the target object in the first side screen area; Wherein, updating the target object in the first side screen area includes: updating the display content in the first side screen area to another object.

2. The method according to claim 1, wherein The method further includes: Receiving a sliding input of a user on the display screen; In response to the sliding input, updating the first display area of the first object; Wherein, the first display area of the first object is associated with a sliding track of the sliding input.

3. The method according to claim 2, wherein Before receiving the sliding input, a display area of the first object is the main screen area; Updating the first display area of the first object includes: When the first display area of the first object exceeds a display range of the main screen area, magnifying the first object to be displayed in the main screen area and the first side screen area of the display screen.

4. The method according to claim 2, wherein Before receiving the sliding input, the display area of the first object is the main screen area and the first side screen area; Updating the first display area of the first object includes: When the first display area of the first object is less than or equal to a display area of the main screen area, shrinking the first object to be displayed in the main screen area of the display screen.

5. The method according to claim 1, wherein Updating the target object in the first side screen area includes: Setting the first side screen area to a target state; Wherein, the target state is a state of not responding to an input on the first side screen area.

6. The method according to claim 1, wherein Displaying the first object in the main screen area of the display screen, and updating the target object in the first side screen area, including: Adjusting target parameters of the first side screen area; Wherein, the target parameters include at least one of the following: brightness, resolution, contrast, color saturation, sharpness, touch sensitivity.

7. The method according to claim 6, characterized in that, The first object is text; Adjusting the target parameters of the first side screen area includes: Obtaining a first brightness value of the main screen area; Obtaining a second brightness value of the first side screen area; When the first brightness value is less than or equal to the second brightness value, adjusting the brightness of the first side screen area to a third brightness value, where the third brightness value is lower than the first brightness value.

8. The method according to claim 1, characterized in that, Before displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area, further including: Receiving a touch input of the user on the first side screen; Obtain the touch pressure value of the touch input; When the first ratio is greater than a preset first threshold, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area, including: When the first ratio is greater than a preset first threshold and the touch pressure value is greater than a preset second threshold, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area.

9. The method according to claim 1, characterized in that, The display screen of the electronic device further includes a second side screen area; When the first ratio is greater than a preset first threshold, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area, including: When the first ratio is greater than the first threshold, displaying the first object in the main screen area of the display screen, displaying a second object in the first side screen area, and displaying a third object in the second side screen area.

10. An electronic device, wherein a display screen of the electronic device includes a main screen area and a first side screen area, characterized in that The electronic device further includes: an acquisition module and a processing module; The acquisition module is configured to obtain a first ratio of a first display area of a first object to a second display area of the display screen; The processing module is configured to, when the first ratio is greater than a preset first threshold, display the first object in the main screen area of the display screen and update the target object in the first side screen area, where the target object includes at least one of display content and target parameters; The first object is a video picture; When the first ratio is greater than a preset first threshold, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area, including: When the first ratio is greater than a preset first threshold and the target text in the video picture is displayed in the first side screen area, displaying the first object in the main screen area of the display screen and updating the target object in the first side screen area; Wherein, updating the target object in the first side screen area includes: updating the display content in the first side screen area to another object.

11. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps of the display control method according to any one of claims 1 to 9 are implemented.

12. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the steps of the display control method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Mobile terminal

    CN104902038A

  • Display input device and display input system

    JP2008181466A

  • Terminal screen display method and device

    CN104571919A

  • Display method and device, mobile terminal and storage medium

    CN108667962A

  • Method and device for preventing touch equipment from being mistakenly touched, touch equipment and storage medium

    CN109683742A