[go: up one dir, main page]

CN108512997B - 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
CN108512997B
CN108512997B CN201810174832.3A CN201810174832A CN108512997B CN 108512997 B CN108512997 B CN 108512997B CN 201810174832 A CN201810174832 A CN 201810174832A CN 108512997 B CN108512997 B CN 108512997B
Authority
CN
China
Prior art keywords
display
functional device
area
current display
current
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
CN201810174832.3A
Other languages
Chinese (zh)
Other versions
CN108512997A (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 CN201810174832.3A priority Critical patent/CN108512997B/en
Publication of CN108512997A publication Critical patent/CN108512997A/en
Priority to PCT/CN2019/076563 priority patent/WO2019165997A1/en
Application granted granted Critical
Publication of CN108512997B publication Critical patent/CN108512997B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a display method, a display device, a mobile terminal and a storage medium, and relates to the technical field of mobile terminals. The method is applied to a mobile terminal comprising a touch screen, wherein a functional device is arranged in a displayable area of the touch screen, and the method comprises the following steps: receiving a display switching request triggered by a user, acquiring a current display area of a current display interface, judging whether a functional device is located in the current display area, if so, displaying the current display interface in a first display area, wherein the first display area is located in a displayable area, the functional device is located outside the first display area, and if not, displaying the current display interface in the displayable area. According to the display method, the display device, the mobile terminal and the storage medium, the display content is enabled to avoid the functional device through switching the display area of the display interface, so that the influence of the functional device on the display effect is weakened.

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 method, device, mobile terminal, and storage medium. By switching the display area of the display interface, the display content avoids the functional device, so as to weaken the influence of the functional device on the display effect.

第一方面,本申请实施例提供了一种显示方法,应用于移动终端,所述移动终端包括触摸屏,所述触摸屏的可显示区域内设置有功能器件,所述方法包括:接收用户触发的显示切换请求,获取当前显示界面的当前显示区域;判断所述功能器件是否位于所述当前显示区域;如果所述功能器件位于所述当前显示区域,将所述当前显示界面显示于第一显示区域,其中,所述第一显示区域位于所述可显示区域内,且所述功能器件位于所述第一显示区域之外;如果所述功能器件没有位于所述当前显示区域,将所述当前显示界面显示于所述可显示区域。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 a functional device, and the method includes: receiving a display triggered by a user a switching request, obtain the current display area of the current display interface; determine whether the functional device is located in the current display area; if the functional device is located in the current display area, display the current display interface in the first display area, Wherein, the first display area is located in the displayable area, and the functional device is located outside the first display area; if the functional device is not located in the current display area, the current display interface displayed in the displayable area.

第二方面,本申请实施例提供了一种显示装置,应用于移动终端,所述移动终端包括触摸屏,所述触摸屏的可显示区域内设置有功能器件,所述装置包括:请求接收模块,用于接收用户触发的显示切换请求,获取当前显示界面的当前显示区域;判断模块,用于判断所述功能器件是否位于所述当前显示区域;第一显示模块,用于如果所述功能器件位于所述当前显示区域,将所述当前显示界面显示于第一显示区域,其中,所述第一显示区域位于所述可显示区域内,且所述功能器件位于所述第一显示区域之外;第二显示模块,用于如果所述功能器件没有位于所述当前显示区域,将所述当前显示界面显示于所述可显示区域。In a second aspect, an embodiment of the present application provides a display device, which is applied to a mobile terminal. The mobile terminal includes a touch screen, and functional devices are provided in a displayable area of the touch screen. The device includes: a request receiving module, which uses After receiving the display switching request triggered by the user, obtain the current display area of the current display interface; the judgment module is used to judge whether the functional device is located in the current display area; the first display module is used to determine if the functional device is located in the current display area. the current display area, and the current display interface is displayed in the first display area, wherein the first display area is located in the displayable area, and the functional device is located outside the first display area; A second display module, configured to display the current display interface in the displayable area if the functional device is not located in the current display area.

第三方面,本申请实施例提供了一种移动终端,包括触摸屏、存储器以及处理器,所述触摸屏与所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行上述方法。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, where the mobile terminal includes a touch screen, and functional devices are provided in a displayable area of the touch screen. First, receive the display switching request triggered by the user, obtain the current display area of the current display interface, then determine whether the functional device is located in the current display area, and finally when the functional device is located in the current display area, display the current display interface in the first display area, wherein , the first display area is located in the displayable area, and the functional device is located outside the first display area. If the functional device is not located in the current display area, the current display interface will be displayed in the displayable area, so that the current display interface is displayed in the displayable area. The switching of the display area makes the display content avoid the functional device, so as to weaken the influence of the functional device on the display effect.

本申请的这些方面或其它方面在以下实施例的描述中会更加简明易懂。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 first interface conversion comparison diagram of the mobile terminal provided by the first embodiment of the present application;

图6示出了本申请第一实施例提供的移动终端的第二种界面转换对比图;FIG. 6 shows a second interface conversion comparison diagram of the 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示出了本申请第二实施例提供的显示方法的步骤S230的流程示意图;FIG. 8 shows a schematic flowchart of step S230 of the display method provided by the second embodiment of the present application;

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

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

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

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

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

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

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

图16示出了用于执行根据本申请实施例的显示方法的移动终端的框图。FIG. 16 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, so as to increase the area of the displayable area, so as to achieve the effect of a full screen, wherein, it can be understood that the displayable area is an area that can be lit and displayed.

示例性的,该孔可以设置在触摸屏的一个或多个边缘上,也可以设置在触摸屏的非边缘区域上,该孔的形状可以是半圆形、直角矩形、圆角矩形、圆形、规则多边形或不规则多变形等。示意性的,请参阅图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 Polygonal or irregular polymorphic, 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 switching the display area of the display interface, the display content avoids the functional device, so as to weaken the influence of the functional device on the display effect. influences. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

第一实施例first embodiment

请参阅图4,图4示出了本申请第一实施例提供的显示方法的流程示意图。该显示方法通过对显示界面的可显示区域的切换,使显示内容避开功能器件,以弱化功能器件对显示效果的影响。在具体的实施例中,所述显示方法应用于如图13所示的显示装置200以及配置有显示装置200的移动终端100(图15)中。下面将以手机为例,说明本实施例的具体流程,当然,可以理解的,本申请实施例所应用的移动终端并不限定为手机,也可以包括其他移动终端,如平板电脑、个人计算机等。下面将针对图4所示的流程进行详细的阐述,所述显示方法应用于具有触摸屏的移动终端,该触摸屏的可显示区域内设置有功能器件,上述显示方法具体可以包括以下步骤:Referring to FIG. 4 , FIG. 4 shows a schematic flowchart of the display method provided by the first embodiment of the present application. In the display method, by switching the displayable area of the display interface, the display content avoids the functional device, so as to weaken the influence of the functional device on the display effect. In a specific embodiment, the display method is applied to the display device 200 shown in FIG. 13 and the mobile terminal 100 ( FIG. 15 ) 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, and functional devices are provided in the displayable area of the touch screen. The above display method may specifically include the following steps:

步骤S110:接收用户触发的显示切换请求,获取当前显示界面的当前显示区域。Step S110: Receive a display switching request triggered by the user, and acquire the current display area of the current display interface.

在本实施例中,当用户欲进行移动终端的显示模式切换时,需要发送显示切换请求至所述移动终端以指示移动终端根据该显示切换请求进行显示模式的切换,其中,该显示切换请求可以是用户通过按照预定规则触控触摸屏生成,例如,可以是按压触摸屏的预定区域达到预设时长生成,可以是在触摸屏的预定区域滑动预设距离生成,也可以是连续点击触摸屏的预定位置生成等,在此不做限定;进一步地,该显示切换请求也可以是用户通过输入的指示进行显示模式切换的语音信息生成等,在此也不做限定。In this embodiment, when the user wants to switch the display mode of the mobile terminal, a display switching request needs to be sent to the mobile terminal to instruct the mobile terminal to switch the display mode according to the display switching request, wherein the display switching request can be It is generated by the user touching the touch screen according to predetermined rules. For example, it can be generated by pressing a predetermined area of the touch screen for a preset duration, it can be generated by sliding a preset distance in a predetermined area of the touch screen, or it can be generated by continuously clicking on a predetermined position of the touch screen, etc. , which is not limited here; further, the display switching request may also be the generation of voice information for switching the display mode through an input instruction by the user, etc., which is also not limited here.

通常移动终端所显示的界面都是由具体的应用程序来生成的,而在不同的场景中,生成界面的应用程序不同,例如,桌面的界面由系统应用生成,而文本类的显示界面通常由文本类应用生成,视频类的显示界面通常由视频类的应用生成。当用户触控某个应用所对应的图标或语音指示开启某个应用时,移动终端启动所述应用并将该应用对应的界面进行显示,将该显示的界面视作当前显示界面,获取所述当前显示界面的当前显示区域。Usually, the interface displayed by the mobile terminal is generated by a specific application program, and in different scenarios, the application program that generates the interface is different. For example, the interface of the desktop is generated by the system application, and the display interface of the text type is usually generated by Text-based applications are generated, and video-based display interfaces are usually generated by video-based applications. When a user touches an icon corresponding to an application or instructs to open a certain application, the mobile terminal starts the application and displays the interface corresponding to the application, regards the displayed interface as the current display interface, and obtains the The current display area of the current display interface.

作为一种方式,获取所述当前显示界面的边缘位置的坐标信息,将所述边缘位置的坐标信息和触摸屏的坐标信息进行匹配,以获得该当前显示界面在触摸屏上的当前显示区域。As a method, the coordinate information of the edge position of the current display interface is obtained, and the coordinate information of the edge position and the coordinate information of the touch screen are matched to obtain the current display area of the current display interface on the touch screen.

步骤S120:判断所述功能器件是否位于所述当前显示区域。Step S120: Determine whether the functional device is located in the current display area.

进一步地,功能器件通常固定设置于移动终端,因此,可以检测获取所述功能器件的坐标信息或从移动终端的存储器中获取预先存储的所述功能器件的坐标信息,将所述功能器件的坐标信息与当前显示区域的坐标信息进行比对,以判断该功能器件是否位于所述当前显示区域内。Further, the functional device is usually fixed on the mobile terminal. Therefore, the coordinate information of the functional device can be detected and obtained or the pre-stored coordinate information of the functional device can be obtained from the memory of the mobile terminal, and the coordinates of the functional device can be obtained. The information is compared with the coordinate information of the current display area to determine whether the functional device is located in the current display area.

步骤S130:如果所述功能器件位于所述当前显示区域,将所述当前显示界面显示于第一显示区域,其中,所述第一显示区域位于所述可显示区域内,且所述功能器件位于所述第一显示区域之外。Step S130: If the functional device is located in the current display area, display the current display interface in a first display area, wherein the first display area is located in the displayable area, and the functional device is located in the display area. outside the first display area.

其中,当所述功能器件的坐标信息与所述当前显示区域的坐标信息有重合时,判定所述功能器件位于所述当前显示区域内,此时,将当前显示界面显示于第一显示区域,其中,该第一显示区域位于可显示区域内,且功能器件位于第一显示区域之外,即该功能器件不被第一显示区域包围,以使当前显示界面显示的内容不会被功能器件所遮挡,弱化功能器件对显示效果的影响。在本实施例中,所述第一显示区域可以与所述功能器件所在位置相切,可以与该功能器件所在位置距离预设距离,也可以根据用户的需求进行不同距离的设定与更改,在本实施例中不做限定。Wherein, when the coordinate information of the functional device coincides with the coordinate information of the current display area, it is determined that the functional device is located in the current display area, and at this time, the current display interface is displayed in the first display area, The first display area is located in the displayable area, and the functional device is located outside the first display area, that is, the functional device is not surrounded by the first display area, so that the content displayed on the current display interface will not be affected by the functional device. Occlusion, weakening the influence of functional devices on the display effect. In this embodiment, the first display area may be tangent to the location of the functional device, may be at a preset distance from the location of the functional device, or may be set and changed at different distances according to user requirements, It is not limited in this embodiment.

具体地,请参阅图5中的图a,所述功能器件112的坐标信息与当前显示界面“ABCD……”所在的显示区域的坐标信息有重合,则判定该功能器件112位于当前显示区域内,此时,当前显示区域包围功能器件112,进一步地,将当前显示界面显示于第一显示区域115中,如图5中的图b,其中,图5中的图b里的虚线只是示例,用于作为第一显示区域的划分线便于阅读者理解,在移动终端实际运行中,也可以没有该划分线。可以理解的,该功能器件112位于第一显示区域115之外,第一显示区域115不包围功能器件112,从而实现当前显示界面“ABCD……”的显示内容不会被功能器件112所遮挡。Specifically, please refer to Figure a in FIG. 5 , if the coordinate information of the functional device 112 overlaps with the coordinate information of the display area where the current display interface "ABCD..." is located, it is determined that the functional device 112 is located in the current display area. , at this time, the current display area surrounds the functional device 112, and further, the current display interface is displayed in the first display area 115, as shown in Figure b in Figure 5, wherein the dotted line in Figure b in Figure 5 is just an example, The dividing line used as the first display area is easy for readers to understand, and in actual operation of the mobile terminal, the dividing line may also be absent. It can be understood that the functional device 112 is located outside the first display area 115 , and the first display area 115 does not surround the functional device 112 , so that the display content of the current display interface “ABCD...” will not be blocked by the functional device 112 .

步骤S140:如果所述功能器件没有位于所述当前显示区域,将所述当前显示界面显示于所述可显示区域。Step S140: If the functional device is not located in the current display area, display the current display interface in the displayable area.

其中,当所述功能器件的坐标信息与所述当前显示区域的坐标信息没有重合时,判定所述功能器件没有位于所述当前显示区域内,此时,将当前显示界面显示于所述可显示区域。可以理解的,当功能器件没有位于当前显示区域时,该当前显示界面为非全面屏显示,当当前显示界面显示于可显示区域时,该当前显示界面为全面屏显示,即将所述当前显示界面由非全面屏显示转换为全屏显示。Wherein, when the coordinate information of the functional device does not coincide with the coordinate information of the current display area, it is determined that the functional device is not located in the current display area, and at this time, the current display interface is displayed in the displayable area. area. It can be understood that when the functional device is not located in the current display area, the current display interface is a non-full-screen display, and when the current display interface is displayed in the displayable area, the current display interface is a full-screen display, that is, the current display interface. Convert from non-full-screen display to full-screen display.

具体地,请参阅图6中的图a,所述功能器件112的坐标信息与当前显示界面“ABCD……”所在的显示区域的坐标信息没有有重合,则判定该功能器件112没有位于当前显示区域内,进一步地,将当前显示界面显示于显示区域113中,如图6中的图b,同样的,图6中的图a里的虚线只是示例,用于作为第一显示区域的划分线便于阅读者理解,在移动终端实际运行中,也可以没有该划分线。Specifically, please refer to Figure a in FIG. 6 , the coordinate information of the functional device 112 does not overlap with the coordinate information of the display area where the current display interface "ABCD..." is located, then it is determined that the functional device 112 is not located in the current display In the area, further, the current display interface is displayed in the display area 113, as shown in Figure b in Figure 6. Similarly, the dotted line in Figure a in Figure 6 is just an example, and is used as the dividing line of the first display area. To facilitate the reader's understanding, in the actual operation of the mobile terminal, there may be no such dividing line.

本申请第一实施例提供的显示方法,应用于移动终端,该移动终端包括触摸屏,触摸屏的可显示区域内设置有功能器件。首先接收用户触发的显示切换请求,获取当前显示界面的当前显示区域,然后判断功能器件是否位于当前显示区域,最后当功能器件位于当前显示区域,将当前显示界面显示于第一显示区域,其中,该第一显示区域位于可显示区域内,且功能器件位于第一显示区域之外,如果功能器件没有位于该当前显示区域,将当前显示界面显示于该可显示区域,从而通过对显示界面的显示区域的切换,以弱化功能器件对显示效果的影响。The display method provided by the first embodiment of the present application is applied to a mobile terminal. The mobile terminal includes a touch screen, and functional devices are provided in a displayable area of the touch screen. First, the display switching request triggered by the user is received, and the current display area of the current display interface is obtained, and then it is judged whether the functional device is located in the current display area. Finally, when the functional device is located in the current display area, the current display interface is displayed in the first display area, wherein, The first display area is located in the displayable area, and the functional device is located outside the first display area. If the functional device is not located in the current display area, the current display interface is displayed in the displayable area. The switching of the area to weaken the influence of the functional device on the display effect.

第二实施例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. The mobile terminal includes a touch screen, and a displayable area of the touch screen is provided with functional devices. Specifically, the method may include the following steps:

步骤S210:接收用户触发的显示切换请求,获取当前显示界面的当前显示区域。Step S210: Receive a display switching request triggered by the user, and acquire the current display area of the current display interface.

步骤S220:判断所述功能器件是否位于所述当前显示区域。Step S220: Determine whether the functional device is located in the current display area.

步骤S230:如果所述功能器件位于所述当前显示区域,将所述当前显示界面显示于第一显示区域,其中,所述第一显示区域位于所述可显示区域内,且所述功能器件位于所述第一显示区域之外。Step S230: If the functional device is located in the current display area, display the current display interface in a first display area, wherein the first display area is located in the displayable area, and the functional device is located in the display area. outside the first display area.

请参阅图8,图8示出了本申请第二实施例提供的显示方法的步骤S230的流程示意图。下面将针对图8所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:Please refer to FIG. 8 , which shows a schematic flowchart of step S230 of the display method provided by the second embodiment of the present application. The flow shown in FIG. 8 will be described in detail below, and the method may specifically include the following steps:

步骤S231:根据所述功能器件的位置,确定所述第一显示区域。Step S231: Determine the first display area according to the position of the functional device.

作为本实施例的一种实施方式,检测获取所述功能器件的坐标信息或从移动终端的存储器中获取预先存储的所述功能器件的坐标信息,根据获取的功能器件的坐标信息确定第一显示区域,其中,该第一显示区域靠近所述功能器件的一侧可以与所述功能器件的位置相切,也可以与所述功能器件之间存在预设距离等,在本实施例中不做限定,该第一显示区域远离非显示区域的一侧可以与显示区域的边缘位置重合,也可以位于显示区域内,具体的附属区域的大小,在本实施例中也不做限定。As an implementation of this embodiment, the coordinate information of the functional device is detected and acquired, or the pre-stored coordinate information of the functional device is acquired from the memory of the mobile terminal, and the first display is determined according to the acquired coordinate information of the functional device. area, wherein the side of the first display area close to the functional device may be tangent to the position of the functional device, or there may be a preset distance between the first display area and the functional device, which is not done in this embodiment. Restriction, the side of the first display area away from the non-display area may overlap with the edge position of the display area, or may be located in the display area, and the specific size of the subsidiary area is not limited in this embodiment.

步骤S232:获取所述可显示区域和所述第一显示区域之间的比例。Step S232: Obtain the ratio between the displayable area and the first display area.

进一步地,一方面,检测获取所述可显示区域的面积或从所述移动终端的存储器中获取预先存储的可显示区域的面积;另一方面,获取所述第一显示区域的面积,并基于所述可显示区域的面积和第一显示区域的面积,获取可显示区域和第一显示区域之间的比例。Further, on the one hand, the area of the displayable area is detected and acquired or the area of the pre-stored displayable area is acquired from the memory of the mobile terminal; on the other hand, the area of the first display area is acquired, and based on the From the area of the displayable area and the area of the first display area, the ratio between the displayable area and the first display area is obtained.

步骤S233:根据所述比例将所述当前显示界面成比例缩小后显示于所述第一显示区域。Step S233: Scale down the current display interface according to the scale and display it in the first display area.

另外,将当前显示界面按照可显示区域和第一显示区域之间的比例成比例的缩小,然后将缩小后的当前显示界面显示于第一显示区域,以使缩小后的当前显示界面完全显示于该第一显示区域,增强显示效果。In addition, the current display interface is reduced proportionally according to the ratio between the displayable area and the first display area, and then the reduced current display interface is displayed in the first display area, so that the reduced current display interface is completely displayed in the first display area. The first display area enhances the display effect.

作为一种方式,请参阅图9,当所述第一显示区域115与功能器件112所在位置相切时,将多个应用图标117与功能器件112同行显示,即多个图标117和功能器件112所在的位置均与所述第一显示区域115相切。具体地,多个应用图标117可以包括即时通讯图标,如微信图标、QQ图标等,也可以包括系统图标,如电话图标、短信图标等,在此不做限定,用户可以直接点击或按压应用图标进入各个应用图标所对应的应用,方便快捷操作。As a method, please refer to FIG. 9 , when the first display area 115 is tangent to the position of the functional device 112 , multiple application icons 117 are displayed in parallel with the functional device 112 , that is, multiple icons 117 and the functional device 112 The positions are all tangent to the first display area 115 . Specifically, the plurality of application icons 117 may include instant messaging icons, such as WeChat icons, QQ icons, etc., and may also include system icons, such as phone icons, SMS icons, etc., which are not limited here, and the user can directly click or press the application icon. Enter the application corresponding to each application icon, which is convenient and quick to operate.

作为另一种方式,请参阅图10,当所述第一显示区域115与功能器件112间隔预设距离时,将多个应用图标117环绕所述功能器件112显示。As another way, please refer to FIG. 10 , when the first display area 115 is spaced apart from the functional device 112 by a predetermined distance, a plurality of application icons 117 are displayed around the functional device 112 .

进一步地,若所述多个图标包括即时通讯图标,且当接收到所述即时通讯图标对应的即时通讯消息时,将该即时通讯消息在功能器件所在的显示区域弹出并显示,可以理解的,此时,移动终端既可以显示即时通讯消息,还可以不影响观看当前显示界面显示的内容,用户体验更好。具体地,假设所述即时通讯图标为微信图标,当接收到微信消息时,将该微信消息在功能器件所在的区域弹出并显示,此时,第一显示区域显示当前显示界面,与功能器件所在的显示区域显示的微信消息互不影响;假设所述即时通讯图标为QQ图标,当接收到QQ消息时,将该QQ消息在功能器件所在的显示区域弹出并显示,此时,第一显示区域显示当前显示界面,与功能器件所在的显示区域显示的QQ消息互不影响。Further, if the multiple icons include instant messaging icons, and when an instant messaging message corresponding to the instant messaging icon is received, the instant messaging message will be popped up and displayed in the display area where the functional device is located, which is understandable. At this time, the mobile terminal can not only display the instant messaging message, but also can watch the content displayed on the current display interface without affecting the user experience. Specifically, assuming that the instant messaging icon is a WeChat icon, when a WeChat message is received, the WeChat message will be popped up and displayed in the area where the functional device is located. The WeChat messages displayed in the display area of are independent of each other; assuming that the instant messaging icon is a QQ icon, when a QQ message is received, the QQ message will be popped up and displayed in the display area where the functional device is located. At this time, the first display area Displays the current display interface, independent of the QQ message displayed in the display area where the functional device is located.

步骤S240:如果所述功能器件没有位于所述当前显示区域,获取所述当前显示界面的显示内容。Step S240: If the functional device is not located in the current display area, acquire the display content of the current display interface.

步骤S250:判断当所述显示内容显示在所述可显示区域时,是否有元素的显示位置与所述功能器件的位置重合。Step S250: Determine whether the display position of any element coincides with the position of the functional device when the display content is displayed in the displayable area.

在获取到当前显示界面的显示内容后,移动终端首先判断显示内容中是否有元素的显示位置与功能器件的位置重合。其中,移动终端的显示区域中的功能器件的位置是固定的,移动终端中可以预先存储功能器件的位置信息,而移动终端在显示区域内渲染显示内容所包括的所有元素时,也会计算开始渲染元素的起始位置信息以及每个元素所在的位置信息。基于功能器件的位置信息以及显示内容中的元素的位置信息即可确定是否有元素的位置和功能器件的位置重合。其中,位置信息可以通过建立坐标系来计算,例如,可以将显示区域的左上角设定为坐标原点,将横纵坐标的单位设定为像素。After acquiring the display content of the current display interface, the mobile terminal first determines whether the display position of an element in the display content coincides with the position of the functional device. The position of the functional device in the display area of the mobile terminal is fixed, and the location information of the functional device can be stored in the mobile terminal in advance. The starting position information of the rendered element and the position information of each element. Based on the position information of the functional device and the position information of the element in the display content, it can be determined whether the position of the element coincides with the position of the functional device. The position information can be calculated by establishing a coordinate system. For example, the upper left corner of the display area can be set as the coordinate origin, and the unit of the horizontal and vertical coordinates can be set as pixels.

需要说明的是,本实施例中的重合并不限定为完全重合,即并不限定为元素完全落入功能器件中,也可以为部分重合,例如,元素的一部分落入所述功能器件,另一部分不与功能器件重合而显示在显示区域上,在本实施例中,重合的方式并不做限定。It should be noted that the overlap in this embodiment is not limited to complete overlap, that is, it is not limited to the element completely falling into the functional device, but also partial overlap, for example, a part of the element falls into the functional device, and another A part is displayed on the display area without overlapping with the functional device. In this embodiment, the overlapping manner is not limited.

步骤S260:如果有,根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容,其中,所述当前显示内容中没有与所述功能器件的位置重合的元素。Step S260: If so, rearrange the display content according to the position of the functional device to obtain the current display content, wherein there is no element in the current display content that coincides with the position of the functional device.

其中,如果显示内容中有与功能器件位置重合的元素时,根据功能器件的位置将显示内容重新进行排布,以使获取的当前显示内容中没有与功能器件的位置重合的元素。作为一种方式,当前显示内容以环绕该功能器件的方式重新排布。Wherein, if there is an element that overlaps the position of the functional device in the display content, the display content is rearranged according to the position of the functional device, so that there is no element that overlaps the position of the functional device in the acquired current display content. As one approach, the current display content is rearranged to wrap around the functional device.

具体地,请参阅图11,图11中的图a所示的显示内容的元素“C”与功能器件112的位置重合,则该元素“C”显示部分不完全重合的区域,或完全不显示,此时显示在显示区域113上的显示内容为“ABDEF……”,从而会造成显示内容不完整,将所述显示内容重新排布后,将元素“C”的原始坐标位置用空格替代,且将元素“C”顺次显示在功能器件112的相邻区域,从而保证显示内容的完整性。Specifically, please refer to FIG. 11 , the element “C” of the display content shown in FIG. 11 coincides with the position of the functional device 112 , then the element “C” displays a partially overlapped area, or does not display at all , at this time, the display content displayed on the display area 113 is "ABDEF...", which will cause the display content to be incomplete. After rearranging the display content, replace the original coordinate position of the element "C" with a space, And the element "C" is displayed in the adjacent area of the functional device 112 in sequence, so as to ensure the integrity of the displayed content.

请参阅图12,图12示出了本申请第二实施例提供的显示方法的步骤S260的流程示意图。下面将针对图12所示的流程进行详细的阐述,所述方法具体可以包括以下步骤:Please refer to FIG. 12. FIG. 12 shows a schematic flowchart of step S260 of the display method provided by the second embodiment of the present application. The flow shown in FIG. 12 will be described in detail below, and the method may specifically include the following steps:

步骤S261:如果有,检测与所述功能器件的位置重合的元素的类型。Step S261: If there is, detect the type of the element that coincides with the position of the functional device.

作为一种实施方式,检测显示内容中与功能器件的位置重合的元素的类型,可以理解的,与所述功能器件的位置重合的元素可以包括图片、字符等,其中,字符可以包括数字、字母、符号等。As an implementation manner, the type of the element in the display content that overlaps the position of the functional device is detected. It can be understood that the element that overlaps the position of the functional device may include pictures, characters, etc., wherein the characters may include numbers, letters, etc. , symbols, etc.

步骤S262:当与所述功能器件的位置重合的元素为字符时,根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容。Step S262 : when the element overlapping the position of the functional device is a character, rearrange the display content according to the position of the functional device to obtain the current display content.

若与功能器件的位置重合的元素为字符时,作为一种方式,可以用空格替代与所述功能器件的位置重合的元素,所述元素顺次显示在空格的后方,以保证该显示内容中的显示元素的显示不会受到功能器件的影响。If the element that coincides with the position of the functional device is a character, as a way, the element that coincides with the position of the functional device can be replaced by a space, and the elements are displayed in sequence behind the space to ensure that the displayed content The display of the display elements is not affected by the functional device.

步骤S263:当与所述功能器件的位置重合的元素为图片时,所述元素不显示,所述显示内容中除所述元素的其他元素正常显示。Step S263 : when the element overlapping the position of the functional device is a picture, the element is not displayed, and other elements in the display content except the element are displayed normally.

可以理解的,若与功能器件的位置重合的元素为图片时,则与该功能器件的位置重合的元素不显示,而显示内容中不与功能器件位置重合的其他元素正常显示。It can be understood that if the element overlapping the position of the functional device is a picture, the element overlapping the position of the functional device is not displayed, and other elements in the display content that do not overlap the position of the functional device are displayed normally.

步骤S270:将所述当前显示内容显示在所述可显示区域。Step S270: Display the currently displayed content in the displayable area.

本申请第二实施例提供的显示方法,应用于移动终端,该移动终端包括触摸屏,触摸屏的可显示区域内设置有功能器件。首先接收用户触发的显示切换请求,获取当前显示界面的当前显示区域,判断功能器件是否位于当前显示区域,如果功能器件位于当前显示区域,将当前显示界面显示于第一显示区域,如果功能器件没有位于当前显示区域,获取当前显示界面的实现内容,判断当显示内容显示在可显示区域时,是否有元素的显示位置与功能器件的位置重合,如果有,根据功能器件的位置对显示内容重新排布获得当前显示内容,该当前显示内容中没有与功能器件的位置重合的元素,将当前显示内容显示在可显示区域,从而通过对显示界面的显示区域的切换,使显示内容避开功能器件,以弱化功能器件对显示效果的影响。The display method provided by the second embodiment of the present application is applied to a mobile terminal. The mobile terminal includes a touch screen, and functional devices are provided in a displayable area of the touch screen. First, receive the display switching request triggered by the user, obtain the current display area of the current display interface, and determine whether the functional device is located in the current display area. If the functional device is located in the current display area, display the current display interface in the first display area. Located in the current display area, obtain the implementation content of the current display interface, and determine whether the display position of any element coincides with the position of the functional device when the display content is displayed in the displayable area, and if so, rearrange the display content according to the position of the functional device The cloth obtains the current display content, and there is no element that overlaps with the position of the functional device in the current display content, and displays the current display content in the displayable area, so that the display content avoids the functional device by switching the display area of the display interface. In order to weaken the influence of functional devices on the display effect.

第三实施例Third Embodiment

请参阅图13,图13示出了本申请第三实施例提供的显示装置200的结构框图,下面将针对图13所示的结构框图进行阐述,该显示装置200应用于包含触摸屏的移动终端,所述触摸屏的可显示区域内设置有功能器件,所述显示装置200包括:请求接收模块210、判断模块220、第一显示模块230以及第二显示模块240,其中:请求接收模块210、判断模块220、第一显示模块230以及第二显示模块240,其中:Please refer to FIG. 13. FIG. 13 shows a structural block diagram of the display device 200 provided by the third embodiment of the present application. The structural block diagram shown in FIG. 13 will be described below. The display device 200 is applied to a mobile terminal including a touch screen. Functional devices are arranged in the displayable area of the touch screen, and the display device 200 includes: a request receiving module 210, a judging module 220, a first display module 230 and a second display module 240, wherein: the request receiving module 210, the judging module 220, a first display module 230, and a second display module 240, wherein:

请求接收模块210,用于接收用户触发的显示切换请求,获取当前显示界面的当前显示区域。The request receiving module 210 is configured to receive a display switching request triggered by the user, and obtain the current display area of the current display interface.

判断模块220,用于判断所述功能器件是否位于所述当前显示区域。The judgment module 220 is used for judging whether the functional device is located in the current display area.

第一显示模块230,用于如果所述功能器件位于所述当前显示区域,将所述当前显示界面显示于第一显示区域,其中,所述第一显示区域位于所述可显示区域内,且所述功能器件位于所述第一显示区域之外。请参阅图14,进一步地,所述第一显示模块230包括:第一显示区域确定子模块231、比例获取子模块232以及第一显示子模块233,其中:a first display module 230, configured to display the current display interface in the first display area if the functional device is located in the current display area, wherein the first display area is located in the displayable area, and The functional device is located outside the first display area. Please refer to FIG. 14, further, the first display module 230 includes: a first display area determination sub-module 231, a scale acquisition sub-module 232 and a first display sub-module 233, wherein:

第一显示区域确定子模块231,用于根据所述功能器件的位置,确定所述第一显示区域。The first display area determination sub-module 231 is configured to determine the first display area according to the position of the functional device.

比例获取子模块232,用于获取所述可显示区域和所述第一显示区域之间的比例。The ratio obtaining sub-module 232 is configured to obtain the ratio between the displayable area and the first display area.

第一显示子模块233,用于根据所述比例将所述当前显示界面成比例缩小后显示于所述第一显示区域。The first display sub-module 233 is configured to scale down the current display interface according to the scale and display it in the first display area.

第二显示模块240,用于如果所述功能器件没有位于所述当前显示区域,将所述当前显示界面显示于所述可显示区域。进一步地,所述第二显示模块240包括:显示内容获取子模块241、显示判断子模块242、当前显示内容获取子模块243以及第二显示子模块244,其中:The second display module 240 is configured to display the current display interface in the displayable area if the functional device is not located in the current display area. Further, the second display module 240 includes: a display content acquisition sub-module 241, a display judgment sub-module 242, a current display content acquisition sub-module 243 and a second display sub-module 244, wherein:

显示内容获取子模块241,用于获取所述当前显示界面的显示内容。The display content acquisition sub-module 241 is configured to acquire the display content of the current display interface.

显示判断子模块242,用于判断当所述显示内容显示在所述显示区域时,是否有元素的显示位置与所述功能器件的位置重合。The display determination sub-module 242 is configured to determine whether the display position of any element coincides with the position of the functional device when the display content is displayed in the display area.

当前显示内容获取子模块243,用于如果有,根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容,其中,所述当前显示内容中没有与所述功能器件的位置重合的元素。进一步地,所述当前显示内容获取子模块243包括:类型检测单元、第一当前显示内容获取单元以及第二当前显示内容获取单元,其中:The current display content acquisition sub-module 243 is configured to rearrange the display content according to the position of the functional device, if any, to obtain the current display content, wherein the current display content is not related to the position of the functional device overlapping elements. Further, the currently displayed content acquisition sub-module 243 includes: a type detection unit, a first currently displayed content acquisition unit and a second currently displayed content acquisition unit, wherein:

类型检测单元,用于如果有,检测与所述功能器件的位置重合的元素的类型。A type detection unit for detecting, if any, the type of the element that coincides with the position of the functional device.

第一当前显示内容获取单元,用于当与所述功能器件的位置重合的元素为字符时,根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容。The first current display content obtaining unit is configured to rearrange the display content according to the position of the functional device when the element overlapping the position of the functional device is a character to obtain the current display content.

第二当前显示内容获取单元,用于当与所述功能器件的位置重合的元素为图片时,所述元素不显示,所述显示内容中除所述元素的其他元素正常显示。The second current display content acquisition unit is configured to, when the element overlapping the position of the functional device is a picture, the element is not displayed, and other elements in the display content except the element are displayed normally.

第二显示子模块244,用于将所述当前显示内容显示在所述可显示区域。The second display sub-module 244 is configured to display the currently displayed content in the displayable area.

综上所述,本申请实施例提供的一种显示方法、装置、移动终端以及存储介质,应用于移动终端,该移动终端包括触摸屏,触摸屏的可显示区域内设置有功能器件。首先接收用户触发的显示切换请求,获取当前显示界面的当前显示区域,然后判断功能器件是否位于当前显示区域,最后当功能器件位于当前显示区域,将当前显示界面显示于第一显示区域,其中,该第一显示区域位于可显示区域内,且功能器件位于第一显示区域之外,如果功能器件没有位于该当前显示区域,将当前显示界面显示于该可显示区域,从而通过对显示界面的显示区域的切换,使显示内容避开功能器件,以弱化功能器件对显示效果的影响。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. The mobile terminal includes a touch screen, and functional devices are provided in a displayable area of the touch screen. First, the display switching request triggered by the user is received, and the current display area of the current display interface is obtained, and then it is judged whether the functional device is located in the current display area. Finally, when the functional device is located in the current display area, the current display interface is displayed in the first display area, wherein, The first display area is located in the displayable area, and the functional device is located outside the first display area. If the functional device is not located in the current display area, the current display interface is displayed in the displayable area. The switching of the area makes the display content avoid the functional device, so as to weaken the influence of the functional device on the display effect.

需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。对于方法实施例中的所描述的任意的处理方式,在装置实施例中均可以通过相应的处理模块实现,装置实施例中不再一一赘述。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.

请再次参阅图15,基于上述的显示方法、装置,本申请实施例还提供一种移动终端100,其包括电子本体部10,所述电子本体部10包括壳体12及设置在所述壳体12上的主显示屏120。所述壳体12可采用金属、如钢材、铝合金制成。本实施例中,所述主显示屏120通常包括显示面板111,也可包括用于响应对所述显示面板111进行触控操作的电路等。所述显示面板111可以为一个液晶显示面板(Liquid Crystal Display,LCD),在一些实施例中,所述显示面板111同时为一个触摸屏109。其中,触摸屏109中设置有功能器件112。Referring to FIG. 15 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 . The electronic body portion 10 includes a housing 12 and is disposed on the housing. 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 .

请同时参阅图16,在实际的应用场景中,所述移动终端100可作为智能手机终端进行使用,在这种情况下所述电子本体部10通常还包括一个或多个(图中仅示出一个)处理器102、存储器104、RF(Radio Frequency,射频)模块106、音频电路110、传感器114、输入模块118、电源模块122。本领域普通技术人员可以理解,图16所示的结构仅为示意,其并不对所述电子本体部10的结构造成限定。例如,所述电子本体部10还可包括比图16中所示更多或者更少的组件,或者具有与图15所示不同的配置。Please refer to FIG. 16 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 skilled in the art can understand that the structure shown in FIG. 16 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. 16 , or have a different configuration than that shown in FIG. 15 .

本领域普通技术人员可以理解,相对于所述处理器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)、网络电话(Voice over 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), Voice over 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 are yet to be 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 keys include a "back to home screen" key, a power on/off key, 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.一种显示方法,其特征在于,应用于移动终端,所述移动终端包括触摸屏,所述触摸屏的可显示区域内固定设置有孔,所述孔内设置有功能器件,所述方法包括:1. A display method, characterized in that it is applied to a mobile terminal, the mobile terminal comprising a touch screen, a displayable area of the touch screen is fixedly provided with a hole, and a functional device is provided in the hole, the method comprising: 接收用户触发的显示切换请求,获取当前显示界面的当前显示区域;Receive the display switching request triggered by the user, and obtain the current display area of the current display interface; 基于预先存储的所述功能器件的坐标信息判断所述功能器件是否位于所述当前显示区域;Determine whether the functional device is located in the current display area based on pre-stored coordinate information of the functional device; 如果所述功能器件位于所述当前显示区域,将所述当前显示界面显示于第一显示区域,其中,所述第一显示区域位于所述可显示区域内,且所述功能器件位于所述第一显示区域之外;If the functional device is located in the current display area, the current display interface is displayed in a first display area, wherein the first display area is located in the displayable area, and the functional device is located in the first display area. outside the display area; 如果所述功能器件没有位于所述当前显示区域,将所述当前显示界面显示于所述可显示区域,以使所述当前显示界面从非全屏显示转换为全屏显示。If the functional device is not located in the current display area, the current display interface is displayed in the displayable area, so that the current display interface is converted from non-full-screen display to full-screen display. 2.根据权利要求1所述的方法,其特征在于,所述将所述当前显示界面显示于所述可显示区域,包括:2. The method according to claim 1, wherein the displaying the current display interface in the displayable area comprises: 获取所述当前显示界面的显示内容;obtaining the display content of the current display interface; 判断当所述显示内容显示在所述可显示区域时,是否有元素的显示位置与所述功能器件的位置重合;judging whether the display position of any element coincides with the position of the functional device when the display content is displayed in the displayable area; 如果有,根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容,其中,所述当前显示内容中没有与所述功能器件的位置重合的元素;If so, rearrange the display content according to the position of the functional device to obtain the current display content, wherein there is no element in the current display content that overlaps with the position of the functional device; 将所述当前显示内容显示在所述可显示区域。displaying the currently displayed content in the displayable area. 3.根据权利要求2所述的方法,其特征在于,所述根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容,包括:3 . The method according to claim 2 , wherein the rearranging the display content according to the position of the functional device to obtain the current display content comprises: 3 . 根据所述功能器件的位置,将所述显示内容以环绕所述功能器件的方式重新排布,获得所述当前显示内容。According to the position of the functional device, the displayed content is rearranged in a manner of surrounding the functional device to obtain the current displayed content. 4.根据权利要求2所述的方法,其特征在于,所述如果有,根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容,包括:4. The method according to claim 2, wherein, if there is, rearranging the display content according to the position of the functional device to obtain the current display content, comprising: 如果有,检测与所述功能器件的位置重合的元素的类型;If so, detect the type of element that coincides with the position of the functional device; 当与所述功能器件的位置重合的元素为字符时,根据所述功能器件的位置对所述显示内容重新排布,获得所述当前显示内容。When the element coincident with the position of the functional device is a character, the display content is rearranged according to the position of the functional device to obtain the current display content. 5.根据权利要求4所述的方法,其特征在于,所述方法,还包括:5. The method according to claim 4, wherein the method further comprises: 当与所述功能器件的位置重合的元素为图片时,所述元素不显示,所述显示内容中除所述元素外的其他元素正常显示。When the element that overlaps with the position of the functional device is a picture, the element is not displayed, and other elements except the element in the display content are displayed normally. 6.根据权利要求1所述的方法,其特征在于,所述将所述当前显示界面显示于第一显示区域,包括:6. The method according to claim 1, wherein the displaying the current display interface in the first display area comprises: 根据所述功能器件的位置,确定所述第一显示区域;determining the first display area according to the position of the functional device; 获取所述可显示区域和所述第一显示区域之间的比例;obtaining the ratio between the displayable area and the first display area; 根据所述比例将所述当前显示界面成比例缩小后显示于所述第一显示区域。The current display interface is scaled down according to the scale and displayed in the first display area. 7.根据权利要求1所述的方法,其特征在于,所述将所述当前显示界面显示于第一显示区域,还包括:7. The method according to claim 1, wherein the displaying the current display interface in the first display area further comprises: 将多个应用图标环绕所述功能器件显示或与所述功能器件同行显示。A plurality of application icons are displayed around the functional device or displayed in parallel with the functional device. 8.根据权利要求1-7任一项所述的方法,其特征在于,所述功能器件包括摄像头、光强度传感器以及听筒中的任意一种或者数种的组合。8. The method according to any one of claims 1-7, wherein the functional device comprises any one or a combination of a camera, a light intensity sensor, and an earpiece. 9.一种显示装置,其特征在于,应用于移动终端,所述移动终端包括触摸屏,所述触摸屏的可显示区域内固定设置有孔,所述孔内设置有功能器件,所述装置包括:9. A display device, characterized in that it is applied to a mobile terminal, the mobile terminal comprises a touch screen, a displayable area of the touch screen is fixedly provided with a hole, and a functional device is provided in the hole, and the device comprises: 请求接收模块,用于接收用户触发的显示切换请求,获取当前显示界面的当前显示区域;The request receiving module is used to receive the display switching request triggered by the user, and obtain the current display area of the current display interface; 判断模块,用于基于预先存储的所述功能器件的坐标信息判断所述功能器件是否位于所述当前显示区域;a judgment module, configured to judge whether the functional device is located in the current display area based on pre-stored coordinate information of the functional device; 第一显示模块,用于如果所述功能器件位于所述当前显示区域,将所述当前显示界面显示于第一显示区域,其中,所述第一显示区域位于所述可显示区域内,且所述功能器件位于所述第一显示区域之外;A first display module, configured to display the current display interface in the first display area if the functional device is located in the current display area, wherein the first display area is located in the displayable area, and all the functional device is located outside the first display area; 第二显示模块,用于如果所述功能器件没有位于所述当前显示区域,将所述当前显示界面显示于所述可显示区域,以使所述当前显示界面从非全屏显示转换为全屏显示。The second display module is configured to display the current display interface in the displayable area if the functional device is not located in the current display area, so as to convert the current display interface from non-full-screen display to full-screen display. 10.根据权利要求9所述的装置,其特征在于,所述第二显示模块,包括:10. The device according to claim 9, wherein the second display module comprises: 显示内容获取子模块,用于获取所述当前显示界面的显示内容;a display content acquisition sub-module for acquiring the display content of the current display interface; 显示判断子模块,用于判断当所述显示内容显示在所述可显示区域时,是否有元素的显示位置与所述功能器件的位置重合;a display judgment sub-module for judging whether the display position of an element coincides with the position of the functional device when the display content is displayed in the displayable area; 当前显示内容获取子模块,用于如果有,根据所述功能器件的位置对所述显示内容重新排布,获得当前显示内容,其中,所述当前显示内容中没有与所述功能器件的位置重合的元素;The current display content acquisition sub-module is used, if any, to rearrange the display content according to the position of the functional device to obtain the current display content, wherein the current display content does not coincide with the position of the functional device Elements; 第二显示子模块,用于将所述当前显示内容显示在所述可显示区域。The second display sub-module is configured to display the current display content in the displayable area. 11.一种移动终端,其特征在于,包括触摸屏、存储器以及处理器,所述触摸屏与所述存储器耦接到所述处理器,所述存储器存储指令,当所述指令由所述处理器执行时所述处理器执行如权利要求1-8任一项所述的方法。11. A mobile terminal, comprising a touch screen, a memory and a processor, wherein the touch screen and the memory are coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor while the processor executes the method according to any one of claims 1-8. 12.一种存储有处理器可执行的程序代码的计算机可读取存储介质,其特征在于,所述程序代码使所述处理器执行如权利要求1-8任一项所述的方法。12. A computer-readable storage medium storing program code executable by a processor, wherein the program code causes the processor to perform the method according to any one of claims 1-8.
CN201810174832.3A 2018-03-02 2018-03-02 Display method, display device, mobile terminal and storage medium Expired - Fee Related CN108512997B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810174832.3A CN108512997B (en) 2018-03-02 2018-03-02 Display method, display device, mobile terminal and storage medium
PCT/CN2019/076563 WO2019165997A1 (en) 2018-03-02 2019-02-28 Display method, device, mobile terminal and storage medium

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN108512997A CN108512997A (en) 2018-09-07
CN108512997B true CN108512997B (en) 2020-01-14

Family

ID=63376138

Family Applications (1)

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

Country Status (2)

Country Link
CN (1) CN108512997B (en)
WO (1) WO2019165997A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108512997B (en) * 2018-03-02 2020-01-14 Oppo广东移动通信有限公司 Display method, display device, mobile terminal and storage medium
CN112887454A (en) * 2019-11-29 2021-06-01 北京小米移动软件有限公司 Electronic equipment, display method and device
CN114095542B (en) * 2020-08-05 2023-11-28 华为技术有限公司 Display control method and electronic equipment
CN112486616A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Interface display method, interface display device, electronic equipment and storage medium
CN115328607B (en) * 2022-10-13 2023-03-10 广州镭晨智能装备科技有限公司 Semiconductor device rendering method, device, equipment and storage medium
CN118250359A (en) * 2022-12-22 2024-06-25 Oppo广东移动通信有限公司 Display method, device, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145192A (en) * 2017-04-27 2017-09-08 广东欧珀移动通信有限公司 electronic device

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073650A (en) * 2009-11-25 2011-05-25 阿里巴巴集团控股有限公司 Adaptive adjustment method and equipment for webpage
US8593418B2 (en) * 2010-08-08 2013-11-26 Qualcomm Incorporated Method and system for adjusting display content
CN103631489B (en) * 2012-08-30 2017-02-08 中兴通讯股份有限公司 Touch screen character display method and device
TWI606386B (en) * 2013-10-31 2017-11-21 富智康(香港)有限公司 Page switching system, touch device and page switching method
KR102266882B1 (en) * 2014-08-07 2021-06-18 삼성전자 주식회사 Method and apparatus for displaying screen on electronic devices
CN104991649B (en) * 2015-07-21 2019-01-11 小米科技有限责任公司 Screen composition method and device
CN106561039A (en) * 2015-10-04 2017-04-12 李辉 Key position design for large-screen cellphone
CN106055207A (en) * 2016-05-30 2016-10-26 珠海市魅族科技有限公司 Virtual button display method and device
CN107835277B (en) * 2016-11-16 2020-01-14 Oppo广东移动通信有限公司 Leading camera mounting structure and mobile terminal of mobile terminal
CN107277196A (en) * 2017-05-22 2017-10-20 广东欧珀移动通信有限公司 Display module and mobile terminal for its application
CN107729298A (en) * 2017-10-31 2018-02-23 努比亚技术有限公司 Screen occlusion area processing method, mobile terminal and computer-readable recording medium
CN107682489B (en) * 2017-11-20 2019-11-19 珠海市魅族科技有限公司 A kind of display panel control method of mobile terminal and mobile terminal
CN108512997B (en) * 2018-03-02 2020-01-14 Oppo广东移动通信有限公司 Display method, display device, mobile terminal and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145192A (en) * 2017-04-27 2017-09-08 广东欧珀移动通信有限公司 electronic device

Also Published As

Publication number Publication date
CN108512997A (en) 2018-09-07
WO2019165997A1 (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN108512997B (en) Display method, display device, mobile terminal and storage medium
CN108710456B (en) Application icon processing method, device and mobile terminal
CN108664190B (en) Page display method, device, mobile terminal and storage medium
CN108243282A (en) Message display method and 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
CN108664475A (en) Translate display methods, device, mobile terminal and storage medium
CN108390992A (en) Message display method and device, mobile terminal and storage medium
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN108737635A (en) message display method, device, mobile terminal and storage medium
CN108717343A (en) Application icon processing method and device and mobile terminal
CN108536504A (en) Page display method and device, mobile terminal and storage medium
CN108762466A (en) Display method, display device, mobile terminal and storage medium
CN108984214A (en) Terminal state control method and device, mobile terminal and storage medium
CN109032465B (en) Data processing method, device and mobile terminal
CN108932102A (en) Data processing method and device and mobile terminal
CN108717325B (en) Operation gesture setting method, device and mobile terminal
CN108769299A (en) Screen control method, device and mobile terminal
CN108664205A (en) Information display method, device, mobile terminal and storage medium
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
CN107918517B (en) Response method, device, mobile terminal and storage medium for screen rotation
CN108536407B (en) Text display method, device and mobile terminal

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

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114

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