WO2018045699A1 - Display processing method and apparatus - Google Patents

Display processing method and apparatus Download PDF

Info

Publication number
WO2018045699A1
WO2018045699A1 PCT/CN2017/070886 CN2017070886W WO2018045699A1 WO 2018045699 A1 WO2018045699 A1 WO 2018045699A1 CN 2017070886 W CN2017070886 W CN 2017070886W WO 2018045699 A1 WO2018045699 A1 WO 2018045699A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
display
terminal
displayed
layout structure
Prior art date
Application number
PCT/CN2017/070886
Other languages
French (fr)
Chinese (zh)
Inventor
孙薇
赵冬晓
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018045699A1 publication Critical patent/WO2018045699A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Abstract

A display processing method and apparatus. The method comprises: when a terminal is adapted to a virtual reality (VR) device, the terminal determines whether to-be-displayed content on a display screen thereof can be identified by the VR device or not (S10); if the to-be-displayed content cannot be identified by the VR device, the terminal reconstructs a layout structure of the to-be-displayed content to be a layout structure that can be identified by the VR device (S20); the terminal displays the to-be-displayed content on the display screen according to the reconstructed layout structure (S30). According to the technical solution, a VR device can identify any type of display content on a display screen of a terminal, so that a user would not miss the content on the terminal such as an incoming call or a short message when using the VR device any more.

Description

显示处理方法及装置Display processing method and device 技术领域Technical field
本文涉及但不限于虚拟现实技术领域,涉及一种显示处理方法及装置。This document relates to, but is not limited to, the field of virtual reality technology, and relates to a display processing method and apparatus.
背景技术Background technique
常见的VR(Virtual Reality,虚拟现实)设备,例如VR眼镜,往往需要与多种终端进行配合才能使用,且终端上需要安装与所使用的VR设备匹配的应用并启动后,才能与该VR设备进行交互。Common VR (Virtual Reality) devices, such as VR glasses, often need to be used in conjunction with a variety of terminals, and the application needs to be installed on the terminal to match the VR device used. Interact.
由于类似VR眼镜的VR设备,只能对左右分屏且与VR眼镜的镜片相同形状(如椭圆形)的显示布局界面上的内容进行识别,因而,对于终端显示屏上的显示内容,在其布局结构满足VR设备识别条件时,用户通过VR设备能够查看到终端上的显示内容,而在其布局结构不满足VR设备识别条件时,用户通过VR设备就不能查看到终端上的显示内容。例如终端上播放的三维视频,是VR眼镜能够识别出的,此时,用户通过VR眼镜就能观看该视频,而对于终端上的来电或短信等内容,由于不能被VR眼镜识别,因而在终端显示来电或短信等内容时,用户使用VR眼镜是看不到这些内容的,可能就会错过这些来电或短信,由此给用户带来一定的麻烦。Since the VR device like VR glasses can only recognize the content on the display layout interface of the left and right split screens and the same shape (such as an elliptical shape) as the lenses of the VR glasses, therefore, the display content on the terminal display screen is When the layout structure satisfies the VR device identification condition, the user can view the display content on the terminal through the VR device, and when the layout structure does not satisfy the VR device identification condition, the user cannot view the display content on the terminal through the VR device. For example, the 3D video played on the terminal can be recognized by the VR glasses. At this time, the user can watch the video through the VR glasses, and the content such as the incoming call or the short message on the terminal cannot be recognized by the VR glasses, so the terminal is When displaying content such as incoming calls or text messages, users can't see these contents using VR glasses, and they may miss these calls or text messages, which will cause some trouble to the user.
因而,如何在终端配合VR设备使用时,能够通过VR设备查看到终端显示屏上的任一类型的显示内容,是目前需要解决的一个技术问题。Therefore, how to view any type of display content on the display of the terminal through the VR device when the terminal is used with the VR device is a technical problem that needs to be solved.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种显示处理方法及装置,能够解决在终端配合VR设备使用时,通过VR设备查看不到终端显示屏上特定类型的显示内容的技术问题。The embodiment of the invention provides a display processing method and device, which can solve the technical problem that the VR device cannot view the specific type of display content on the terminal display screen when the terminal cooperates with the VR device.
本发明实施例提供一种显示处理方法,所述显示处理方法包括: An embodiment of the present invention provides a display processing method, where the display processing method includes:
终端适配于虚拟现实VR设备中时,所述终端判断其显示屏上的待显示内容是否能够被所述VR设备识别;When the terminal is adapted to the virtual reality VR device, the terminal determines whether the content to be displayed on the display screen can be recognized by the VR device;
当所述待显示内容不能被所述VR设备识别时,所述终端将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构;When the content to be displayed is not recognized by the VR device, the terminal reconstructs a layout structure of the content to be displayed into a layout structure that the VR device can recognize;
所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容。The terminal displays the content to be displayed on the display screen according to the reconstructed layout structure.
可选地,所述显示处理方法还包括:Optionally, the display processing method further includes:
在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当所述终端检测到所述显示屏上的触摸操作时,根据所述触摸操作更新待显示内容。While the terminal displays the content to be displayed on the display screen according to the reconstructed layout structure, when the terminal detects a touch operation on the display screen, updating the content to be displayed according to the touch operation .
可选地,所述显示处理方法还包括:当预置的VR交互开关被打开时,所述终端确定其当前适配于VR设备中;Optionally, the display processing method further includes: when the preset VR interactive switch is turned on, the terminal determines that it is currently adapted to the VR device;
所述终端通过设置其上的传感器和/或摄像头,检测并判断其当前是否适配于VR设备中,且当确定其当前适配于VR设备中时,打开所述VR交互开关。The terminal detects and determines whether it is currently adapted to the VR device by setting a sensor and/or a camera thereon, and opens the VR interactive switch when it is determined that it is currently adapted to the VR device.
可选地,所述终端适配于VR虚拟现实设备中时,所述终端判断其显示屏上的待显示内容是否能够被所述VR设备识别包括:Optionally, when the terminal is adapted to the VR virtual reality device, the terminal determining whether the content to be displayed on the display screen can be recognized by the VR device includes:
所述终端适配于VR设备中时,所述终端获取其显示屏上的待显示内容的布局结构;When the terminal is adapted to the VR device, the terminal acquires a layout structure of the content to be displayed on the display screen thereof;
在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域时,确定所述待显示内容能够被所述VR设备识别;其中,所述两个指定形状的显示区域中的内容平移后完全重叠。Determining that the content to be displayed can be recognized by the VR device when the display structure of the content to be displayed is divided into two display areas of the same size and symmetrically defined shapes; Wherein, the content in the display areas of the two specified shapes completely overlap after being translated.
可选地,所述当所述待显示内容不能被所述VR设备识别时,所述终端将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构包括:Optionally, when the content to be displayed is not recognized by the VR device, the terminal reconfiguring the layout structure of the content to be displayed into a layout structure that the VR device can recognize includes:
当所述待显示内容不能被所述VR设备识别时,所述终端根据获取到的布局结构以及预置的重排规则,将所述布局结构中包含的显示项进行分类后按照指定顺序重排;When the content to be displayed cannot be recognized by the VR device, the terminal sorts the display items included in the layout structure according to the acquired layout structure and the preset rearrangement rule, and then rearranges in the specified order. ;
将重排后的显示项以相同的布局分别配置在所述两个指定形状的显示区 域,以得到所述VR设备能够识别的布局结构。Displaying the rearranged display items in the display area of the two specified shapes in the same layout Domain to get the layout structure that the VR device can recognize.
可选地,所述待显示内容包括以下类型中的一种或多种:Optionally, the content to be displayed includes one or more of the following types:
来电、短信、网页、视频、图片、应用页面。Calls, text messages, web pages, videos, pictures, app pages.
本发明实施例还提供一种显示处理装置,所述显示处理装置包括:The embodiment of the invention further provides a display processing device, the display processing device comprising:
判断模块,设置为在终端适配于虚拟现实VR设备中时,判断所述终端显示屏上的待显示内容是否能够被所述VR设备识别;a determining module, configured to determine, when the terminal is adapted to the virtual reality VR device, whether the content to be displayed on the display screen of the terminal can be recognized by the VR device;
重构模块,设置为当所述待显示内容不能被所述VR设备识别时,将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构;a reconfiguration module, configured to reconfigure a layout structure of the content to be displayed into a layout structure that the VR device can recognize when the content to be displayed cannot be recognized by the VR device;
显示模块,设置为按照重构后的布局结构在所述显示屏上显示所述待显示内容。And a display module, configured to display the to-be-displayed content on the display screen according to the reconstructed layout structure.
可选地,所述显示处理装置还包括:Optionally, the display processing device further includes:
响应模块,设置为在按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当检测到所述显示屏上的触摸操作时,根据所述触摸操作更新待显示内容。The response module is configured to update the to-be-displayed content according to the touch operation when the touch operation on the display screen is detected during the display of the to-be-displayed content on the display screen according to the reconstructed layout structure.
可选地,所述显示处理装置还包括:Optionally, the display processing device further includes:
检测模块,设置为通过设置在所述终端上的传感器和/或摄像头,检测并判断所述终端当前是否适配于VR设备中,且当确定所述终端当前适配于VR设备中时,打开所述VR交互开关;a detecting module, configured to detect and determine whether the terminal is currently adapted to the VR device by using a sensor and/or a camera disposed on the terminal, and open when determining that the terminal is currently adapted to the VR device The VR interactive switch;
确定模块,设置为当预置的VR交互开关被打开时,确定所述终端当前适配于VR设备中。The determining module is configured to determine that the terminal is currently adapted to the VR device when the preset VR interactive switch is turned on.
可选地,所述判断模块包括:Optionally, the determining module includes:
获取单元,设置为在所述终端适配于VR设备中时,获取所述终端显示屏上的待显示内容的布局结构;An acquiring unit, configured to acquire a layout structure of the to-be-displayed content on the display screen of the terminal when the terminal is adapted to the VR device;
确定单元,设置为在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域时,确定所述待显示内容能够被所述VR设备识别;其中,所述两个指定形状的显示区域中 的内容平移后完全重叠。a determining unit, configured to determine, when the layout structure of the content to be displayed is a display area that divides the display area of the display screen into two left and right identical sizes and symmetric shapes, determining that the content to be displayed can be VR device identification; wherein, the display areas of the two specified shapes are The content is completely overlapping after panning.
可选地,所述重构模块包括:Optionally, the reconstruction module includes:
重排单元,设置为当所述待显示内容不能被所述VR设备识别时,根据获取到的布局结构以及预置的重排规则,将所述布局结构中包含的显示项进行分类后按照指定顺序重排;a rearrangement unit configured to: when the content to be displayed is not recognized by the VR device, classify the display items included in the layout structure according to the acquired layout structure and preset reordering rules, and then specify Rearrangement
配置单元,用于将重排后的显示项以相同的布局分别配置在所述两个指定形状的显示区域,以得到所述VR设备能够识别的布局结构。And a configuration unit, configured to separately arrange the rearranged display items in the display areas of the two specified shapes in the same layout to obtain a layout structure that the VR device can recognize.
可选地,所述待显示内容包括以下类型中的一种或多种:Optionally, the content to be displayed includes one or more of the following types:
来电、短信、网页、视频、图片、应用页面。Calls, text messages, web pages, videos, pictures, app pages.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现所述显示处理方法。The embodiment of the invention further provides a computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and the display processing method is implemented when the computer executable instructions are executed.
本发明实施例提出的显示处理方法及装置,在终端适配于VR设备中时,实时判断所述终端显示屏上的待显示内容是否能够被所述VR设备识别,当所述待显示内容不能被所述VR设备识别时,将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构,以在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容。上述技术方案可以使得用户通过所述VR设备能够查看到所述待显示内容,从而使所述VR设备能够识别到所述终端显示屏上的任一类型的显示内容,用户在使用所述VR设备时也不会再错过所述终端上的来电或短信等内容。The display processing method and device provided by the embodiment of the present invention, when the terminal is adapted to the VR device, determine in real time whether the content to be displayed on the display screen of the terminal can be recognized by the VR device, and the content to be displayed cannot be displayed. When the VR device is recognized by the VR device, the layout structure of the content to be displayed is reconstructed into a layout structure that can be recognized by the VR device, so that the terminal displays the display on the display screen according to the reconstructed layout structure. Tell the content to be displayed. The foregoing technical solution may enable a user to view the content to be displayed through the VR device, so that the VR device can identify any type of display content on the display screen of the terminal, and the user is using the VR device. You will not miss the call or SMS on the terminal.
在阅读并理解了附图和详细描述后,可以明白其它方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为本发明实施例一提供的显示处理方法的流程示意图;1 is a schematic flowchart of a display processing method according to Embodiment 1 of the present invention;
图2为图1中步骤S10的细化流程示意图;2 is a schematic diagram of a refinement process of step S10 in FIG. 1;
图3为图1中步骤S20的细化流程示意图; 3 is a schematic diagram showing the refinement process of step S20 in FIG. 1;
图4为本发明实施例中的重构前后的布局结构示意图;4 is a schematic structural diagram of a layout before and after reconstruction in an embodiment of the present invention;
图5为本发明实施例中的列表重构后双排排列的布局结构示意图;FIG. 5 is a schematic structural diagram of a layout of a double row arrangement after list reconfiguration according to an embodiment of the present invention; FIG.
图6为本发明实施例二提供的显示处理方法的流程示意图;FIG. 6 is a schematic flowchart of a display processing method according to Embodiment 2 of the present invention;
图7为本发明实施例四提供的显示处理装置的功能模块示意图;FIG. 7 is a schematic diagram of functional blocks of a display processing apparatus according to Embodiment 4 of the present invention; FIG.
图8为本发明实施例四提供的显示处理装置的另一功能模块示意图;FIG. 8 is a schematic diagram of another functional module of a display processing apparatus according to Embodiment 4 of the present invention; FIG.
图9为本发明实施例四提供的显示处理装置的又一功能模块示意图。FIG. 9 is a schematic diagram of still another functional block of a display processing apparatus according to Embodiment 4 of the present invention.
具体实施方式detailed description
以下结合附图对本发明的实施例进行详细说明,应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
实施例一 Embodiment 1
本发明实施例提供一种显示处理方法,如图1所示,示出了本发明实施例的显示处理方法的流程示意图,所述显示处理方法包括:An embodiment of the present invention provides a display processing method. As shown in FIG. 1 , a schematic flowchart of a display processing method according to an embodiment of the present invention is shown. The display processing method includes:
步骤S10、终端适配于虚拟现实VR设备中时,所述终端判断其显示屏上的待显示内容是否能够被所述VR设备识别;Step S10: When the terminal is adapted to the virtual reality VR device, the terminal determines whether the content to be displayed on the display screen can be recognized by the VR device;
所述显示处理方法可在终端上实施,所述VR设备可以为VR眼镜等设备,也可以为能够播放所述VR设备支持观看的片源的设备,例如手机、平板电脑等。所述待显示内容包括但不限于以下类型:来电、短信、网页、视频、图片、应用页面,还可以为终端显示界面上显示的其他类型的显示内容,在此不再一一列举。The display processing method may be implemented on a terminal, and the VR device may be a device such as a VR glasses, or a device capable of playing a source of the VR device to support viewing, such as a mobile phone, a tablet computer, or the like. The content to be displayed includes but is not limited to the following types: an incoming call, a short message, a webpage, a video, a picture, an application page, and other types of display content displayed on the terminal display interface, which are not enumerated here.
可选地,当预置的VR交互开关被打开时,所述终端确定其当前适配于VR设备中。所述VR交互开关设置在所述终端上,且默认被关闭,当所述终端需要与所述VR设备配合使用时,打开所述VR交互开关后,所述终端即可适配于所述VR设备中。用户可在所述终端上指定位置手动打开所述VR交互开关,也可由所述终端在特定条件下自动打开所述VR交互开关。只要所述VR交互开关处于打开状态,则所述终端即认为其处于与所述VR设备 交互的场景,并提供与该场景匹配的功能。用户可在不使用所述VR设备时,手动将所述VR交互开关关闭,此后,所述终端恢复正常运行,并提供常规功能。Optionally, when the preset VR interactive switch is turned on, the terminal determines that it is currently adapted to the VR device. The VR interaction switch is configured on the terminal, and is disabled by default. When the terminal needs to cooperate with the VR device, after the VR interaction switch is turned on, the terminal can be adapted to the VR. In the device. The user can manually open the VR interactive switch at a specified location on the terminal, or the terminal can automatically open the VR interactive switch under certain conditions. As long as the VR interactive switch is in an open state, the terminal considers it to be in the same state as the VR device Interactive scenes and provide features that match the scene. The user can manually turn off the VR interactive switch when the VR device is not used, after which the terminal resumes normal operation and provides a regular function.
可选地,参照图2,上述步骤S10包括:Optionally, referring to FIG. 2, the foregoing step S10 includes:
步骤S11、所述终端适配于VR设备中时,所述终端获取其显示屏上的待显示内容的布局结构;Step S11: When the terminal is adapted to the VR device, the terminal acquires a layout structure of the content to be displayed on the display screen thereof;
步骤S12、在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域时,确定所述待显示内容能够被所述VR设备识别;其中,两个指定形状的显示区域中的内容平移后完全重叠。Step S12, when the layout structure of the content to be displayed is divided into two display areas of the same size and symmetrically defined shapes, the content to be displayed can be determined by the VR. Device identification; where the content in the display area of two specified shapes is completely overlapped after translation.
所述终端在确定其当前适配于所述VR设备中后,将从缓存的显示数据中实时获取其显示屏上的待显示内容的布局结构(即布局设置),其中,布局结构包括待显示的一个或多个显示项,例如文本、图片、视频、按钮、列表、图标等,以及每个显示项在所述显示屏上显示区域的显示位置。After determining that the terminal is currently adapted to the VR device, the terminal obtains a layout structure (ie, a layout setting) of the content to be displayed on the display screen from the cached display data in real time, where the layout structure includes a to-be-displayed One or more display items, such as text, pictures, videos, buttons, lists, icons, etc., and the display position of each display item on the display area of the display.
由于所述VR设备只能较好地识别所述显示区域上的左右两个大小相同且对称的、形状与所述VR设备中镜片形状相同的显示区域的内容,因而,在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域、且两个指定形状的显示区域中的内容平移后能够完全重叠时(如图4中(b)所示的重构后的布局结构),可确定所述待显示内容能够被所述VR设备识别,否则,则不能被所述VR设备识别。其中,所述指定形状是指与所述VR设备中镜片形状相同的形状,常见的形状为椭圆形或圆形。Since the VR device can only better recognize the left and right two identically-sized and symmetric contents of the display area having the same shape as the lens shape in the VR device on the display area, the content to be displayed is The layout structure is such that the display area of the display screen is equally divided into two display areas of the same size and symmetrical specified shape, and the contents of the display areas of the two specified shapes can be completely overlapped after being translated (see FIG. 4). In the reconstructed layout structure shown in (b), it may be determined that the content to be displayed can be recognized by the VR device, otherwise, the VR device cannot be recognized. Wherein, the specified shape refers to a shape identical to the shape of the lens in the VR device, and a common shape is an ellipse or a circle.
如果所述待显示内容能够被所述VR设备识别,则所述终端按照原有的布局结构在所述显示屏上直接展示所述待显示内容即可,此时,用户通过所述VR设备就能观看到所述待显示内容。而在所述待显示内容不能被所述VR设备识别时,用户通过所述VR设备是不能观看到所述待显示内容的。If the content to be displayed can be recognized by the VR device, the terminal directly displays the content to be displayed on the display screen according to the original layout structure. At this time, the user passes the VR device. The content to be displayed can be viewed. When the content to be displayed cannot be recognized by the VR device, the user cannot view the content to be displayed through the VR device.
步骤S20、当所述待显示内容不能被所述VR设备识别时,所述终端将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构; Step S20: When the content to be displayed is not recognized by the VR device, the terminal reconstructs a layout structure of the content to be displayed into a layout structure that the VR device can recognize;
可选地,参照图3,上述步骤S20包括:Optionally, referring to FIG. 3, the foregoing step S20 includes:
步骤S21、当所述待显示内容不能被所述VR设备识别时,所述终端根据获取到的布局结构以及预置的重排规则,将所述布局结构中包含的所有显示项进行分类后按照指定顺序重排;Step S21: When the content to be displayed is not recognized by the VR device, the terminal classifies all display items included in the layout structure according to the acquired layout structure and preset reordering rules. Specify the order of rearrangement;
步骤S22、将重排后的显示项以相同的布局分别配置在所述两个指定形状的显示区域,以得到所述VR设备能够识别的布局结构。Step S22: The rearranged display items are respectively arranged in the display area of the two specified shapes in the same layout to obtain a layout structure that the VR device can recognize.
在所述待显示内容不能被所述VR设备识别时,所述终端需要对所述待显示内容现有的布局结构进行重构,以使重构后得到的布局结构能够满足所述VR设备的识别要求。When the content to be displayed is not recognized by the VR device, the terminal needs to reconstruct an existing layout structure of the content to be displayed, so that the reconstructed layout structure can satisfy the VR device. Identification requirements.
在本实施例中,所述终端根据获取到的布局结构,将所述布局结构中包含的显示项按照预置的重排规则先进行分类,例如将文本、图片、视频等划分为显示类,将按钮、列表、图标等划分为可操作类等;之后再按照指定的排序规则进行重排,例如在同一个椭圆形显示区域内,将显示类的显示项按照在原布局结构中从上到下、从左到右的顺序依次排列后设置在该椭圆形显示区域的左侧,将可操作类的每个显示项按照在原布局结构中从上到下、从左到右的顺序依次排列后设置在该椭圆形显示区域的右侧,并尽可能地使所有的显示项均匀覆盖该椭圆形显示区域,如图4所示;最后,将显示项在该椭圆形显示区域内的布局设置复制到另一个椭圆形显示区域,从而得到能够被所述VR设备识别的布局结构。In this embodiment, the terminal classifies the display items included in the layout structure according to the preset rearrangement rule according to the acquired layout structure, for example, dividing the text, the picture, the video, and the like into a display class. Divide buttons, lists, icons, etc. into actionable classes, etc.; then rearrange them according to the specified collation, for example, in the same ellipse display area, display the display items of the display class from top to bottom in the original layout structure. Arranged in order from left to right and then placed on the left side of the elliptical display area, and each display item of the operable class is arranged in order from top to bottom and left to right in the original layout structure. On the right side of the elliptical display area, and as far as possible, all the display items are evenly covered by the elliptical display area, as shown in FIG. 4; finally, the layout setting of the display item in the elliptical display area is copied to Another elliptical display area provides a layout structure that can be recognized by the VR device.
需要说明的是,在重构布局结构时,可以将所有的显示类显示项进行重排,也可以只将必要的显示类显示项,以及指引用户进行下一步操作的可操作类显示项进行重排,而其他非必要的显示项不再设置在重构后的布局结构中,也即,不再显示非必要的显示项。对于显示项为列表时,可将列表中的子项进行双排排列,如图5所示。It should be noted that, when reconfiguring the layout structure, all the display class display items may be rearranged, or only the necessary display class display items and the operable class display items guiding the user to perform the next operation may be emphasized. Rows, while other non-essential display items are no longer set in the refactored layout structure, that is, non-essential display items are no longer displayed. When the display item is a list, the children in the list can be arranged in a double row, as shown in FIG.
步骤S30、所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容。Step S30: The terminal displays the content to be displayed on the display screen according to the reconstructed layout structure.
在本实施例中,得到所述待显示内容重构后的布局结构后,在需要展示所述待显示内容时,所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容,由于按照重构后的布局结构显示的内容能够被所述VR设备 识别,从而使用户通过所述VR设备能够查看到所述待显示内容。In this embodiment, after the layout structure of the content to be displayed is obtained, when the content to be displayed needs to be displayed, the terminal displays the to-be-displayed on the display screen according to the reconstructed layout structure. Display content, since the content displayed according to the reconstructed layout structure can be used by the VR device Identifying, so that the user can view the content to be displayed through the VR device.
本发明实施例提出的显示处理方法,在终端适配于VR设备中时,实时判断所述终端显示屏上的待显示内容是否能够被所述VR设备识别,当所述待显示内容不能被所述VR设备识别时,将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构,以在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容。上述技术方案使得用户通过所述VR设备能够查看到所述待显示内容,从而使所述VR设备能够识别到所述终端显示屏上的任一类型的显示内容,用户在使用所述VR设备时也不会再错过所述终端上的来电或短信等内容。The display processing method of the embodiment of the present invention determines whether the content to be displayed on the display screen of the terminal can be recognized by the VR device when the terminal is adapted to the VR device, and when the content to be displayed cannot be When the VR device is identified, the layout structure of the content to be displayed is reconstructed into a layout structure that can be recognized by the VR device, so that the terminal displays the to-be-displayed on the display screen according to the reconstructed layout structure. Display content. The above technical solution enables the user to view the content to be displayed through the VR device, so that the VR device can recognize any type of display content on the display screen of the terminal, when the user uses the VR device. There will be no more missed calls or text messages on the terminal.
实施例二 Embodiment 2
基于上述实施例一提出的显示处理方法,在本实施例二中,参照图6,所述显示处理方法还包括:Based on the display processing method of the first embodiment, in the second embodiment, referring to FIG. 6, the display processing method further includes:
步骤S40、在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当所述终端检测到所述显示屏上的触摸操作时,根据所述触摸操作更新待显示内容。Step S40: During the terminal displaying the content to be displayed on the display screen according to the reconstructed layout structure, when the terminal detects a touch operation on the display screen, update according to the touch operation. To be displayed.
在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,用户通过所述VR设备能够查看到所述显示屏上显示的每个显示项,如果这些显示项中包含可操作的显示项,例如按钮,则当用户在所述显示屏上点击该按钮后,所述终端即可检测到所述显示屏上的该触摸操作,之后,所述终端根据该触摸操作对显示屏上的显示内容进行更新。During the terminal displaying the content to be displayed on the display screen according to the reconstructed layout structure, the user can view each display item displayed on the display screen by the VR device, if the display items are Containing an operable display item, such as a button, when the user clicks the button on the display screen, the terminal can detect the touch operation on the display screen, after which the terminal according to the touch The operation updates the display on the display.
在本实施例中,在对原有布局结构进行重构时,需要对重构后的布局结构中的每个显示项分别分配新的标签号,这些标签号对每一个显示项来说是唯一识别的,且需要将重构后的布局结构中的显示项的标签号与原有布局结构中同一显示项的标签号进行一一映射。In this embodiment, when reconstructing the original layout structure, each display item in the reconstructed layout structure needs to be assigned a new label number, and the label numbers are unique to each display item. It is identified, and the label number of the display item in the reconstructed layout structure needs to be mapped one by one with the label number of the same display item in the original layout structure.
在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当用户在所述终端的显示屏上点击任一个可操作类的显示项后,所述终端能够获取到该显示项在重构后的布局结构中的标签号,并通过映射得到 该显示项在原布局结构中的标签号,进而触发映射得到的标签号对应的响应事件,使得所述终端刷新当前的显示内容或者跳转页面。During the display of the content to be displayed on the display screen according to the reconstructed layout structure, when the user clicks on any display item of the operable type on the display screen of the terminal, the terminal can Obtaining the tag number of the display item in the reconstructed layout structure, and obtaining by mapping The tag number of the display item in the original layout structure, which in turn triggers a response event corresponding to the tag number obtained by the mapping, so that the terminal refreshes the current display content or jumps the page.
本发明实施例提出的显示处理方法,能够使VR设备识别到原来不能识别的终端显示内容,且在用户不从所述VR设备中取出所述终端的条件下,能够对用户在所述终端上的触摸操作作出正确响应,使用户在不错过所述终端提供的任何显示内容的同时,为用户使用所述终端进行操作带来极大的便利。The display processing method of the embodiment of the present invention enables the VR device to recognize the display content of the terminal that is not originally recognized, and can perform the user on the terminal without the user taking the terminal from the VR device. The touch operation makes a correct response, so that the user can greatly facilitate the operation of the user by using the terminal without missing any display content provided by the terminal.
实施例三 Embodiment 3
基于上述实施例二提出的显示处理方法,在本实施例三中,所述显示处理方法还包括:The display processing method according to the second embodiment, the display processing method further includes:
所述终端通过设置其上的传感器和/或摄像头,检测并判断其当前是否适配于VR设备中,且当确定其当前适配于VR设备中时,打开所述VR交互开关。The terminal detects and determines whether it is currently adapted to the VR device by setting a sensor and/or a camera thereon, and opens the VR interactive switch when it is determined that it is currently adapted to the VR device.
可以理解的是,当所述终端判断出其未被放置在所述VR设备中时,则关闭所述VR交互开关。本实施例中,设置在所述终端上的传感器可以为接近传感器、重力传感器、压力传感器中的一个或多个,设置在所述终端上的摄像头可以为前置摄像头。It can be understood that when the terminal determines that it is not placed in the VR device, the VR interactive switch is turned off. In this embodiment, the sensor disposed on the terminal may be one or more of a proximity sensor, a gravity sensor, and a pressure sensor, and the camera disposed on the terminal may be a front camera.
以所述终端上设置有接近传感器、重力传感器、前置摄像头为例,当重力传感器检测到所述终端相对于水平面是竖着垂直放置时,所述终端打开接近传感器,且当接近传感器检测到所述终端与所述VR设备的距离为0并持续指定时间之后,再打开前置摄像头,如果前置摄像头采集到的图像为全黑,则认为所述终端已被放置在所述VR设备中。Taking the proximity sensor, the gravity sensor, and the front camera as examples on the terminal, when the gravity sensor detects that the terminal is vertically and vertically placed with respect to the horizontal plane, the terminal opens the proximity sensor, and when the proximity sensor detects After the distance between the terminal and the VR device is 0 and continues for a specified time, the front camera is turned on. If the image collected by the front camera is all black, the terminal is considered to have been placed in the VR device. .
以所述终端上设置有压力传感器、重力传感器为例,当压力传感器检测到所述终端的边框四周有均匀的压力,且重力传感器检测到所述终端相对于水平面是竖着垂直放置时,则认为所述终端已被放置在所述VR设备中。Taking the pressure sensor and the gravity sensor on the terminal as an example, when the pressure sensor detects that there is uniform pressure around the frame of the terminal, and the gravity sensor detects that the terminal is vertically and vertically placed with respect to the horizontal plane, then The terminal is considered to have been placed in the VR device.
本发明实施例提出的显示处理方法,可由终端通过设置其上的传感器和/或摄像头,自动检测并判断其当前是否适配于VR设备中,以在确定其当前 适配于VR设备中时,打开所述VR交互开关,而无需用户在需要时手工打开所述VR交互开关,简化了用户操作,且更加自动化、智能化。The display processing method proposed by the embodiment of the present invention can be automatically detected and determined by the terminal by setting a sensor and/or a camera thereon to determine whether it is currently adapted to the VR device to determine its current state. When being adapted to the VR device, the VR interactive switch is opened without the user manually opening the VR interactive switch when needed, which simplifies the user operation and is more automated and intelligent.
实施例四 Embodiment 4
本发明实施例还提供一种显示处理装置,如图7所示,示出了本发明实施例的显示处理装置的功能模块示意图,所述显示处理装置包括:The embodiment of the present invention further provides a display processing device. As shown in FIG. 7, a functional block diagram of a display processing device according to an embodiment of the present invention is shown. The display processing device includes:
判断模块100,设置为在终端适配于VR虚拟现实设备中时,判断所述终端显示屏上的待显示内容是否能够被所述VR设备识别;The determining module 100 is configured to determine, when the terminal is adapted to the VR virtual reality device, whether the content to be displayed on the display screen of the terminal can be recognized by the VR device;
确定模块200,设置为当预置的VR交互开关被打开时,确定所述终端当前适配于VR设备中。The determining module 200 is configured to determine that the terminal is currently adapted to the VR device when the preset VR interactive switch is turned on.
所述显示处理装置设置在终端上,所述VR设备可以为VR眼镜等设备,也可以为能够播放所述VR设备支持观看的片源的设备,例如手机、平板电脑等。所述待显示内容包括但不限于以下类型:来电、短信、网页、视频、图片、应用页面,还可以为终端显示界面上显示的其他类型的显示内容,在此不再一一列举。The display processing device is disposed on the terminal, and the VR device may be a device such as a VR glasses, or a device capable of playing a source of the VR device to support viewing, such as a mobile phone, a tablet computer, or the like. The content to be displayed includes but is not limited to the following types: an incoming call, a short message, a webpage, a video, a picture, an application page, and other types of display content displayed on the terminal display interface, which are not enumerated here.
所述VR交互开关设置在所述终端上,且默认被关闭,当所述终端需要与所述VR设备配合使用时,打开所述VR交互开关后,所述终端即可适配于所述VR设备中。用户可在所述终端上指定位置手动打开所述VR交互开关,也可由所述终端在特定条件下自动打开所述VR交互开关。只要所述VR交互开关处于打开状态,则所述终端即认为其处于与所述VR设备交互的场景,并提供与该场景匹配的功能。用户可在不使用所述VR设备时,手动将所述VR交互开关关闭,此后,所述终端恢复正常运行,并提供常规功能。The VR interaction switch is configured on the terminal, and is disabled by default. When the terminal needs to cooperate with the VR device, after the VR interaction switch is turned on, the terminal can be adapted to the VR. In the device. The user can manually open the VR interactive switch at a specified location on the terminal, or the terminal can automatically open the VR interactive switch under certain conditions. As long as the VR interactive switch is in an open state, the terminal considers that it is in a scenario of interacting with the VR device and provides a function matching the scenario. The user can manually turn off the VR interactive switch when the VR device is not used, after which the terminal resumes normal operation and provides a regular function.
可选地,所述判断模块100包括:Optionally, the determining module 100 includes:
获取单元,设置为在所述终端适配于VR设备中时,获取所述终端显示屏上的待显示内容的布局结构;An acquiring unit, configured to acquire a layout structure of the to-be-displayed content on the display screen of the terminal when the terminal is adapted to the VR device;
确定单元,设置为在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域时,确定所述待显示内容能够被所述VR设备识别;其中,两个指定形状的显示区域中的内 容平移后完全重叠。a determining unit, configured to determine, when the layout structure of the content to be displayed is a display area that divides the display area of the display screen into two left and right identical sizes and symmetric shapes, determining that the content to be displayed can be VR device identification; wherein, within two display areas of a specified shape Fully overlap after the translation.
所述终端的确定模块200在确定所述终端当前适配于所述VR设备中后,判断模块100的获取单元将从缓存的显示数据中实时获取其显示屏上的待显示内容的布局结构(即布局设置),其中,布局结构包括待显示的一个或多个显示项,例如文本、图片、视频、按钮、列表、图标等,以及每个显示项在所述显示屏上显示区域的显示位置。After determining that the terminal is currently adapted to the VR device, the determining unit 200 of the determining module 100 obtains the layout structure of the content to be displayed on the display screen from the cached display data in real time ( That is, the layout setting), wherein the layout structure includes one or more display items to be displayed, such as text, pictures, videos, buttons, lists, icons, and the like, and a display position of each display item on the display area of the display screen. .
由于所述VR设备只能较好地识别所述显示区域上的左右两个大小相同且对称的、形状与所述VR设备中镜片形状相同的显示区域的内容,因而,在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域、且两个指定形状的显示区域中的内容平移后能够完全重叠时(如图4(b)所示的布局结构),所述确定单元可确定所述待显示内容能够被所述VR设备识别,否则,则不能被所述VR设备识别。其中,所述指定形状是指与所述VR设备中镜片形状相同的形状,常见的形状为椭圆形或圆形。Since the VR device can only better recognize the left and right two identically-sized and symmetric contents of the display area having the same shape as the lens shape in the VR device on the display area, the content to be displayed is The layout structure is such that the display area of the display screen is equally divided into two display areas of the same size and symmetrical specified shape, and the contents of the display areas of the two specified shapes can be completely overlapped after being translated (see FIG. 4). (b) The layout structure shown), the determining unit may determine that the content to be displayed can be recognized by the VR device, otherwise it cannot be recognized by the VR device. Wherein, the specified shape refers to a shape identical to the shape of the lens in the VR device, and a common shape is an ellipse or a circle.
如果所述待显示内容能够被所述VR设备识别,则所述终端按照原有的布局结构在所述显示屏上直接展示所述待显示内容即可,此时,用户通过所述VR设备就能观看到所述待显示内容。而在所述待显示内容不能被所述VR设备识别时,用户通过所述VR设备是不能观看到所述待显示内容的。If the content to be displayed can be recognized by the VR device, the terminal directly displays the content to be displayed on the display screen according to the original layout structure. At this time, the user passes the VR device. The content to be displayed can be viewed. When the content to be displayed cannot be recognized by the VR device, the user cannot view the content to be displayed through the VR device.
重构模块300,用于当所述待显示内容不能被所述VR设备识别时,将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构;The reconstruction module 300 is configured to reconfigure a layout structure of the to-be-displayed content into a layout structure that the VR device can recognize when the content to be displayed cannot be recognized by the VR device;
可选地,所述重构模块300包括:Optionally, the reconstruction module 300 includes:
重排单元,设置为当所述待显示内容不能被所述VR设备识别时,根据获取到的布局结构以及预置的重排规则,将所述布局结构中包含的显示项进行分类后按照指定顺序重排;a rearrangement unit configured to: when the content to be displayed is not recognized by the VR device, classify the display items included in the layout structure according to the acquired layout structure and preset reordering rules, and then specify Rearrangement
配置单元,设置为将重排后的显示项以相同的布局分别配置在所述两个指定形状的显示区域,以得到所述VR设备能够识别的布局结构。The configuration unit is configured to respectively arrange the rearranged display items in the display areas of the two specified shapes in the same layout to obtain a layout structure that the VR device can recognize.
在所述待显示内容不能被所述VR设备识别时,所述终端需要对所述待显示内容现有的布局结构进行重构,以使重构后得到的布局结构能够满足所 述VR设备的识别要求。When the content to be displayed is not recognized by the VR device, the terminal needs to reconstruct an existing layout structure of the content to be displayed, so that the reconstructed layout structure can satisfy the The identification requirements of the VR device.
在本实施例中,所述终端的重构模块300根据获取到的布局结构,由所述重排单元将所述布局结构中包含的显示项按照预置的重排规则先进行分类,例如将文本、图片、视频等划分为显示类,将按钮、列表、图标等划分为可操作类等;之后再按照指定的排序规则进行重排,例如在同一个椭圆形显示区域内,将显示类的显示项按照在原布局结构中从上到下、从左到右的顺序依次排列后设置在该椭圆形显示区域的左侧,将可操作类的显示项按照在原布局结构中从上到下、从左到右的顺序依次排列后设置在该椭圆形显示区域的右侧,并尽可能地使所有的显示项均匀覆盖该椭圆形显示区域,如图4所示;最后,由所述配置单元将显示项在该椭圆形显示区域内的布局设置复制到另一个椭圆形显示区域,从而得到能够被所述VR设备识别的布局结构。In this embodiment, the reconstruction module 300 of the terminal classifies, according to the acquired layout structure, the display items included in the layout structure according to a preset rearrangement rule by the rearrangement unit, for example, Text, images, videos, etc. are divided into display classes, which divide buttons, lists, icons, etc. into actionable classes; and then rearrange them according to the specified sorting rules, for example, in the same oval display area, the class will be displayed. The display items are arranged in the order from top to bottom and left to right in the original layout structure, and are arranged on the left side of the elliptical display area, and the display items of the operable class are arranged from top to bottom in the original layout structure. The left-to-right order is arranged in the order of the right side of the elliptical display area, and as far as possible, all the display items are evenly covered by the elliptical display area, as shown in FIG. 4; finally, by the configuration unit The layout setting of the display item in the elliptical display area is copied to another elliptical display area, thereby obtaining a layout structure that can be recognized by the VR device.
需要说明的是,在重构布局结构时,所述重排单元可以将所有的显示类显示项进行重排,也可以只将必要的显示类显示项,以及指引用户进行下一步操作的可操作类显示项进行重排,而其他非必要的显示项不再设置在重构后的布局结构中,也即,不再显示非必要的显示项。对于显示项为列表时,所述重排单元可将列表中的子项进行双排排列,如图5所示。It should be noted that, when reconfiguring the layout structure, the rearrangement unit may rearrange all display class display items, or may only display necessary display class items, and may operate the user to perform the next operation. Class display items are rearranged, and other non-essential display items are no longer set in the refactored layout structure, that is, non-essential display items are no longer displayed. When the display item is a list, the rearrangement unit can arrange the children in the list in a double row, as shown in FIG. 5.
显示模块400,设置为按照重构后的布局结构在所述显示屏上显示所述待显示内容。The display module 400 is configured to display the content to be displayed on the display screen according to the reconstructed layout structure.
得到所述待显示内容重构后的布局结构后,在需要展示所述待显示内容时,所述终端的显示模块400按照重构后的布局结构在所述显示屏上显示所述待显示内容,由于按照重构后的布局结构显示的内容能够被所述VR设备识别,从而使用户通过所述VR设备能够查看到所述待显示内容。After the layout structure of the content to be displayed is obtained, when the content to be displayed needs to be displayed, the display module 400 of the terminal displays the content to be displayed on the display screen according to the reconstructed layout structure. The content displayed in the reconstructed layout structure can be recognized by the VR device, so that the user can view the content to be displayed through the VR device.
本发明实施例提出的显示处理装置,在终端适配于VR设备中时,实时判断所述终端显示屏上的待显示内容是否能够被所述VR设备识别,当所述待显示内容不能被所述VR设备识别时,将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构,以在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容。上述技术方案使得用户通过所述VR设备能够查看到所述待显示内容,从而使所述VR设备能够识别到所述终端显示屏上的任一类型的显示内容,用户在使用所述VR设备时也不会再错过 所述终端上的来电或短信等内容。The display processing device of the embodiment of the present invention determines whether the content to be displayed on the display screen of the terminal can be recognized by the VR device when the terminal is adapted to the VR device, and when the content to be displayed cannot be When the VR device is identified, the layout structure of the content to be displayed is reconstructed into a layout structure that can be recognized by the VR device, so that the terminal displays the to-be-displayed on the display screen according to the reconstructed layout structure. Display content. The above technical solution enables the user to view the content to be displayed through the VR device, so that the VR device can recognize any type of display content on the display screen of the terminal, when the user uses the VR device. Will not miss again The content of an incoming call or a short message on the terminal.
可选地,基于上述显示处理装置,参照图8,所述显示处理装置还包括:Optionally, based on the above display processing device, referring to FIG. 8, the display processing device further includes:
响应模块500,设置为在按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当检测到所述显示屏上的触摸操作时,根据所述触摸操作更新待显示内容。The response module 500 is configured to update the to-be-displayed content according to the touch operation when the touch operation on the display screen is detected during the display of the to-be-displayed content on the display screen according to the reconstructed layout structure .
在所述终端的显示模块400按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,用户通过所述VR设备能够查看到所述显示屏上显示的显示项,如果这些显示项中包含可操作的显示项,例如按钮,则当用户在所述显示屏上点击该按钮后,所述终端的响应模块500即可检测到所述显示屏上的该触摸操作,之后,所述终端的响应模块500根据该触摸操作对显示屏上的显示内容进行更新。During the display module 400 of the terminal displaying the content to be displayed on the display screen according to the reconstructed layout structure, the user can view the display items displayed on the display screen by the VR device, if these The display item includes an operable display item, such as a button, when the user clicks the button on the display screen, the response module 500 of the terminal can detect the touch operation on the display screen, and then, The response module 500 of the terminal updates the display content on the display screen according to the touch operation.
具体地,在对原有布局结构进行重构时,需要对重构后的布局结构中的显示项分别分配新的标签号,这些标签号对每一个显示项来说是唯一识别的,且需要将重构后的布局结构中的显示项的标签号与原有布局结构中同一显示项的标签号进行一一映射。Specifically, when reconstructing the original layout structure, it is necessary to respectively assign new label numbers to the display items in the reconstructed layout structure, and the label numbers are uniquely identified for each display item, and need to be The label number of the display item in the reconstructed layout structure is mapped one by one with the label number of the same display item in the original layout structure.
在所述终端的显示模块400按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当用户在所述终端的显示屏上点击任一个可操作类的显示项后,所述终端的响应模块500能够获取到该显示项在重构后的布局结构中的标签号,并通过映射得到该显示项在原布局结构中的标签号,进而触发映射得到的标签号对应的响应事件,使得所述终端的显示模块400刷新当前的显示内容或者跳转页面。After the display module 400 of the terminal displays the content to be displayed on the display screen according to the reconstructed layout structure, when the user clicks on any display item of the operable class on the display screen of the terminal, The response module 500 of the terminal can obtain the label number of the display item in the reconstructed layout structure, and obtain the label number of the display item in the original layout structure by mapping, thereby triggering the response corresponding to the label number obtained by the mapping. The event causes the display module 400 of the terminal to refresh the current display content or jump the page.
本发明实施例提出的显示处理装置,能够使VR设备识别到原来不能识别的终端显示内容,且在用户不从所述VR设备中取出所述终端的条件下,能够对用户在所述终端上的触摸操作作出正确响应,在不使用户错过所述终端提供的任何显示内容的同时,为用户使用所述终端进行操作带来极大的便利。 The display processing device of the embodiment of the present invention can enable the VR device to recognize the display content of the terminal that is not originally recognized, and can perform the user on the terminal without the user taking the terminal from the VR device. The touch operation makes a correct response, and the user is greatly facilitated to operate using the terminal without causing the user to miss any display content provided by the terminal.
可选地,基于上述显示处理装置,参照图9,所述显示处理装置还包括:Optionally, based on the above display processing device, referring to FIG. 9, the display processing device further includes:
检测模块600,设置为通过设置在所述终端上的传感器和/或摄像头,检测并判断所述终端当前是否适配于VR设备中,且当确定所述终端当前适配于VR设备中时,打开所述VR交互开关;The detecting module 600 is configured to detect and determine whether the terminal is currently adapted to the VR device by using a sensor and/or a camera disposed on the terminal, and when determining that the terminal is currently adapted to the VR device, Opening the VR interactive switch;
可以理解的是,当所述终端的检测模块600判断出所述终端未被放置在所述VR设备中时,则关闭所述VR交互开关。本实施例中,设置在所述终端上的传感器可以为接近传感器、重力传感器、压力传感器中的一个或多个,设置在所述终端上的摄像头可以为前置摄像头。It can be understood that when the detecting module 600 of the terminal determines that the terminal is not placed in the VR device, the VR interactive switch is turned off. In this embodiment, the sensor disposed on the terminal may be one or more of a proximity sensor, a gravity sensor, and a pressure sensor, and the camera disposed on the terminal may be a front camera.
以所述终端上设置有接近传感器、重力传感器、前置摄像头为例,当重力传感器检测到所述终端相对于水平面是竖着垂直放置时,所述终端的检测模块600打开接近传感器,且当接近传感器检测到所述终端与所述VR设备的距离为0并持续指定时间之后,再打开前置摄像头,如果前置摄像头采集到的图像为全黑,则所述检测模块600确定所述终端已被放置在所述VR设备中。Taking the proximity sensor, the gravity sensor, and the front camera as examples, when the gravity sensor detects that the terminal is vertically and vertically placed with respect to the horizontal plane, the detecting module 600 of the terminal opens the proximity sensor, and when The proximity sensor detects that the distance between the terminal and the VR device is 0 and continues for a specified time, and then turns on the front camera. If the image collected by the front camera is all black, the detecting module 600 determines the terminal. Has been placed in the VR device.
以所述终端上设置有压力传感器、重力传感器为例,当压力传感器检测到所述终端的边框四周有均匀的压力,且重力传感器检测到所述终端相对于水平面是竖着垂直放置时,则所述检测模块600确定所述终端已被放置在所述VR设备中。Taking the pressure sensor and the gravity sensor on the terminal as an example, when the pressure sensor detects that there is uniform pressure around the frame of the terminal, and the gravity sensor detects that the terminal is vertically and vertically placed with respect to the horizontal plane, then The detection module 600 determines that the terminal has been placed in the VR device.
本发明实施例提出的显示处理装置,可由终端通过设置其上的传感器和/或摄像头,自动检测并判断其当前是否适配于VR设备中,以在确定其当前适配于VR设备中时,打开所述VR交互开关,而无需用户在需要时手工打开所述VR交互开关,简化了用户操作,且更加自动化、智能化。The display processing device of the embodiment of the present invention can automatically detect and determine whether it is currently adapted to the VR device by the terminal by setting a sensor and/or a camera thereon, so as to determine that it is currently adapted to the VR device. The VR interactive switch is opened without the user manually opening the VR interactive switch when needed, which simplifies user operations and is more automated and intelligent.
本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令被执行时实现显示处理方法。The embodiment of the invention further provides a computer readable storage medium, wherein the computer readable storage medium stores computer executable instructions, and the computer executable instructions are implemented to implement a display processing method.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储 介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。One of ordinary skill in the art will appreciate that all or part of the steps in the above methods may be performed by a program to instruct related hardware, such as a processor, which may be stored in computer readable storage. In media, such as read-only memory, disk or optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. This application is not limited to any specific combination of hardware and software. A person skilled in the art should understand that the technical solutions of the present application can be modified or equivalent, without departing from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.
工业实用性Industrial applicability
上述技术方案可以使用户在使用VR设备时不会再错过所述终端上的来电或短信等内容。 The above technical solution can enable the user to not miss the content of the incoming call or the short message on the terminal when using the VR device.

Claims (12)

  1. 一种显示处理方法,所述显示处理方法包括:A display processing method, the display processing method comprising:
    终端适配于虚拟现实VR设备中时,所述终端判断其显示屏上的待显示内容是否能够被所述VR设备识别;When the terminal is adapted to the virtual reality VR device, the terminal determines whether the content to be displayed on the display screen can be recognized by the VR device;
    当所述待显示内容不能被所述VR设备识别时,所述终端将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构;When the content to be displayed is not recognized by the VR device, the terminal reconstructs a layout structure of the content to be displayed into a layout structure that the VR device can recognize;
    所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容。The terminal displays the content to be displayed on the display screen according to the reconstructed layout structure.
  2. 如权利要求1所述的显示处理方法,所述显示处理方法还包括:The display processing method according to claim 1, wherein the display processing method further comprises:
    在所述终端按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当所述终端检测到所述显示屏上的触摸操作时,根据所述触摸操作更新待显示内容。While the terminal displays the content to be displayed on the display screen according to the reconstructed layout structure, when the terminal detects a touch operation on the display screen, updating the content to be displayed according to the touch operation .
  3. 如权利要求1或2所述的显示处理方法,所述显示处理方法还包括:The display processing method according to claim 1 or 2, wherein the display processing method further comprises:
    当预置的VR交互开关被打开时,所述终端确定其当前适配于VR设备中;所述终端通过设置其上的传感器和/或摄像头,检测并判断其当前是否适配于VR设备中,且当确定其当前适配于VR设备中时,打开所述VR交互开关。When the preset VR interactive switch is turned on, the terminal determines that it is currently adapted to the VR device; the terminal detects and determines whether it is currently adapted to the VR device by setting a sensor and/or a camera thereon And when it is determined that it is currently adapted in the VR device, the VR interactive switch is turned on.
  4. 如权利要求1所述的显示处理方法,其中:所述终端适配于VR虚拟现实设备中时,所述终端判断其显示屏上的待显示内容是否能够被所述VR设备识别包括:The display processing method according to claim 1, wherein when the terminal is adapted to the VR virtual reality device, the terminal determines whether the content to be displayed on the display screen can be recognized by the VR device, including:
    所述终端适配于VR设备中时,所述终端获取其显示屏上的待显示内容的布局结构;When the terminal is adapted to the VR device, the terminal acquires a layout structure of the content to be displayed on the display screen thereof;
    在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域时,确定所述待显示内容能够被所述VR设备识别;其中,所述两个指定形状的显示区域中的内容平移后完全重叠。Determining that the content to be displayed can be recognized by the VR device when the display structure of the content to be displayed is divided into two display areas of the same size and symmetrically defined shapes; Wherein, the content in the display areas of the two specified shapes completely overlap after being translated.
  5. 如权利要求4所述的显示处理方法,其中:所述当所述待显示内容不能被所述VR设备识别时,所述终端将所述待显示内容的布局结构重构为所 述VR设备能够识别的布局结构包括:The display processing method according to claim 4, wherein: when the content to be displayed cannot be recognized by the VR device, the terminal reconstructs a layout structure of the content to be displayed into a The layout structure that the VR device can recognize includes:
    当所述待显示内容不能被所述VR设备识别时,所述终端根据获取到的布局结构以及预置的重排规则,将所述布局结构中包含的显示项进行分类后按照指定顺序重排;When the content to be displayed cannot be recognized by the VR device, the terminal sorts the display items included in the layout structure according to the acquired layout structure and the preset rearrangement rule, and then rearranges in the specified order. ;
    将重排后的显示项以相同的布局分别配置在所述两个指定形状的显示区域,以得到所述VR设备能够识别的布局结构。The rearranged display items are respectively arranged in the display area of the two specified shapes in the same layout to obtain a layout structure that the VR device can recognize.
  6. 如权利要求1所述的显示处理方法,其中:所述待显示内容包括以下类型中的一种或多种:The display processing method according to claim 1, wherein the content to be displayed comprises one or more of the following types:
    来电、短信、网页、视频、图片、应用页面。Calls, text messages, web pages, videos, pictures, app pages.
  7. 一种显示处理装置,所述显示处理装置包括:A display processing device, the display processing device comprising:
    判断模块,设置为在终端适配于虚拟现实VR设备中时,判断所述终端显示屏上的待显示内容是否能够被所述VR设备识别;a determining module, configured to determine, when the terminal is adapted to the virtual reality VR device, whether the content to be displayed on the display screen of the terminal can be recognized by the VR device;
    重构模块,设置为当所述待显示内容不能被所述VR设备识别时,将所述待显示内容的布局结构重构为所述VR设备能够识别的布局结构;a reconfiguration module, configured to reconfigure a layout structure of the content to be displayed into a layout structure that the VR device can recognize when the content to be displayed cannot be recognized by the VR device;
    显示模块,设置为按照重构后的布局结构在所述显示屏上显示所述待显示内容。And a display module, configured to display the to-be-displayed content on the display screen according to the reconstructed layout structure.
  8. 如权利要求7所述的显示处理装置,所述显示处理装置还包括:The display processing device according to claim 7, wherein the display processing device further comprises:
    响应模块,设置为在按照重构后的布局结构在所述显示屏上显示所述待显示内容期间,当检测到所述显示屏上的触摸操作时,根据所述触摸操作更新待显示内容。The response module is configured to update the to-be-displayed content according to the touch operation when the touch operation on the display screen is detected during the display of the to-be-displayed content on the display screen according to the reconstructed layout structure.
  9. 如权利要求7或8所述的显示处理装置,所述显示处理装置还包括:The display processing device according to claim 7 or 8, wherein the display processing device further comprises:
    检测模块,设置为通过设置在所述终端上的传感器和/或摄像头,检测并判断所述终端当前是否适配于VR设备中,且当确定所述终端当前适配于VR设备中时,打开VR交互开关;a detecting module, configured to detect and determine whether the terminal is currently adapted to the VR device by using a sensor and/or a camera disposed on the terminal, and open when determining that the terminal is currently adapted to the VR device VR interactive switch;
    确定模块,设置为当预置的VR交互开关被打开时,确定所述终端当前适配于VR设备中。The determining module is configured to determine that the terminal is currently adapted to the VR device when the preset VR interactive switch is turned on.
  10. 如权利要求7所述的显示处理装置,其中:所述判断模块包括: The display processing device according to claim 7, wherein said determining module comprises:
    获取单元,设置为在所述终端适配于VR设备中时,获取所述终端显示屏上的待显示内容的布局结构;An acquiring unit, configured to acquire a layout structure of the to-be-displayed content on the display screen of the terminal when the terminal is adapted to the VR device;
    确定单元,设置为在所述待显示内容的布局结构为将所述显示屏的显示区域均分为左右两个相同大小且对称的指定形状的显示区域时,确定所述待显示内容能够被所述VR设备识别;其中,所述两个指定形状的显示区域中的内容平移后完全重叠。a determining unit, configured to determine, when the layout structure of the content to be displayed is a display area that divides the display area of the display screen into two left and right identical sizes and symmetric shapes, determining that the content to be displayed can be The VR device is identified; wherein the content in the display areas of the two specified shapes completely overlap after being translated.
  11. 如权利要求10所述的显示处理装置,其中:所述重构模块包括:The display processing device of claim 10, wherein: said reconstruction module comprises:
    重排单元,设置为当所述待显示内容不能被所述VR设备识别时,根据获取到的布局结构以及预置的重排规则,将所述布局结构中包含的显示项进行分类后按照指定顺序重排;a rearrangement unit configured to: when the content to be displayed is not recognized by the VR device, classify the display items included in the layout structure according to the acquired layout structure and preset reordering rules, and then specify Rearrangement
    配置单元,设置为将重排后的显示项以相同的布局分别配置在所述两个指定形状的显示区域,以得到所述VR设备能够识别的布局结构。The configuration unit is configured to respectively arrange the rearranged display items in the display areas of the two specified shapes in the same layout to obtain a layout structure that the VR device can recognize.
  12. 如权利要求7所述的显示处理装置,其中:所述待显示内容包括以下类型中的一种或多种:The display processing device according to claim 7, wherein said content to be displayed comprises one or more of the following types:
    来电、短信、网页、视频、图片、应用页面。 Calls, text messages, web pages, videos, pictures, app pages.
PCT/CN2017/070886 2016-09-12 2017-01-11 Display processing method and apparatus WO2018045699A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610821120.7 2016-09-12
CN201610821120.7A CN107817894A (en) 2016-09-12 2016-09-12 Display processing method and device

Publications (1)

Publication Number Publication Date
WO2018045699A1 true WO2018045699A1 (en) 2018-03-15

Family

ID=61561336

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070886 WO2018045699A1 (en) 2016-09-12 2017-01-11 Display processing method and apparatus

Country Status (2)

Country Link
CN (1) CN107817894A (en)
WO (1) WO2018045699A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362203B (en) * 2019-07-11 2022-12-02 Oppo广东移动通信有限公司 Information processing method and device, storage medium and augmented reality equipment
CN114286077A (en) * 2021-01-08 2022-04-05 海信视像科技股份有限公司 Virtual reality equipment and VR scene image display method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014108693A1 (en) * 2013-01-11 2014-07-17 Sachin Patel Head mounted display device
WO2016011047A1 (en) * 2014-07-15 2016-01-21 Ion Virtual Technology Corporation Method for viewing two-dimensional content for virtual reality applications
CN105389001A (en) * 2014-09-02 2016-03-09 三星电子株式会社 Method for providing visual reality service and apparatus for the same
CN105447898A (en) * 2015-12-31 2016-03-30 北京小鸟看看科技有限公司 Method and device for displaying 2D application interface in virtual real device
CN105528207A (en) * 2015-12-03 2016-04-27 北京小鸟看看科技有限公司 Virtual reality system, and method and apparatus for displaying Android application images therein
CN105900051A (en) * 2014-01-06 2016-08-24 三星电子株式会社 Electronic device and method for displaying event in virtual reality mode
CN106126145A (en) * 2016-06-29 2016-11-16 联想(北京)有限公司 A kind of display packing and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101252169B1 (en) * 2011-05-27 2013-04-05 엘지전자 주식회사 Mobile terminal and operation control method thereof
CN104270623B (en) * 2014-09-28 2019-02-05 联想(北京)有限公司 A kind of display methods and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014108693A1 (en) * 2013-01-11 2014-07-17 Sachin Patel Head mounted display device
CN105900051A (en) * 2014-01-06 2016-08-24 三星电子株式会社 Electronic device and method for displaying event in virtual reality mode
WO2016011047A1 (en) * 2014-07-15 2016-01-21 Ion Virtual Technology Corporation Method for viewing two-dimensional content for virtual reality applications
CN105389001A (en) * 2014-09-02 2016-03-09 三星电子株式会社 Method for providing visual reality service and apparatus for the same
CN105528207A (en) * 2015-12-03 2016-04-27 北京小鸟看看科技有限公司 Virtual reality system, and method and apparatus for displaying Android application images therein
CN105447898A (en) * 2015-12-31 2016-03-30 北京小鸟看看科技有限公司 Method and device for displaying 2D application interface in virtual real device
CN106126145A (en) * 2016-06-29 2016-11-16 联想(北京)有限公司 A kind of display packing and electronic equipment

Also Published As

Publication number Publication date
CN107817894A (en) 2018-03-20

Similar Documents

Publication Publication Date Title
CN109246464B (en) User interface display method, device, terminal and storage medium
CN107765775B (en) Terminal control method, device and storage medium
WO2020038168A1 (en) Content sharing method and device, terminal, and storage medium
TWI490773B (en) An user interface operating method and an electrical device with the user interfaceand a program product storing a program for operating the user interface
WO2022110819A1 (en) Video switching method and apparatus
US10701301B2 (en) Video playing method and device
JP7104242B2 (en) Methods for sharing personal information, devices, terminal equipment and storage media
WO2017190638A1 (en) Information display method and terminal
WO2019095816A1 (en) Interface display method and apparatus
JP6239783B2 (en) Information selection method and apparatus
RU2663709C2 (en) Method and device for data processing
US20180373424A1 (en) Method and apparatus for dynamically switching keyboard background
CN112199029B (en) Dual-system device, writing method thereof and interactive intelligent panel
US20170171277A1 (en) Method and electronic device for multimedia recommendation based on android platform
CN109445891B (en) Picture configuration and display method, device and computer readable storage medium
WO2018045699A1 (en) Display processing method and apparatus
JP2017508223A (en) Page display method and apparatus, and electronic device
CN113778360A (en) Screen projection method and electronic equipment
JP2020511021A (en) Object display method and object display device
CN111352560B (en) Screen splitting method and device, electronic equipment and computer readable storage medium
CN111428570A (en) Detection method and device for non-living human face, computer equipment and storage medium
WO2018040505A1 (en) Configuration display method, and terminal
JP2017538202A (en) Method and apparatus for displaying object information on a screen display device
US20210064394A1 (en) Information display method, terminal and storage medium
CN112540716A (en) Method and device for passing through intelligent cabin application program among multiple screens and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17847875

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17847875

Country of ref document: EP

Kind code of ref document: A1