[go: up one dir, main page]

CN110221882B - Display method, display device, mobile terminal and storage medium - Google Patents

Display method, display device, mobile terminal and storage medium Download PDF

Info

Publication number
CN110221882B
CN110221882B CN201810176122.4A CN201810176122A CN110221882B CN 110221882 B CN110221882 B CN 110221882B CN 201810176122 A CN201810176122 A CN 201810176122A CN 110221882 B CN110221882 B CN 110221882B
Authority
CN
China
Prior art keywords
display
displayed
interface
area
display area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201810176122.4A
Other languages
Chinese (zh)
Other versions
CN110221882A (en
Inventor
成蛟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810176122.4A priority Critical patent/CN110221882B/en
Publication of CN110221882A publication Critical patent/CN110221882A/en
Application granted granted Critical
Publication of CN110221882B publication Critical patent/CN110221882B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

本申请实施例公开了一种显示方法、装置、移动终端以及存储介质,涉及移动终端技术领域。该方法应用于包括触摸屏的移动终端,该触摸屏的可显示区域包括第一显示区域和第二显示区域,第一显示区域内设置有功能器件。所述方法包括:当检测到目标应用的启动请求时,获取目标应用的待显示界面的背景颜色,判断待显示界面的背景颜色是否满足预设条件,当待显示界面的背景颜色满足预设条件时,控制第一显示区域和第二显示区域共同显示待显示界面,当待显示界面的背景颜色不满足预设条件时,控制第二显示区域显示待显示界面。本申请根据应用界面的背景颜色控制可显示区域以不同的方式显示,最大化的利用可显示区域且弱化功能器件对显示信息的影响。

Figure 201810176122

The embodiments of the present application disclose a display method, a device, a mobile terminal, and a storage medium, and relate to the technical field of mobile terminals. The method is applied to a mobile terminal including a touch screen, the displayable area of the touch screen includes a first display area and a second display area, and functional devices are arranged in the first display area. The method includes: when a startup request of the target application is detected, acquiring the background color of the interface to be displayed of the target application, judging whether the background color of the interface to be displayed satisfies a preset condition, and when the background color of the interface to be displayed satisfies the preset condition When , the first display area and the second display area are controlled to jointly display the interface to be displayed, and when the background color of the interface to be displayed does not meet the preset condition, the second display area is controlled to display the interface to be displayed. The present application controls the displayable area to be displayed in different ways according to the background color of the application interface, maximizes the use of the displayable area and weakens the influence of functional devices on the displayed information.

Figure 201810176122

Description

显示方法、装置、移动终端以及存储介质Display method, device, mobile terminal and storage medium

技术领域technical field

本申请涉及移动终端技术领域,更具体地,涉及一种显示方法、装置、移动终端以及存储介质。The present application relates to the technical field of mobile terminals, and more particularly, to a display method, device, mobile terminal, and storage medium.

背景技术Background technique

移动终端,例如手机,已经成为人们日常生活中最常用的消费型电子产品之一,同时,随着用户对移动终端的显示效果要求越来越高,更多的移动终端厂商开始对屏幕中的可显示区域进行拓展,以增大可显示区域的占比、实现全面屏的效果,来提升用户的视觉体验。但是,在尽量增大可显示区域的情况下,前置摄像头、听筒等设置于显示屏方向上的元器件会极大的影响显示效果。Mobile terminals, such as mobile phones, have become one of the most commonly used consumer electronic products in people's daily life. At the same time, as users have higher and higher requirements for the display effect of mobile terminals, more The displayable area is expanded to increase the proportion of the displayable area, realize the effect of a full screen, and improve the user's visual experience. However, in the case of increasing the displayable area as much as possible, components such as the front camera and the earpiece arranged in the direction of the display screen will greatly affect the display effect.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,本申请提出了一种显示处理方法、装置、移动终端以及存储介质,以根据应用界面的背景颜色控制可显示区域以不同的方式显示,最大化的利用可显示区域且弱化功能器件对显示信息的影响。In view of the above problems, the present application proposes a display processing method, device, mobile terminal and storage medium, so as to control the displayable area to be displayed in different ways according to the background color of the application interface, maximize the use of the displayable area and weaken functional devices Effects on displayed information.

第一方面,本申请实施例提供了一种显示方法,应用于移动终端,所述移动终端包括触摸屏,所述触摸屏的可显示区域内设置有功能器件,所述可显示区域包括第一显示区域和第二显示区域,所述功能器件设置于所述第一显示区域内,且所述第一显示区域的面积小于所述第二显示区域的面积,所述方法包括:当检测到目标应用的启动请求时,获取所述目标应用的待显示界面的背景颜色;判断所述待显示界面的背景颜色是否满足预设条件;当所述待显示界面的背景颜色满足所述预设条件时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面;当所述待显示界面的背景颜色不满足所述预设条件时,控制所述第二显示区域显示所述待显示界面。In a first aspect, an embodiment of the present application provides a display method, which is applied to a mobile terminal, where the mobile terminal includes a touch screen, a displayable area of the touch screen is provided with functional devices, and the displayable area includes a first display area and a second display area, the functional device is arranged in the first display area, and the area of the first display area is smaller than the area of the second display area, the method includes: when detecting the target application When starting the request, obtain the background color of the interface to be displayed of the target application; determine whether the background color of the interface to be displayed satisfies a preset condition; when the background color of the interface to be displayed satisfies the preset condition, control the The first display area and the second display area jointly display the to-be-displayed interface; when the background color of the to-be-displayed interface does not meet the preset condition, the second display area is controlled to display the to-be-displayed interface UI.

第二方面,本申请实施例提供了一种显示装置,应用于移动终端,所述移动终端包括触摸屏,所述触摸屏的可显示区域内设置有功能器件,所述可显示区域包括第一显示区域和第二显示区域,所述功能器件设置于所述第一显示区域内,且所述第一显示区域的面积小于所述第二显示区域的面积,所述装置包括:背景颜色获取模块,用于当检测到目标应用的启动请求时,获取所述目标应用的待显示界面的背景颜色;背景颜色判断模块,用于判断所述待显示界面的背景颜色是否满足预设条件;第一显示模块,用于当所述待显示界面的背景颜色满足所述预设条件时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面;第二显示模块,用于当所述待显示界面的背景颜色不满足所述预设条件时,控制所述第二显示区域显示所述待显示界面。In a second aspect, an embodiment of the present application provides a display device, which is applied to a mobile terminal, where the mobile terminal includes a touch screen, a displayable area of the touch screen is provided with functional devices, and the displayable area includes a first display area and a second display area, the functional device is arranged in the first display area, and the area of the first display area is smaller than the area of the second display area, the device includes: a background color acquisition module, which uses When a startup request of the target application is detected, the background color of the interface to be displayed of the target application is acquired; the background color judgment module is used for judging whether the background color of the interface to be displayed satisfies a preset condition; the first display module is used to control the first display area and the second display area to jointly display the to-be-displayed interface when the background color of the interface to be displayed meets the preset condition; the second display module is used to display the interface to be displayed when the When the background color of the interface to be displayed does not meet the preset condition, the second display area is controlled to display the interface to be displayed.

第三方面,本申请实施例提供了一种移动终端,包括触摸屏、存储器以及处理器,所述触摸屏与所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。In a third aspect, an embodiment of the present application provides a mobile terminal, including a touch screen, a memory, and a processor, wherein the touch screen and the memory are coupled to the processor, and the memory stores an instruction, and when the instruction is When the processor executes, the processor executes the above method.

第四方面,本申请实施例提供了一种具有处理器可执行的程序代码的计算机可读取存储介质,所述程序代码使所述处理器执行上述方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having program code executable by a processor, where the program code enables the processor to execute the above method.

本申请实施例提供的一种显示方法、装置、移动终端以及存储介质,应用于包括触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,可显示区域包括第一显示区域和第二显示区域,功能器件设置于第一显示区域内且第一显示区域的面积小于第二显示区域的面积。首先当检测到目标应用的启动请求时,获取目标应用的待显示界面的背景颜色,然后判断待显示界面的背景颜色是否满足预设条件,最后当待显示界面的背景颜色满足预设条件时,控制第一显示区域和第二显示区域共同显示待显示界面,当待显示界面的背景颜色不满足预设条件时,控制第二显示区域显示待显示界面,从而根据应用界面的背景颜色控制可显示区域以不同的方式显示,最大化的利用可显示区域且弱化功能器件对显示信息的影响。A display method, device, mobile terminal, and storage medium provided by the embodiments of the present application are applied to a mobile terminal including a touch screen, and functional devices are arranged in a displayable area of the touch screen, and the displayable area includes a first display area and a second display area. In the display area, the functional device is arranged in the first display area, and the area of the first display area is smaller than that of the second display area. First, when the startup request of the target application is detected, the background color of the interface to be displayed of the target application is obtained, then it is judged whether the background color of the interface to be displayed satisfies the preset condition, and finally when the background color of the interface to be displayed satisfies the preset condition, Control the first display area and the second display area to jointly display the interface to be displayed, and when the background color of the interface to be displayed does not meet the preset conditions, control the second display area to display the interface to be displayed, so as to control the displayable interface according to the background color of the application interface Areas are displayed in different ways, maximizing the use of the displayable area and reducing the influence of functional devices on the displayed information.

本申请的这些方面或其它方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more clearly understood in the description of the following embodiments.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.

图1示出了本申请实施例提供的第一种移动终端的结构示意图;FIG. 1 shows a schematic structural diagram of a first mobile terminal provided by an embodiment of the present application;

图2示出了本申请实施例提供的第二种移动终端的结构示意图;FIG. 2 shows a schematic structural diagram of a second type of mobile terminal provided by an embodiment of the present application;

图3示出了本申请实施例提供的第三种移动终端的结构示意图;FIG. 3 shows a schematic structural diagram of a third mobile terminal provided by an embodiment of the present application;

图4示出了本申请第一实施例提供的显示方法的流程示意图;FIG. 4 shows a schematic flowchart of the display method provided by the first embodiment of the present application;

图5示出了本申请实施例提供的第一显示区域和第二显示区域的示意图;FIG. 5 shows a schematic diagram of a first display area and a second display area provided by an embodiment of the present application;

图6示出了本申请第一实施例提供的移动终端的界面示意图;FIG. 6 shows a schematic interface diagram of a mobile terminal provided by the first embodiment of the present application;

图7示出了本申请第二实施例提供的显示方法的流程示意图;FIG. 7 shows a schematic flowchart of the display method provided by the second embodiment of the present application;

图8示出了本申请第二实施例提供的移动终端的界面示意图;FIG. 8 shows a schematic interface diagram of a mobile terminal provided by the second embodiment of the present application;

图9示出了本申请第三实施例提供的显示方法的流程示意图;FIG. 9 shows a schematic flowchart of a display method provided by a third embodiment of the present application;

图10示出了本申请第三实施例提供的第一种可显示区域调整示意图;FIG. 10 shows a schematic diagram of the first displayable area adjustment provided by the third embodiment of the present application;

图11示出了本申请第三实施例提供的第二种可显示区域调整示意图;FIG. 11 shows a schematic diagram of the second displayable area adjustment provided by the third embodiment of the present application;

图12示出了本申请第四实施例提供的第一种显示装置的结构框图;FIG. 12 shows a structural block diagram of the first display device provided by the fourth embodiment of the present application;

图13示出了本申请第四实施例提供的第二种显示装置的结构框图;FIG. 13 shows a structural block diagram of a second display device provided by the fourth embodiment of the present application;

图14示出了本申请实施例提供的移动终端的结构示意图;FIG. 14 shows a schematic structural diagram of a mobile terminal provided by an embodiment of the present application;

图15示出了用于执行根据本申请实施例的显示方法的移动终端的框图。FIG. 15 shows a block diagram of a mobile terminal for executing a display method according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

显示屏通常在手机、平板电脑等移动终端中所起到的作用为显示文本、图片、图标或者视频等内容。而伴随着触控技术的发展,越来越多的移动终端所设置的显示屏为触摸屏,在设置触摸屏的情况下,当检测到用户在触摸屏上进行拖曳、单击、双击、滑动等触控操作时,可以对用户的触控操作进行响应。The display screen usually plays a role in mobile terminals such as mobile phones and tablet computers to display content such as text, pictures, icons, or videos. With the development of touch technology, more and more mobile terminals set the display screen as a touch screen. In the case of setting a touch screen, when it is detected that the user performs touch such as dragging, clicking, double-clicking, sliding, etc. on the touch screen During operation, it can respond to the user's touch operation.

通常移动终端包括前面板、后盖以及边框。前面板包括上额区、中部屏幕区和下部按键区。通常,上额区设置有听筒出音孔以及前置摄像头等功能器件,中部屏幕区设置有触摸屏,下部按键区设置有一到三个物理按键。而随着技术的发展,下部按键区被逐渐取消,原本设置在下部按键区的物理按键由触摸屏中的虚拟按键替代。Generally, a mobile terminal includes a front panel, a back cover and a frame. The front panel includes the upper forehead area, the middle screen area and the lower key area. Usually, the upper forehead area is provided with functional devices such as the earpiece sound hole and the front camera, the middle screen area is provided with a touch screen, and the lower key area is provided with one to three physical buttons. With the development of technology, the lower key area is gradually cancelled, and the physical keys originally set in the lower key area are replaced by virtual keys in the touch screen.

而上额区所设置的听筒出音孔以及前置摄像头等功能器件对于手机的功能支持较为重要,不易轻易的取消,所以将触摸屏的可显示区域拓展到覆盖上额区具有较大的难度。在经过一系列研究后,发明人发现可以在触摸屏的可显示区域内设置孔,将上额区设置的功能器件集中设置到孔内的方式来实现将原本的上额区扩展为触摸屏的可显示区域,以增大可显示区域的面积,从而实现全面屏的效果。However, functional devices such as the earpiece sound hole and the front camera set in the upper forehead area are more important for the functional support of the mobile phone and cannot be easily cancelled. Therefore, it is difficult to expand the displayable area of the touch screen to cover the upper forehead area. After a series of studies, the inventor found that holes can be provided in the displayable area of the touch screen, and the functional devices set in the forehead area can be centrally arranged in the holes to realize the expansion of the original forehead area into the displayable area of the touch screen. area to increase the area of the displayable area, so as to achieve the effect of a full screen.

示例性的,该孔可以设置在触摸屏的一个或多个边缘上,也可以设置在触摸屏的非边缘区域上,该孔的形状可以是半圆形、直角矩形、圆角矩形、圆形、规则多边形或不规则多边形等。示意性的,请参阅图1,该孔可以是在触摸屏109的非边缘区域位置设置圆形缺口的屏幕设计,所述圆形缺口形成的孔所空出的位置用于容纳投影组件、摄像头、接近光传感器、听筒、距离传感器、环境光亮度传感器、温度传感器、压力传感器中的至少一种前面板部件作为功能器件112;请参阅图2,该孔可以是在触摸屏109的一个边缘位置设置半圆形缺口的屏幕设计,所述半圆形缺口形成的孔所空出的位置用于容纳投影组件、摄像头、接近光传感器、听筒、距离传感器、环境光亮度传感器、温度传感器、压力传感器中的至少一种前面板部件作为功能器件112;请参阅图3,该孔可以是在触摸屏109的非边缘区域位置设置半圆形缺口的屏幕设计,所述半圆形缺口形成的孔所空出的位置用于容纳投影组件、摄像头、接近光传感器、听筒、距离传感器、环境光亮度传感器、温度传感器、压力传感器中的至少一种前面板部件作为功能器件112。Exemplarily, the hole can be arranged on one or more edges of the touch screen, or can be arranged on a non-edge area of the touch screen, and the shape of the hole can be a semicircle, a right-angled rectangle, a rounded rectangle, a circle, a regular Polygon or irregular polygon, etc. Illustratively, please refer to FIG. 1 , the hole may be a screen design in which a circular notch is provided at the non-edge area of the touch screen 109, and the position vacated by the hole formed by the circular notch is used for accommodating the projection assembly, the camera, the At least one of the front panel components of the proximity light sensor, the earpiece, the distance sensor, the ambient light sensor, the temperature sensor, and the pressure sensor is used as the functional device 112; please refer to FIG. The screen design of the circular notch, the position vacated by the hole formed by the semi-circular notch is used to accommodate the projection components, the camera, the proximity light sensor, the earpiece, the distance sensor, the ambient light brightness sensor, the temperature sensor, and the pressure sensor. At least one front panel component is used as the functional device 112; please refer to FIG. 3, the hole may be a screen design in which a semi-circular notch is provided at the position of the non-edge area of the touch screen 109, and the hole formed by the semi-circular notch is vacated The location is used to accommodate at least one of the front panel components of the projection assembly, the camera, the proximity light sensor, the earpiece, the distance sensor, the ambient light sensor, the temperature sensor, and the pressure sensor as the functional device 112 .

但是,发明人经研究发现,落入到可显示区域的孔内的前置摄像头等元件,会导致可显示区域内出现不规则显示区域,从而影响可显示区域内的显示信息,降低显示效果。因此,发明人提出了本申请中实施例提供的显示方法、装置、移动终端以及存储介质,通过根据应用界面的背景颜色控制可显示区域以不同的方式显示,最大化的利用可显示区域且弱化功能器件对显示信息的影响。下面将结合附图具体描述本申请中各实施例。However, the inventor found through research that components such as a front camera that fall into the hole of the displayable area will cause irregular display areas in the displayable area, thereby affecting the display information in the displayable area and reducing the display effect. Therefore, the inventor proposes the display method, device, mobile terminal and storage medium provided by the embodiments of the present application. By controlling the displayable area to be displayed in different ways according to the background color of the application interface, the displayable area is maximized and weakened. The effect of the functional device on the displayed information. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

第一实施例first embodiment

请参阅图4,图4示出了本申请第一实施例提供的显示方法的流程示意图。该显示方法根据应用界面的背景颜色控制可显示区域以不同的方式显示,最大化的利用可显示区域且弱化功能器件对显示信息的影响。在具体的实施例中,所述显示方法应用于如图12所示的显示装置200以及配置有显示装置200的移动终端100(图14)中。下面将以手机为例,说明本实施例的具体流程,当然,可以理解的,本申请实施例所应用的移动终端并不限定为手机,也可以包括其他移动终端,如平板电脑、个人计算机等。下面将针对图4所示的流程进行详细的阐述,所述显示方法应用于具有触摸屏的移动终端,该触摸屏的可显示区域包括第一显示区域和第二显示区域,第一显示区域上述设置有功能器件,且第一显示区域的面积小于第二显示区域的面积,上述显示方法具体可以包括以下步骤:Referring to FIG. 4 , FIG. 4 shows a schematic flowchart of the display method provided by the first embodiment of the present application. The display method controls the displayable area to be displayed in different ways according to the background color of the application interface, maximizes the use of the displayable area and weakens the influence of the functional device on the displayed information. In a specific embodiment, the display method is applied to the display device 200 shown in FIG. 12 and the mobile terminal 100 ( FIG. 14 ) equipped with the display device 200 . The following will take a mobile phone as an example to describe the specific process of this embodiment. Of course, it can be understood that the mobile terminal applied in the embodiment of the present application is not limited to a mobile phone, and may also include other mobile terminals, such as tablet computers, personal computers, etc. . The process shown in FIG. 4 will be described in detail below. The display method is applied to a mobile terminal with a touch screen. The displayable area of the touch screen includes a first display area and a second display area. The above-mentioned first display area is provided with functional device, and the area of the first display area is smaller than the area of the second display area, the above-mentioned display method may specifically include the following steps:

步骤S110:当检测到目标应用的启动请求时,获取所述目标应用的待显示界面的背景颜色。Step S110: When a startup request of the target application is detected, acquire the background color of the interface to be displayed of the target application.

请参阅图5,在实施例中,可以通过功能器件的坐标信息将触摸屏的可显示区域划分为第一显示区域113和第二显示区域115,具体地,首先获取功能器件112所在孔的坐标信息,根据所述坐标信息对所述可显示区域进行划分,使所示第一显示区域113包括所述功能器件112,第二显示区域115不包括所述功能器件112,也就是说,该功能器件112位于第一显示区域113中。其中,图5中的虚线作为第一显示区域113和第二显示区域115的分界线只是为了便于阅读者参阅,在移动终端的实际运行中可以有所述分界线,也可以没有该分界线,在此不做限定。作为一种方式,第一显示区域113和第二显示区域115的相对面积大小可以根据实际的需要而设定,可选的,第一显示区域113的面积小于第二显示区域115的面积。Referring to FIG. 5 , in the embodiment, the displayable area of the touch screen can be divided into a first display area 113 and a second display area 115 according to the coordinate information of the functional device. Specifically, the coordinate information of the hole where the functional device 112 is located is obtained first. , divide the displayable area according to the coordinate information, so that the first display area 113 shown includes the functional device 112, and the second display area 115 does not include the functional device 112, that is, the functional device 112 112 is located in the first display area 113 . Wherein, the dotted line in FIG. 5 is used as the dividing line between the first display area 113 and the second display area 115 only for the convenience of readers, and the dividing line may or may not exist in the actual operation of the mobile terminal. This is not limited. As an approach, the relative size of the first display area 113 and the second display area 115 can be set according to actual needs. Optionally, the area of the first display area 113 is smaller than that of the second display area 115 .

作为一种方式,当用户欲在移动终端上启动多个应用中的一个目标应用时,首先需要发送请求至所述移动终端以指示移动终端启动该目标应用,其中,该请求可以为用户针对设置于移动终端界面上的目标应用的图标进行触控操作生成,也可以为用户在移动终端输入指示启动所述目标应用的语音信息生成,在此不做具体地限定。As a way, when a user wants to start a target application among multiple applications on a mobile terminal, he first needs to send a request to the mobile terminal to instruct the mobile terminal to start the target application, wherein the request can be for the user to set The touch operation is performed on the icon of the target application on the interface of the mobile terminal, and it can also be generated by the user inputting voice information on the mobile terminal to instruct to start the target application, which is not specifically limited here.

进一步地,当移动终端检测到目标应用的启动请求时,响应该启动请求并获取该目标应用的待显示界面的背景颜色,其中,待显示界面为在进入该目标应用的主页面时的界面。Further, when the mobile terminal detects the startup request of the target application, it responds to the startup request and obtains the background color of the interface to be displayed of the target application, wherein the interface to be displayed is the interface when entering the main page of the target application.

步骤S120:判断所述待显示界面的背景颜色是否满足预设条件。Step S120: Determine whether the background color of the interface to be displayed satisfies a preset condition.

其中,在本实施例中,所述预设条件用于作为判断背景颜色是否与功能器件的颜色匹配的依据,具体地,该预设条件可以作为判断背景颜色与功能器件的颜色相似度的依据,即当所述待显示界面的背景颜色与所述功能器件的颜色越相似时,表征所述待显示界面的背景颜色越满足预设条件,作为一种方式,所述功能器件的颜色为黑色,因此,当所述待显示界面的背景颜色与黑色时越相似时,则越满足预设条件,例如深蓝色、棕色以及黑色等。Wherein, in this embodiment, the preset condition is used as the basis for judging whether the background color matches the color of the functional device. Specifically, the preset condition can be used as the basis for judging the similarity between the background color and the color of the functional device. , that is, when the background color of the interface to be displayed is more similar to the color of the functional device, the more the background color representing the interface to be displayed satisfies the preset condition, in one way, the color of the functional device is black , therefore, when the background color of the interface to be displayed is more similar to black, the preset conditions, such as dark blue, brown, and black, are more satisfied.

步骤S130:当所述待显示界面的背景颜色满足所述预设条件时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面。Step S130: When the background color of the interface to be displayed satisfies the preset condition, control the first display area and the second display area to jointly display the interface to be displayed.

作为一种方式,当所述待显示界面的背景颜色与功能器件颜色之间的相似度满足预设条件时,表征该功能器件的颜色与待显示界面的背景颜色相近,功能器件对于待显示界面的显示影响较小,认为功能器件对于显示效果的影响忽略不计或在用户的可接受范围之内。请参阅图6中的a,此时,待显示界面的背景颜色满足预设条件,控制第一显示区域113和第二显示区域115共同显示所述待显示界面,其中,第一显示区域113和第二显示区域115作为一个整体显示不再区分。In one way, when the similarity between the background color of the interface to be displayed and the color of the functional device satisfies a preset condition, the color representing the functional device is similar to the background color of the interface to be displayed, and the functional device is very important to the interface to be displayed. The display effect is small, and it is considered that the impact of functional devices on the display effect is negligible or within the user's acceptable range. Please refer to a in FIG. 6 , at this time, the background color of the interface to be displayed satisfies the preset condition, and the first display area 113 and the second display area 115 are controlled to jointly display the interface to be displayed, wherein the first display area 113 and the second display area 115 are controlled to display the interface to be displayed together. The second display area 115 is displayed as a whole and is no longer distinguished.

其中,当所述第一显示区域和第二显示区域显示文字信息时,由于设置于第一显示区域的功能器件无法显示,作为一种方式,将欲显示于功能器件坐标位置处的文字不显示或跳过所述功能器件显示,并将跳过功能器件的文字显示在与所述功能器件坐标位置相邻的可显示区域处。Wherein, when the first display area and the second display area display text information, since the functional device disposed in the first display area cannot be displayed, as a way, the text to be displayed at the coordinate position of the functional device is not displayed. Or skip the display of the functional device, and display the text of the skipped functional device in the displayable area adjacent to the coordinate position of the functional device.

步骤S140:当所述待显示界面的背景颜色不满足所述预设条件时,控制所述第二显示区域显示所述待显示界面。Step S140: When the background color of the interface to be displayed does not meet the preset condition, control the second display area to display the interface to be displayed.

作为另一种方式,当所述待显示界面的背景颜色与功能器件颜色之间的相似度不满足预设条件时,表征该功能器件的颜色与待显示界面的背景颜色不相近,功能器件对应待显示界面的影响较小,认为功能器件对于显示效果的影响较大或在用户不可接受的范围之内,请参阅图6中的b,此时,带显示界面的背景颜色不满足所述预设条件,控制第二显示区域115显示所述待显示界面,第一显示区域113不显示所述待显示界面,从而使用户查阅的应用界面在第二显示区域115完整显示,以弱化功能器件对显示效果的影响。As another way, when the similarity between the background color of the interface to be displayed and the color of the functional device does not meet the preset condition, the color representing the functional device is not similar to the background color of the interface to be displayed, and the functional device corresponds to The influence of the interface to be displayed is small, and it is considered that the influence of the functional device on the display effect is large or within the unacceptable range of the user. Please refer to b in Figure 6. At this time, the background color with the display interface does not meet the predetermined requirements. Set a condition to control the second display area 115 to display the interface to be displayed, and the first display area 113 to not display the interface to be displayed, so that the application interface referred to by the user is completely displayed in the second display area 115, so as to weaken the function device Shows the effect of the effect.

需要说明的是,步骤S130和步骤S140之间的先后顺序并不做限定,即步骤S130可以设置于步骤S140之前,步骤S130也可以设置于步骤S140之后。It should be noted that the sequence between step S130 and step S140 is not limited, that is, step S130 may be set before step S140, and step S130 may also be set after step S140.

其中,当所述目标应用为浏览器时,检测获取该浏览器的待显示界面的显示模式,其中,所述显示模式包括夜间模式和正常模式,可以理解的,夜间模式表征该浏览器的背景颜色与黑色相近,即与所述功能器件的颜色相似,正常模式表征该浏览器的背景颜色与白色相近,即与所述功能器件的颜色不相近。当检测到浏览器的待显示界面的显示模式为夜间模式时,控制第一显示区域和第二显示区域共同显示浏览器的待显示界面,此时,由于夜间模式的颜色与功能器件的颜色相似,对显示效果的影响较小;当检测到浏览器的待显示界面的显示模式为正常模式时,控制第二显示区域显示浏览器的待显示界面,此时,由于正常模式的颜色与功能器件的颜色相差较大,若将浏览器界面显示于第一显示区域则会影响显示效果,通过将浏览器界面显示在第二显示区域,可以弱化功能器件对显示效果的影响。Wherein, when the target application is a browser, the display mode of the to-be-displayed interface of the browser is detected and acquired, wherein the display mode includes a night mode and a normal mode, and it can be understood that the night mode represents the background of the browser The color is similar to black, ie, similar to the color of the functional device, and the normal mode indicates that the background color of the browser is similar to white, that is, not similar to the color of the functional device. When it is detected that the display mode of the interface to be displayed of the browser is the night mode, the first display area and the second display area are controlled to jointly display the interface to be displayed of the browser. At this time, since the color of the night mode is similar to the color of the functional device , the impact on the display effect is small; when it is detected that the display mode of the to-be-displayed interface of the browser is the normal mode, the second display area is controlled to display the to-be-displayed interface of the browser. The color difference is relatively large. If the browser interface is displayed in the first display area, the display effect will be affected. By displaying the browser interface in the second display area, the influence of the functional device on the display effect can be weakened.

当然,可以理解的,该目标应用还可以包括其他应用,如阅读器等,其显示可以参照浏览器,在本实施例中,不再具体描述。Of course, it can be understood that the target application may also include other applications, such as a reader, and the display thereof may refer to a browser, which will not be described in detail in this embodiment.

本申请第一实施例提供的显示方法,应用于包括触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,可显示区域包括第一显示区域和第二显示区域,功能器件设置于第一显示区域内且第一显示区域的面积小于第二显示区域的面积。首先当检测到目标应用的启动请求时,获取目标应用的待显示界面的背景颜色,然后判断待显示界面的背景颜色是否满足预设条件,最后当待显示界面的背景颜色满足预设条件时,控制第一显示区域和第二显示区域共同显示待显示界面,当待显示界面的背景颜色不满足预设条件时,控制第二显示区域显示待显示界面,从而根据应用界面的背景颜色控制可显示区域以不同的方式显示,最大化的利用可显示区域且弱化功能器件对显示信息的影响。The display method provided by the first embodiment of the present application is applied to a mobile terminal including a touch screen. A displayable area of the touchscreen is provided with a functional device, the displayable area includes a first display area and a second display area, and the functional device is arranged on the first display area. Within a display area, the area of the first display area is smaller than that of the second display area. First, when the startup request of the target application is detected, the background color of the interface to be displayed of the target application is obtained, then it is judged whether the background color of the interface to be displayed satisfies the preset condition, and finally when the background color of the interface to be displayed satisfies the preset condition, Control the first display area and the second display area to jointly display the interface to be displayed, and when the background color of the interface to be displayed does not meet the preset conditions, control the second display area to display the interface to be displayed, so as to control the displayable interface according to the background color of the application interface Areas are displayed in different ways, maximizing the use of the displayable area and reducing the influence of functional devices on the displayed information.

第二实施例Second Embodiment

请参阅图7,图7示出了本申请第二实施例提供的显示方法的流程示意图。下面将针对图7所示的流程进行详细的阐述,该显示方法应用于包括触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,该可显示区域包括第一显示区域和第二显示区域,功能器件是设置于该第一显示区域,且第一显示区域的面积小于第二显示区域的面积,上述显示方法具体可以包括以下步骤:Referring to FIG. 7 , FIG. 7 shows a schematic flowchart of a display method provided by a second embodiment of the present application. The flow shown in FIG. 7 will be described in detail below. The display method is applied to a mobile terminal including a touch screen. Functional devices are arranged in a displayable area of the touchscreen, and the displayable area includes a first display area and a second display area. area, the functional device is arranged in the first display area, and the area of the first display area is smaller than the area of the second display area, the above-mentioned display method may specifically include the following steps:

步骤S210:当检测到目标应用的启动请求时,获取所述目标应用的待显示界面的背景颜色。Step S210: When a startup request of the target application is detected, acquire the background color of the interface to be displayed of the target application.

步骤S220:根据所述目标应用的待显示界面的背景颜色获取所述目标应用的待显示界面的背景灰度值。Step S220: Acquire the background gray value of the interface to be displayed of the target application according to the background color of the interface to be displayed of the target application.

作为一种可实施方式,在获取到目标应用的待显示界面的背景颜色后,将该待显示界面的背景颜色进行灰度处理,得到所述待显示界面的背景灰度值,例如,若所述待显示界面的背景颜色为黑色,则所述待显示界面的背景灰度值为0,若所述待显示界面的背景颜色为白色,则所述待显示界面的背景灰度值为255等。As an embodiment, after obtaining the background color of the interface to be displayed of the target application, grayscale processing is performed on the background color of the interface to be displayed to obtain the background gray value of the interface to be displayed, for example, if the If the background color of the interface to be displayed is black, the background gray value of the interface to be displayed is 0; if the background color of the interface to be displayed is white, the background gray value of the interface to be displayed is 255, etc. .

步骤S230:判断所述待显示界面的背景灰度值是否小于预设灰度值。Step S230: Determine whether the background gray value of the interface to be displayed is smaller than a preset gray value.

可以理解的,待显示界面的背景灰度值越接近于0,则表征待显示界面的背景颜色越接近黑色,待显示界面的背景灰度值越接近于255,则表征待显示界面的背景颜色越接近于白色,预设灰度值用于作为比较灰度值大小的依据,当待显示界面的背景灰度值小于预设灰度值时,认为待显示界面的背景颜色与功能器件的颜色相似;当待显示界面的背景灰度值大于预设灰度值时,认为待显示界面的背景颜色与功能器件的颜色相差较大。It can be understood that the closer the background gray value of the interface to be displayed is to 0, the closer the background color of the interface to be displayed is to black, and the closer the background gray value of the interface to be displayed is to 255, the background color of the interface to be displayed is represented. The closer it is to white, the preset gray value is used as the basis for comparing the size of the gray value. When the background gray value of the interface to be displayed is less than the preset gray value, it is considered that the background color of the interface to be displayed is the same as the color of the functional device. Similar; when the background gray value of the interface to be displayed is greater than the preset gray value, it is considered that the background color of the interface to be displayed is quite different from the color of the functional device.

步骤S240:当所述待显示界面的背景灰度值小于预设灰度值时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面。Step S240: When the background gray value of the interface to be displayed is smaller than a preset gray value, control the first display area and the second display area to jointly display the interface to be displayed.

其中,当判断待显示界面的背景灰度值小于预设灰度值时,认为功能器件对显示效果的影响较小,则控制第一显示区域和第二显示区域共同显示待显示界面。Wherein, when it is judged that the background gray value of the interface to be displayed is smaller than the preset gray value, it is considered that the influence of the functional device on the display effect is small, and the first display area and the second display area are controlled to jointly display the interface to be displayed.

步骤S250:当所述待显示界面的背景灰度值大于预设灰度值时,控制所述第二显示区域显示所述待显示界面以及控制所述第一显示区域显示多个应用图标。Step S250 : when the background gray value of the interface to be displayed is greater than a preset gray value, control the second display area to display the interface to be displayed and control the first display area to display a plurality of application icons.

其中,当判断待显示界面的背景灰度值大于预设灰度值时,认为功能器件对显示效果的影响较大,则控制第二显示区域显示待显示界面,以弱化功能器件对显示效果的影响。Wherein, when it is determined that the background gray value of the interface to be displayed is greater than the preset gray value, it is considered that the functional device has a greater influence on the display effect, and the second display area is controlled to display the interface to be displayed, so as to weaken the influence of the functional device on the display effect. influences.

请参阅图8,进一步地,控制第一显示区域113显示多个应用图标117,可以理解的,在第一显示区域113显示多个应用图标117,一方面,可以改善第一显示区域113的显示效果,另一方面,可以根据用户的喜好在第一显示区域113设置经常使用的应用图标,方便用户快捷操作,例如:微信图标、QQ图标、微博图标等等。Referring to FIG. 8 , further, the first display area 113 is controlled to display multiple application icons 117 . It can be understood that displaying multiple application icons 117 in the first display area 113 , on the one hand, can improve the display of the first display area 113 On the other hand, frequently used application icons can be set in the first display area 113 according to the user's preference, which is convenient for the user to operate quickly, such as: WeChat icon, QQ icon, Weibo icon and so on.

步骤S260:当接收到所述即时通讯图标对应的即时通讯消息时,将所述即时通讯消息在第一显示区域弹出并显示。Step S260: when the instant messaging message corresponding to the instant messaging icon is received, pop up and display the instant messaging message in the first display area.

作为一种方式,显示在第一显示区域的多个图标至少包括即时通讯图标,如微信图标、QQ图标等,当接收到所述即时通讯图标对应的即时通讯消息时,将该即时通讯消息在第一显示区域弹出并显示,可以理解的,此时,移动终端既可以显示即时通讯消息,还可以不影响观看待显示界面显示的内容,用户体验更好。具体地,假设所述即时通讯图标为微信图标,当接收到微信消息时,将该微信消息在第一显示区域弹出并显示,此时,第二显示区域显示待显示界面,与第一显示区域显示的微信消息互不影响;假设所述即时通讯图标为QQ图标,当接收到QQ消息时,将该QQ消息在第一显示区域弹出并显示,此时,第二显示区域显示待显示界面,与第一显示区域显示的QQ消息互不影响。In one way, the plurality of icons displayed in the first display area include at least instant messaging icons, such as WeChat icons, QQ icons, etc. When receiving an instant messaging message corresponding to the instant messaging icon, the instant messaging message is displayed in the The first display area is popped up and displayed. It is understandable that at this time, the mobile terminal can display instant messaging messages without affecting the content displayed on the interface to be displayed, and the user experience is better. Specifically, assuming that the instant messaging icon is a WeChat icon, when a WeChat message is received, the WeChat message is popped up and displayed in the first display area. At this time, the second display area displays the interface to be displayed, which is different from the first display area. The displayed WeChat messages do not affect each other; assuming that the instant messaging icon is a QQ icon, when a QQ message is received, the QQ message is popped up and displayed in the first display area, and at this time, the second display area displays the interface to be displayed, It does not affect each other with the QQ message displayed in the first display area.

需要说明的是,步骤S240与步骤S250-步骤S260之间的先后顺序不做限定,即步骤S240可以设置于步骤S250-步骤S260之前,步骤S240也可以设置于步骤S250-步骤S260之后。It should be noted that the sequence between step S240 and step S250-step S260 is not limited, that is, step S240 can be set before step S250-step S260, and step S240 can also be set after step S250-step S260.

本申请第二实施例提供的显示方法,应用于包括触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,可显示区域包括第一显示区域和第二显示区域,功能器件设置于第一显示区域内且第一显示区域的面积小于第二显示区域的面积。首先当检测到目标应用的启动请求时,获取目标应用的待显示界面的背景颜色,根据目标应用的待显示界面的背景颜色获取目标应用的待显示界面的背景灰度值,然后判断待显示界面的背景灰度值是否小于预设灰度值,当待显示界面的背景灰度值小于预设灰度值时,控制第一显示区域和第二显示区域共同显示待显示界面,当待显示界面的背景灰度值大于预设灰度值时,控制第二显示区域显示待显示界面以及控制第一显示区域显示多个应用图标,最后当接收到即时通讯图标对应的即时通讯消息时,将即时通讯消息在第一显示区域弹出并显示,从而进一步地最大化利用可显示区域且弱化功能器件对显示信息的影响。The display method provided in the second embodiment of the present application is applied to a mobile terminal including a touch screen, where a displayable area of the touch screen is provided with a functional device, the displayable area includes a first display area and a second display area, and the functional device is arranged on the first display area. Within a display area, the area of the first display area is smaller than that of the second display area. First, when the startup request of the target application is detected, the background color of the interface to be displayed of the target application is obtained, and the background gray value of the interface to be displayed of the target application is obtained according to the background color of the interface to be displayed of the target application, and then the interface to be displayed is determined. Whether the background gray value of the interface to be displayed is less than the preset gray value, when the background gray value of the interface to be displayed is less than the preset gray value, the first display area and the second display area are controlled to jointly display the interface to be displayed. When the background gray value is greater than the preset gray value, the second display area is controlled to display the interface to be displayed and the first display area is controlled to display multiple application icons. The communication message is popped up and displayed in the first display area, thereby further maximizing the use of the displayable area and weakening the influence of the functional device on the displayed information.

第三实施例Third Embodiment

请参阅图9,图9示出了本申请第三实施例提供的显示方法的流程示意图。下面将针对图9所示的流程进行详细的阐述,该显示方法应用于包括触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,该可显示区域包括第一显示区域和第二显示区域,第一显示区域和第二显示区域由分界线划分,功能器件是设置于该第一显示区域,且第一显示区域的面积小于第二显示区域的面积,上述显示方法具体可以包括以下步骤:Please refer to FIG. 9. FIG. 9 shows a schematic flowchart of a display method provided by a third embodiment of the present application. The flow shown in FIG. 9 will be described in detail below. The display method is applied to a mobile terminal including a touch screen, and functional devices are arranged in a displayable area of the touch screen, and the displayable area includes a first display area and a second display area. area, the first display area and the second display area are divided by a dividing line, the functional device is arranged in the first display area, and the area of the first display area is smaller than the area of the second display area, the above-mentioned display method may specifically include the following steps :

步骤S310:当检测到目标应用的启动请求时,获取所述目标应用的待显示界面的背景颜色。Step S310: When a startup request of the target application is detected, acquire the background color of the interface to be displayed of the target application.

步骤S320:判断所述待显示界面的背景颜色是否满足预设条件。Step S320: Determine whether the background color of the interface to be displayed satisfies a preset condition.

步骤S330:当所述待显示界面的背景颜色满足所述预设条件时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面。Step S330: When the background color of the interface to be displayed satisfies the preset condition, control the first display area and the second display area to jointly display the interface to be displayed.

步骤S340:当所述待显示界面的背景颜色不满足所述预设条件时,控制所述第二显示区域显示所述待显示界面。Step S340: When the background color of the interface to be displayed does not meet the preset condition, control the second display area to display the interface to be displayed.

步骤S350:检测作用于所述可显示区域上的触控操作。Step S350: Detect a touch operation acting on the displayable area.

步骤S360:当检测到以所述分界线为起点沿所述第二显示区域的滑动操作时,对应减小所述第二显示区域的面积并增大所述第一显示区域的面积。Step S360: When detecting a sliding operation along the second display area with the boundary line as a starting point, correspondingly reduce the area of the second display area and increase the area of the first display area.

请参阅图10,其中,在本实施例中,所述第一显示区域113和第二显示区域115中间设置有分界线,当检测到以所述分界线为起点沿第二显示区域115的滑动操作时,如图10中的a所示,表征用户欲将所述分界线拖向第二显示区域115,则响应该触控操作,对应减小第二显示区域115的面积和对应增大第一显示区域113的面积,如图10中的b所示,可以理解的,减小的第二显示区域115的面积等于增大的第一显示区域113的面积,且第一显示区域113的面积和第二显示区域115的面积之和始终等于可显示区域的面积。Please refer to FIG. 10 , wherein, in this embodiment, a boundary line is set between the first display area 113 and the second display area 115 . When a sliding movement along the second display area 115 is detected starting from the boundary line During operation, as shown in a in FIG. 10 , it means that the user wants to drag the boundary line to the second display area 115 , and in response to the touch operation, the area of the second display area 115 is correspondingly reduced and the second display area is correspondingly increased. The area of a display area 113 is shown in b in FIG. 10 . It can be understood that the reduced area of the second display area 115 is equal to the increased area of the first display area 113 , and the area of the first display area 113 and the area of the second display area 115 is always equal to the area of the displayable area.

步骤S370:当检测到以所述分界线为起点沿所述第一显示区域的滑动操作时,对应减小所述第一显示区域的面积并增大所述第二显示区域的面积。Step S370: When detecting a sliding operation along the first display area with the boundary line as a starting point, correspondingly reduce the area of the first display area and increase the area of the second display area.

请参阅图11,其中,当检测到以所述分界线为起点沿第一显示区域113的滑动操作时,如图11中的a所示,表征用户欲将分界线拖向第一显示区域113,则响应该触控操作,对应减小第一显示区域113的面积和对应增大第二显示区域115的面积,如图11中的b所示,可以理解的,减小的第一显示区域113的面积等于增大的第二显示区域115的面积,且第一显示区域113的面积和第二显示区域115的面积之和始终等于可显示区域的面积。Please refer to FIG. 11 , when a sliding operation along the first display area 113 starting from the boundary line is detected, as shown in a in FIG. 11 , it indicates that the user wants to drag the boundary line to the first display area 113 , then in response to the touch operation, the area of the first display area 113 is correspondingly reduced and the area of the second display area 115 is correspondingly increased, as shown in b in FIG. 11 , it can be understood that the reduced first display area The area of 113 is equal to the area of the enlarged second display area 115, and the sum of the area of the first display area 113 and the area of the second display area 115 is always equal to the area of the displayable area.

步骤S380:当所述分界线被移动到所述功能器件处时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面,并删除所述分界线。Step S380: When the boundary line is moved to the functional device, control the first display area and the second display area to jointly display the interface to be displayed, and delete the boundary line.

进一步地,当检测到所述分界线被移动到所述功能器件处时,表征用户欲全屏显示待显示界面,则响应该触控操作控制第一显示区域和第二显示区域共同显示待显示界面,并删除分界线。Further, when it is detected that the dividing line is moved to the functional device, it indicates that the user wants to display the interface to be displayed in full screen, and the first display area and the second display area are controlled to jointly display the interface to be displayed in response to the touch operation. , and delete the dividing line.

需要说明的是,步骤S360与步骤S370-步骤S380之间的先后顺序不做限定,即步骤S360可以设置于步骤S370-步骤S380之前,步骤S360也可以设置于步骤S370-步骤S380之后。It should be noted that the sequence between step S360 and step S370-step S380 is not limited, that is, step S360 can be set before step S370-step S380, and step S360 can also be set after step S370-step S380.

本申请第三实施例提供的显示方法,应用于包括触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,可显示区域包括第一显示区域和第二显示区域,功能器件设置于第一显示区域内且第一显示区域的面积小于第二显示区域的面积。首先当检测到目标应用的启动请求时,获取目标应用的待显示界面的背景颜色,判断待显示界面的背景颜色是否满足预设条件,当待显示界面的背景颜色满足预设条件时,控制第一显示区域和第二显示区域共同显示待显示界面,当待显示界面的背景颜色不满足预设条件时,控制第二显示区域显示待显示界面,然后检测作用于可显示区域上的触控操作,最后当检测到以分界线为起点沿第二显示区域的滑动操作时,对应减小第二显示区域的面积并增大第一显示区域的面积,当检测到以分界线为起点沿第一显示区域的滑动操作时,对应减小第一显示区域的面积并增大第二显示区域的面积,从而在最大化利用可显示区域且弱化功能器件对显示信息的影响的前提下,还能满足用户对可显示区域的不同需求。The display method provided by the third embodiment of the present application is applied to a mobile terminal including a touch screen, and a displayable area of the touch screen is provided with a functional device, the displayable area includes a first display area and a second display area, and the functional device is arranged on the first display area. Within a display area, the area of the first display area is smaller than that of the second display area. First, when the startup request of the target application is detected, the background color of the interface to be displayed of the target application is obtained, and it is judged whether the background color of the interface to be displayed satisfies the preset condition, and when the background color of the interface to be displayed satisfies the preset condition, control the first A display area and a second display area jointly display the interface to be displayed. When the background color of the interface to be displayed does not meet the preset conditions, the second display area is controlled to display the interface to be displayed, and then the touch operation acting on the displayable area is detected. , and finally, when detecting a sliding operation starting from the dividing line along the second display area, the area of the second display area is correspondingly reduced and the area of the first display area is increased. During the sliding operation of the display area, the area of the first display area is correspondingly reduced and the area of the second display area is increased, so as to maximize the use of the displayable area and weaken the influence of the functional device on the displayed information, it can also meet the Different needs of users for displayable area.

第四实施例Fourth Embodiment

请参阅图12,图12示出了本申请第四实施例提供的显示装置200的结构框图,下面将针对图12所示的结构框图进行阐述,该显示装置200应用于包含触摸屏的移动终端,所述触摸屏的可显示区域内设置有功能器件,该可显示区域包括第一显示区域和第二显示区域,功能器件设置于第一显示区域内,且第一显示区域的面积小于第二显示区域的面积,所述显示装置200包括:背景颜色获取模块210、背景颜色判断模块220、第一显示模块230以及第二显示模块240,其中:Please refer to FIG. 12. FIG. 12 shows a structural block diagram of the display device 200 provided by the fourth embodiment of the present application. The structural block diagram shown in FIG. 12 will be described below. The display device 200 is applied to a mobile terminal including a touch screen. A functional device is arranged in the displayable area of the touch screen, the displayable area includes a first display area and a second display area, the functional device is arranged in the first display area, and the area of the first display area is smaller than that of the second display area The display device 200 includes: a background color acquisition module 210, a background color determination module 220, a first display module 230 and a second display module 240, wherein:

背景颜色获取模块210,用于当检测到目标应用的启动请求时,获取所述目标应用的待显示界面的背景颜色。The background color acquisition module 210 is configured to acquire the background color of the interface to be displayed of the target application when a startup request of the target application is detected.

背景颜色判断模块220,用于判断所述待显示界面的背景颜色是否满足预设条件。进一步地,请参阅图13,所述背景颜色判断模块220包括:背景灰度值获取子模块221和背景灰度值判断子模块222,其中:The background color judgment module 220 is configured to judge whether the background color of the interface to be displayed satisfies a preset condition. Further, please refer to FIG. 13, the background color determination module 220 includes: a background gray value acquisition sub-module 221 and a background gray value determination sub-module 222, wherein:

背景灰度值获取子模块221,用于根据所述目标应用的待显示界面的背景颜色获取所述目标应用的待显示界面的背景灰度值。The background gray value acquisition sub-module 221 is configured to acquire the background gray value of the interface to be displayed of the target application according to the background color of the interface to be displayed of the target application.

背景灰度值判断子模块222,用于判断所述待显示界面的背景灰度值是否小于预设灰度值。The background gray value determination sub-module 222 is configured to determine whether the background gray value of the interface to be displayed is smaller than the preset gray value.

第一显示模块230,用于当所述待显示界面的背景颜色满足所述预设条件时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面。The first display module 230 is configured to control the first display area and the second display area to jointly display the to-be-displayed interface when the background color of the to-be-displayed interface meets the preset condition.

第二显示模块240,用于当所述待显示界面的背景颜色不满足所述预设条件时,控制所述第二显示区域显示所述待显示界面。进一步地,所述第二显示模块240。进一步地,所述第二显示模块240包括:第二显示子模块241和消息显示子模块242,其中:The second display module 240 is configured to control the second display area to display the interface to be displayed when the background color of the interface to be displayed does not meet the preset condition. Further, the second display module 240 . Further, the second display module 240 includes: a second display sub-module 241 and a message display sub-module 242, wherein:

第二显示子模块241,用于当所述待显示界面的背景颜色不满足所述预设条件时,控制所述第二显示区域显示所述待显示界面以及控制所述第一显示区域显示多个应用图标。The second display sub-module 241 is configured to control the second display area to display the to-be-displayed interface and control the first display area to display multiple application icons.

消息显示子模块242,用于当接收到所述即时通讯图标对应的即时通讯消息时,将所述即时通讯消息在第一显示区域弹出并显示。The message display sub-module 242 is configured to pop up and display the instant messaging message in the first display area when the instant messaging message corresponding to the instant messaging icon is received.

进一步地,所述显示装置200还包括:触控操作检测模块250、第一滑动操作检测模块260、第二滑动操作检测模块270以及显示模块280,其中:Further, the display device 200 further includes: a touch operation detection module 250, a first sliding operation detection module 260, a second sliding operation detection module 270 and a display module 280, wherein:

触控操作检测模块250,用于检测作用于所述可显示区域上的触控操作。The touch operation detection module 250 is used for detecting the touch operation acting on the displayable area.

第一滑动操作检测模块260,用于当检测到以所述分界线为起点沿所述第二显示区域的滑动操作时,对应减小所述第二显示区域的面积并增大所述第一显示区域的面积。The first sliding operation detection module 260 is configured to correspondingly reduce the area of the second display area and increase the first display area when detecting a sliding operation along the second display area starting from the boundary line Displays the area of the area.

第二滑动操作检测模块270,用于当检测到以所述分界线为起点沿所述第一显示区域的滑动操作时,对应减小所述第一显示区域的面积并增大所述第二显示区域的面积。The second sliding operation detection module 270 is configured to correspondingly reduce the area of the first display area and increase the second display area when detecting a sliding operation starting from the boundary line along the first display area Displays the area of the area.

显示模块280,用于当所述分界线被移动到所述功能器件处时,控制所述第一显示区域和所述第二显示区域共同显示所述待显示界面,并删除所述分界线。The display module 280 is configured to control the first display area and the second display area to jointly display the interface to be displayed when the boundary line is moved to the functional device, and delete the boundary line.

综上所述,本申请实施例提供的一种显示方法、装置、移动终端以及存储介质,应用于包括触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,可显示区域包括第一显示区域和第二显示区域,功能器件设置于第一显示区域内且第一显示区域的面积小于第二显示区域的面积。首先当检测到目标应用的启动请求时,获取目标应用的待显示界面的背景颜色,然后判断待显示界面的背景颜色是否满足预设条件,最后当待显示界面的背景颜色满足预设条件时,控制第一显示区域和第二显示区域共同显示待显示界面,当待显示界面的背景颜色不满足预设条件时,控制第二显示区域显示待显示界面,从而根据应用界面的背景颜色控制可显示区域以不同的方式显示,最大化的利用可显示区域且弱化功能器件对显示信息的影响。To sum up, a display method, device, mobile terminal, and storage medium provided by the embodiments of the present application are applied to a mobile terminal including a touch screen, and a displayable area of the touch screen is provided with functional devices, and the displayable area includes a first In the display area and the second display area, the functional device is arranged in the first display area, and the area of the first display area is smaller than that of the second display area. First, when the startup request of the target application is detected, the background color of the interface to be displayed of the target application is obtained, then it is judged whether the background color of the interface to be displayed satisfies the preset condition, and finally when the background color of the interface to be displayed satisfies the preset condition, Control the first display area and the second display area to jointly display the interface to be displayed, and when the background color of the interface to be displayed does not meet the preset conditions, control the second display area to display the interface to be displayed, so as to control the displayable interface according to the background color of the application interface Areas are displayed in different ways, maximizing the use of the displayable area and reducing the influence of functional devices on the displayed information.

需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。对于方法实施例中的所描述的任意的处理方式,在装置实施例中均可以通过相应的处理模块实现,装置实施例中不再一一赘述。It should be noted that, each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts of each embodiment, refer to each other. Can. As for the apparatus type embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant part, please refer to the partial description of the method embodiment. Any processing manners described in the method embodiments may be implemented by corresponding processing modules in the apparatus embodiments, and will not be repeated in the apparatus embodiments.

请再次参阅图14,基于上述的显示方法、装置,本申请实施例还提供一种移动终端100,其包括电子本体部10,所述电子本体部10包括壳体12及设置在所述壳体12上的主显示屏120。所述壳体12可采用金属、如钢材、铝合金制成。本实施例中,所述主显示屏120通常包括显示面板111,也可包括用于响应对所述显示面板111进行触控操作的电路等。所述显示面板111可以为一个液晶显示面板(Liquid Crystal Display,LCD),在一些实施例中,所述显示面板111同时为一个触摸屏109。其中,触摸屏109中设置有功能器件112。Referring to FIG. 14 again, based on the above-mentioned display method and device, an embodiment of the present application further provides a mobile terminal 100 , which includes an electronic body portion 10 , and the electronic body portion 10 includes a casing 12 and is disposed on the casing. Main display 120 on 12. The casing 12 can be made of metal, such as steel or aluminum alloy. In this embodiment, the main display screen 120 generally includes a display panel 111 , and may also include a circuit for responding to a touch operation on the display panel 111 , and the like. The display panel 111 may be a liquid crystal display panel (Liquid Crystal Display, LCD). In some embodiments, the display panel 111 is a touch screen 109 at the same time. Among them, the touch screen 109 is provided with a functional device 112 .

请同时参阅图15,在实际的应用场景中,所述移动终端100可作为智能手机终端进行使用,在这种情况下所述电子本体部10通常还包括一个或多个(图中仅示出一个)处理器102、存储器104、RF(Radio Frequency,射频)模块106、音频电路110、传感器114、输入模块118、电源模块122。本领域普通技术人员可以理解,图15所示的结构仅为示意,其并不对所述电子本体部10的结构造成限定。例如,所述电子本体部10还可包括比图15中所示更多或者更少的组件,或者具有与图14所示不同的配置。Please refer to FIG. 15 at the same time. In an actual application scenario, the mobile terminal 100 can be used as a smart phone terminal. In this case, the electronic body 10 usually includes one or more (only shown in the figure). a) processor 102 , memory 104 , RF (Radio Frequency, radio frequency) module 106 , audio circuit 110 , sensor 114 , input module 118 , and power module 122 . Those of ordinary skill in the art can understand that the structure shown in FIG. 15 is only for illustration, and does not limit the structure of the electronic body 10 . For example, the electronic body portion 10 may also include more or fewer components than those shown in FIG. 15 , or have a different configuration than that shown in FIG. 14 .

本领域普通技术人员可以理解,相对于所述处理器102来说,所有其它的组件均属于外设,所述处理器102与这些外设之间通过多个外设接口124相耦合。所述外设接口124可基于以下标准实现:通用异步接收/发送装置(Universal Asynchronous Receiver/Transmitter,UART)、通用输入/输出(General Purpose Input Output,GPIO)、串行外设接口(Serial Peripheral Interface,SPI)、内部集成电路(Inter-Integrated Circuit,I2C),但不并限于上述标准。在一些实例中,所述外设接口124可仅包括总线;在另一些实例中,所述外设接口124还可包括其它元件,如一个或者多个控制器,例如用于连接所述显示面板111的显示控制器或者用于连接存储器的存储控制器。此外,这些控制器还可以从所述外设接口124中脱离出来,而集成于所述处理器102内或者相应的外设内。Those skilled in the art can understand that, with respect to the processor 102 , all other components belong to peripheral devices, and the processor 102 and these peripheral devices are coupled through a plurality of peripheral device interfaces 124 . The peripheral interface 124 can be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (Serial Peripheral Interface) , SPI), Inter-Integrated Circuit (I2C), but not limited to the above standards. In some examples, the peripheral interface 124 may only include a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, for connecting the display panel 111's display controller or a memory controller for connecting to memory. In addition, these controllers can also be separated from the peripheral interface 124 and integrated into the processor 102 or corresponding peripherals.

所述存储器104可用于存储软件程序以及模块,所述处理器102通过运行存储在所述存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。所述存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其它非易失性固态存储器。在一些实例中,所述存储器104可进一步包括相对于所述处理器102远程设置的存储器,这些远程存储器可以通过网络连接至所述电子本体部10或所述主显示屏120。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104 . The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, and these remote memories may be connected to the electronic body 10 or the main display screen 120 via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

所述RF模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其它设备进行通讯。所述RF模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。所述RF模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其它设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced Data GSM Environment,EDGE),宽带码分多址技术(wideband codedivision multiple access,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(time division multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE 802.10A,IEEE 802.11b,IEEE802.11g和/或IEEE 802.11n)、网络电话(Voiceover internet protocal,VoIP)、全球微波互联接入(Worldwide Interoperability for Microwave Access,Wi-Max)、其它用于邮件、即时通讯及短消息的协议,以及任何其它合适的通讯协议,甚至可包括那些待显示界面的仍未被开发出来的协议。The RF module 106 is used for receiving and sending electromagnetic waves, realizing mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, eg, antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, etc. . The RF module 106 can communicate with various networks such as the Internet, an intranet, a wireless network, or with other devices through a wireless network. The aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The above-mentioned wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code Wideband codedivision multiple access (W-CDMA), code division multiple access (CDMA), time division multiple access (TDMA), wireless fidelity technology (Wireless, Fidelity, WiFi) (such as IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), Internet telephony (Voiceover internet protocal, VoIP), Worldwide Interoperability for Microwave Access, Wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication protocols, even those that have not yet been developed for the interface to be displayed.

音频电路110、听筒101、声音插孔103、麦克风105共同提供用户与所述电子本体部10或所述主显示屏120之间的音频接口。具体地,所述音频电路110从所述处理器102处接收声音数据,将声音数据转换为电信号,将电信号传输至所述听筒101。所述听筒101将电信号转换为人耳能听到的声波。所述音频电路110还从所述麦克风105处接收电信号,将电信号转换为声音数据,并将声音数据传输给所述处理器102以进行进一步的处理。音频数据可以从所述存储器104处或者通过所述RF模块106获取。此外,音频数据也可以存储至所述存储器104中或者通过所述RF模块106进行发送。The audio circuit 110 , the earpiece 101 , the sound jack 103 , and the microphone 105 together provide an audio interface between the user and the electronic body 10 or the main display screen 120 . Specifically, the audio circuit 110 receives sound data from the processor 102 , converts the sound data into electrical signals, and transmits the electrical signals to the earpiece 101 . The earpiece 101 converts electrical signals into sound waves that can be heard by the human ear. The audio circuit 110 also receives electrical signals from the microphone 105, converts the electrical signals into sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be obtained from the memory 104 or through the RF module 106 . In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106 .

所述传感器114设置在所述电子本体部10内或所述主显示屏120内,所述传感器114的实例包括但并不限于:光传感器、运行传感器、压力传感器、重力加速度传感器、以及其它传感器。The sensor 114 is disposed in the electronic body 10 or in the main display screen 120, examples of the sensor 114 include but are not limited to: light sensor, running sensor, pressure sensor, gravitational acceleration sensor, and other sensors .

具体地,所述光传感器可包括光线传感器114F、压力传感器114G。其中,压力传感器114G可以检测由按压在移动终端100产生的压力的传感器。即,压力传感器114G检测由用户和移动终端之间的接触或按压产生的压力,例如由用户的耳朵与移动终端之间的接触或按压产生的压力。因此,压力传感器114G可以用来确定在用户与移动终端100之间是否发生了接触或者按压,以及压力的大小。Specifically, the light sensor may include a light sensor 114F and a pressure sensor 114G. Among them, the pressure sensor 114G can detect the pressure generated by pressing on the mobile terminal 100 . That is, the pressure sensor 114G detects the pressure generated by the contact or pressing between the user and the mobile terminal, for example, the pressure generated by the contact or pressing between the user's ear and the mobile terminal. Therefore, the pressure sensor 114G can be used to determine whether contact or pressing occurs between the user and the mobile terminal 100, and the magnitude of the pressure.

作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别所述移动终端100姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,所述电子本体部10还可配置陀螺仪、气压计、湿度计、温度计等其它传感器,在此不再赘述,As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that identify the posture of the mobile terminal 100 (such as horizontal and vertical). screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, the electronic body 10 can also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, etc., which will not be repeated here.

本实施例中,所述输入模块118可包括设置在所述主显示屏120上的所述触摸屏109,所述触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在所述触摸屏109上或在所述触摸屏109附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,所述触摸屏109可包括触摸检测装置和触摸控制器。其中,所述触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给所述触摸控制器;所述触摸控制器从所述触摸检测装置上接收触摸信息,并将该触摸信息转换成触点坐标,再送给所述处理器102,并能接收所述处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现所述触摸屏109的触摸检测功能。除了所述触摸屏109,在其它变更实施方式中,所述输入模块118还可以包括其它输入设备,如按键107。所述按键107例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。所述控制按键的实例包括“返回主屏”按键、开机/关机按键等等。In this embodiment, the input module 118 may include the touch screen 109 disposed on the main display screen 120, and the touch screen 109 may collect the user's touch operations on or near it (for example, the user uses a finger, a stylus operation of any suitable object or accessory on the touch screen 109 or near the touch screen 109 ), and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. Wherein, 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, and sends the signal to the touch controller. The touch information is converted into contact coordinates, and then sent to the processor 102, and the commands sent by the processor 102 can be received and executed. In addition, the touch detection function of the touch screen 109 can be realized by various types such as resistive type, capacitive type, infrared ray and surface acoustic wave. In addition to the touch screen 109 , in other modified embodiments, the input module 118 may also include other input devices, such as keys 107 . The keys 107 may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of the control buttons include a "back to home screen" button, a power on/off button, and the like.

所述主显示屏120用于显示由用户输入的信息、提供给用户的信息以及所述电子本体部10的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,所述触摸屏109可设置于所述显示面板111上从而与所述显示面板111构成一个整体。The main display screen 120 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic body 10, which may be composed of graphics, text, icons, numbers, videos, and It can be formed by any combination thereof. In one example, the touch screen 109 can be disposed on the display panel 111 so as to form a whole with the display panel 111 .

所述电源模块122用于向所述处理器102以及其它各组件提供电力供应。具体地,所述电源模块122可包括电源管理系统、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其它任意与所述电子本体部10或所述主显示屏120内电力的生成、管理及分布相关的组件。The power module 122 is used to provide power supply to the processor 102 and other components. Specifically, the power module 122 may include a power management system, one or more power sources (such as batteries or AC power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator, and any other components related to the electronic body. components related to the generation, management and distribution of power within the unit 10 or the main display screen 120 .

所述移动终端100还包括定位器119,所述定位器119用于确定所述移动终端100所处的实际位置。本实施例中,所述定位器119采用定位服务来实现所述移动终端100的定位,所述定位服务,应当理解为通过特定的定位技术来获取所述移动终端100的位置信息(如经纬度坐标),在电子地图上标出被定位对象的位置的技术或服务。The mobile terminal 100 further includes a locator 119, and the locator 119 is used to determine the actual location where the mobile terminal 100 is located. In this embodiment, the locator 119 uses a positioning service to realize the positioning of the mobile terminal 100. The positioning service should be understood as obtaining the position information (such as latitude and longitude coordinates) of the mobile terminal 100 through a specific positioning technology. ), a technology or service that marks the location of the located object on an electronic map.

应当理解的是,上述的移动终端100并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,移动终端100,是指搭载了智能操作系统的移动计算机设备,移动终端100包括但不限于智能手机、智能手表、平板电脑,等等。It should be understood that the above-mentioned mobile terminal 100 is not limited to a smart phone terminal, but should refer to a computer device that can be used on the move. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with a smart operating system, and the mobile terminal 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.

流程图中或在此以其它方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.

在流程图中表示或在此以其它方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其它可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其它合适的介质,因为可以例如通过对纸或其它介质进行光学扫描,接着进行编辑、解译或必要时以其它合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。Logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (mobile terminals), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as it may be possible, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable medium as necessary process to obtain the program electronically and then store it in computer memory.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。Those skilled in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations to the present application. Embodiments are subject to variations, modifications, substitutions and variations.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (12)

1. A display method is applied to a mobile terminal, the mobile terminal comprises a touch screen, a functional device is arranged in a displayable region of the touch screen, the displayable region comprises a first display region and a second display region, the functional device is arranged in the first display region, the area of the first display region is smaller than that of the second display region, and the first display region and the second display region are divided by a boundary line, and the method comprises the following steps:
when a starting request of a target application is detected, obtaining a background color of an interface to be displayed of the target application;
judging whether the background color of the interface to be displayed meets a preset condition or not;
when the background color of the interface to be displayed meets the preset condition, controlling the first display area and the second display area to jointly display the interface to be displayed;
when the background color of the interface to be displayed does not meet the preset condition, controlling the second display area to display the interface to be displayed;
detecting a touch operation acting on the displayable area;
when a sliding operation along the second display region with the boundary line as a starting point is detected, correspondingly reducing the area of the second display region and increasing the area of the first display region; or
When a sliding operation along the first display region with the boundary line as a starting point is detected, the area of the first display region is correspondingly reduced and the area of the second display region is correspondingly increased.
2. The method according to claim 1, wherein the determining whether the background color of the interface to be displayed meets a preset condition comprises:
acquiring a background gray value of the interface to be displayed of the target application according to the background color of the interface to be displayed of the target application;
and judging whether the background gray value of the interface to be displayed is smaller than a preset gray value.
3. The method according to claim 1 or 2, wherein when the background color of the interface to be displayed does not satisfy the preset condition, controlling the second display area to display the interface to be displayed comprises:
and when the background color of the interface to be displayed does not meet the preset condition, controlling the second display area to display the interface to be displayed and controlling the first display area to display a plurality of application icons.
4. The method according to claim 3, wherein after controlling the second display area to display the interface to be displayed and controlling the first display area to display the plurality of application icons, the method further comprises:
and when receiving the instant messaging message corresponding to the instant messaging icon, popping up and displaying the instant messaging message in a first display area.
5. The method according to claim 1, wherein when the sliding operation along the first display region starting from the boundary line is detected, after correspondingly decreasing the first display region and increasing the second display region, the method further comprises:
when the boundary is moved to the functional device, controlling the first display area and the second display area to jointly display the interface to be displayed, and deleting the boundary.
6. The method of claim 1, wherein the target application is a browser, the method further comprising:
detecting a display mode of an interface to be displayed of the browser;
when the display mode of the interface to be displayed of the browser is a night mode, controlling the first display area and the second display area to jointly display the interface to be displayed of the browser;
and when the display mode of the interface to be displayed of the browser is a normal mode, controlling the second display area to display the interface to be displayed of the browser.
7. The method according to claim 1, wherein the functional device comprises any one or a combination of a plurality of cameras, light intensity sensors and earphones.
8. A display device is applied to a mobile terminal, the mobile terminal comprises a touch screen, a functional device is arranged in a displayable region of the touch screen, the displayable region comprises a first display region and a second display region, the functional device is arranged in the first display region, the area of the first display region is smaller than that of the second display region, the first display region and the second display region are divided by a boundary, and the device comprises:
the background color acquisition module is used for acquiring the background color of the interface to be displayed of the target application when the starting request of the target application is detected;
the background color judging module is used for judging whether the background color of the interface to be displayed meets a preset condition or not;
the first display module is used for controlling the first display area and the second display area to jointly display the interface to be displayed when the background color of the interface to be displayed meets the preset condition;
the second display module is used for controlling the second display area to display the interface to be displayed when the background color of the interface to be displayed does not meet the preset condition;
the touch operation detection module is used for detecting touch operation acting on the displayable area;
a first sliding operation detection module, configured to, when a sliding operation along the second display region with the boundary line as a starting point is detected, correspondingly decrease an area of the second display region and increase an area of the first display region; or
And a second sliding operation detection module, configured to correspondingly decrease the area of the first display region and increase the area of the second display region when a sliding operation along the first display region with the boundary line as a starting point is detected.
9. The apparatus of claim 8, wherein the background color determination module comprises:
the background gray value obtaining submodule is used for obtaining the background gray value of the interface to be displayed of the target application according to the background color of the interface to be displayed of the target application;
and the background gray value judgment submodule is used for judging whether the background gray value of the interface to be displayed is smaller than a preset gray value.
10. The apparatus of claim 8 or 9, wherein the second display module comprises:
and the second display sub-module is used for controlling the second display area to display the interface to be displayed and controlling the first display area to display a plurality of application icons when the background color of the interface to be displayed does not meet the preset condition.
11. A mobile terminal comprising a touch screen, a memory, and a processor, the touch screen and the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-7.
12. A computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the method of any one of claims 1-7.
CN201810176122.4A 2018-03-02 2018-03-02 Display method, display device, mobile terminal and storage medium Expired - Fee Related CN110221882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810176122.4A CN110221882B (en) 2018-03-02 2018-03-02 Display method, display device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810176122.4A CN110221882B (en) 2018-03-02 2018-03-02 Display method, display device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110221882A CN110221882A (en) 2019-09-10
CN110221882B true CN110221882B (en) 2022-06-17

Family

ID=67822096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810176122.4A Expired - Fee Related CN110221882B (en) 2018-03-02 2018-03-02 Display method, display device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110221882B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110764729B (en) * 2019-10-31 2023-09-22 Oppo广东移动通信有限公司 Display device, electronic equipment and display device control method
CN113542494A (en) * 2020-04-21 2021-10-22 中兴通讯股份有限公司 Information display method, device, terminal and storage medium
CN113923296B (en) * 2020-06-24 2024-04-02 中兴通讯股份有限公司 Interface display method, device and computer readable storage medium
CN119998861A (en) * 2022-10-18 2025-05-13 高通股份有限公司 Controlling a computing device display with a display cutout
CN120010972A (en) * 2023-11-08 2025-05-16 荣耀终端股份有限公司 Information display method and electronic device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223139A (en) * 2014-06-10 2016-01-06 何卫 Spatial multi-region color synchronous detection method and device applying same

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7136066B2 (en) * 2002-11-22 2006-11-14 Microsoft Corp. System and method for scalable portrait video
US20060022572A1 (en) * 2004-07-30 2006-02-02 Wen-Chieh Lu Enhanced structure for-color fluorescent screens
US10019066B2 (en) * 2012-09-28 2018-07-10 Tesla, Inc. Method of launching an application and selecting the application target window
CN106469000A (en) * 2015-08-14 2017-03-01 青岛海信移动通信技术股份有限公司 A kind of screen content amplification method and terminal unit
CN105867730B (en) * 2016-03-24 2019-03-01 Oppo广东移动通信有限公司 Status bar display method and device
CN106484283A (en) * 2016-09-19 2017-03-08 广东欧珀移动通信有限公司 A display control method and mobile terminal
CN106502689A (en) * 2016-11-02 2017-03-15 珠海市魅族科技有限公司 A kind of display methods of status bar and device
CN106935144B (en) * 2017-04-17 2019-07-23 Oppo广东移动通信有限公司 Display modules and terminal equipment
CN109891862A (en) * 2017-08-18 2019-06-14 华为技术有限公司 A kind of display methods and terminal
CN107562316B (en) * 2017-08-29 2019-02-05 Oppo广东移动通信有限公司 Interface display method and device and terminal
CN107577495B (en) * 2017-09-05 2019-05-31 Oppo广东移动通信有限公司 Interface display method and device and terminal
CN107579107B (en) * 2017-09-25 2020-12-18 联想(北京)有限公司 OLED display device and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105223139A (en) * 2014-06-10 2016-01-06 何卫 Spatial multi-region color synchronous detection method and device applying same

Also Published As

Publication number Publication date
CN110221882A (en) 2019-09-10

Similar Documents

Publication Publication Date Title
CN108710456B (en) Application icon processing method, device and mobile terminal
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN108664190B (en) Page display method, device, mobile terminal and storage medium
CN108243282A (en) Message display method and device, mobile terminal and storage medium
CN108512997B (en) Display method, display device, mobile terminal and storage medium
CN109120841B (en) Camera control method, device, mobile terminal and storage medium
CN115525383B (en) Wallpaper display method, device, mobile terminal and storage medium
CN109104521B (en) Proximity state correction method, device, mobile terminal and storage medium
CN108712561A (en) Rights management method, device, mobile terminal and storage medium
CN108664475A (en) Translate display methods, device, mobile terminal and storage medium
CN108737635A (en) message display method, device, mobile terminal and storage medium
CN108762466A (en) Display method, display device, mobile terminal and storage medium
CN108390992A (en) Message display method and device, mobile terminal and storage medium
CN108717343A (en) Application icon processing method and device and mobile terminal
CN108965691A (en) Camera control method and device, mobile terminal and storage medium
CN108984214A (en) Terminal state control method and device, mobile terminal and storage medium
CN108646959A (en) Screen control method, device and mobile terminal
CN108769299A (en) Screen control method, device and mobile terminal
CN108536504A (en) Page display method and device, mobile terminal and storage medium
CN108932102A (en) Data processing method and device and mobile terminal
CN108683812A (en) Volume adjustment method, device and mobile terminal
CN108646967A (en) display switching method, device, mobile terminal and storage medium
CN108803961B (en) Data processing method, device and mobile terminal
CN110221736B (en) Icon processing method, device, mobile terminal and storage medium
CN110119231A (en) Message display method, device, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220617