Movatterモバイル変換


[0]ホーム

URL:


CN114815971B - Information display methods, devices, electronic equipment and storage media - Google Patents

Information display methods, devices, electronic equipment and storage media
Download PDF

Info

Publication number
CN114815971B
CN114815971BCN202110120161.4ACN202110120161ACN114815971BCN 114815971 BCN114815971 BCN 114815971BCN 202110120161 ACN202110120161 ACN 202110120161ACN 114815971 BCN114815971 BCN 114815971B
Authority
CN
China
Prior art keywords
screen
area
screen area
holding state
electronic device
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.)
Active
Application number
CN202110120161.4A
Other languages
Chinese (zh)
Other versions
CN114815971A (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 LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110120161.4ApriorityCriticalpatent/CN114815971B/en
Publication of CN114815971ApublicationCriticalpatent/CN114815971A/en
Application grantedgrantedCritical
Publication of CN114815971BpublicationCriticalpatent/CN114815971B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种信息展示方法、装置、电子设备及存储介质,该信息展示方法应用于电子设备,该电子设备包括壳体以及可伸缩的屏幕,屏幕包括设置于壳体上且固定展开的第一屏幕区域以及伸缩于壳体内的第二屏幕区域,该信息展示方法包括:在第二屏幕区域处于收缩状态时,控制第一屏幕区域显示内容;在接收到提示消息时,获取电子设备的握持状态;在握持状态满足指定握持条件时,控制第二屏幕区域伸出至少部分区域;在屏幕的第一指定区域显示此前显示的内容,且在屏幕的第二指定区域中显示提示消息,第二指定区域为屏幕当前展开的区域中除第一指定区域以外的区域。本方法可以方便用户使用电子设备时对于提示消息的查看。

This application discloses an information display method, device, electronic equipment and storage medium. The information display method is applied to electronic equipment. The electronic equipment includes a casing and a retractable screen. The screen includes a fixed and unfolded screen arranged on the casing. The information display method includes a first screen area and a second screen area that is telescopic in the housing. When the second screen area is in a contracted state, controlling the display content of the first screen area; and when receiving a prompt message, obtaining the information of the electronic device. Holding state; when the holding state meets the specified holding condition, control the second screen area to extend at least part of the area; display the previously displayed content in the first designated area of the screen, and display a prompt message in the second designated area of the screen , the second designated area is the area other than the first designated area in the currently expanded area of the screen. This method can facilitate users to view prompt messages when using electronic devices.

Description

Translated fromChinese
信息展示方法、装置、电子设备及存储介质Information display methods, devices, electronic equipment and storage media

技术领域Technical field

本申请涉及电子设备技术领域,更具体地,涉及一种信息展示方法、装置、电子设备及存储介质。The present application relates to the technical field of electronic equipment, and more specifically, to an information display method, device, electronic equipment and storage medium.

背景技术Background technique

随着科技水平和生活水平的快速进步,电子设备(例如手机、平板电脑等),已经成为人们日常生活中最常用的消费型电子产品之一。显示屏是移动终端上用于显示用户界面的部分,而随着电子设备技术的发展,用户对屏幕的需求也越来越高。相关技术中,电子设备在显示内容时通常受限于特定的屏幕区域中,显示效果较差,无法满足用户需求。With the rapid advancement of science and technology and living standards, electronic devices (such as mobile phones, tablets, etc.) have become one of the most commonly used consumer electronic products in people's daily lives. The display screen is the part of the mobile terminal used to display the user interface. With the development of electronic device technology, users have higher and higher demands for screens. In related technologies, electronic devices are usually limited to a specific screen area when displaying content, and the display effect is poor and cannot meet user needs.

发明内容Contents of the invention

鉴于上述问题,本申请提出了一种信息展示方法、装置、电子设备及存储介质。In view of the above problems, this application proposes an information display method, device, electronic equipment and storage medium.

第一方面,本申请实施例提供了一种信息展示方法,应用于电子设备,所述电子设备包括壳体以及可伸缩的屏幕,所述屏幕包括设置于所述壳体上且固定展开的第一屏幕区域以及伸缩于所述壳体内的第二屏幕区域,所述方法包括:在所述第二屏幕区域处于收缩状态时,控制所述第一屏幕区域显示内容;在接收到提示消息时,获取所述电子设备的握持状态;在所述握持状态满足指定握持条件时,控制所述第二屏幕区域伸出至少部分区域;在所述屏幕的第一指定区域显示所述内容,且在所述屏幕的第二指定区域中显示所述提示消息,所述第二指定区域为所述屏幕当前展开的区域中除所述第一指定区域以外的区域。In a first aspect, embodiments of the present application provide an information display method, which is applied to an electronic device. The electronic device includes a housing and a retractable screen. The screen includes a first fixedly deployed screen that is disposed on the housing and is fixedly deployed. A screen area and a second screen area that telescopes in the housing. The method includes: when the second screen area is in a contracted state, controlling the first screen area to display content; when receiving a prompt message, Obtain the holding state of the electronic device; when the holding state meets the designated holding condition, control the second screen area to extend at least part of the area; display the content in the first designated area of the screen, And the prompt message is displayed in a second designated area of the screen, and the second designated area is an area in the currently expanded area of the screen other than the first designated area.

第二方面,本申请实施例提供了一种信息展示装置,应用于电子设备,所述电子设备包括壳体以及可伸缩的屏幕,所述屏幕包括设置于所述壳体上且固定展开的第一屏幕区域以及伸缩于所述壳体内的第二屏幕区域,所述装置包括:内容显示模块、握持检测模块、屏幕控制模块以及消息显示模块,其中,所述内容显示模块用于在所述第二屏幕区域处于收缩状态时,控制所述第一屏幕区域显示内容;所述握持检测模块用于在接收到提示消息时,获取所述电子设备的握持状态,获取所述电子设备的握持状态;所述屏幕控制模块用于在所述握持状态满足指定握持条件时,控制所述第二屏幕区域伸出至少部分区域;所述消息显示模块用于在所述屏幕的第一指定区域显示所述内容,且在所述屏幕的第二指定区域中显示所述提示消息,所述第二指定区域为所述屏幕当前展开的区域中除所述第一指定区域以外的区域。In a second aspect, embodiments of the present application provide an information display device, which is applied to electronic equipment. The electronic equipment includes a housing and a retractable screen. The screen includes a first fixedly deployed screen that is disposed on the housing and is fixedly deployed. A screen area and a second screen area telescopic in the housing. The device includes: a content display module, a holding detection module, a screen control module and a message display module, wherein the content display module is used to display the content in the housing. When the second screen area is in a contracted state, control the display content of the first screen area; the holding detection module is used to obtain the holding state of the electronic device when receiving a prompt message, and obtain the holding state of the electronic device. Holding state; the screen control module is used to control the second screen area to extend at least part of the area when the holding state meets the specified holding condition; the message display module is used to control the second screen area to extend at least part of the area; A designated area displays the content, and the prompt message is displayed in a second designated area of the screen. The second designated area is an area in the currently expanded area of the screen other than the first designated area. .

第三方面,本申请实施例提供了一种电子设备,包括:一个或多个处理器;存储器;一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述第一方面提供的信息展示方法。In a third aspect, embodiments of the present application provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and Configured to be executed by the one or more processors, the one or more programs are configured to execute the information presentation method provided by the above-mentioned first aspect.

第四方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述第一方面提供的信息展示方法。In a fourth aspect, embodiments of the present application provide a computer-readable storage medium. Program code is stored in the computer-readable storage medium. The program code can be called by a processor to execute the information provided in the first aspect. Display method.

本申请提供的方案,通过对电子设备设置可伸缩的屏幕,该屏幕包括设置于壳体上且固定展开的第一屏幕区域以及伸缩于壳体内的第二屏幕区域,在第二屏幕区域处于收缩状态时,控制第一屏幕区域显示内容,在接收到提示消息时,获取电子设备的握持状态,在握持状态满足指定握持条件时,控制述第二屏幕区域伸出至少部分区域,在屏幕的第一指定区域显示以上内容,且在屏幕的第二指定区域中显示提示消息,第二指定区域为屏幕当前展开的区域中除第一指定区域以外的区域。从而可以实现在屏幕显示内容的情况下接收到提示消息时,不影响用户对原本显示内容的查看的情况下,可以对提示消息的查看,避免影响用户的观感和操作,提升用户体验。The solution provided by this application is to provide an electronic device with a retractable screen. The screen includes a first screen area that is arranged on the casing and is fixedly expanded, and a second screen area that is telescopic in the casing. When the second screen area is retracted, state, control the first screen area to display content, when receiving a prompt message, obtain the holding state of the electronic device, and when the holding state meets the specified holding condition, control the second screen area to extend at least part of the area, on the screen The above content is displayed in the first designated area of the screen, and the prompt message is displayed in the second designated area of the screen. The second designated area is the area other than the first designated area in the currently expanded area of the screen. Therefore, when a prompt message is received while the content is displayed on the screen, the prompt message can be viewed without affecting the user's view of the originally displayed content, avoiding affecting the user's perception and operation, and improving the user experience.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. 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 based on these drawings without exerting creative efforts.

图1示出了本申请实施例提供的电子设备的一种结构示意图。FIG. 1 shows a schematic structural diagram of an electronic device provided by an embodiment of the present application.

图2示出了本申请实施例提供的电子设备的另一种结构示意图。FIG. 2 shows another schematic structural diagram of an electronic device provided by an embodiment of the present application.

图3示出了根据本申请一个实施例的信息展示方法流程图。Figure 3 shows a flow chart of an information display method according to an embodiment of the present application.

图4示出了本申请一个实施例提供的一种界面示意图。Figure 4 shows a schematic diagram of an interface provided by an embodiment of the present application.

图5示出了根据本申请另一个实施例的信息展示方法流程图。Figure 5 shows a flow chart of an information display method according to another embodiment of the present application.

图6示出了本申请另一个实施例提供的一种界面示意图。Figure 6 shows a schematic diagram of an interface provided by another embodiment of the present application.

图7示出了本申请另一个实施例提供的另一种界面示意图。Figure 7 shows another schematic diagram of an interface provided by another embodiment of the present application.

图8示出了本申请另一个实施例提供的又一种界面示意图。Figure 8 shows yet another schematic diagram of an interface provided by another embodiment of the present application.

图9示出了本申请另一个实施例提供的再一种界面示意图。Figure 9 shows yet another schematic diagram of an interface provided by another embodiment of the present application.

图10示出了本申请另一个实施例提供的又另一种界面示意图。Figure 10 shows yet another schematic diagram of an interface provided by another embodiment of the present application.

图11示出了根据本申请又一个实施例的信息展示方法流程图。Figure 11 shows a flow chart of an information display method according to yet another embodiment of the present application.

图12示出了本申请又一个实施例提供的一种界面示意图。Figure 12 shows a schematic diagram of an interface provided by yet another embodiment of the present application.

图13示出了本申请又一个实施例提供的另一种界面示意图。Figure 13 shows another schematic diagram of an interface provided by yet another embodiment of the present application.

图14示出了根据本申请再一个实施例的信息展示方法流程图。Figure 14 shows a flow chart of an information display method according to yet another embodiment of the present application.

图15示出了根据本申请一个实施例的信息展示装置的一种框图。Figure 15 shows a block diagram of an information display device according to an embodiment of the present application.

图16是本申请实施例的用于执行根据本申请实施例的信息展示方法的电子设备的框图。FIG. 16 is a block diagram of an electronic device used to perform an information display method according to an embodiment of the present application.

图17是本申请实施例的用于保存或者携带实现根据本申请实施例的信息展示方法的程序代码的存储单元。Figure 17 is a storage unit used to save or carry the program code for implementing the information display method according to the embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those in the technical field to better understand the solution of the present application, the technical solution in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application.

用户在使用电子设备的过程中,电子设备通常可能接收到提示消息,例如应用通知、视频请求、来电通知、应用通知等,这些提示消息通常以悬浮框、弹窗提示或提醒栏的形式在屏幕中显示,因此会对屏幕上正在展示的内容产生遮挡,而遮挡用户正在观看的内容。例如,电子设备正在全屏的沉浸式场景下(如观看视频,视频通话或玩游戏),会无可避免地对当前的正常展示的内容产生部分遮盖,影响使用体验。当用户在当前屏幕完全展开读取通知内容时,由于屏幕的物理尺寸限制,内容会近一步地遮挡了更大面积的内容,通常情况下,无法正常浏览原来正在观看的内容。When a user is using an electronic device, the electronic device may usually receive prompt messages, such as application notifications, video requests, incoming call notifications, application notifications, etc. These prompt messages are usually in the form of floating boxes, pop-up prompts or reminder bars on the screen. Therefore, it will block the content being displayed on the screen and block the content the user is watching. For example, when an electronic device is in a full-screen immersive scene (such as watching videos, making video calls, or playing games), it will inevitably partially cover the currently displayed content, affecting the user experience. When the user fully expands the current screen to read the notification content, due to the physical size limitations of the screen, the content will further block a larger area of content. Under normal circumstances, the content originally being viewed cannot be browsed normally.

针对上述问题,发明人提出了本申请实施例提供的信息展示方法、装置、电子设备以及存储介质,可以实现在屏幕显示内容的情况下接收到提示消息时,不影响用户对原本显示内容的查看的情况下,可以对提示消息的查看,避免影响用户的观感和操作,提升用户体验。其中,具体的信息展示方法在后续的实施例中进行详细的说明。In response to the above problems, the inventor proposed the information display method, device, electronic device and storage medium provided by the embodiments of the present application, which can realize that when the screen displays content and receives a prompt message, it does not affect the user's viewing of the original displayed content. In this case, you can view the prompt message to avoid affecting the user's perception and operation and improve the user experience. The specific information display method will be described in detail in subsequent embodiments.

请参阅图1,图1为本申请实施方式提供的一种电子设备100,电子设备可以,但不限于为手机、平板电脑、游戏机、智能穿戴设备、车载设备等电子装置。本实施方式的移动终端100以手机为例进行说明。Please refer to FIG. 1 . FIG. 1 illustrates an electronic device 100 provided by an embodiment of the present application. The electronic device may be, but is not limited to, a mobile phone, a tablet computer, a game console, a smart wearable device, a vehicle-mounted device and other electronic devices. The mobile terminal 100 in this embodiment will be described taking a mobile phone as an example.

如图1所示,电子设备包括壳体101以及可伸缩的屏幕102。屏幕102包括第一屏幕区域103以及第二屏幕区域104,其中,第一屏幕区域103位于在电子设备100的正面,设置于壳体101上且固定展开;第二屏幕区域104伸缩于壳体101内,第二屏幕区域104可相对壳体伸出,或者收纳于壳体内。As shown in FIG. 1 , the electronic device includes a housing 101 and a retractable screen 102 . The screen 102 includes a first screen area 103 and a second screen area 104. The first screen area 103 is located on the front of the electronic device 100, is provided on the casing 101, and is fixedly deployed; the second screen area 104 is telescopic on the casing 101. Inside, the second screen area 104 can extend relative to the casing, or be stored in the casing.

在本申请实施例中,屏幕102可以为柔性屏。壳体102内设置有转轴105以及电机(图未示出),转轴105与电机驱动连接;第二屏幕区域104卷曲绕设在转轴105上,电机驱动转轴104转动,带动第二屏幕区域104伸出或缩回。In this embodiment of the present application, the screen 102 may be a flexible screen. The housing 102 is provided with a rotating shaft 105 and a motor (not shown), and the rotating shaft 105 is drivingly connected to the motor; the second screen area 104 is curled around the rotating shaft 105, and the motor drives the rotating shaft 104 to rotate, driving the second screen area 104 to extend. out or retract.

请同时参阅图1及图2,转轴105位于壳体内的一侧,第二屏幕区域104绕设于转轴105,且第二屏幕区域104与第一屏幕区域103连接,在第二屏幕区域104在转轴带动下伸出时,则屏幕102往方向X延伸,第一屏幕区域103往X方向延伸至一侧,而第二屏幕区域104伸出的区域1041处于第一屏幕区域103此前所在区域的部分区域处。Please refer to Figure 1 and Figure 2 at the same time. The rotating shaft 105 is located on one side of the housing. The second screen area 104 is arranged around the rotating shaft 105, and the second screen area 104 is connected to the first screen area 103. When the second screen area 104 is When the rotating shaft is driven to extend downward, the screen 102 extends in the direction X, the first screen area 103 extends to one side in the area office.

在一些实施方式中,第一屏幕区域103的尺寸与完全展开后的第二屏幕区域104的尺寸可以相同,也可以不同,具体尺寸可以根据产品需求设定。若第一屏幕区域103的尺寸与完全展开后的第二屏幕区域104的尺寸相同,则在第二屏幕区域104展开后,第二屏幕区域104恰好处于此前第一屏幕区域所在位置,而第一屏幕区域103沿延伸方向移动至一侧。In some implementations, the size of the first screen area 103 and the size of the fully expanded second screen area 104 may be the same or different, and the specific size may be set according to product requirements. If the size of the first screen area 103 is the same as the size of the fully expanded second screen area 104, then after the second screen area 104 is expanded, the second screen area 104 is exactly where the first screen area was before, and the first The screen area 103 moves to one side in the extension direction.

第一屏幕区域103和第二屏幕区域104能实现的功能可以相同,也可以不同,具体可以根据实际情况进行设置,第二屏幕区域104可以单独使用,也即第一屏幕区域103在灭屏状态下时,第二屏幕区域104也可以实现在第一屏幕区域103上能够实现的功能。第二屏幕区域104也可以是和第一屏幕区域103联屏使用,联屏使用可以指在画面时,画面分到第一屏幕区域103和第二屏幕区域104显示。其中,联屏显示的对象可以包括电子设备100所显示的任一画面,例如游戏应用程序运行时的游戏画面、视频播放器应用程序运行时的视频播放画面、浏览图片、浏览网页等。The functions that the first screen area 103 and the second screen area 104 can realize may be the same or different. The specific functions can be set according to the actual situation. The second screen area 104 can be used alone, that is, the first screen area 103 is in the screen-off state. In this case, the second screen area 104 can also implement the functions that can be implemented on the first screen area 103 . The second screen area 104 can also be used in conjunction with the first screen area 103. The combined screen use can mean that the screen is divided into the first screen area 103 and the second screen area 104 for display. The objects displayed on the joint screen may include any screen displayed by the electronic device 100, such as a game screen when a game application is running, a video playback screen when a video player application is running, browsing pictures, browsing web pages, etc.

在一些实施方式中,电子设备100还可以包括长度检测模组。长度检测模组用于检测第二屏幕区域104所伸出的长度。可选的,长度检测模组可以为距离传感器等。In some embodiments, the electronic device 100 may further include a length detection module. The length detection module is used to detect the extended length of the second screen area 104 . Optionally, the length detection module can be a distance sensor, etc.

下面对本申请实施例提供的信息展示方法进行详细介绍。The information display method provided by the embodiment of this application is introduced in detail below.

请参阅图3,图3示出了本申请一个实施例提供的信息展示方法的流程示意图。在具体的实施例中,所述信息展示方法应用于如图15所示的信息展示装置400以及配置有所述信息展示装置400的电子设备100(图16)。下面将以上述电子设备为例,说明本实施例的具体流程。下面将针对图3所示的流程进行详细的阐述,所述信息展示方法具体可以包括以下步骤:Please refer to Figure 3. Figure 3 shows a schematic flowchart of an information display method provided by an embodiment of the present application. In a specific embodiment, the information display method is applied to the information display device 400 shown in FIG. 15 and the electronic device 100 configured with the information display device 400 ( FIG. 16 ). The following uses the above-mentioned electronic device as an example to describe the specific process of this embodiment. The process shown in Figure 3 will be described in detail below. The information display method may specifically include the following steps:

步骤S110:在所述第二屏幕区域处于收缩状态时,控制所述第一屏幕区域显示内容。Step S110: When the second screen area is in a contracted state, control the first screen area to display content.

在本申请实施例中,电子设备在被使用时,第二屏幕区域可以处于收缩状态,即第二屏幕区域未伸出壳体时收纳于壳体的状态。在电子设备的第二屏幕区域处于收缩状态时,可以通过第一屏幕区域显示内容,满足用户的使用需求。例如,如图4所示,电子设备展开的屏幕区域仅包括第一屏幕区域103,此时在第一屏幕区域103中显示内容。In the embodiment of the present application, when the electronic device is in use, the second screen area may be in a contracted state, that is, the second screen area may be in a state of being stored in the housing when it does not extend out of the housing. When the second screen area of the electronic device is in a contracted state, content can be displayed through the first screen area to meet the user's usage needs. For example, as shown in FIG. 4 , the expanded screen area of the electronic device only includes the first screen area 103 , and content is displayed in the first screen area 103 at this time.

在一些实施方式中,电子设备在默认状态下,可以保持第二屏幕区域处于收缩状态,收纳于壳体内,由于第一屏幕区域处于固定展开状态,电子设备在被使用时,可以使用第一屏幕区域显示内容。在该方式下,电子设备将第二屏幕区域收纳于壳体内,可以使得电子设备的体积较小,从而方便用户携带。在电子设备需要使用第二屏幕区域显示内容时,可以控制第二屏幕区域伸出,而使得第二屏幕区域处于展开状态,进而使电子设备的屏幕的尺寸较大,满足用户对大屏幕的需求。In some embodiments, in the default state, the electronic device can keep the second screen area in a contracted state and be stored in the housing. Since the first screen area is in a fixed expanded state, the electronic device can use the first screen when being used. Area display content. In this manner, the electronic device stores the second screen area in the casing, which can make the electronic device smaller and convenient for the user to carry. When the electronic device needs to use the second screen area to display content, the second screen area can be controlled to extend so that the second screen area is in an expanded state, thereby making the screen size of the electronic device larger to meet the user's demand for a large screen. .

在一些实施方式中,第一屏幕区域显示的内容可以是任意的画面内容,例如游戏应用运行时的游戏画面、视频播放应用运行时的视频播放画面、浏览图片是的画面、浏览网页时的画面等。In some embodiments, the content displayed in the first screen area can be any screen content, such as a game screen when a game application is running, a video playback screen when a video playback application is running, a screen when browsing pictures, and a screen when browsing web pages. wait.

步骤S120:在接收到提示消息时,获取所述电子设备的握持状态。Step S120: When receiving the prompt message, obtain the holding state of the electronic device.

在本申请实施例中,电子设备在被使用时,可以接收提示消息,并将提示消息进行展示,以便用户了解接收到的提示消息。具体地,电子设备在接收到提示消息时,可以获取电子设备的握持状态,以根据电子设备的握持状态来确定是否使用第二屏幕区域显示提示消息。In this embodiment of the present application, when the electronic device is in use, it can receive the prompt message and display the prompt message so that the user can understand the received prompt message. Specifically, when receiving the prompt message, the electronic device can obtain the holding state of the electronic device to determine whether to use the second screen area to display the prompt message based on the holding state of the electronic device.

在一些实施方式中,握持状态可以指电子设备被用户握持时的状态,握持状态可以包括竖屏握持、横屏握持、左手握持、右手握持等状态,握持状态的具体类型可以不做限定。可选的,电子设备内可以设置有重力传感器,电子设备可以获取重力传感器检测的重力加速度,基于检测的重力加速度确定电子设备为竖屏握持还是横屏握持。可选的,电子设备可以获取屏幕上的触摸数据,依据触摸数据,确定相应的接触区域,然后根据触摸区域确定电子设备为左手握持还是右手握持。可选的,电子设备的壳体的背部也可以均匀分布的设置有多个压力传感器,可以根据壳体的背部的多个压力传感器检测的数据,确定左手握持或者右手握持。In some embodiments, the holding state may refer to the state when the electronic device is held by the user. The holding state may include holding the screen vertically, holding the screen horizontally, holding the left hand, holding the right hand, etc. The holding state is The specific type is not limited. Optionally, a gravity sensor can be provided in the electronic device, and the electronic device can obtain the gravity acceleration detected by the gravity sensor, and determine whether the electronic device is held vertically or horizontally based on the detected gravity acceleration. Optionally, the electronic device can obtain touch data on the screen, determine the corresponding contact area based on the touch data, and then determine whether the electronic device is held by the left hand or the right hand based on the touch area. Optionally, the back of the housing of the electronic device can also be provided with multiple pressure sensors evenly distributed, and the left-hand holding or right-hand holding can be determined based on the data detected by the multiple pressure sensors on the back of the housing.

在一些实施方式中,提示消息可以包括但不限于:短信消息、聊天应用的聊天提示消息、聊天应用的语音请求消息、聊天应用的视频请求消息、来电通知、应用通知等,具体的提示消息可以不做限定。In some implementations, prompt messages may include but are not limited to: SMS messages, chat prompt messages of chat applications, voice request messages of chat applications, video request messages of chat applications, incoming call notifications, application notifications, etc. Specific prompt messages may No restrictions.

步骤S130:在所述握持状态满足指定握持条件时,控制所述第二屏幕区域伸出至少部分区域。Step S130: When the holding state meets the specified holding condition, control the second screen area to extend at least partially.

在本申请实施例中,电子设备在检测出握持状态后,则可以根据检测的握持状态,确定当前的握持状态是否满足指定握持条件;在检测的握持状态满足指定握持条件时,表示电子设备满足将第二屏幕区域进行伸出的条件,因此可以控制第二屏幕区域伸出至少部分区域;在检测的握持状态不满足指定握持条件时,表示电子设备不满足将第二屏幕区域进行伸出的条件,则不将第二屏幕区域进行伸出。In the embodiment of the present application, after the electronic device detects the holding state, it can determine whether the current holding state satisfies the specified holding condition based on the detected holding state; if the detected holding state satisfies the specified holding condition When , it means that the electronic device meets the conditions for extending the second screen area, so it can control the second screen area to extend at least part of the area; when the detected holding state does not meet the specified holding conditions, it means that the electronic device does not meet the conditions for extending the second screen area. If the second screen area is extended, the second screen area will not be extended.

在一些实施方式中,指定握持条件可以包括:电子设备被握持时不阻挡第二屏幕区域时屏幕的延伸。可以理解地,电子设备的第二屏幕区域在伸出时,其屏幕会朝延伸方向进行延伸,而此时延伸方向被阻挡,则可能导致第二屏幕区域在伸出时受到影响,且影响用户的使用体验,因此当电子设备被握持时不阻挡第二屏幕区域时屏幕的延伸时,确定满足指定握持条件,此时,电子设备满足将第二屏幕区域进行伸出的条件,可以控制第二屏幕区域伸出至少部分区域;而当电子设备被握持时,阻挡第二屏幕区域时屏幕的延伸时,确定不满足指定握持条件,此时,电子设备不满足将第二屏幕区域进行伸出的条件,可以不控制第二屏幕区域伸出至少部分区域。In some embodiments, specifying the holding condition may include: the extension of the screen when the electronic device is held does not block the second screen area. It can be understood that when the second screen area of the electronic device is extended, the screen will extend in the extension direction. If the extension direction is blocked at this time, it may cause the second screen area to be affected when it is extended, and affect the user. Therefore, when the electronic device is held without blocking the extension of the second screen area, it is determined that the specified holding conditions are met. At this time, the electronic device meets the conditions for extending the second screen area and can control The second screen area extends out of at least part of the area; and when the electronic device is held and blocks the extension of the second screen area, it is determined that the specified holding condition is not met. At this time, the electronic device does not meet the requirements for extending the second screen area. The condition for extending out may not control the second screen area to extend out at least a part of the area.

在该实施方式中,电子设备可以基于握持状态为横屏握持状态或者竖屏握持状态,并结合左手握持状态或者右手握持状态,确定电子设备的握持状态是否满足以上的指定握持条件。In this embodiment, the electronic device can determine whether the holding state of the electronic device meets the above specifications based on whether the holding state is the horizontal screen holding state or the vertical screen holding state, combined with the left hand holding state or the right hand holding state. Holding conditions.

在一些实施方式中,指定握持条件也可以是用户预先设置的可以控制第二屏幕区域伸出时的握持条件。其中,不同的用户使用电子设备时的习惯不同,例如,用户A在左手握持竖屏状态下的电子设备时,其不喜欢屏幕展开,因此可以将右手握持横屏状态下的电子设备,右手握持横屏状态下的电子设备,以及左手握持横屏状态下的电子设备,设置为以上指定握持条件。当然,具体的指定握持条件可以不做限定。In some embodiments, the specified holding condition may also be a holding condition preset by the user that can control the extension of the second screen area. Different users have different habits when using electronic devices. For example, when user A holds an electronic device in a vertical screen state with his left hand, he does not like the screen to be expanded, so he can hold the electronic device in a horizontal screen state with his right hand. The electronic device held in the horizontal screen state with the right hand and the electronic device held in the horizontal screen state with the left hand are set to the above specified holding conditions. Of course, the specific designated holding conditions do not need to be limited.

在本申请实施例中,在电子设备的握持状态满足指定握持条件的情况下,电子设备控制第二屏幕区域伸出至少部分区域,可以是控制第二屏幕区域伸出部分区域,也可以是控制第二屏幕区域伸出全部区域。具体控制第二屏幕区域伸出的屏幕尺寸可以不做限定。In the embodiment of the present application, when the holding state of the electronic device meets the specified holding condition, the electronic device controls the second screen area to extend out of at least a part of the area, which may be to control the second screen area to extend out of a part of the area, or to It controls the second screen area to extend out of the entire area. There is no limit to the screen size that specifically controls the extension of the second screen area.

在一些实施方式中,电子设备可以根据提示消息的内容量,确定第二屏幕区域需要伸出的屏幕区域的尺寸,可以理解地,提示消息的内容量越多,则第二屏幕区域需要伸出的屏幕区域的尺也越大。In some embodiments, the electronic device can determine the size of the screen area from which the second screen area needs to be extended based on the content of the prompt message. It is understandable that the greater the content of the prompt message, the larger the size of the second screen area that needs to be extended. The size of the screen area is also larger.

步骤S140:在所述屏幕的第一指定区域显示所述内容,且在所述屏幕的第二指定区域中显示所述提示消息,所述第二指定区域为所述屏幕当前展开的区域中除所述第一指定区域以外的区域。Step S140: Display the content in a first designated area of the screen, and display the prompt message in a second designated area of the screen. The second designated area is a region other than the currently expanded area of the screen. Areas outside the first designated area.

在本申请实施例中,电子设备在控制第二屏幕区域伸出至少部分区域之后,则可以在屏幕的第一指定区域显示原本第一屏幕区域中显示的内容,并且在第二指定区域显示接收到的提示消息。可以理解的,在第二屏幕区域伸出至少部分区域后,则屏幕展开的区域增大,因此可以在保持原本显示的内容的显示的同时,在屏幕中显示提示消息,使得原本显示的内容不受到提示消息的遮挡。In the embodiment of the present application, after controlling the second screen area to extend at least part of the area, the electronic device can display the content originally displayed in the first screen area in the first designated area of the screen, and display the received content in the second designated area. The prompt message arrives. It can be understood that after the second screen area extends at least partially, the expanded area of the screen increases. Therefore, while maintaining the display of the originally displayed content, a prompt message can be displayed on the screen, so that the originally displayed content is no longer displayed. Occluded by reminder messages.

本申请实施例提供的信息展示方法,通过对电子设备设置可伸缩的屏幕,该屏幕包括设置于壳体上且固定展开的第一屏幕区域以及伸缩于壳体内的第二屏幕区域,在第二屏幕区域处于收缩状态时,控制第一屏幕区域显示内容,在接收到提示消息时,获取电子设备的握持状态,在握持状态满足指定握持条件时,控制述第二屏幕区域伸出至少部分区域,在屏幕的第一指定区域显示以上内容,且在屏幕的第二指定区域中显示提示消息,第二指定区域为屏幕当前展开的区域中除第一指定区域以外的区域。从而可以实现在屏幕显示内容的情况下接收到提示消息时,不影响用户对原本显示内容的查看的情况下,可以对提示消息的查看,避免影响用户的观感和操作,提升用户体验。The information display method provided by the embodiment of the present application is to set a retractable screen on the electronic device. The screen includes a first screen area that is arranged on the casing and is fixedly expanded, and a second screen area that is telescopic in the casing. When the screen area is in a contracted state, the first screen area is controlled to display content, when a prompt message is received, the holding state of the electronic device is obtained, and when the holding state meets the specified holding condition, the second screen area is controlled to extend at least partially. area, display the above content in the first designated area of the screen, and display the prompt message in the second designated area of the screen, and the second designated area is the area in the currently expanded area of the screen other than the first designated area. Therefore, when a prompt message is received while the content is displayed on the screen, the prompt message can be viewed without affecting the user's view of the originally displayed content, avoiding affecting the user's perception and operation, and improving the user experience.

请参阅图5,图5示出了本申请另一个实施例提供的信息展示方法的流程示意图。该信息展示方法应用于上述电子设备,下面将针对图5所示的流程进行详细的阐述,所述信息展示方法具体可以包括以下步骤:Please refer to FIG. 5 , which shows a schematic flowchart of an information display method provided by another embodiment of the present application. This information display method is applied to the above-mentioned electronic equipment. The process shown in Figure 5 will be described in detail below. The information display method may specifically include the following steps:

步骤S210:在所述第二屏幕区域处于收缩状态时,控制所述第一屏幕区域显示内容。Step S210: When the second screen area is in a contracted state, control the first screen area to display content.

步骤S220:在接收到提示消息时,获取所述电子设备的握持状态。Step S220: When receiving the prompt message, obtain the holding state of the electronic device.

在本申请实施例中,步骤S210以及步骤S220可以参阅其他实施例的内容,在此不再赘述。In the embodiment of the present application, the content of steps S210 and S220 can be referred to other embodiments, and will not be described again here.

步骤S230:在所述电子设备的目标侧未被握持时,控制所述第二屏幕区域伸出至少部分区域,所述目标侧为所述第二屏幕区域在伸出时所述屏幕的延伸方向所在一侧。Step S230: When the target side of the electronic device is not held, control the second screen area to extend at least partially, and the target side is the extension of the screen when the second screen area is extended. The direction is on the side.

在本申请实施例中,电子设备可以在被握持时不阻挡第二屏幕区域时屏幕的延伸的情况下,控制第二屏幕区域伸出至少部分区域。具体地,电子设备可以在电子设备的目标侧未被握持时,控制第二屏幕区域伸出至少部分区域,该目标侧即第二屏幕区域在伸出时屏幕的延伸方向所在一侧,以图1所示的电子设备为例,屏幕往X方向延伸,则目标侧未X方向所在一侧,即右侧。由此,在确定握持状态满足电子设备的目标侧未被握持的情况下,控制第二屏幕区域伸出至少部分区域,可以避免对屏幕展开的阻挡,也能减少对用户使用时的影响,提升用户体验。In the embodiment of the present application, the electronic device can control the second screen area to extend at least part of the area without blocking the extension of the screen when the second screen area is held. Specifically, the electronic device can control the second screen area to extend at least part of the area when the target side of the electronic device is not held, and the target side is the side where the extension direction of the screen is when the second screen area is extended, so as to Take the electronic device shown in Figure 1 as an example. If the screen extends in the X direction, the target side is not on the side in the X direction, that is, the right side. Therefore, when it is determined that the holding state satisfies the condition that the target side of the electronic device is not held, controlling the second screen area to extend at least partially can avoid blocking the screen expansion and reduce the impact on the user when using it. , improve user experience.

在一些实施方式中,电子设备在根据握持状态确定电子设备的目标侧是否被握持时,可以根据电子设备的屏幕实际延伸方向来确定。In some embodiments, when the electronic device determines whether the target side of the electronic device is held according to the holding state, it may be determined according to the actual extension direction of the screen of the electronic device.

作为一种实施方式,电子设备的第二屏幕区域在伸出时,屏幕的延伸方向可以为竖屏握持状态下往左侧或右侧中的指定一侧延伸,例如,请同时参阅图6及图7,电子设备为竖屏状态,且第二屏幕区域展开时,屏幕往X方向延伸,即往右侧延伸。在该实施方式中,在握持状态为横屏握持状态时,电子设备的屏幕则是往上侧或者下侧延伸,此时用户握持电子设备的两侧,不会使得屏幕的延伸受到影响,因此可以控制第二屏幕区域伸出至少部分区域;在握持状态为竖屏握持状态,由于电子设备的屏幕往左侧或者右侧中的一侧进行延伸,因此需要确定目标侧(即延伸方向所在一侧)是否被握持,且在目标侧未被握持时,才控制第二屏幕区域伸出至少部分区域。As an implementation manner, when the second screen area of the electronic device is extended, the extending direction of the screen may be to extend to a designated side of the left or right side in the vertical screen holding state. For example, please also refer to Figure 6 As shown in Figure 7, the electronic device is in a vertical screen state, and when the second screen area is expanded, the screen extends in the X direction, that is, extends to the right. In this embodiment, when the holding state is the horizontal screen holding state, the screen of the electronic device extends upward or downward. At this time, the user holds both sides of the electronic device, and the extension of the screen will not be affected. , so the second screen area can be controlled to extend at least part of the area; in the holding state, which is the vertical screen holding state, since the screen of the electronic device extends to one of the left or right sides, it is necessary to determine the target side (i.e., the extension direction) is held, and only when the target side is not held, the second screen area is controlled to extend at least partially.

可选的,在握持状态为竖屏握持状态时,可以根据握持状态是左手握持,还是右手握持,确定目标侧是否被遮挡。其中,当电子设备的第二屏幕区域在伸出时,屏幕的延伸方向可以为竖屏握持状态下往左侧延伸,则握持状态为竖屏握持状态的情况下,若为左手握持,则目标侧被遮挡;若为右手握持,则目标侧未被遮挡。同理,当电子设备的第二屏幕区域在伸出时,屏幕的延伸方向可以为竖屏握持状态下往右侧延伸,则握持状态为竖屏握持状态的情况下,若为左手握持,则目标侧未被遮挡;若为右手握持,则目标侧被遮挡。Optionally, when the holding state is the vertical screen holding state, it can be determined whether the target side is blocked based on whether the holding state is left-hand holding or right-hand holding. When the second screen area of the electronic device is stretched out, the extension direction of the screen can be to extend to the left in the vertical screen holding state. If it is held by the right hand, the target side is blocked; if it is held by the right hand, the target side is not blocked. In the same way, when the second screen area of the electronic device is extended, the extension direction of the screen can be to extend to the right in the vertical screen holding state. If the holding state is the vertical screen holding state, if the left hand If it is held by the right hand, the target side is not blocked; if it is held by the right hand, the target side is blocked.

作为另一种实施方式,电子设备在竖屏状态下,屏幕可以往左侧以及右侧延伸。具体地,第二屏幕区域可以包括第一子屏幕区域以及第二子屏幕区域,第一子屏幕区域在伸出时屏幕的延伸方向为竖屏握持状态下往左侧延伸,第二子屏幕区域在伸出时,屏幕的延伸方向为竖屏状态下往右侧延伸。可选的,可以在壳体内的两侧均设置有转轴,并在两侧分别将第一子屏幕区域以及第二子屏幕区域绕设在转轴,从而当左侧的第二子屏幕区域伸出时,则屏幕往右侧延伸;当右侧的第一子屏幕区域伸出时,则屏幕往左侧延伸。在该实施方式中,在握持状态为横屏握持状态时,电子设备的屏幕则是往上侧或者下侧延伸,此时用户握持电子设备的两侧,不会使得屏幕的延伸受到影响,因此可以控制第二屏幕区域伸出至少部分区域;在握持状态为竖屏握持状态,由于屏幕可以向左侧延伸,也可以向右侧延伸,因此在电子设备的左侧或者右侧中的其中一侧未被握持时,即可控制第二屏幕区域伸出至少部分区域。As another implementation manner, when the electronic device is in portrait mode, the screen can be extended to the left and right sides. Specifically, the second screen area may include a first sub-screen area and a second sub-screen area. When extended, the extension direction of the screen extends to the left in the vertical screen holding state. The second sub-screen area When the area is extended, the extension direction of the screen is to the right in the portrait mode. Optionally, rotating shafts can be provided on both sides of the housing, and the first sub-screen area and the second sub-screen area are respectively arranged around the rotating shafts on both sides, so that when the second sub-screen area on the left extends When, the screen extends to the right; when the first sub-screen area on the right extends, the screen extends to the left. In this embodiment, when the holding state is the horizontal screen holding state, the screen of the electronic device extends upward or downward. At this time, the user holds both sides of the electronic device, and the extension of the screen will not be affected. , so the second screen area can be controlled to extend at least part of the area; in the holding state, it is a vertical screen holding state. Since the screen can extend to the left or right, it can be used on the left or right side of the electronic device. When one side of the screen is not held, the second screen area can be controlled to extend out of at least part of the area.

可选的,在握持状态为竖屏握持状态,且电子设备的左侧未被握持时,表示屏幕往左侧延伸不会被阻挡,因此可以控制第一子屏幕区域伸出至少部分区域;在所述握持状态为竖屏握持状态,且电子设备的右侧未被握持时,表示屏幕往右侧延伸不会被阻挡,因此可以控制第二子屏幕区域伸出至少部分区域。Optionally, when the holding state is the vertical screen holding state and the left side of the electronic device is not held, it means that the screen will not be blocked when extending to the left, so the first sub-screen area can be controlled to extend at least part of the area ; When the holding state is a vertical screen holding state and the right side of the electronic device is not held, it means that the screen will not be blocked when extending to the right, so the second sub-screen area can be controlled to extend at least partially. .

当然,具体的指定握持条件可以不做限定,可以根据电子设备的屏幕的具体形态确定。Of course, the specific designated holding conditions do not need to be limited and can be determined according to the specific shape of the screen of the electronic device.

在一些实施方式中,电子设备在以上控制第二屏幕区域伸出至少部分区域时,考虑到实际工作的屏幕区域的尺寸越大,则功耗也越高,因此可以根据电子设备的剩余电量,确定第二屏幕区域伸出的屏幕区域的尺寸。其中,第二屏幕区域伸出的屏幕区域的尺寸与剩余电量成正相关。In some embodiments, when the electronic device controls the second screen area to extend at least part of the area above, considering that the larger the size of the actual working screen area, the higher the power consumption, so the electronic device can be based on the remaining power of the electronic device. Determines the size of the screen area beyond which the second screen area extends. Wherein, the size of the screen area extended by the second screen area is positively related to the remaining power.

步骤S240:在所述屏幕的第一指定区域显示所述内容,且在所述屏幕的第二指定区域中显示所述提示消息,所述第二指定区域为所述屏幕当前展开的区域中除所述第一指定区域以外的区域。Step S240: Display the content in a first designated area of the screen, and display the prompt message in a second designated area of the screen. The second designated area is a region other than the currently expanded area of the screen. Areas outside the first designated area.

在本申请实施例中,电子设备在控制第二屏幕区域伸出至少部分区域之后,则可以在屏幕的第一指定区域显示原本第一屏幕区域中显示的内容,并且在第二指定区域显示接收到的提示消息。可以理解的,在第二屏幕区域伸出至少部分区域后,则屏幕展开的区域增大,因此可以在保持原本显示的内容的显示的同时,在屏幕中显示提示消息,使得原本显示的内容不受到提示消息的遮挡。In the embodiment of the present application, after controlling the second screen area to extend at least part of the area, the electronic device can display the content originally displayed in the first screen area in the first designated area of the screen, and display the received content in the second designated area. The prompt message arrives. It can be understood that after the second screen area extends at least partially, the expanded area of the screen increases. Therefore, while maintaining the display of the originally displayed content, a prompt message can be displayed on the screen, so that the originally displayed content is no longer displayed. Occluded by reminder messages.

在一些实施方式中,电子设备在控制第二屏幕区域伸出至少部分区域后,可以保持原本的显示内容在屏幕中所占的尺寸不变,而提示消息在屏幕中所占的尺寸与延伸出的屏幕区域的尺寸对应,具体地,第一指定区域的尺寸与第一屏幕区域的尺寸对应,第二指定区域的尺寸与至少部分区域的尺寸对应。由此,可以保证原本的显示内容的显示尺寸不发生变化,提升用户的使用体验。In some embodiments, after controlling the second screen area to extend at least part of the area, the electronic device can keep the size of the original display content on the screen unchanged, and the size of the prompt message on the screen is different from the size of the extended screen area. The size of the screen area corresponds to that of the screen area. Specifically, the size of the first designated area corresponds to the size of the first screen area, and the size of the second designated area corresponds to the size of at least part of the area. This ensures that the display size of the original display content does not change, thereby improving the user experience.

可选的,电子设备在控制第二屏幕区域伸出至少部分区域后,可以在展开的屏幕区域中,确定第二屏幕区域处于收缩状态时,第一屏幕区域于壳体上的所在位置对应的屏幕区域,并将确定出的屏幕区域作为第一指定区域;在展开的屏幕区域中,确定屏幕相对第二屏幕区域处于收缩状态时,第一屏幕区域于壳体上的所在位置延伸的屏幕区域。可以理解地,在电子设备的第二屏幕区域伸出后,可以在屏幕中原本的位置处显示此前显示的内容,而将提示消息显示于延伸出的区域中,由此可以保证原本的显示内容不受影响的情况下,对提示消息进行显示。Optionally, after controlling the second screen area to extend at least part of the area, the electronic device can determine in the expanded screen area that when the second screen area is in the contracted state, the position of the first screen area on the housing corresponds to screen area, and use the determined screen area as the first designated area; in the expanded screen area, determine the screen area that extends from the position of the first screen area on the housing when the screen is in a contracted state relative to the second screen area. . It can be understood that after the second screen area of the electronic device is extended, the previously displayed content can be displayed at the original position on the screen, and the prompt message is displayed in the extended area, thereby ensuring the original displayed content. If it is not affected, the prompt message will be displayed.

示例性的,请同时参阅图8及图9,电子设备在竖屏握持状态下,屏幕往X方向(右侧)延伸,若为左手握持状态,则可以控制第二屏幕区域伸出。在第二屏幕区域伸出后,可以在第一指定区域1021(即此前第一屏幕区域103所在位置对应的屏幕区域)显示此前显示的内容,在第二指定区域1022(即延伸出的区域)显示提示消息。For example, please refer to FIG. 8 and FIG. 9 at the same time. When the electronic device is held in the vertical screen state, the screen extends in the X direction (right side). If the electronic device is held in the left-hand state, the second screen area can be controlled to extend. After the second screen area is extended, the previously displayed content can be displayed in the first designated area 1021 (that is, the screen area corresponding to the location of the first screen area 103), and in the second designated area 1022 (that is, the extended area) A prompt message is displayed.

示例性的,请同时参阅图4及图10,电子设备在横屏握持状态下,屏幕往Y方向(即上侧)延伸,此时可以控制第二屏幕区域伸出。在第二屏幕区域伸出后,可以在第一指定区域1021(即此前第一屏幕区域103所在位置对应的屏幕区域)显示此前显示的内容,在第二指定区域1022(即延伸出的区域)显示提示消息。For example, please refer to Figure 4 and Figure 10 at the same time. When the electronic device is held horizontally, the screen extends in the Y direction (ie, the upper side). At this time, the second screen area can be controlled to extend. After the second screen area is extended, the previously displayed content can be displayed in the first designated area 1021 (that is, the screen area corresponding to the location of the first screen area 103), and in the second designated area 1022 (that is, the extended area) A prompt message is displayed.

本申请实施例提供的信息展示方法,通过对电子设备设置可伸缩的屏幕,该屏幕包括设置于壳体上且固定展开的第一屏幕区域以及伸缩于壳体内的第二屏幕区域,在第一屏幕区域处于显示状态的情况下接收到提示消息时,获取电子设备的握持状态,在基于握持状态,确定第二屏幕区域在伸出时所述屏幕的延伸方向所在一侧未被握持时,控制述第二屏幕区域伸出至少部分区域,在屏幕的第一指定区域显示此前显示的内容,在第二指定区域显示提示消息。从而可以实现在屏幕显示内容的情况下接收到提示消息时,不影响用户对原本显示内容的查看的情况下,可以对提示消息的查看,避免影响用户的观感和操作,提升用户体验。另外,可以保证屏幕延伸时不会收到阻挡,也不会对用户握持电子设备造成影响,提升用户体验。The information display method provided by the embodiment of the present application is to set a retractable screen on the electronic device. The screen includes a first screen area that is arranged on the casing and is fixedly expanded, and a second screen area that is retractable in the casing. In the first When the prompt message is received when the screen area is in the display state, the holding state of the electronic device is obtained, and based on the holding state, it is determined that the side of the extension direction of the screen when the second screen area is extended is not held. When the second screen area is controlled to extend at least part of the area, the previously displayed content is displayed in the first designated area of the screen, and the prompt message is displayed in the second designated area. Therefore, when a prompt message is received while the content is displayed on the screen, the prompt message can be viewed without affecting the user's view of the originally displayed content, avoiding affecting the user's perception and operation, and improving the user experience. In addition, it can be ensured that the screen will not be blocked when extended, nor will it affect the user's holding of the electronic device, improving the user experience.

请参阅图11,图11示出了本申请又一个实施例提供的信息展示方法的流程示意图。该信息展示方法应用于上述电子设备,下面将针对图11所示的流程进行详细的阐述,所述信息展示方法具体可以包括以下步骤:Please refer to Figure 11, which shows a schematic flowchart of an information display method provided by yet another embodiment of the present application. This information display method is applied to the above-mentioned electronic equipment. The process shown in Figure 11 will be described in detail below. The information display method may specifically include the following steps:

步骤S310:在所述第二屏幕区域处于收缩状态时,控制所述第一屏幕区域显示内容。Step S310: When the second screen area is in a contracted state, control the first screen area to display content.

步骤S320:在接收到提示消息时,获取所述电子设备的握持状态。Step S320: When receiving the prompt message, obtain the holding state of the electronic device.

在本申请实施例中,步骤S310以及步骤S320可以参阅其他实施例的内容,在此不再赘述。In the embodiment of the present application, the content of steps S310 and S320 can be referred to other embodiments, and will not be described again here.

步骤S330:在所述握持状态满足指定握持条件时,控制所述第二屏幕区域伸出部分区域。Step S330: When the holding state meets the specified holding condition, control the second screen area to extend out of a partial area.

在本申请实施例中,电子设备在接收到提示消息,获取到电子设备的握持状态的情况下,若确定出该握持状态满足指定握持条件时,可以控制第二屏幕伸出部分区域。可以理解地,用户在原本使用电子设备的情况下,电子设备接收到提示消息时,用户可能并不会立马对提示消息进行查看,但用户有知道存在提示消息的需求,因此可以使得第二屏幕区域伸出部分区域,以对提示消息的部分内容进行显示。In the embodiment of the present application, when the electronic device receives the prompt message and obtains the holding state of the electronic device, and if it is determined that the holding state meets the specified holding conditions, it can control the extended part of the second screen area. . Understandably, when the user is originally using an electronic device and the electronic device receives a prompt message, the user may not immediately view the prompt message, but the user has a need to know that there is a prompt message, so the second screen can be The area stretches out part of the area to display part of the prompt message.

步骤S340:在所述屏幕的第一指定区域显示所述内容,且在所述第二指定区域中显示所述提示消息的部分内容。Step S340: Display the content in the first designated area of the screen, and display part of the content of the prompt message in the second designated area.

在本申请实施例中,电子设备在控制第二屏幕区域伸出部分区域后,由于第二屏幕区域并未伸出全部区域,因此可以在保持原本显示的内容的显示的基础上,仅显示提示消息的部分内容,以便用户知晓当前存在该提示消息。In the embodiment of the present application, after the electronic device controls the second screen area to extend out of part of the area, since the second screen area does not extend out of the entire area, it can only display the prompt while maintaining the display of the originally displayed content. Part of the message so that the user knows that the prompt message currently exists.

在一些实施方式中,电子设备在控制第二屏幕区域伸出至少部分区域后,可以在展开的屏幕区域中,确定第二屏幕区域处于收缩状态时,第一屏幕区域于壳体上的所在位置对应的屏幕区域,并将确定出的屏幕区域作为第一指定区域;在展开的屏幕区域中,确定屏幕相对第二屏幕区域处于收缩状态时,第一屏幕区域于壳体上的所在位置延伸的屏幕区域。可以理解地,在电子设备的第二屏幕区域伸出后,可以在屏幕中原本的位置处显示此前显示的内容,而将提示消息显示于延伸出的区域中,由此可以保证原本的显示内容不受影响的情况下,对提示消息进行显示。In some embodiments, after controlling the second screen area to extend at least part of the area, the electronic device can determine the position of the first screen area on the housing when the second screen area is in the contracted state in the expanded screen area. The corresponding screen area, and the determined screen area is used as the first designated area; in the expanded screen area, it is determined that when the screen is in a contracted state relative to the second screen area, the position of the first screen area on the housing extends screen area. It can be understood that after the second screen area of the electronic device is extended, the previously displayed content can be displayed at the original position on the screen, and the prompt message is displayed in the extended area, thereby ensuring the original displayed content. If not affected, the prompt message will be displayed.

在一些实施方式中,电子设备在第二指定区域显示的提示消息的部分内容可以为提示消息的标题、摘要信息、提示消息的类别等,以提示用户存在该提示消息,该部分内容的具体内容可以不做限定。In some embodiments, part of the content of the prompt message displayed by the electronic device in the second designated area may be the title of the prompt message, summary information, category of the prompt message, etc., to prompt the user that the prompt message exists, and the specific content of this part of the content No restrictions are required.

示例性的,请参阅图12,电子设备可以控制第二屏幕区域伸出部分区域,在接收到的提示消息为短信消息时,可以在第二指定区域1022中显示“短信提示”,以提示用户存在短信消息。For example, please refer to Figure 12. The electronic device can control the second screen area to extend out of part of the area. When the received prompt message is a short message message, the "SMS prompt" can be displayed in the second designated area 1022 to prompt the user. SMS messages exist.

步骤S350:响应于所述第一指定区域中的第一预设操作,控制所述第二屏幕区域伸出全部区域。Step S350: In response to the first preset operation in the first designated area, control the second screen area to extend out of the entire area.

在本申请实施例中,电子设备在控制第二屏幕区域伸出部分区域,并在第二指定区域显示提示消息的部分内容之后,可能用户会需求查看提示消息的全部内容。该情况下,电子设备可以检测于第一指定区域中的操作。检测的操作可以包括作用于第一指定区域中的按压操作、点击操作、滑动操作等。当检测到第一指定区域中的操作时,可以确定该操作是否为第一预设操作。In the embodiment of the present application, after the electronic device controls the second screen area to extend part of the area and displays part of the prompt message in the second designated area, the user may need to view the entire content of the prompt message. In this case, the electronic device can detect the operation in the first designated area. The detected operations may include pressing operations, clicking operations, sliding operations, etc., acting in the first designated area. When an operation in the first designated area is detected, it may be determined whether the operation is the first preset operation.

在一些实施方式中,第一指定区域中可以显示用于控制第二屏幕区域完全伸出的控制控件。第一预设操作可以为第一指定区域中对该控制控件的点击操作。也就是说,移动终端在检测到用户对该控制控件的点击操作时,可以控制第二屏幕区域全部伸出。In some implementations, a control control for controlling the full extension of the second screen area may be displayed in the first designated area. The first preset operation may be a click operation on the control control in the first designated area. That is to say, when the mobile terminal detects the user's click operation on the control control, it can control the entire second screen area to extend.

在另一些实施方式中,第一预设操作也可以为第一指定区域中的指定滑动操作。该指定滑动操作可以为预先设置的满足相应的滑动条件的滑动操作,例如,可以为滑动轨迹满足预设滑动轨迹,和/或,滑动距离达到预设阈值的滑动操作。当然,具体的指定滑动操作可以不做限定。In other embodiments, the first preset operation may also be a designated sliding operation in the first designated area. The specified sliding operation may be a preset sliding operation that satisfies the corresponding sliding condition. For example, the sliding trajectory may satisfy the preset sliding trajectory, and/or the sliding distance reaches a preset threshold. Of course, the specific designated sliding operation does not need to be limited.

可选的,第一预设操作可以为滑动方向与屏幕的延伸方向相同的滑动操作。该情况下,电子设备在控制第二屏幕区域伸出全部区域时,可以响应于第一指定区域中的滑动操作,控制第二屏幕区域跟随滑动操作伸出全部区域,具体地,可以是根据滑动操作的滑动距离而伸出,请参阅图13,用户在第一指定区域1021中输入向上的滑动操作,则随着滑动操作的滑动,第二屏幕区域逐渐伸出,直至第二屏幕区域全部伸出,请再次参阅图10,第二屏幕区域全部伸出后,则第二指定区域的尺寸也相应增大,以便显示提示消息的全部内容。Optionally, the first preset operation may be a sliding operation in which the sliding direction is the same as the extending direction of the screen. In this case, when controlling the second screen area to extend out of the entire area, the electronic device may respond to the sliding operation in the first designated area and control the second screen area to extend out of the entire area following the sliding operation. Specifically, it may be based on the sliding operation. Refer to Figure 13. The user inputs an upward sliding operation in the first designated area 1021. As the sliding operation slides, the second screen area gradually extends until the second screen area is fully extended. Please refer to Figure 10 again. After the second screen area is fully extended, the size of the second designated area will also increase accordingly to display the entire content of the prompt message.

在又一些实施方式中,第一预设操作也可以为第一指定区域中的指定按压操作。该指定按压操作可以为预先设置的满足按压条件的按压操作,按压条件可以包括以下条件中的至少一种:按压压力大于指定压力;按压时长大于指定面积;按压时长大于指定时长。当然,具体的指定按压操作可以不做限定。In some embodiments, the first preset operation may also be a designated pressing operation in the first designated area. The specified pressing operation may be a preset pressing operation that satisfies the pressing conditions. The pressing conditions may include at least one of the following conditions: the pressing pressure is greater than the specified pressure; the pressing duration is greater than the specified area; and the pressing duration is greater than the specified duration. Of course, the specific designated pressing operation does not need to be limited.

步骤S360:在所述第二指定区域中显示所述提示消息的全部内容。Step S360: Display the entire content of the prompt message in the second designated area.

在本申请实施例中,电子设备在控制第二屏幕区域伸出全部区域后,则可以在第二指定区域中显示提示消息的全部内容。In this embodiment of the present application, after controlling the second screen area to extend out of the entire area, the electronic device can display the entire content of the prompt message in the second designated area.

示例性的,请同时参阅图4及参阅图13,在第一指定区域1021为第二屏幕区域处于收缩状态时,第一屏幕区域于所述壳体上的所在位置对应的屏幕区域,第二指定区域1022为屏幕相对第二屏幕区域处于收缩状态时,第一屏幕区域于壳体上的所在位置延伸的屏幕区域的情况下,则可以在第二指定区域1022显示提示消息(图13中为短信消息)的全部内容。For example, please refer to FIG. 4 and FIG. 13 at the same time. When the first designated area 1021 is the screen area corresponding to the position of the second screen area in the contracted state, the second screen area is located on the housing. When the designated area 1022 is a screen area that extends from the position of the first screen area on the housing when the screen is in a contracted state relative to the second screen area, a prompt message can be displayed in the second designated area 1022 (in Figure 13 SMS message).

在一些实施方式中,电子设备在控制第二屏幕区域伸出后,用户可能查看完提示消息后并不需要第二屏幕区域继续保持伸出,因此还可以检测用户于屏幕中的操作,在检测到用于控制第二屏幕区域收回的指定操作时,还可以控制第二屏幕区域收缩,以收纳于壳体内。In some implementations, after the electronic device controls the second screen area to extend, the user may not need the second screen area to continue to extend after viewing the prompt message. Therefore, the user's operation on the screen may also be detected. When the specified operation for controlling the retraction of the second screen area is performed, the second screen area can also be controlled to be retracted to be stored in the housing.

本申请实施例提供的信息展示方法,在第一屏幕区域处于显示状态的情况下接收到提示消息时,获取电子设备的握持状态,在握持状态满足指定握持条件时,控制述第二屏幕区域伸出部分区域,然后在第一指定区域显示此前显示的内容,在第二指定区域显示提示消息的部分内容,在接收到用户的第一预设操作的情况下,控制第二屏幕区域伸出全部区域之后,在第二指定区域显示提示消息的全部内容。从而可以实现在屏幕显示内容的情况下接收到提示消息时,不影响用户对原本显示内容的查看的情况下,可以对提示消息的查看,避免影响用户的观感和操作,提升用户体验。In the information display method provided by the embodiment of the present application, when receiving a prompt message when the first screen area is in the display state, the holding state of the electronic device is obtained, and when the holding state meets the specified holding condition, the second screen is controlled. The area extends part of the area, then displays the previously displayed content in the first designated area, displays part of the prompt message in the second designated area, and controls the second screen area to extend after receiving the user's first preset operation. After all areas are displayed, the entire content of the prompt message is displayed in the second designated area. Therefore, when a prompt message is received while the content is displayed on the screen, the prompt message can be viewed without affecting the user's view of the originally displayed content, avoiding affecting the user's perception and operation, and improving the user experience.

请参阅图14,图14示出了本申请又一个实施例提供的信息展示方法的流程示意图。该信息展示方法应用于上述电子设备,下面将针对图14所示的流程进行详细的阐述,所述信息展示方法具体可以包括以下步骤:Please refer to Figure 14, which shows a schematic flowchart of an information display method provided by yet another embodiment of the present application. This information display method is applied to the above-mentioned electronic equipment. The process shown in Figure 14 will be described in detail below. The information display method may specifically include the following steps:

步骤S410:在所述第二屏幕区域处于收缩状态时,控制所述第一屏幕区域显示内容。Step S410: When the second screen area is in a contracted state, control the first screen area to display content.

在本申请实施例中,步骤S410可以参阅前述实施例的内容,在此不再赘述。In the embodiment of the present application, reference may be made to the content of the previous embodiment for step S410, which will not be described again here.

步骤S420:在接收到提示消息时,于所述第一屏幕区域中的目标区域输出指定提示信息,所述指定提示信息用于提示接收到所述提示消息。Step S420: When receiving the prompt message, output designated prompt information in the target area in the first screen area, and the designated prompt information is used to prompt receipt of the prompt message.

在本申请实施例中,电子设备在第二屏幕区域处于收缩状态,使用第一屏幕区域显示内容的情况下,接收到提示消息时,可以于第一屏幕区域中的目标区域输出指定提示信息,指定提示信息用于提示接收到提示消息。In this embodiment of the present application, when the electronic device is in a contracted state in the second screen area and uses the first screen area to display content, when receiving a prompt message, it can output the designated prompt information in the target area in the first screen area, Specifies the prompt message used to prompt receipt of the prompt message.

在一些实施方式中,为避免对原本显示的内容的影响,指定提示消息可以为局部的视觉提示。例如,可以在第一屏幕区域的边缘显示闪烁的内容、光芒流动的内容等。In some implementations, in order to avoid affecting the originally displayed content, the designated prompt message may be a local visual prompt. For example, flashing content, flowing light content, etc. may be displayed at the edge of the first screen area.

步骤S430:响应根据所述提示消息于所述第一屏幕区域中的第二预设操作,获取所述电子设备的握持状态。Step S430: Acquire the holding state of the electronic device in response to the second preset operation in the first screen area according to the prompt message.

在本申请实施例中,在电子设备输出指定提示消息后,可能用户会需求查看提示消息,因此,可以检测于第一屏幕区域中的操作。检测的操作可以包括作用于第一屏幕区域中的按压操作、点击操作、滑动操作等。当检测到第一屏幕区域中的操作时,可以确定该操作是否为第二预设操作。电子设备在检测到第一屏幕区域中的第二预设操作的情况下,可以响应该第二预设操作,执行获取电子设备的握持状态以及后续的步骤。In the embodiment of the present application, after the electronic device outputs the specified prompt message, the user may need to view the prompt message. Therefore, the operation in the first screen area can be detected. The detected operations may include press operations, click operations, sliding operations, etc., acting on the first screen area. When an operation in the first screen area is detected, it may be determined whether the operation is a second preset operation. When the electronic device detects the second preset operation in the first screen area, the electronic device may respond to the second preset operation and perform acquisition of the holding state of the electronic device and subsequent steps.

在一些实施方式中,第一屏幕区域中可以显示用于查看提示消息的控件。第二预设操作可以为第一屏幕区域中对该控制控件的点击操作。也就是说,移动终端在检测到用户对该控件的点击操作时,可以执行检测握持状态,以及后续的步骤。In some implementations, controls for viewing prompt messages may be displayed in the first screen area. The second preset operation may be a click operation on the control control in the first screen area. That is to say, when the mobile terminal detects the user's click operation on the control, it can perform the detection of the holding state and subsequent steps.

在另一些实施方式中,第二预设操作也可以为第一屏幕区域中的预设滑动操作。该预设滑动操作可以为预先设置的满足相应的滑动条件的滑动操作,例如,可以为滑动轨迹满足预设滑动轨迹,和/或,滑动距离达到预设阈值的滑动操作。当然,具体的预设滑动操作可以不做限定。In other embodiments, the second preset operation may also be a preset sliding operation in the first screen area. The preset sliding operation may be a preset sliding operation that satisfies the corresponding sliding condition. For example, the sliding trajectory may satisfy the preset sliding trajectory, and/or the sliding distance reaches a preset threshold. Of course, the specific preset sliding operation may not be limited.

当然,第二预设操作也可以为满足相应按压条件的预设按压操作,具体的第二预设操作可以不做限定。Of course, the second preset operation may also be a preset pressing operation that satisfies corresponding pressing conditions, and the specific second preset operation may not be limited.

步骤S440:在所述握持状态满足指定握持条件时,控制所述第二屏幕区域伸出至少部分区域。Step S440: When the holding state meets the specified holding condition, control the second screen area to extend at least partially.

步骤S450:在所述屏幕的第一指定区域显示所述内容,且在所述屏幕的第二指定区域中显示所述提示消息,所述第二指定区域为所述屏幕当前展开的区域中除所述第一指定区域以外的区域。Step S450: Display the content in a first designated area of the screen, and display the prompt message in a second designated area of the screen. The second designated area is a region other than the currently expanded area of the screen. Areas outside the first designated area.

在本申请实施例中,步骤S440及步骤S450可以参阅前述实施例的内容,在此不再赘述。In the embodiment of the present application, the content of step S440 and step S450 can be referred to the previous embodiment, and will not be described again here.

在一些实施方式中,由于电子设备在输出指定提示信息后,在检测到第二预设操作时,执行后续的步骤,在第二预设操作为滑动方向与屏幕的延伸方向相同的滑动操作时,在握持状态满足指定握持条件的情况下,也可以控制第二屏幕区域跟随该滑动操作而伸出。In some embodiments, after the electronic device outputs the specified prompt information, it performs subsequent steps when detecting the second preset operation. When the second preset operation is a sliding operation in which the sliding direction is the same as the extending direction of the screen, , when the holding state meets the specified holding conditions, the second screen area can also be controlled to extend following the sliding operation.

本申请实施例提供的信息展示方法,在第一屏幕区域处于显示状态的情况下接收到提示消息时,输出指定提示信息,在检测到于第二屏幕区域中的第二预设操作时,获取电子设备的握持状态,在握持状态满足指定握持条件时,控制述第二屏幕区域伸出至少部分区域,然后在第一指定区域显示此前显示的内容,在第二指定区域显示提示消息。从而可以实现在屏幕显示内容的情况下接收到提示消息时,不影响用户对原本显示内容的查看的情况下,可以对提示消息的查看,避免影响用户的观感和操作,提升用户体验。In the information display method provided by the embodiment of the present application, when a prompt message is received when the first screen area is in the display state, the specified prompt information is output, and when the second preset operation is detected in the second screen area, the information display method is obtained. In the holding state of the electronic device, when the holding state meets the designated holding conditions, the second screen area is controlled to extend at least part of the area, and then the previously displayed content is displayed in the first designated area, and a prompt message is displayed in the second designated area. Therefore, when a prompt message is received while the content is displayed on the screen, the prompt message can be viewed without affecting the user's view of the originally displayed content, avoiding affecting the user's perception and operation, and improving the user experience.

请参阅图15,其示出了本申请实施例提供的一种信息展示装置400的结构框图。该信息展示装置400应用上述的电子设备,该信息展示装置400包括:内容显示模块410、握持检测模块420、屏幕控制模块430以及消息显示模块440。所述内容显示模块410用于在所述第二屏幕区域处于收缩状态时,控制所述第一屏幕区域显示内容;所述握持检测模块420用于在接收到提示消息时,获取所述电子设备的握持状态,获取所述电子设备的握持状态;所述屏幕控制模块430用于在所述握持状态满足指定握持条件时,控制所述第二屏幕区域伸出至少部分区域;所述消息显示模块440用于在所述屏幕的第一指定区域显示所述内容,且在所述屏幕的第二指定区域中显示所述提示消息,所述第二指定区域为所述屏幕当前展开的区域中除所述第一指定区域以外的区域。Please refer to FIG. 15 , which shows a structural block diagram of an information display device 400 provided by an embodiment of the present application. The information display device 400 applies the above-mentioned electronic equipment. The information display device 400 includes: a content display module 410, a grip detection module 420, a screen control module 430 and a message display module 440. The content display module 410 is used to control the first screen area to display content when the second screen area is in a contracted state; the grip detection module 420 is used to obtain the electronic information when receiving a prompt message. The holding state of the device is to obtain the holding state of the electronic device; the screen control module 430 is used to control the second screen area to extend at least part of the area when the holding state meets the specified holding condition; The message display module 440 is configured to display the content in a first designated area of the screen, and display the prompt message in a second designated area of the screen, where the second designated area is the current Areas in the expanded area other than the first specified area.

在一些实施方式中,屏幕控制模块430可以具体用于:在所述电子设备的目标侧未被握持时,控制所述第二屏幕区域伸出至少部分区域,所述目标侧为所述第二屏幕区域在伸出时所述屏幕的延伸方向所在一侧。In some embodiments, the screen control module 430 may be specifically configured to: control the second screen area to extend at least partially when the target side of the electronic device is not held, and the target side is the third screen area. When the second screen area is extended, the extension direction of the screen is on the side.

作为一种实施方式,所述第二屏幕区域在伸出时,所述屏幕的延伸方向为竖屏握持状态下往左侧或右侧中的指定一侧延伸。屏幕控制模块430可以具体用于:As an implementation manner, when the second screen area is extended, the extension direction of the screen is to extend to a designated side of the left or right side in the vertical screen holding state. The screen control module 430 can be specifically used for:

在所述握持状态为横屏握持状态时,控制所述第二屏幕区域伸出至少部分区域;或者When the holding state is a horizontal screen holding state, control the second screen area to extend at least partially; or

在所述握持状态为竖屏握持状态,且所述目标侧未被握持时,控制所述第二屏幕区域伸出至少部分区域。When the holding state is a vertical screen holding state and the target side is not held, the second screen area is controlled to extend at least partially.

作为另一种实施方式,述第二屏幕区域包括第一子屏幕区域以及第二子屏幕区域,所述第一子屏幕区域在伸出时所述屏幕的延伸方向为竖屏握持状态下往左侧延伸,所述第二子屏幕区域在伸出时,所述屏幕的延伸方向为竖屏状态下往右侧延伸。屏幕控制模块430可以具体用于:As another implementation manner, the second screen area includes a first sub-screen area and a second sub-screen area. When the first sub-screen area is extended, the extension direction of the screen is toward the vertical screen holding state. Extending to the left, when the second sub-screen area is extended, the extension direction of the screen is to extend to the right in the portrait mode. The screen control module 430 can be specifically used for:

在所述握持状态为横屏握持状态时,控制所述第二屏幕区域伸出至少部分区域;或者When the holding state is a horizontal screen holding state, control the second screen area to extend at least partially; or

在所述握持状态为竖屏握持状态,且所述电子设备的左侧或者右侧中的其中一侧未被握持时,控制所述第二屏幕区域伸出至少部分区域。When the holding state is a vertical screen holding state and one of the left side or the right side of the electronic device is not held, the second screen area is controlled to extend at least partially.

可选的,屏幕控制模块430在所述握持状态为竖屏握持状态,且所述电子设备的左侧或者右侧中的其中一侧未被握持时,控制所述第二屏幕区域伸出至少部分区域,可以包括:在所述握持状态为竖屏握持状态,且所述电子设备的左侧未被握持时,控制所述第一子屏幕区域伸出至少部分区域;在所述握持状态为竖屏握持状态,且所述电子设备的右侧未被握持时,控制所述第二子屏幕区域伸出至少部分区域。Optionally, the screen control module 430 controls the second screen area when the holding state is a vertical screen holding state and one of the left or right sides of the electronic device is not held. Extending at least part of the area may include: controlling the first sub-screen area to extend at least part of the area when the holding state is a vertical screen holding state and the left side of the electronic device is not held; When the holding state is a vertical screen holding state and the right side of the electronic device is not held, the second sub-screen area is controlled to extend at least partially.

在一些实施方式中,所述第一指定区域的尺寸与所述第一屏幕区域的尺寸对应,所述第二指定区域的尺寸与所述至少部分区域的尺寸对应。In some implementations, the size of the first designated area corresponds to the size of the first screen area, and the size of the second designated area corresponds to the size of the at least part of the area.

可选的,所述第一指定区域为所述第二屏幕区域处于收缩状态时,第一屏幕区域于所述壳体上的所在位置对应的屏幕区域;所述第二指定区域为所述屏幕相对所述第二屏幕区域处于收缩状态时,第一屏幕区域于所述壳体上的所在位置延伸的屏幕区域。Optionally, the first designated area is the screen area corresponding to the position of the first screen area on the housing when the second screen area is in a contracted state; the second designated area is the screen area. A screen area extending from the position of the first screen area on the housing when the second screen area is in a contracted state.

在一些实施方式中,屏幕控制模块430可以用于:在所述握持状态满足指定握持条件时,控制所述第二屏幕区域伸出部分区域;消息显示模块440可以具体用于:在所述屏幕的第一指定区域显示所述内容,且在所述第二指定区域中显示所述提示消息的部分内容。In some embodiments, the screen control module 430 can be used to: when the holding state meets the specified holding condition, control the second screen area to extend out of the partial area; the message display module 440 can be specifically used to: The content is displayed in the first designated area of the screen, and part of the content of the prompt message is displayed in the second designated area.

在该方式下,屏幕控制模块430还可以用于,在所述屏幕的第一指定区域显示所述内容,且在所述屏幕的第二指定区域中显示所述提示消息的部分内容之后,响应于所述第一指定区域中的第一预设操作,控制所述第二屏幕区域伸出全部区域;消息显示模块440还可以用于:在所述第二指定区域中显示所述提示消息的全部内容。In this manner, the screen control module 430 may also be configured to display the content in the first designated area of the screen, and after displaying part of the content of the prompt message in the second designated area of the screen, respond The first preset operation in the first designated area controls the second screen area to extend out of the entire area; the message display module 440 can also be used to: display the prompt message in the second designated area. all content.

可选的,屏幕控制模块430响应于所述第一指定区域中的第一预设操作,控制所述第二屏幕区域伸出全部区域,可以包括:响应于所述第一指定区域中的滑动操作,控制所述第二屏幕区域跟随所述滑动操作伸出全部区域。Optionally, in response to a first preset operation in the first designated area, the screen control module 430 controls the second screen area to extend out of the entire area, which may include: in response to a slide in the first designated area. Operation to control the second screen area to extend out of the entire area following the sliding operation.

在一些实施方式中,握持检测模块420可以具体用于:在接收到提示消息时,于所述第一屏幕区域中的目标区域输出指定提示信息,所述指定提示信息用于提示接收到所述提示消息;响应根据所述提示消息于所述第一屏幕区域中的第二预设操作,获取所述电子设备的握持状态。In some embodiments, the holding detection module 420 may be specifically configured to: when receiving a prompt message, output designated prompt information in the target area in the first screen area, where the designated prompt information is used to prompt that the received prompt message is received. the prompt message; in response to the second preset operation in the first screen area according to the prompt message, obtain the holding state of the electronic device.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices and modules can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.

在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in this application, the coupling between modules may be electrical, mechanical or other forms of coupling.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules.

综上所述,本申请提供的方案,通过对电子设备设置可伸缩的屏幕,该屏幕包括设置于壳体上且固定展开的第一屏幕区域以及伸缩于壳体内的第二屏幕区域,在第二屏幕区域处于收缩状态时,控制第一屏幕区域显示内容,在接收到提示消息时,获取电子设备的握持状态,在握持状态满足指定握持条件时,控制述第二屏幕区域伸出至少部分区域,在屏幕的第一指定区域显示以上内容,且在屏幕的第二指定区域中显示提示消息,第二指定区域为屏幕当前展开的区域中除第一指定区域以外的区域。从而可以实现在屏幕显示内容的情况下接收到提示消息时,不影响用户对原本显示内容的查看的情况下,可以对提示消息的查看,避免影响用户的观感和操作,提升用户体验。To sum up, the solution provided by this application is to provide an electronic device with a retractable screen. The screen includes a first screen area that is arranged on the casing and is fixedly expanded, and a second screen area that is telescopic in the casing. When the second screen area is in a contracted state, control the display content of the first screen area. When receiving a prompt message, obtain the holding state of the electronic device. When the holding state meets the specified holding conditions, control the second screen area to extend at least In a partial area, the above content is displayed in the first designated area of the screen, and the prompt message is displayed in the second designated area of the screen. The second designated area is the area other than the first designated area in the currently expanded area of the screen. Therefore, when a prompt message is received while the content is displayed on the screen, the prompt message can be viewed without affecting the user's view of the originally displayed content, avoiding affecting the user's perception and operation, and improving the user experience.

请参考图16,其示出了本申请实施例提供的一种电子设备的结构框图。该电子设备100可以是智能手机、平板电脑、智能手表、智能眼镜、笔记本电脑等能够运行应用程序的电子设备。本申请中的电子设备100可以包括一个或多个如下部件:处理器110、存储器120、以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器120中并被配置为由一个或多个处理器110执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 16 , which shows a structural block diagram of an electronic device provided by an embodiment of the present application. The electronic device 100 may be a smartphone, a tablet computer, a smart watch, a smart glasses, a laptop, or other electronic device that can run applications. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, wherein one or more application programs may be stored in the memory 120 and configured by One or more processors 110 execute, and one or more programs are configured to perform the method described in the foregoing method embodiments.

处理器110可以包括一个或者多个处理核。处理器110利用各种接口和线路连接整个电子设备100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行电子设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Various functions and processing data of the electronic device 100 . Optionally, the processor 110 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in hardware form. The processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc. Among them, the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110 and may be implemented solely through a communication chip.

存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以存储电子设备100在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 120 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc. The storage data area can also store data created during use of the electronic device 100 (such as phone book, audio and video data, chat record data), etc.

请参考图17,其示出了本申请实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质800中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 17 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 800, and the program code can be called by the processor to execute the method described in the above method embodiment.

计算机可读存储介质800可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质800包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读存储介质800具有执行上述方法中的任何方法步骤的程序代码810的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码810可以例如以适当形式进行压缩。Computer-readable storage medium 800 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 that performs any method steps in the above-described methods. These program codes can be read from or written into one or more computer program products. Program code 810 may, for example, be compressed in a suitable form.

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

Claims (14)

CN202110120161.4A2021-01-282021-01-28 Information display methods, devices, electronic equipment and storage mediaActiveCN114815971B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110120161.4ACN114815971B (en)2021-01-282021-01-28 Information display methods, devices, electronic equipment and storage media

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110120161.4ACN114815971B (en)2021-01-282021-01-28 Information display methods, devices, electronic equipment and storage media

Publications (2)

Publication NumberPublication Date
CN114815971A CN114815971A (en)2022-07-29
CN114815971Btrue CN114815971B (en)2023-12-05

Family

ID=82526412

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110120161.4AActiveCN114815971B (en)2021-01-282021-01-28 Information display methods, devices, electronic equipment and storage media

Country Status (1)

CountryLink
CN (1)CN114815971B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2014010597A (en)*2012-06-292014-01-20Nikon CorpDisplay method, and display device
CN104737100A (en)*2012-08-222015-06-24三星电子株式会社Flexible display device and method of controlling same
CN105573488A (en)*2014-10-302016-05-11三星电子株式会社Method and apparatus for controlling screen display on electronic devices
CN109889661A (en)*2019-01-302019-06-14维沃移动通信有限公司 A kind of interface display control method and mobile terminal
CN111090408A (en)*2019-11-192020-05-01维沃移动通信有限公司Display method and electronic equipment
CN111124179A (en)*2019-12-202020-05-08维沃移动通信有限公司Information processing method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR102246777B1 (en)*2018-05-092021-04-30삼성전자주식회사Method for displaying content in the expandable screen area and electronic device supporting the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2014010597A (en)*2012-06-292014-01-20Nikon CorpDisplay method, and display device
CN104737100A (en)*2012-08-222015-06-24三星电子株式会社Flexible display device and method of controlling same
CN105573488A (en)*2014-10-302016-05-11三星电子株式会社Method and apparatus for controlling screen display on electronic devices
CN109889661A (en)*2019-01-302019-06-14维沃移动通信有限公司 A kind of interface display control method and mobile terminal
CN111090408A (en)*2019-11-192020-05-01维沃移动通信有限公司Display method and electronic equipment
CN111124179A (en)*2019-12-202020-05-08维沃移动通信有限公司Information processing method and electronic equipment

Also Published As

Publication numberPublication date
CN114815971A (en)2022-07-29

Similar Documents

PublicationPublication DateTitle
CN108089786B (en) User interface display method, device, device and storage medium
JP7114633B2 (en) Screen mirroring method, device, terminal and storage medium
CN110058828B (en) Application display method, device, electronic device and storage medium
US12340455B2 (en)Display control method, non-transitory computer-readable storage medium, and electronic device
CN111782332B (en) Application interface switching method, device, terminal and storage medium
EP3779684A1 (en)Icon display method, device and terminal
CN107704177A (en) Interface display method, device and terminal
CN109062475A (en)icon display method, device, terminal and storage medium
CN107844228A (en)Message display method, device and terminal
CN107870716A (en) Method and apparatus for invoking a background application
WO2019037359A1 (en)Split-screen display method, device and terminal
CN111752460B (en)Screen control method and device, electronic equipment and computer readable storage medium
JP7446441B2 (en) Image cropping method and electronic equipment
WO2021057585A1 (en)Notification message display method and mobile terminal
US20150363091A1 (en)Electronic device and method of controlling same
WO2021179803A1 (en)Content sharing method and apparatus, electronic device and storage medium
CN109040351A (en) Camera control method, device, mobile terminal and storage medium
CN111026480A (en) A content display method and electronic device
CN107979775A (en) Video-related information display method and related equipment
CN108804628B (en) A picture display method and terminal
CN107943959B (en) Web page display method, device and mobile terminal
CN116301538A (en)Interaction method, device, electronic equipment and storage medium
CN105955637B (en) Method and apparatus for processing text input boxes
CN114815971B (en) Information display methods, devices, electronic equipment and storage media
CN108563374A (en)A kind of interface display method and terminal device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp