CN117784918A - Information interaction methods, devices, electronic equipment and storage media - Google Patents
Information interaction methods, devices, electronic equipment and storage media Download PDFInfo
- Publication number
- CN117784918A CN117784918A CN202211153987.1A CN202211153987A CN117784918A CN 117784918 A CN117784918 A CN 117784918A CN 202211153987 A CN202211153987 A CN 202211153987A CN 117784918 A CN117784918 A CN 117784918A
- Authority
- CN
- China
- Prior art keywords
- target
- interface
- external terminal
- display
- application
- 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.)
- Pending
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域Technical field
本公开实施例涉及虚拟现实技术领域,尤其涉及一种信息交互方法、装置、电子设备及存储介质。The embodiments of the present disclosure relate to the field of virtual reality technology, and in particular, to an information interaction method, device, electronic device, and storage medium.
背景技术Background technique
虚拟现实(Virtual Reality,VR),是一种通过计算设备和显示设备来模拟真实世界中的物体的技术,能够实现用户沉浸式的观看体验。随着图像处理技术和计算能力的不断提升,虚拟现实技术为用户带来的真实感和沉浸感也越来越强。Virtual Reality (VR) is a technology that uses computing devices and display devices to simulate objects in the real world, enabling users to have an immersive viewing experience. With the continuous improvement of image processing technology and computing power, virtual reality technology brings an increasingly strong sense of reality and immersion to users.
现有技术中,虚拟现实类的应用,通常配合对应的虚拟现实设备来使用,例如虚拟现实头盔、虚拟现实手柄以及耳机等。然而,现有技术中的虚拟现实设备在工作时,存在无法对外部终端设备进行显示和控制的问题,导致用户使用上的不便。In the prior art, virtual reality applications are usually used in conjunction with corresponding virtual reality devices, such as virtual reality helmets, virtual reality controllers, and headphones, etc. However, the virtual reality devices in the prior art have the problem of being unable to display and control external terminal devices when working, causing inconvenience to users.
发明内容Summary of the invention
本公开实施例提供一种信息交互方法、装置、电子设备及存储介质,以克服虚拟现实设备无法对外部终端设备进行显示和操作的问题。Embodiments of the present disclosure provide an information interaction method, device, electronic device, and storage medium to overcome the problem that virtual reality devices cannot display and operate external terminal devices.
第一方面,本公开实施例提供一种信息交互方法,包括:In a first aspect, embodiments of the present disclosure provide an information interaction method, including:
在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面;响应于针对所述扩展现实空间的第一用户操作,在所述终端界面内显示目标应用的调用结果,其中,所述目标应用为运行于所述外部终端设备应用程序。In the first target area within the extended reality space, display the terminal interface of the external terminal device; in response to the first user operation on the extended reality space, display the calling result of the target application in the terminal interface, wherein, The target application is an application program running on the external terminal device.
第二方面,本公开实施例提供一种信息交互装置,包括:In a second aspect, an embodiment of the present disclosure provides an information interaction device, including:
显示模块,用于在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面;The display module is used to display the terminal interface of the external terminal device in the first target area within the extended reality space;
交互模块,用于响应于针对所述扩展现实空间的第一用户操作,在所述终端界面内显示目标应用的调用结果,其中,所述目标应用为运行于所述外部终端设备应用程序。An interaction module is used to display a call result of a target application in the terminal interface in response to a first user operation on the extended real space, wherein the target application is an application program running on the external terminal device.
第三方面,本公开实施例提供一种电子设备,包括:In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
处理器,以及与所述处理器通信连接的存储器;A processor, and a memory communicatively connected to the processor;
所述存储器存储计算机执行指令;The memory stores computer-executable instructions;
所述处理器执行所述存储器存储的计算机执行指令,以实现如上第一方面以及第一方面各种可能的设计所述的信息交互方法。The processor executes computer execution instructions stored in the memory to implement the information interaction method described in the first aspect and various possible designs of the first aspect.
第四方面,本公开实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的信息交互方法。In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium. Computer-executable instructions are stored in the computer-readable storage medium. When the processor executes the computer-executable instructions, the above first aspect and the first aspect are implemented. various possible designs of the described information interaction methods.
第五方面,本公开实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的信息交互方法。In a fifth aspect, embodiments of the present disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the information interaction method described in the first aspect and various possible designs of the first aspect.
本实施例提供的信息交互方法、装置、电子设备及存储介质,通过在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面;响应于针对所述扩展现实空间的第一用户操作,在所述终端界面内显示目标应用的调用结果,其中,所述目标应用为运行于所述外部终端设备应用程序。由于通过在扩展现实空间内显示外部终端设备的终端界面,并通过针对扩展现实空间的操作来控制运行于所述外部终端设备目标应用,实现在扩展现实空间内显示和控制外部终端设备的目的,实现了虚拟现实设备与外部终端设备的高效交互,使用户在使用虚拟现实设备的过程中,可以方便的对外部终端设备进行控制,提高使用便捷性。The information interaction method, device, electronic device and storage medium provided by this embodiment display the terminal interface of the external terminal device through the first target area in the extended reality space; in response to the first user operation for the extended reality space , display the calling result of the target application in the terminal interface, wherein the target application is an application program running on the external terminal device. Since the purpose of displaying and controlling the external terminal device in the extended reality space is achieved by displaying the terminal interface of the external terminal device in the extended reality space, and controlling the target application running on the external terminal device through operations directed to the extended reality space, Efficient interaction between virtual reality equipment and external terminal equipment is realized, allowing users to conveniently control external terminal equipment during the use of virtual reality equipment, improving convenience of use.
附图说明Description of drawings
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, a brief introduction will be made below to the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.
图1为本公开实施例提供的信息交互方法的一种应用场景图;Figure 1 is an application scenario diagram of the information interaction method provided by an embodiment of the present disclosure;
图2为本公开实施例提供的信息交互方法的流程示意图一;Figure 2 is a schematic flow chart 1 of an information interaction method provided by an embodiment of the present disclosure;
图3为本公开实施例提供的一种扩展现实空间的示意图;Figure 3 is a schematic diagram of an extended real space provided by an embodiment of the present disclosure;
图4为图2所示实施例中步骤S101的一种实现方式流程图;Figure 4 is a flow chart of an implementation manner of step S101 in the embodiment shown in Figure 2;
图5为本公开实施例提供的一种在扩展现实空间内显示外部终端设备的终端界面的过程示意图;Figure 5 is a schematic diagram of a process for displaying a terminal interface of an external terminal device in an extended reality space according to an embodiment of the present disclosure;
图6为图2所示实施例中步骤S101的另一种实现方式流程图;Figure 6 is a flow chart of another implementation manner of step S101 in the embodiment shown in Figure 2;
图7A为本公开实施例提供的一种显示功能界面的过程示意图;Figure 7A is a schematic diagram of a process of displaying a functional interface provided by an embodiment of the present disclosure;
图7B为本公开实施例提供的另一种显示功能界面的过程示意图;Figure 7B is a schematic diagram of another process of displaying a functional interface provided by an embodiment of the present disclosure;
图8为本公开实施例提供的一种基于触发操作显示目标终端界面的过程示意图;Figure 8 is a schematic diagram of a process for displaying a target terminal interface based on a trigger operation provided by an embodiment of the present disclosure;
图9为图2所示实施例中步骤S102的一种实现方式流程图;Figure 9 is a flow chart of an implementation manner of step S102 in the embodiment shown in Figure 2;
图10为本公开实施例提供的信息交互方法的流程示意图二;Figure 10 is a schematic flowchart 2 of the information interaction method provided by an embodiment of the present disclosure;
图11为本公开实施例提供的一种通知界面的示意图;Figure 11 is a schematic diagram of a notification interface provided by an embodiment of the present disclosure;
图12为本公开实施例提供的一种显示通知界面的过程示意图;FIG12 is a schematic diagram of a process of displaying a notification interface provided by an embodiment of the present disclosure;
图13为本公开实施例提供的一种动态第一目标区域的示意图;Figure 13 is a schematic diagram of a dynamic first target area provided by an embodiment of the present disclosure;
图14为本公开实施例提供的信息交互装置的结构框图;Figure 14 is a structural block diagram of an information interaction device provided by an embodiment of the present disclosure;
图15为本公开实施例提供的一种电子设备的结构示意图;Figure 15 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure;
图16为本公开实施例提供的电子设备的硬件结构示意图。Figure 16 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments These are some embodiments of the present disclosure, but not all embodiments. Based on the embodiments in this disclosure, all other embodiments obtained by those of ordinary skill in the art without making creative efforts fall within the scope of protection of this disclosure.
下面对本公开实施例的应用场景进行解释:The application scenarios of the embodiments of the present disclosure are explained below:
图1为本公开实施例提供的信息交互方法的一种应用场景图,本公开实施例提供的信息交互方法,可以应用于虚拟现实(VR)类应用、混合现实(Mix Reality,MR)类应用的场景中。具体地,如图1所示,本公开实施例提供的方法,可以应用于虚拟现实设备,虚拟现实设备例如为图中所示的虚拟现实头盔,虚拟现实头盔内具有用于运行虚拟现实应用(例如虚拟现实游戏、虚拟现实电影)的计算单元,一方面,用户通过佩戴虚拟现实头盔,可以实现沉浸式观看虚拟现实应用所展示的图像。另一方面,虚拟现实设备可以与外部终端设备(图中示为智能手机)通信连接,与外部终端设备进行信息交互。其中,虚拟现实设备与外部终端设备之间,可以通过wife、蓝牙等方式进行直接通信,也可以通过路由器、服务器等网络设备,进行间接通信,不做具体限制。Figure 1 is an application scenario diagram of the information interaction method provided by the embodiment of the disclosure. The information interaction method provided by the embodiment of the disclosure can be applied to virtual reality (VR) applications and mixed reality (Mix Reality, MR) applications. in the scene. Specifically, as shown in Figure 1, the method provided by the embodiment of the present disclosure can be applied to a virtual reality device. The virtual reality device is, for example, the virtual reality helmet shown in the figure. The virtual reality helmet has a device for running a virtual reality application ( For example, computing units for virtual reality games and virtual reality movies. On the one hand, users can immersively watch images displayed by virtual reality applications by wearing a virtual reality helmet. On the other hand, the virtual reality device can communicate and connect with an external terminal device (smartphone shown in the figure), and interact with the external terminal device for information. Among them, the virtual reality device and the external terminal device can communicate directly through Wife, Bluetooth, etc., or indirectly through network devices such as routers and servers, without specific restrictions.
进一步地,示例性地,虚拟现实设备还可以为虚拟现实眼镜、虚拟现实手柄以及虚拟现实主机等,本实施例提供的方法,可以运行于虚拟现实头盔或眼镜、虚拟现实手柄以及虚拟现实主机中的任一种或多种设备中。本公开实施例提供的方法,还可以应用于与上述虚拟现实设备通信的云服务器,云服务器通过网络通信,接收通过虚拟现实设备获取的用户指令,并将图像数据发送至虚拟现实设备进行显示。本实施例提供的信息交互方法的执行主体,可以根据具体需要进行设置,此处不再一一赘述。Further, for example, the virtual reality device can also be virtual reality glasses, a virtual reality handle, a virtual reality host, etc. The method provided in this embodiment can be run in a virtual reality helmet or glasses, a virtual reality handle, and a virtual reality host. in any one or more devices. The method provided by the embodiment of the present disclosure can also be applied to a cloud server that communicates with the above-mentioned virtual reality device. The cloud server communicates through the network, receives user instructions obtained through the virtual reality device, and sends image data to the virtual reality device for display. The execution subject of the information interaction method provided in this embodiment can be set according to specific needs, and will not be described in detail here.
现有技术中,虚拟现实类的应用,通常需要配合对应的虚拟现实设备来使用,用户在佩戴虚拟现实头盔、耳机等设备后,由于其高度沉浸的信息展示方式,使用户处于与外部真实环境的隔离状态,从而造成用户无法接收到其他外部终端设备(例如手机)的消息。一些相关技术中,通过将智能手机等外部终端设备与虚拟现实设备进行通信连接,可以实现将外部终端设备的相关通知信息显示在扩展现实空间中,当用户看到外部终端设备的通知信息,需要进一步对外部终端设备进行操作时,例如通过手机回复短信,仍需要通过对外部终端设备进行操作来实现,造成了反复穿戴虚拟现实设备的问题,导致用户使用上的不便。本公开实施例提供一种信息交互方法以解决上述问题。In the existing technology, virtual reality applications usually need to be used with corresponding virtual reality devices. After users wear virtual reality helmets, headsets and other devices, due to their highly immersive information display methods, the users are in the same external real environment. The isolation state causes the user to be unable to receive messages from other external terminal devices (such as mobile phones). In some related technologies, by communicating and connecting external terminal devices such as smartphones with virtual reality devices, relevant notification information of the external terminal device can be displayed in the extended reality space. When the user sees the notification information of the external terminal device, he or she needs to When further operating the external terminal device, such as replying to a text message through a mobile phone, it is still necessary to operate the external terminal device, causing the problem of repeatedly wearing the virtual reality device and causing inconvenience to the user. Embodiments of the present disclosure provide an information interaction method to solve the above problems.
参考图2,图2为本公开实施例提供的信息交互方法的流程示意图一。本实施例的方法可以应用在虚拟现实设备或云服务器中,本实施例中示例性地以虚拟现实设备作为执行主体进行说明,该信息交互方法包括:Referring to Figure 2, Figure 2 is a schematic flowchart 1 of an information interaction method provided by an embodiment of the present disclosure. The method of this embodiment can be applied in a virtual reality device or a cloud server. In this embodiment, the virtual reality device is used as the execution subject for illustration. The information interaction method includes:
步骤S101:在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面。Step S101: Display the terminal interface of the external terminal device in the first target area in the extended reality space.
示例性地,虚拟现实设备(VR设备)是设置有用于运行实现虚拟现实应用(Application)的计算单元的设备,例如包括虚拟现实头盔(即一体机)、虚拟现实主机(即分体机)等,进一步地,虚拟现实主机可以是专用型的主机设备,也可以是通用型的计算机设备。虚拟现实设备中运行有虚拟现实操作系统,通过虚拟现实操作系统,来运行虚拟现实应用。其中,虚拟现实设备自身带有显示单元(一体机),或者与显示单元通信连接(分体机),显示单元例如为虚拟现实头盔、虚拟现实眼镜等。显示单元具有显示屏,通过显示屏显示扩展现实空间(也即,虚拟现实空间或虚拟显示界面,),来实现对虚拟现实设备所构建的虚拟空间的图像展示。Illustratively, a virtual reality device (VR device) is a device provided with a computing unit for running a virtual reality application (Application), and includes, for example, a virtual reality helmet (i.e., all-in-one machine), a virtual reality host (i.e., a split machine), etc. , Further, the virtual reality host can be a dedicated host device or a general-purpose computer device. A virtual reality operating system runs in the virtual reality device, and virtual reality applications are run through the virtual reality operating system. Among them, the virtual reality device itself has a display unit (all-in-one machine), or is communicatively connected to the display unit (separate machine). The display unit is, for example, a virtual reality helmet, virtual reality glasses, etc. The display unit has a display screen, and displays an extended real space (that is, a virtual reality space or a virtual display interface) through the display screen to realize image display of the virtual space constructed by the virtual reality device.
图3为本公开实施例提供的一种扩展现实空间的示意图,如图3所示,示例性地,虚拟现实设备例如为虚拟现实头盔,在虚拟现实头盔启动并初始化后,通过虚拟现实头盔的显示屏,显示扩展现实空间,一种可能的情况下,扩展现实空间内显示虚拟操作系统的系统界面,其中包括应用图标、功能图标等常用图标,点选此类常用图标会运行对应的虚拟现实应用及功能,对此不再赘述。另一方面,在扩展现实空间的第一目标区域,显示有外部终端设备的终端界面,参考图3中所示,外部终端设备例如为智能手机,对应的终端界面为手机界面,手机界面内显示有正在运行的终端应用,例如即使通信应用,将智能手机的手机界面显示在扩展现实空间内后,用户在观看扩展现实空间时,可同时观察到手机界面内运行的终端应用,从而实现虚拟现实空间与外部环境中的终端设备的信息联通。Figure 3 is a schematic diagram of an extended reality space provided by an embodiment of the present disclosure. As shown in Figure 3, exemplarily, the virtual reality device is, for example, a virtual reality helmet. After the virtual reality helmet is started and initialized, through the virtual reality helmet The display screen displays the extended reality space. In one possible case, the system interface of the virtual operating system is displayed in the extended reality space, including application icons, function icons and other common icons. Clicking such common icons will run the corresponding virtual reality Applications and functions will not be described in detail here. On the other hand, in the first target area of the extended reality space, a terminal interface of an external terminal device is displayed. As shown in Figure 3, the external terminal device is, for example, a smartphone, and the corresponding terminal interface is a mobile phone interface. Displayed in the mobile phone interface There are running terminal applications, such as communication applications. After displaying the smartphone interface in the extended reality space, the user can simultaneously observe the terminal application running in the mobile interface while viewing the extended reality space, thereby realizing virtual reality. Information communication between space and terminal equipment in the external environment.
进一步地,一种可能的实现方式中,外部终端设备的终端界面可以始终显示在扩展现实空间内,例如在虚拟现实设备的操作系统初始化后,通过与外部终端设备的通信,获得相应的数据后,将外部终端设备的终端界面固定显示在扩展现实空间的第一目标区域,例如扩展现实空间的右下角,从而实现外部终端设备的终端界面在扩展现实空间内的常态化显示,使用户可以同时查看和处理两个终端设备(虚拟现实设备和外部终端设备)的信息。Furthermore, in a possible implementation, the terminal interface of the external terminal device can always be displayed in the extended reality space. For example, after the operating system of the virtual reality device is initialized, the corresponding data is obtained through communication with the external terminal device. , the terminal interface of the external terminal device is fixedly displayed in the first target area of the extended reality space, such as the lower right corner of the extended reality space, thereby realizing the normalized display of the terminal interface of the external terminal device in the extended reality space, so that the user can simultaneously View and process information from two terminal devices (virtual reality device and external terminal device).
在另一种可能的实现方式中,虚拟现实设备在得到触发指令后,在扩展现实空间内显示外部终端设备的终端界面。其中,示例性地,该触发指令可以是基于外部终端设备的推送信息而生成的。在一种可能的实现方式中,如图4所示,步骤S101的具体实现步骤包括:In another possible implementation manner, after receiving the trigger instruction, the virtual reality device displays the terminal interface of the external terminal device in the extended reality space. For example, the triggering instruction may be generated based on push information from an external terminal device. In a possible implementation, as shown in Figure 4, the specific implementation steps of step S101 include:
步骤S1011:获取外部终端设备发送的推送信息,推送信息表征外部终端设备运行的目标应用生成的应用消息。Step S1011: Obtain the push information sent by the external terminal device. The push information represents the application message generated by the target application running on the external terminal device.
步骤S1012:基于推送信息,在扩展现实空间内的第一目标区域渲染对应的目标终端界面,目标终端界面用于显示目标应用生成的应用消息。Step S1012: Based on the push information, render the corresponding target terminal interface in the first target area in the extended reality space. The target terminal interface is used to display application messages generated by the target application.
目标应用生成的应用消息即在外部终端设备一侧运行的目标应用在运行过程中,响应于某个触发事件而生成的应用内消息,例如,即时通讯应用(目标应用)接收到用户消息、视频电话时,所生成的消息。图5为本公开实施例提供的一种在扩展现实空间内显示外部终端设备的终端界面的过程示意图,如图5所示,外部终端设备例如为智能手机,外部终端设备与虚拟现实设备之间通过wifi等无线通信方式连接,在外部终端设备中运行的即时通讯应用(目标应用)收到用户消息前(第一时刻),扩展现实空间内仅显示虚拟现实应用相关的内容;在外部终端设备中运行的即时通讯应用收到用户消息后(第二时刻),外部终端设备向虚拟现实设备发送推送信息,虚拟现实设备接收到推送信息后,生成触发指令,并基于触发指令在扩展现实空间内显示包含有用户消息的目标终端界面,从而,使外部终端设备内运行的即时通讯应用所收到的用户消息,可以同步显示至扩展现实空间内。The application messages generated by the target application are in-application messages generated by the target application running on the external terminal device in response to a trigger event during the running process. For example, the instant messaging application (target application) receives user messages, videos, etc. The message generated during the call. Figure 5 is a schematic diagram of a process for displaying a terminal interface of an external terminal device in an extended reality space according to an embodiment of the present disclosure. As shown in Figure 5, the external terminal device is, for example, a smartphone, and there is a gap between the external terminal device and the virtual reality device. Connected through wireless communication methods such as wifi, before the instant messaging application (target application) running in the external terminal device receives the user message (the first moment), only content related to the virtual reality application is displayed in the extended reality space; on the external terminal device After the instant messaging application running in the mobile phone receives the user message (the second moment), the external terminal device sends push information to the virtual reality device. After receiving the push information, the virtual reality device generates a trigger instruction, and based on the trigger instruction, in the extended reality space Display the target terminal interface containing the user message, so that the user message received by the instant messaging application running in the external terminal device can be synchronously displayed in the extended reality space.
其中,虚拟现实设备接收到推送信息后,可以通过以下可选地方式生成目标终端界面,一种可能的方式中,例如,虚拟现实设备接收到推送信息后,与外部终端设备建立界面投影数据通道,之后,外部终端设备将目标应用(用于展示应用消息)的应用界面投影至扩展现实空间的第一目标区域内进行渲染,从而生成显示于扩展现实空间内的目标终端界面。Among them, after the virtual reality device receives the push information, it can generate the target terminal interface in the following optional ways. In one possible way, for example, after the virtual reality device receives the push information, it establishes an interface projection data channel with the external terminal device. , after that, the external terminal device projects the application interface of the target application (used to display application messages) into the first target area of the extended reality space for rendering, thereby generating a target terminal interface displayed in the extended reality space.
另一种可能的方式中,例如,推送消息中包括目标应用的应用消息,虚拟现实设备接收到推送信息后,利用推送消息确定对应的目标应用,再基于预设的目标应用的界面描述信息,在第一目标区域内重构目标应用的界面布局并进行渲染,并结合推送消息中携带的目标应用的应用消息进行数据填充,从而生成显示于扩展现实空间内的目标终端界面。示例性地,目标应用在外部终端设备的第一界面内显示应用消息;第一界面与目标终端界面具有相同的界面布局。通过界面描述信息,实现对目标应用的第一界面的准确模拟,提高扩展现实空间中的终端界面与外部终端设备运行目标应用中的第一界面的一致性,提高视觉沉浸感。In another possible way, for example, the push message includes the application message of the target application. After receiving the push information, the virtual reality device uses the push message to determine the corresponding target application, and then based on the preset interface description information of the target application, The interface layout of the target application is reconstructed and rendered in the first target area, and data is filled in combination with the application message of the target application carried in the push message, thereby generating a target terminal interface displayed in the extended reality space. Exemplarily, the target application displays the application message in a first interface of the external terminal device; the first interface and the target terminal interface have the same interface layout. Through the interface description information, we can achieve accurate simulation of the first interface of the target application, improve the consistency between the terminal interface in the extended reality space and the first interface of the external terminal device running the target application, and improve visual immersion.
本实施例中,基于推送信息来触发终端界面在扩展现实空间内的显示,实现了外部终端设备与虚拟现实设备之间的消息实时推送,同时避免扩展现实空间内长时间显示终端界面造成的影响视觉沉浸感的问题,提高用户使用体验。In this embodiment, the push information is used to trigger the display of the terminal interface in the extended reality space, thereby realizing real-time push of messages between the external terminal device and the virtual reality device, while avoiding the impact of long-term display of the terminal interface in the extended reality space. Visual immersion issues to improve user experience.
在另一种可能的实现方式中,如图6所示,步骤S101的具体实现步骤包括:In another possible implementation, as shown in Figure 6, the specific implementation steps of step S101 include:
步骤S1013:响应于第四用户操作,在扩展现实空间的第二目标区域,显示功能界面,功能界面用于展示至少一种备选应用的标识,备选应用为由外部终端设备运行的应用程序。Step S1013: In response to the fourth user operation, a function interface is displayed in the second target area of the extended reality space, where the function interface is used to display an identifier of at least one alternative application, where the alternative application is an application program run by an external terminal device.
图7A为本公开实施例提供的一种显示功能界面的过程示意图,图7B为本公开实施例提供的另一种显示功能界面的过程示意图,下面基于图7A和图7B,对上述过程进行详细介绍。示例性地,在扩展现实空间中,第一目标区域设置于界面右侧、第二目标区域设置于界面左侧,首先,在检测到第四用户操作后,在扩展现实空间的第二目标区域,显示功能界面。一种可能的实现方式中,如图7A所示,第四用户操作可以为针对扩展现实空间中的某个功能组件的触发操作,例如通过操作右侧虚拟现实手柄点击扩展现实空间中的功能组件A,显示功能界面。另一种可能的实现方式中,如图7B所示,第四用户操作还可以为针对虚拟现实手柄的操作手势,例如通过抬起左侧虚拟现实手柄的抬起手势,显示功能界面,同时显示抬起手势对应的手势标识。FIG. 7A is a schematic diagram of a process for displaying a functional interface provided by an embodiment of the present disclosure. FIG. 7B is a schematic diagram of a process of displaying a functional interface provided by an embodiment of the present disclosure. The above process will be described in detail below based on FIG. 7A and FIG. 7B introduce. For example, in the extended reality space, the first target area is set on the right side of the interface, and the second target area is set on the left side of the interface. First, after the fourth user operation is detected, in the second target area of the extended reality space , display the function interface. In one possible implementation, as shown in Figure 7A, the fourth user operation may be a triggering operation for a certain functional component in the extended reality space, for example, by operating the right virtual reality handle to click on a functional component in the extended reality space. A. Display function interface. In another possible implementation, as shown in Figure 7B, the fourth user operation can also be an operating gesture for the virtual reality handle, such as a lift gesture of lifting the left virtual reality handle to display the functional interface and simultaneously display The gesture identifier corresponding to the raise gesture.
进一步地,功能界面内展示至少一种备选应用的标识,备选应用为由外部终端设备运行的应用程序,例如,在外部终端设备一侧执行的电话应用、短信应用、即时通讯应用等。之后通过点击功能界面内展示的备选应用的标识,即可实现对外部终端设备一侧执行的应用程序的调用,具体实现在后续步骤中详细介绍。Further, the identification of at least one alternative application is displayed in the functional interface, and the alternative application is an application program run by an external terminal device, for example, a phone application, a text message application, an instant messaging application, etc. executed on the side of the external terminal device. After that, by clicking on the logo of the alternative application displayed in the function interface, the application program executed on the side of the external terminal device can be called. The specific implementation will be introduced in detail in subsequent steps.
步骤S1014:响应于针对备选应用的标识的触发操作,确定目标应用,并在扩展现实空间内的第一目标区域渲染对应的目标终端界面,目标终端界面用于显示外部终端设备运行的目标应用。Step S1014: In response to the triggering operation for the identification of the candidate application, determine the target application, and render the corresponding target terminal interface in the first target area in the extended reality space, where the target terminal interface is used to display the target application running on the external terminal device.
示例性地,功能界面内所展示的备选应用,可以通过对应设置的功能组件进行调用,具体地,通过点击备选应用的标识,来触发对应的功能组件,功能组件被触发后,执行远程调用方法,控制外部终端执行对应的备选应用。本实施例中,首先基于触发操作所针对的备选应用的标识,将通过该触发操作选择的备选应用确定为目标应用,并触发对应的功能组件,之后,执行远程调用方法,控制外部终端运行该目标应用,并在扩展现实空间内的第一目标区域渲染用于显示该目标应用的目标终端界面。For example, the alternative applications displayed in the functional interface can be called through the corresponding set functional components. Specifically, the corresponding functional components are triggered by clicking on the logo of the alternative applications. After the functional components are triggered, the remote execution Call the method to control the external terminal to execute the corresponding alternative application. In this embodiment, first, based on the identification of the candidate application targeted by the trigger operation, the candidate application selected by the trigger operation is determined as the target application, and the corresponding functional component is triggered. After that, the remote calling method is executed to control the external terminal. The target application is run, and a target terminal interface for displaying the target application is rendered in the first target area in the extended reality space.
图8为本公开实施例提供的一种基于触发操作显示目标终端界面的过程示意图,如图8所示,功能界面中包括环形设置的多个备选应用对应的应用标识,每一应用标识对应一个组件,当用户通过虚拟现实手柄选择点选不同的应用标识后,会在第一目标区域内,显示对应的目标终端界面,从而实现从扩展现实空间的功能界面对外部终端内运行的应用程序的调用。参考图8所示,当点击应用标识A时,在第一目标区域显示A应用对应的终端界面View1;当点击应用标识B时,在第一目标区域显示B应用对应的终端界面View2。Figure 8 is a schematic diagram of a process for displaying a target terminal interface based on a trigger operation provided by an embodiment of the present disclosure. As shown in Figure 8, the functional interface includes application identifiers corresponding to multiple alternative applications set in a ring, and each application identifier corresponds to A component that displays the corresponding target terminal interface in the first target area when the user selects and clicks on different application logos through the virtual reality controller, thereby realizing the application running in the external terminal from the functional interface of the extended reality space. call. Referring to Figure 8, when application logo A is clicked, the terminal interface View1 corresponding to application A is displayed in the first target area; when application logo B is clicked, the terminal interface View2 corresponding to application B is displayed in the first target area.
其中,在扩展现实空间内的第一目标区域渲染对应的目标终端界面的方式有多种,一种可能的方式中,例如,虚拟现实设备检测到触发操作并确定目标应用后,与外部终端设备建立界面投影数据通道,之后,外部终端设备将目标应用(用于展示应用消息)的应用界面投影至扩展现实空间的第一目标区域内进行渲染,从而生成显示于扩展现实空间内的目标终端界面。There are many ways to render the corresponding target terminal interface in the first target area in the extended reality space. In one possible way, for example, after the virtual reality device detects the trigger operation and determines the target application, it communicates with the external terminal device Establish an interface projection data channel. After that, the external terminal device projects the application interface of the target application (used to display application messages) into the first target area of the extended reality space for rendering, thereby generating the target terminal interface displayed in the extended reality space. .
另一种可能的方式中,例如,虚拟现实设备检测到触发操作并确定目标应用后,基于预设的目标应用的界面描述信息,在第一目标区域内重构目标应用的界面布局并进行渲染,之后或同时,向外部终端设备发送针对目标应用的请求,通过消息系统(messagingsystem)获得目标应用发出的应用消息,并利用目标应用的应用消息进行数据填充,从而生成显示于扩展现实空间内的目标终端界面。示例性地,目标应用在外部终端设备的第一界面内显示应用消息;第一界面与目标终端界面具有相同的界面布局,通过界面描述信息,实现对目标应用的第一界面的准确模拟,提高扩展现实空间中的终端界面与外部终端设备运行目标应用中的第一界面的一致性,提高视觉沉浸感。In another possible way, for example, after the virtual reality device detects the trigger operation and determines the target application, it reconstructs the interface layout of the target application in the first target area and renders it based on the preset interface description information of the target application. , then or at the same time, send a request for the target application to the external terminal device, obtain the application message sent by the target application through the messaging system (messaging system), and use the application message of the target application to fill in data, thereby generating a message displayed in the extended reality space. Target terminal interface. Exemplarily, the target application displays application messages in the first interface of the external terminal device; the first interface and the target terminal interface have the same interface layout, and the interface description information is used to achieve an accurate simulation of the first interface of the target application, improving Expand the consistency between the terminal interface in the real space and the first interface in the target application running on the external terminal device to improve visual immersion.
本实施例中,通过响应于第一用户操作显示功能界面,在基于针对功能界面的触发操作,实现对目标终端界面的渲染,实现了在扩展现实空间内基于用户需求的外部功能调用,提高了在扩展现实空间内调用外部终端设备的应用时的操作灵活性和便捷性。In this embodiment, by displaying a function interface in response to a first user operation, rendering of the target terminal interface is achieved based on a trigger operation on the function interface, thereby realizing external function calls based on user needs in the extended reality space, and improving the operational flexibility and convenience when calling applications of external terminal devices in the extended reality space.
S102:响应于针对扩展现实空间的第一用户操作,在终端界面内显示目标应用的调用结果,其中,目标应用为运行于外部终端设备应用程序。S102: In response to the first user operation on the extended reality space, display the calling result of the target application in the terminal interface, where the target application is an application running on an external terminal device.
示例性地,在扩展现实空间内显示终端界面,用户可基于终端界面所显示的内容,进一步地对该终端界面进行操作,从而实现与外部终端设备的交互。For example, the terminal interface is displayed in the extended reality space, and the user can further operate the terminal interface based on the content displayed on the terminal interface, thereby realizing interaction with the external terminal device.
在一种可能的实现过程中,如图9所示,步骤S102的具体实现步骤包括:In a possible implementation process, as shown in FIG9 , the specific implementation steps of step S102 include:
步骤S1021:响应于针对终端界面内的目标功能标识的触发操作,向外部终端设备发送调用请求,调用请求中包括用于执行目标应用的目标功能的输入参数。Step S1021: In response to the trigger operation for the target function identifier in the terminal interface, send a call request to the external terminal device, where the call request includes input parameters for executing the target function of the target application.
步骤S1022:接收外部终端设备返回的调用请求对应的调用结果,并在第一目标区域显示调用结果。Step S1022: Receive the call result corresponding to the call request returned by the external terminal device, and display the call result in the first target area.
具体地,终端界面用于展示目标应用对应的应用界面,在应用界面内具有至少一个功能标识,每一功能标识对应一个功能组件,例如,在即时通讯应用中的“发送”标识,对应发送消息的功能组件;“表情”标识,对应显示表情页面的功能组件;以及输入法区域的各“字母标识”,分别对应输入法中输入字母的功能组件。Specifically, the terminal interface is used to display the application interface corresponding to the target application. There is at least one function identifier in the application interface. Each function identifier corresponds to a functional component. For example, the "send" identifier in the instant messaging application corresponds to sending a message. The functional components; the "emoticon" logo corresponds to the functional component for displaying the emoticon page; and each "letter logo" in the input method area corresponds to the functional component for inputting letters in the input method.
进一步地,用户例如通过虚拟现实手柄,对扩展现实空间内的终端界面内的按钮进行触发操作,虚拟现实设备响应于该触发操作,向外部终端设备发送对应的调用请求,该调用请求中包括执行目标应用的目标功能的输入参数,例如被触发的功能组件的组件标识、触发动作类型等。外部终端设备在接收到该调用请求后,对其进行响应,执行该目标应用的目标功能,例如,对应上述示例,发送消息、显示表情页面、输入字幕等,该目标功能对应的执行结果,即调用结果,例如发送消息成功的通知、表情页面等。外部终端设备将该调用结果返回虚拟现实设备,虚拟现实设备获得该调用结果,并将其显示在终端界面内,以展示在外部终端设备响应触发操作的结果,在扩展现实空间的视觉观感上,外部终端设备被投影扩展现实空间中,用户可以基于针对扩展现实空间内的终端界面的操作,来实现对外部终端设备的控制,从而实现了虚拟现实设备与外部终端设备之间的交互。Further, the user triggers a button in the terminal interface in the extended reality space, for example, through a virtual reality handle. In response to the triggering operation, the virtual reality device sends a corresponding call request to the external terminal device. The call request includes executing Input parameters of the target function of the target application, such as the component identifier of the triggered functional component, trigger action type, etc. After receiving the call request, the external terminal device responds to it and executes the target function of the target application. For example, corresponding to the above example, sending messages, displaying emoticon pages, inputting subtitles, etc., the execution result corresponding to the target function is, that is, Call results, such as notification of successful message sending, emoticon page, etc. The external terminal device returns the call result to the virtual reality device, and the virtual reality device obtains the call result and displays it in the terminal interface to display the result of the external terminal device responding to the trigger operation. In terms of the visual perception of the extended reality space, The external terminal device is projected into the extended reality space, and the user can control the external terminal device based on operations on the terminal interface in the extended reality space, thus realizing the interaction between the virtual reality device and the external terminal device.
其中,基于终端界面不同的实现方式,终端界面内展示的调用结果,可以是外部终端设备一侧运行目标应用的显示界面内实际显示的内容,此种方式可以通过对外部终端设备一侧运行目标应用的显示界面进行投影实现;也可以是基于外部终端设备一侧运行目标应用的显示界面实现显示的内容而生成的模拟内容,此种方式可以基于目标应用的应用布局,结合外部终端设备发送的目标应用的应用消息,来对目标应用的显示界面进行重构而实现。具体实现过程可参见上述实施例步骤中对渲染目标终端界面的步骤中的详细介绍,此处不再赘述。Among them, based on different implementation methods of the terminal interface, the call result displayed in the terminal interface can be the content actually displayed in the display interface of the external terminal device running the target application. This method can be achieved by running the target application on the external terminal device. The display interface of the application is projected; it can also be simulated content generated based on the content displayed on the display interface of the target application running on the side of the external terminal device. This method can be based on the application layout of the target application and combined with the content sent by the external terminal device. The application message of the target application is implemented by reconstructing the display interface of the target application. For the specific implementation process, please refer to the detailed introduction of the steps of rendering the target terminal interface in the steps of the above embodiment, and will not be described again here.
在本实施例中,通过在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面;响应于针对扩展现实空间的第一用户操作,在终端界面内显示目标应用的调用结果,其中,目标应用为运行于外部终端设备应用程序。由于通过在扩展现实空间内显示外部终端设备的终端界面,并通过针对扩展现实空间的操作来控制运行于外部终端设备目标应用,实现在扩展现实空间内显示和控制外部终端设备的目的,实现了虚拟现实设备与外部终端设备的高效交互,使用户在使用虚拟现实设备的过程中,可以方便的对外部终端设备进行控制,提高使用便捷性。In this embodiment, the terminal interface of the external terminal device is displayed through the first target area in the extended reality space; in response to the first user operation on the extended reality space, the calling result of the target application is displayed in the terminal interface, where , the target application is an application running on an external terminal device. By displaying the terminal interface of the external terminal device in the extended reality space and controlling the target application running on the external terminal device through operations in the extended reality space, the purpose of displaying and controlling the external terminal device in the extended reality space is achieved. The efficient interaction between virtual reality equipment and external terminal equipment allows users to conveniently control external terminal equipment during the use of virtual reality equipment, improving convenience of use.
参考图10,图10为本公开实施例提供的信息交互方法的流程示意图二。本实施例在图2所示实施例的基础上,进一步对步骤S101进行细化,并增加了确定第一目标区域的步骤,该信息交互方法包括:Referring to FIG10 , FIG10 is a flow chart of the information interaction method provided by the embodiment of the present disclosure. Based on the embodiment shown in FIG2 , this embodiment further refines step S101 and adds a step of determining the first target area. The information interaction method includes:
步骤S201:获取外部终端设备发送的推送信息,推送信息表征外部终端设备运行的目标应用生成的应用消息。Step S201: acquiring push information sent by an external terminal device, where the push information represents an application message generated by a target application running on the external terminal device.
步骤S202:在扩展现实空间的第二目标区域,显示通知界面,通知界面用于展示推送信息对应的缩略消息和/或接收标识。Step S202: Display a notification interface in the second target area of the extended reality space. The notification interface is used to display abbreviated messages and/or reception identifiers corresponding to the push information.
图11为本公开实施例提供的一种通知界面的示意图,图11所示,第二目标区域位于扩展现实空间的左侧,在接收到外部终端设备发送的推送信息后,虚拟现实设备基于该推送消息中的内容,在第二目标区域内显示一个用于显示推送信息对应的缩略消息和/或接收标识的界面,即通知界面,其中,第二目标区域的面积小于第一目标区域的面积。更具体地,一种实现方式中,通知界面展示推送信息对应的缩略消息,缩略消息为推送信息所表征的应用消息的一部分,示例性地,应用消息包括汉字字符串“今天下午我去找你,拿回属于我的东西”。则对应的缩略消息为字符串“今天下午我去找你…”。Figure 11 is a schematic diagram of a notification interface provided by an embodiment of the present disclosure. As shown in Figure 11, the second target area is located on the left side of the extended reality space. After receiving the push information sent by the external terminal device, the virtual reality device based on the The content in the push message displays an interface for displaying the abbreviated message and/or the receiving identification corresponding to the push information in the second target area, that is, the notification interface, where the area of the second target area is smaller than that of the first target area. area. More specifically, in one implementation, the notification interface displays an abbreviated message corresponding to the push information. The abbreviated message is a part of the application message represented by the push information. Exemplarily, the application message includes the Chinese character string "I will go there this afternoon." I’m looking for you to get what’s mine.” The corresponding abbreviated message is the string "I'm going to find you this afternoon...".
另一种实现方式中,通知界面展示推送信息对应的接收标识,接收标识表征接收到外部终端设备发送的推送消息的通知,示例性地,接收标识例如为目标应用的应用标识和特定标识的组合,示例性地,接收标识为目标应用的方形图标和位于方形图标右上角的圆形组成的图案。In another implementation, the notification interface displays a receiving identifier corresponding to the push information. The receiving identifier represents a notification of receiving a push message sent by an external terminal device. For example, the receiving identifier is a combination of an application identifier and a specific identifier of the target application. , for example, receive a pattern consisting of a square icon identified as the target application and a circle located in the upper right corner of the square icon.
本实施例中,通过在扩展现实空间的第二目标区域显示通知界面,来提示用户外部终端设备的目标应用发出了应用消息,防止用户错过外部终端设备一侧的应用消息,同时,通过面积更小的第二目标区域来显示通知消息,避免直接显示终端界面,造成视觉上影响沉浸感的问题,提高视觉效果。In this embodiment, the notification interface is displayed in the second target area of the extended reality space to prompt the user that the target application of the external terminal device has sent an application message to prevent the user from missing the application message on the side of the external terminal device. At the same time, through area update Use a small second target area to display notification messages to avoid directly displaying the terminal interface, which may visually affect immersion, and improve the visual effect.
在一种可能的实现方式中,步骤S202的具体实现方式包括:In a possible implementation, a specific implementation of step S202 includes:
步骤S2021:在扩展现实空间的第二目标区域,显示第一通知界面,通知界面用于展示推送信息对应的接收标识。Step S2021: Display a first notification interface in the second target area of the extended reality space, where the notification interface is used to display a receiving identifier corresponding to the push information.
步骤S2021:响应于第三用户操作,在扩展现实空间的第三目标区域同步显示第二通知界面。Step S2021: In response to a third user operation, synchronously display a second notification interface in a third target area of the extended reality space.
示例性地,第一通知界面和第二通知界面是通知界面的两种实现方式,其中,第一通知界面的面积小于第二通知界面的面积,第一通知界面用于显示接收标识,第二通知界面用于显示缩略消息。第二通知界面的显示需要基于第三用户操作来触发,例如检测到针对虚拟现实手柄的抬起手势后,显示通知界面,同时在第二目标区域显示抬起手势对应的手势标识。更进一步地,手势标识显示在第二目标区域附近,第二目标区域位于扩展现实空间中靠近抬起手势的一侧。Illustratively, the first notification interface and the second notification interface are two ways to implement the notification interface. The area of the first notification interface is smaller than the area of the second notification interface. The first notification interface is used to display the receiving identification, and the second notification interface is used to display the receiving identification. The notification interface is used to display thumbnail messages. The display of the second notification interface needs to be triggered based on a third user operation. For example, after detecting a raise gesture for the virtual reality handle, the notification interface is displayed, and at the same time, a gesture mark corresponding to the raise gesture is displayed in the second target area. Furthermore, the gesture logo is displayed near a second target area, and the second target area is located on a side close to the raising gesture in the extended reality space.
图12为本公开实施例提供的一种显示通知界面的过程示意图,如图12所示,首先,在虚拟现实设备接收到外部终端设备发送的推送信息后,首先在第二目标区域显示第一通知界面,第一通知界面内显示接收标识,接收标识为目标应用的名称“app_1”,表示app_1发送了推送消息。之后,当虚拟现实设备检测到针对虚拟现实手柄的抬起手势后,在第三目标区域显示第二通知界面,第二通知界面的面积较第一通知界面的面积更大,所显示的信息也更多,例如图中所示,第二通知界面内显示有目标应用app_1发送的推送消息对应的缩略消息“我今天下午去找你...”。可选地,在显示第二通知界面的情况下,可以在第二通知界面的附近位置,显示手势标识,提示用户当前施加了抬起手势。Figure 12 is a schematic diagram of a process for displaying a notification interface provided by an embodiment of the present disclosure. As shown in Figure 12, first, after the virtual reality device receives the push information sent by the external terminal device, it first displays the first message in the second target area. In the notification interface, the first notification interface displays a receiving identifier. The receiving identifier is the name of the target application "app_1", indicating that app_1 has sent a push message. Afterwards, when the virtual reality device detects the raising gesture for the virtual reality handle, the second notification interface is displayed in the third target area. The area of the second notification interface is larger than the area of the first notification interface, and the displayed information is also More, for example, as shown in the figure, the second notification interface displays the abbreviated message "I will go find you this afternoon..." corresponding to the push message sent by the target application app_1. Optionally, when the second notification interface is displayed, a gesture identifier may be displayed near the second notification interface to prompt the user that the raise gesture is currently applied.
进一步地,手势标识例如可以为佩戴腕表的手腕图案,第二通知界面为与之匹配的手表界面,通过显示相匹配的手势标识和第二通知界面,降低用户的操作复杂度,提高用户的使用便捷性。Further, the gesture logo can be, for example, a wrist pattern for wearing a watch, and the second notification interface is a matching watch interface. By displaying the matching gesture logo and the second notification interface, the user's operation complexity is reduced and the user's comfort level is improved. Ease of use.
本实施例步骤中,在虚拟现实设备接收到推送信息后,首先显示面积更小的第一通知界面,在基于用户的操作,显示第二通知界面,实现了对外部终端设备发送的推送信息的分级显示,在虚拟现实应用的场景下,进一步降低了外部信息接入后对虚拟空间界面内的视觉沉浸感的影响,提高外部信息显示的灵活性和便捷性。In the steps of this embodiment, after the virtual reality device receives the push information, it first displays a first notification interface with a smaller area, and then displays a second notification interface based on the user's operation, thereby realizing the push information sent by the external terminal device. Hierarchical display, in the context of virtual reality application, further reduces the impact of external information access on the visual immersion in the virtual space interface, and improves the flexibility and convenience of external information display.
在另一种可能的实现方式中,步骤S201的具体实现方式,可以在不显示第一通知界面的情况下,直接显示第二通知界面,即步骤S201的具体实现方式包括:响应于第三用户操作,在扩展现实空间的第二目标区域同步显示通知界面,并显示抬起手势对应的手势标识,其中,第三用户操作为针对虚拟现实手柄的抬起手势,第二目标区域位于扩展现实空间中靠近抬起手势的一侧。具体实现方式与上述步骤中显示第二通知界面的过程类型,此处不再赘述。进一步地,在此种实现方式中,通知界面可以与之前实施例中介绍的功能界面为同一界面,即通知界面用于展示至少一种备选应用的标识,备选应用为由外部终端设备运行的应用程序。具体实现方式可参见上述实施例中对通知界面的介绍,此处不再赘述。In another possible implementation, the specific implementation of step S201 can directly display the second notification interface without displaying the first notification interface, that is, the specific implementation of step S201 includes: responding to the third user Operation, the notification interface is synchronously displayed in the second target area of the extended reality space, and the gesture logo corresponding to the raise gesture is displayed, wherein the third user operation is a raise gesture for the virtual reality handle, and the second target area is located in the extended reality space Center closer to the side of the raise gesture. The specific implementation method is the same as the process type of displaying the second notification interface in the above steps, and will not be described again here. Further, in this implementation, the notification interface may be the same interface as the functional interface introduced in the previous embodiment, that is, the notification interface is used to display the identification of at least one alternative application, and the alternative application is run by an external terminal device s application. For specific implementation methods, please refer to the introduction of the notification interface in the above embodiment, and will not be described again here.
可选地,在步骤S202之后,还包括:Optionally, after step S202, it also includes:
步骤S203:获取扩展现实空间内当前显示的目标图像,目标图像中包括至少一个显示对象。Step S203: Obtain the target image currently displayed in the extended reality space, and the target image includes at least one display object.
步骤S204:基于至少一个显示对象在目标图像中的位置,确定第一目标区域。Step S204: Determine the first target area based on the position of at least one display object in the target image.
示例性地,基于虚拟现实设备当前运行的操作系统或应用程序,在扩展现实空间中显示对应的目标图像,目标图像中包括至少一个显示对象,基于目标图像中具体显示的内容,显示对象例如可以为虚拟物体、虚拟人物,也以为操作系统界面显示的系统控件、应用图标等。通过对目标图像进行解析和识别,可以得到其中各显示对象的位置,具体地,显示对象的位置,例如为二维平面内,由用于定位显示对象的四边形边框的四个角坐标构成的数组;或者,由显示对象的中心点坐标和显示对象的面积构成的数组。在获得各显示对象在目标图像中的位置之后,基于不同的目的,可以确定一个用于显示终端界面的区域,即第一目标区域。Exemplarily, based on the operating system or application program currently running on the virtual reality device, a corresponding target image is displayed in the extended reality space. The target image includes at least one display object. Based on the content specifically displayed in the target image, the display object can, for example, They are virtual objects, virtual characters, and also system controls, application icons, etc. displayed on the operating system interface. By parsing and identifying the target image, the position of each display object can be obtained. Specifically, the position of the display object is, for example, an array consisting of the four corner coordinates of the quadrilateral frame used to position the display object in a two-dimensional plane. ; Or, an array composed of the center point coordinates of the display object and the area of the display object. After obtaining the position of each display object in the target image, based on different purposes, an area for displaying the terminal interface can be determined, that is, the first target area.
在一种可能的实现方式中,步骤S204的实现步骤包括:In a possible implementation, the implementation steps of step S204 include:
步骤S2041:获取各显示对象之间的间隔距离,并基于各显示对象之间的间隔距离,确定至少一个备选区域,备选区域为能够容纳终端界面的区域。Step S2041: Obtain the separation distance between the display objects, and determine at least one candidate area based on the separation distance between the display objects. The candidate area is an area that can accommodate the terminal interface.
步骤S2042:从至少一个备选区域中,确定第一目标区域。Step S2042: Determine a first target area from at least one candidate area.
示例性地,为了避免显示于上层图层的终端界面对目标图像中的显示对象形成遮挡,基于各显示对象的位置,确定各显示对象之间的间隔距离,间隔距离越大,显示对象之间的非遮挡区域越大,若间隔距离大于预设的间隔阈值,则认为两个显示对象之间的非遮挡区域可以容纳终端界面,则将该非遮挡区域确定为备选区域。进一步地,在确定至少一个备选区域后,根据预设的选取规则,从至少一个备选区域中,选择出第一目标区域。其中,预设的选取规则例如为,将目标图像划分为多个图像区域,优先选择位于目标图像的边缘区域内的备选区域,若边缘区域没有备选区域,再选择位于目标图像的中心区域的备选区域,从而使第一目标区域尽量靠近扩展现实空间的边缘,从而提高扩展现实空间的显示效果。For example, in order to prevent the terminal interface displayed on the upper layer from blocking the display objects in the target image, the separation distance between the display objects is determined based on the position of each display object. The greater the separation distance, the smaller the distance between the display objects. The larger the non-occlusion area is, if the separation distance is greater than the preset separation threshold, it is considered that the non-occlusion area between the two display objects can accommodate the terminal interface, and the non-occlusion area is determined as a candidate area. Further, after at least one candidate area is determined, the first target area is selected from the at least one candidate area according to a preset selection rule. Among them, the preset selection rules are, for example, dividing the target image into multiple image areas, giving priority to the candidate areas located in the edge areas of the target image. If there are no alternative areas in the edge areas, then selecting the central area of the target image. alternative area, so that the first target area is as close as possible to the edge of the extended reality space, thereby improving the display effect of the extended reality space.
本实施例步骤中,通过获取各显示对象之间的间隔距离,并基于各显示对象之间的间隔距离,确定出不会造成遮蔽的备选区域,再从扩展现实空间的边缘区域依次进行检索,从中确定第一目标区域。避免终端界面对目标图像中的有效信息的遮挡,提视觉显示效果。In the steps of this embodiment, the separation distance between each display object is obtained, and based on the separation distance between each display object, candidate areas that will not cause occlusion are determined, and then the edge areas of the extended reality space are retrieved sequentially. , from which the first target area is determined. Avoid the terminal interface from blocking the effective information in the target image and improve the visual display effect.
在另一种可能的实现方式中,步骤S204的实现步骤包括:In another possible implementation, the implementation steps of step S204 include:
步骤S2043:对各显示对象进行目标识别,得到目标识别对象;Step S2043: Perform target recognition on each display object to obtain the target recognition object;
步骤S2044:基于目标识别对象的轮廓,确定第一目标区域。Step S2044: Determine a first target area based on the outline of the target recognition object.
示例性地,本实施例中,首先对目标图像中的各显示对象进行图像识别,确定其中属于目标对象类别的对象,即目标识别对象,如为,手机、平板电脑、桌子、照片框等。之后,将目标识别对象的轮廓确定为第一目标区域,实现目标识别对象与终端界面之间的映射,其中,目标识别对象的轮廓可以是目标识别对象的外形轮廓、定位框轮廓或者目标识别对象的显示屏轮廓,不再一一举例。例如,将外部终端设备一侧的目标应用发送的应用消息,显示在虚拟现实设备所展示的目标图像中的电视(目标识别对象)上,实现外部信息向虚拟现实空间的透射。本实施例步骤中,通过将承载终端界面的第一目标区域设置在目标识别对象上,实现虚拟现实空间与外部真实空间的流畅交互,提高视觉沉浸感和视觉体验。Illustratively, in this embodiment, image recognition is first performed on each display object in the target image, and the objects belonging to the target object category are determined, that is, the target recognition objects, such as mobile phones, tablets, tables, photo frames, etc. After that, the outline of the target recognition object is determined as the first target area to realize the mapping between the target recognition object and the terminal interface. The outline of the target recognition object may be the outline of the target recognition object, the outline of the positioning frame, or the target recognition object. The outline of the display screen will not be given one by one. For example, the application message sent by the target application on the external terminal device side is displayed on the TV (target recognition object) in the target image displayed by the virtual reality device, thereby realizing the transmission of external information into the virtual reality space. In the steps of this embodiment, by setting the first target area carrying the terminal interface on the target recognition object, smooth interaction between the virtual reality space and the external real space is achieved, and visual immersion and visual experience are improved.
进一步地,目标识别对象的对象类别,由外部终端设备确定,更具体地,目标识别对象的对象类别与外部终端设备一致,在虚拟现实设备接收到的外部终端设备发送的推送信息中,包含有外部终端设备的设备标识,虚拟现实设备基于该设备标识,确定目标对象类别,之后基于目标对象类别确定目标识别对象。例如,若基于设备标识,表征外部终端设备为智能手机,则确定对应的目标对象类别为P类,P类表征手机、平板电脑,当识别到目标图像中包括智能手机、平板电脑时,则将第一目标区域择一设置在智能手机、平板单元的轮廓内;若基于设备标识,表征外部终端设备为智能电视,则确定对应的目标对象类别为T类,T类表征电视,当识别到目标图像中包括电视时,则将第一目标区域设置在电视的轮廓内。图13为本公开实施例提供的一种动态第一目标区域的示意图,如图13所示,示例性地,虚拟现实设备分别与智能电视和智能手机通信连接,其中,当虚拟现实设备接收到智能电视发送的推送信息后,识别当前显示的目标图像,将目标图像中的“电视机”的轮廓,确定为第一目标区域Zoom1,并在满足触发条件后,将智能电视的终端界面显示在扩展现实空间的第一目标区域Zoom1;当虚拟现实设备接收到智能手机发送的推送信息后,识别当前显示的目标图像,将目标图像中的“手机”的轮廓,确定为第一目标区域Zoom2,并在满足触发条件后,将智能电视的终端界面显示在扩展现实空间的第一目标区域Zoom2。Further, the object category of the target recognition object is determined by the external terminal device. More specifically, the object category of the target recognition object is consistent with the external terminal device. The push information sent by the external terminal device received by the virtual reality device includes The device identification of the external terminal device, the virtual reality device determines the target object category based on the device identification, and then determines the target recognition object based on the target object category. For example, if based on the device identification, the external terminal device is represented as a smartphone, then the corresponding target object category is determined to be P class, and P class represents cell phones and tablet computers. When it is recognized that the target image includes smartphones and tablet computers, then the The first target area is selected to be set within the outline of the smartphone or tablet unit; if based on the device identification, the external terminal device is represented as a smart TV, then the corresponding target object category is determined to be the T category, and the T category represents the TV. When the target is recognized When a TV is included in the image, the first target area is set within the outline of the TV. Figure 13 is a schematic diagram of a dynamic first target area provided by an embodiment of the present disclosure. As shown in Figure 13, exemplarily, the virtual reality device is communicatively connected to the smart TV and the smart phone respectively. Wherein, when the virtual reality device receives After the smart TV sends the push information, it identifies the currently displayed target image, determines the outline of the "TV" in the target image as the first target area Zoom1, and displays the terminal interface of the smart TV after the trigger conditions are met. The first target area Zoom1 of the extended real space; when the virtual reality device receives the push information sent by the smartphone, it identifies the currently displayed target image and determines the outline of the "mobile phone" in the target image as the first target area Zoom2. And after the trigger conditions are met, the terminal interface of the smart TV is displayed in the first target area of the extended reality space, Zoom2.
本实施例中,通过识别目标对象中与外部终端设备的类型对应的目标识别对象,实现外部终端设备与虚拟空间中的虚拟设备匹配显示的目的,实现了外部设备与虚拟空间中的虚拟设备的无缝交互,进一步提高视觉沉浸感。In this embodiment, by identifying the target identification object corresponding to the type of the external terminal device in the target object, the purpose of matching and displaying the external terminal device and the virtual device in the virtual space is achieved, and the matching between the external device and the virtual device in the virtual space is realized. Seamless interaction further enhances visual immersion.
进一步地,本实施例提供的方法还可以应于与混合现实(MR)的应用场景中,混合现实技术是在虚拟现实技术的基础上,与增强现实(Augmented Reality,AR)结合,将真实环境中的影像融合进虚拟现实空间,其具体实现原理为现有技术,此处不再赘述。针对本实施例中的步骤,扩展现实空间内显示的目标图像中,包含有真实的影像物体以及虚拟物体,即显示对象包括虚拟现实对象和真实显示对象。在一种可能的实现方式中,基于至少一个显示对象在目标图像中的位置,确定第一目标区域的具体实现步骤包括:对各真实显示对象进行目标识别,得到目标真实显示对象,目标真实显示对象为外部终端设备的真实影像;基于目标真实显示对象的轮廓,确定第一目标区域。Furthermore, the method provided in this embodiment can also be applied to application scenarios with mixed reality (MR). Mixed reality technology is based on virtual reality technology and combined with augmented reality (AR) to combine the real environment with The images in the virtual reality space are integrated into the virtual reality space. The specific implementation principle is based on existing technology and will not be described again here. Regarding the steps in this embodiment, the target image displayed in the extended reality space includes real image objects and virtual objects, that is, the display objects include virtual reality objects and real display objects. In a possible implementation, based on the position of at least one display object in the target image, the specific implementation steps of determining the first target area include: performing target recognition on each real display object, obtaining the target real display object, and the target real display The object is a real image of the external terminal device; the first target area is determined based on the outline of the target real display object.
本实施例中,针对于混合现实的应用场景,在对目标图像进行识别的过程中,仅针对真实显示对象进行图像识别,从而得到与外部终端设备相对应的目标真实显示对象,从而使承载目标终端页面的第一目标区域显示在目标真实显示对象的轮廓上,实现混合现实的应用场景下,外部终端设备与虚拟现实设备的进一步交互融合,进一步提高混合现实下扩展现实空间的视觉表现效果。In this embodiment, for the mixed reality application scenario, in the process of identifying the target image, image recognition is only performed on the real display object, so as to obtain the target real display object corresponding to the external terminal device, so that the target image can be carried The first target area of the terminal page is displayed on the outline of the target real display object, realizing further interactive integration of external terminal equipment and virtual reality equipment in mixed reality application scenarios, further improving the visual performance of the extended real space in mixed reality.
步骤S205:响应于针对通知界面的第二用户操作,在扩展现实空间内的第一目标区域渲染对应的目标终端界面。Step S205: In response to the second user operation on the notification interface, rendering a corresponding target terminal interface in the first target area in the extended reality space.
示例性地,在确定第一目标区域之后,响应于针对通知界面的第二用户操作,例如,当用户通过虚拟现实手柄选择点选通知界面中的缩略消息、接收标识后,会在第一目标区域内,显示对应的目标终端界面来展示缩略消息、接收标识所对应的详细信息,也即目标应用的应用界面。从而实现从扩展现实空间的功能界面对外部终端内运行的应用程序的调用。Exemplarily, after the first target area is determined, in response to the second user operation on the notification interface, for example, when the user selects and clicks the thumbnail message in the notification interface through the virtual reality handle and receives the identification, the first target area is determined. In the target area, the corresponding target terminal interface is displayed to display the abbreviated message and the detailed information corresponding to the receiving identification, that is, the application interface of the target application. Thus, the application program running in the external terminal can be called from the functional interface of the extended reality space.
其中,在扩展现实空间内的第一目标区域渲染对应的目标终端界面的方式有多种,一种可能的方式中,例如,虚拟现实设备检测到第二用户操作后,确定对应的目标应用,并与外部终端设备建立界面投影数据通道,之后,外部终端设备将目标应用(用于展示应用消息)的应用界面投影至扩展现实空间的第一目标区域内进行渲染,从而生成显示于扩展现实空间内的目标终端界面。There are many ways to render the corresponding target terminal interface in the first target area in the extended reality space. In one possible way, for example, after the virtual reality device detects the second user operation, the corresponding target application is determined, And establish an interface projection data channel with the external terminal device. After that, the external terminal device projects the application interface of the target application (used to display application messages) to the first target area of the extended reality space for rendering, thereby generating a display in the extended reality space. The target terminal interface within.
另一种可能的方式中,例如,虚拟现实设备检测到第二用户操作后,确定对应的目标应用,并基于预设的目标应用的界面描述信息,在第一目标区域内重构目标应用的界面布局并进行渲染,之后或同时,向外部终端设备发送针对目标应用的请求,通过消息系统获得目标应用发出的应用消息,并利用目标应用的应用消息进行数据填充,从而生成显示于扩展现实空间内的目标终端界面。示例性地,目标应用在外部终端设备的第一界面内显示应用消息;第一界面与目标终端界面具有相同的界面布局,通过界面描述信息,实现对目标应用的第一界面的准确模拟,提高扩展现实空间中的终端界面与外部终端设备运行目标应用中的第一界面的一致性,提高视觉沉浸感。In another possible way, for example, after detecting the second user operation, the virtual reality device determines the corresponding target application, and reconstructs the target application in the first target area based on the preset interface description information of the target application. The interface is laid out and rendered, and then or at the same time, a request for the target application is sent to the external terminal device, the application message sent by the target application is obtained through the message system, and the application message of the target application is used for data filling, thereby generating a display in the extended reality space The target terminal interface within. Exemplarily, the target application displays application messages in the first interface of the external terminal device; the first interface and the target terminal interface have the same interface layout, and the interface description information is used to achieve an accurate simulation of the first interface of the target application, improving Expand the consistency between the terminal interface in the real space and the first interface in the target application running on the external terminal device to improve visual immersion.
步骤S206:响应于针对扩展现实空间的第一用户操作,在终端界面内显示目标应用的调用结果,其中,目标应用为运行于外部终端设备应用程序。Step S206: In response to the first user operation on the extended real space, the call result of the target application is displayed in the terminal interface, wherein the target application is an application program running on the external terminal device.
在本实施例中,步骤S201和步骤S206的具体实现方式,在图2所示实施例的对应步骤中,已进行详细介绍,此处不再赘述。In this embodiment, the specific implementation of step S201 and step S206 has been introduced in detail in the corresponding steps of the embodiment shown in FIG. 2 , and will not be repeated here.
对应于上文实施例的信息交互方法,图14为本公开实施例提供的信息交互装置3的结构框图。为了便于说明,仅示出了与本公开实施例相关的部分。参照图14,信息交互装置3包括:Corresponding to the information interaction method of the above embodiment, FIG. 14 is a structural block diagram of the information interaction device 3 provided by the embodiment of the present disclosure. For convenience of explanation, only parts related to the embodiments of the present disclosure are shown. Referring to Figure 14, the information interaction device 3 includes:
显示模块31,用于在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面;The display module 31 is used to display the terminal interface of the external terminal device in the first target area within the extended reality space;
交互模块32,用于响应于针对扩展现实空间的第一用户操作,在终端界面内显示目标应用的调用结果,其中,目标应用为运行于外部终端设备应用程序。The interaction module 32 is configured to display the calling result of the target application in the terminal interface in response to the first user operation on the extended reality space, where the target application is an application running on an external terminal device.
在本公开的一个实施例中,显示模块31,具体用于:获取外部终端设备发送的推送信息,推送信息表征外部终端设备运行的目标应用生成的应用消息;基于推送信息,在扩展现实空间内的第一目标区域渲染对应的目标终端界面,目标终端界面用于显示目标应用生成的应用消息。In one embodiment of the present disclosure, the display module 31 is specifically used to: obtain push information sent by an external terminal device, where the push information represents an application message generated by a target application running on the external terminal device; based on the push information, in the extended reality space The first target area renders the corresponding target terminal interface, and the target terminal interface is used to display application messages generated by the target application.
在本公开的一个实施例中,显示模块31在基于推送信息,在扩展现实空间内的第一目标区域渲染对应的目标终端界面时,具体用于:在扩展现实空间的第二目标区域,显示通知界面,通知界面用于展示推送信息对应的缩略消息和/或接收标识,第二目标区域的面积小于第一目标区域的面积;响应于针对通知界面的第二用户操作,在扩展现实空间内的第一目标区域渲染对应的目标终端界面。In one embodiment of the present disclosure, when rendering the corresponding target terminal interface in the first target area in the extended reality space based on the push information, the display module 31 is specifically used to: display in the second target area of the extended reality space. Notification interface, the notification interface is used to display abbreviated messages and/or reception identifiers corresponding to push information, and the area of the second target area is smaller than the area of the first target area; in response to the second user operation on the notification interface, in the extended reality space The first target area within renders the corresponding target terminal interface.
在本公开的一个实施例中,显示模块31在扩展现实空间的第二目标区域,显示通知界面时,具体用于:响应于第三用户操作,在扩展现实空间的第二目标区域同步显示通知界面,其中,第三用户操作为针对虚拟现实手柄的抬起手势,第二目标区域位于扩展现实空间中靠近抬起手势的一侧;显示模块31还包括:显示抬起手势对应的手势标识。In one embodiment of the present disclosure, when displaying the notification interface in the second target area of the extended reality space, the display module 31 is specifically configured to: in response to a third user operation, synchronously display the notification in the second target area of the extended reality space. interface, wherein the third user operation is a raise gesture for the virtual reality handle, and the second target area is located on the side close to the raise gesture in the extended reality space; the display module 31 also includes: displaying a gesture logo corresponding to the raise gesture.
在本公开的一个实施例中,目标应用在外部终端设备的第一界面内显示应用消息;第一界面与目标终端界面具有相同的界面布局。In one embodiment of the present disclosure, the target application displays the application message in the first interface of the external terminal device; the first interface and the target terminal interface have the same interface layout.
在本公开的一个实施例中,显示模块31,具体用于:响应于第四用户操作,在扩展现实空间的第二目标区域,显示功能界面,功能界面用于展示至少一种备选应用的标识,备选应用为由外部终端设备运行的应用程序;响应于针对备选应用的标识的触发操作,确定目标应用,并在扩展现实空间内的第一目标区域渲染对应的目标终端界面,目标终端界面用于显示外部终端设备运行的目标应用。In one embodiment of the present disclosure, the display module 31 is specifically configured to: in response to the fourth user operation, display a functional interface in the second target area of the extended reality space, and the functional interface is used to display at least one alternative application. Identifies that the candidate application is an application program run by an external terminal device; in response to the triggering operation for the identification of the candidate application, the target application is determined, and the corresponding target terminal interface is rendered in the first target area within the extended reality space, and the target The terminal interface is used to display the target application running on the external terminal device.
在本公开的一个实施例中,交互模块32,具体用于:响应于针对终端界面内的目标功能标识的触发操作,向外部终端设备发送调用请求,调用请求中包括用于执行目标应用的目标功能的输入参数;接收外部终端设备返回的调用请求对应的调用结果,并在第一目标区域显示调用结果。In one embodiment of the present disclosure, the interaction module 32 is specifically used to: in response to a trigger operation for a target function identifier in a terminal interface, send a call request to an external terminal device, the call request including input parameters for executing the target function of the target application; receive a call result corresponding to the call request returned by the external terminal device, and display the call result in a first target area.
在本公开的一个实施例中,在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面前,显示模块31,还用于:获取扩展现实空间内当前显示的目标图像,目标图像中包括至少一个显示对象;基于至少一个显示对象在目标图像中的位置,确定第一目标区域。In one embodiment of the present disclosure, before displaying the terminal interface of the external terminal device in the first target area in the extended reality space, the display module 31 is also used to: obtain the target image currently displayed in the extended reality space, the target image including at least one display object; and determining the first target area based on the position of the at least one display object in the target image.
在本公开的一个实施例中,显示模块31在基于至少一个显示对象在目标图像中的位置,确定第一目标区域时,具体用于:获取各显示对象之间的间隔距离;基于各显示对象之间的间隔距离,确定至少一个备选区域,备选区域为能够容纳终端界面的区域;从至少一个备选区域中,确定第一目标区域。In one embodiment of the present disclosure, when the display module 31 determines the first target area based on the position of at least one display object in the target image, it is specifically used to: obtain the spacing distance between each display object; based on the spacing distance between each display object, determine at least one alternative area, the alternative area is an area that can accommodate the terminal interface; and determine the first target area from at least one alternative area.
在本公开的一个实施例中,显示模块31在基于至少一个显示对象在目标图像中的位置,确定第一目标区域时,具体用于:对各显示对象进行目标识别,得到目标识别对象,目标识别对象的对象类别基于外部终端设备的终端类别确定;基于目标识别对象的轮廓,确定第一目标区域。In one embodiment of the present disclosure, when the display module 31 determines the first target area based on the position of at least one display object in the target image, it is specifically used to: perform target recognition on each display object to obtain the target recognition object, the target The object category of the recognition object is determined based on the terminal category of the external terminal device; the first target area is determined based on the outline of the target recognition object.
在本公开的一个实施例中,显示对象包括虚拟现实对象和真实显示对象,显示模块31在基于至少一个显示对象在目标图像中的位置,确定第一目标区域时,具体用于:对各真实显示对象进行目标识别,得到目标真实显示对象,目标真实显示对象为外部终端设备的真实影像;基于目标真实显示对象的轮廓,确定第一目标区域。In one embodiment of the present disclosure, the display objects include virtual reality objects and real display objects. When determining the first target area based on the position of at least one display object in the target image, the display module 31 is specifically configured to: The display object performs target recognition to obtain the real display object of the target, which is the real image of the external terminal device; based on the outline of the real display object of the target, the first target area is determined.
本实施例提供的装置,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,本实施例此处不再赘述。The device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principles and technical effects are similar, and will not be described again in this embodiment.
图15为本公开实施例提供的一种电子设备的结构示意图,如图15所示,该电子设备4包括:Figure 15 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. As shown in Figure 15, the electronic device 4 includes:
处理器41,以及与处理器41通信连接的存储器42;Processor 41, and memory 42 communicatively connected to processor 41;
存储器42存储计算机执行指令;Memory 42 stores computer execution instructions;
处理器41执行存储器42存储的计算机执行指令,以实现如图2-图13所示实施例中的信息交互方法。The processor 41 executes the computer execution instructions stored in the memory 42 to implement the information interaction method in the embodiment shown in FIGS. 2-13.
其中,可选地,处理器41和存储器42通过总线43连接。Wherein, optionally, the processor 41 and the memory 42 are connected through the bus 43 .
相关说明可以对应参见图2-图13所对应的实施例中的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。Relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the embodiments corresponding to Figures 2 to 13, and will not be described in detail here.
参考图16,其示出了适于用来实现本公开实施例的电子设备900的结构示意图,该电子设备900可以为终端设备或服务器。其中,终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,简称PDA)、平板电脑(Portable Android Device,简称PAD)、便携式多媒体播放器(Portable MediaPlayer,简称PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图16示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring to FIG. 16 , a schematic structural diagram of an electronic device 900 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 900 may be a terminal device or a server. The terminal devices may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistant, PDA for short), tablet computers (Portable Android Device, PAD for short), portable multimedia players (Portable Mobile terminals such as Media Player (PMP for short), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 16 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
如图16所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(Read Only Memory,简称ROM)902中的程序或者从存储装置908加载到随机访问存储器(Random Access Memory,简称RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。As shown in Figure 16, the electronic device 900 may include a processing device (such as a central processing unit, a graphics processor, etc.) 901, which may process data according to a program stored in a read-only memory (Read Only Memory, ROM for short) 902 or from a storage device. 908 loads the program in the random access memory (Random Access Memory, RAM for short) 903 to perform various appropriate actions and processes. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902 and the RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(Liquid CrystalDisplay,简称LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图16示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display, LCD for short) , an output device 907 such as a speaker, a vibrator, etc.; a storage device 908 including a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG. 16 illustrates electronic device 900 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication device 909, or from storage device 908, or from ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmed read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例所示的方法。The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device performs the method shown in the above embodiment.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LocalArea Network,简称LAN)或广域网(Wide Area Network,简称WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or it can be connected to an external computer (e.g. using an Internet service provider to connect via the Internet).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定,例如,第一获取单元还可以被描述为“获取至少两个网际协议地址的单元”。The units involved in the embodiments of the present disclosure can be implemented in software or hardware. The name of the unit does not constitute a limitation on the unit itself under certain circumstances. For example, the first acquisition unit can also be described as "the unit that acquires at least two Internet Protocol addresses."
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
第一方面,根据本公开的一个或多个实施例,提供了一种信息交互方法,包括:In a first aspect, according to one or more embodiments of the present disclosure, an information interaction method is provided, including:
在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面;响应于针对所述扩展现实空间的第一用户操作,在所述终端界面内显示目标应用的调用结果,其中,所述目标应用为运行于所述外部终端设备应用程序。In the first target area within the extended reality space, display the terminal interface of the external terminal device; in response to the first user operation on the extended reality space, display the calling result of the target application in the terminal interface, wherein, The target application is an application program running on the external terminal device.
根据本公开的一个或多个实施例,所述在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面,包括:获取所述外部终端设备发送的推送信息,所述推送信息表征所述外部终端设备运行的目标应用生成的应用消息;基于所述推送信息,在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面,所述目标终端界面用于显示所述目标应用生成的应用消息。According to one or more embodiments of the present disclosure, displaying a terminal interface of an external terminal device in the first target area in the extended reality space includes: obtaining push information sent by the external terminal device, where the push information represents An application message generated by a target application run by the external terminal device; based on the push information, a corresponding target terminal interface is rendered in the first target area in the extended reality space, and the target terminal interface is used to display the target Application messages generated by the application.
根据本公开的一个或多个实施例,所述基于所述推送信息,在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面,包括:在所述扩展现实空间的第二目标区域,显示通知界面,所述通知界面用于展示所述推送信息对应的缩略消息和/或接收标识,所述第二目标区域的面积小于所述第一目标区域的面积;响应于针对所述通知界面的第二用户操作,在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面。According to one or more embodiments of the present disclosure, rendering the corresponding target terminal interface in the first target area in the extended reality space based on the push information includes: a second target in the extended reality space area, displaying a notification interface, the notification interface being used to display the abbreviated message and/or receiving identification corresponding to the push information, the area of the second target area being smaller than the area of the first target area; in response to the According to the second user operation of the notification interface, the corresponding target terminal interface is rendered in the first target area in the extended reality space.
根据本公开的一个或多个实施例,所述在所述扩展现实空间的第二目标区域,显示通知界面,包括:响应于第三用户操作,在所述扩展现实空间的第二目标区域同步显示所述通知界面,其中,所述第三用户操作为针对虚拟现实手柄的抬起手势,所述第二目标区域位于所述扩展现实空间中靠近所述抬起手势的一侧;所述方法还包括:显示所述抬起手势对应的手势标识。According to one or more embodiments of the present disclosure, displaying a notification interface in a second target area of the extended reality space includes: in response to a third user operation, synchronously displaying the notification interface in the second target area of the extended reality space, wherein the third user operation is a lift gesture for a virtual reality handle, and the second target area is located on a side of the extended reality space close to the lift gesture; the method also includes: displaying a gesture identifier corresponding to the lift gesture.
根据本公开的一个或多个实施例,所述目标应用在所述外部终端设备的第一界面内显示所述应用消息;所述第一界面与所述目标终端界面具有相同的界面布局。According to one or more embodiments of the present disclosure, the target application displays the application message in a first interface of the external terminal device; the first interface has the same interface layout as the target terminal interface.
根据本公开的一个或多个实施例,所述在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面,包括:响应于第四用户操作,在所述扩展现实空间的第二目标区域,显示功能界面,所述功能界面用于展示至少一种备选应用的标识,所述备选应用为由所述外部终端设备运行的应用程序;响应于针对所述备选应用的标识的触发操作,确定所述目标应用,并在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面,所述目标终端界面用于显示所述外部终端设备运行的目标应用。According to one or more embodiments of the present disclosure, the first target area in the extended reality space displays a terminal interface of an external terminal device, including: in response to a fourth user operation, in the second target area of the extended reality space. The target area displays a functional interface, the functional interface is used to display the identification of at least one alternative application, and the alternative application is an application program run by the external terminal device; in response to the identification of the alternative application The triggering operation determines the target application, and renders the corresponding target terminal interface in the first target area in the extended reality space. The target terminal interface is used to display the target application run by the external terminal device.
根据本公开的一个或多个实施例,所述响应于针对所述扩展现实空间的第一用户操作,在所述终端界面内显示目标应用的调用结果,包括:响应于针对所述终端界面内的目标功能标识的触发操作,向所述外部终端设备发送调用请求,所述调用请求中包括用于执行所述目标应用的目标功能的输入参数;接收所述外部终端设备返回的所述调用请求对应的调用结果,并在所述第一目标区域显示所述调用结果。According to one or more embodiments of the present disclosure, in response to the first user operation on the extended reality space, displaying the calling result of the target application in the terminal interface includes: in response to the first user operation on the extended reality space in the terminal interface. trigger operation of the target function identifier, send a call request to the external terminal device, the call request includes input parameters for executing the target function of the target application; receive the call request returned by the external terminal device The corresponding call result is displayed in the first target area.
根据本公开的一个或多个实施例,所述在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面前,还包括:获取所述扩展现实空间内当前显示的目标图像,所述目标图像中包括至少一个显示对象;基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域。According to one or more embodiments of the present disclosure, before displaying the terminal interface of the external terminal device in the first target area within the extended reality space, it also includes: acquiring the target image currently displayed in the extended reality space, the target image including at least one display object; determining the first target area based on the position of at least one of the display objects in the target image.
根据本公开的一个或多个实施例,所述基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域,包括:获取各所述显示对象之间的间隔距离;基于各所述显示对象之间的间隔距离,确定至少一个备选区域,所述备选区域为能够容纳所述终端界面的区域;从所述至少一个备选区域中,确定所述第一目标区域。According to one or more embodiments of the present disclosure, determining the first target area based on the position of at least one of the display objects in the target image includes: obtaining a separation distance between each of the display objects. ; Based on the separation distance between each of the display objects, determine at least one alternative area, the alternative area is an area that can accommodate the terminal interface; determine the first candidate area from the at least one alternative area target area.
根据本公开的一个或多个实施例,所述基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域,包括:对各所述显示对象进行目标识别,得到目标识别对象,所述目标识别对象的对象类别基于所述外部终端设备的终端类别确定;基于所述目标识别对象的轮廓,确定所述第一目标区域。According to one or more embodiments of the present disclosure, determining the first target area based on the position of at least one display object in the target image includes: performing target recognition on each of the display objects to obtain A target recognition object, the object category of the target recognition object is determined based on the terminal category of the external terminal device; the first target area is determined based on the outline of the target recognition object.
根据本公开的一个或多个实施例,所述显示对象包括虚拟现实对象和真实显示对象,所述基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域,包括:对各所述真实显示对象进行目标识别,得到目标真实显示对象,其中,所述目标真实显示对象为所述外部终端设备的真实影像;基于所述目标真实显示对象的轮廓,确定所述第一目标区域。According to one or more embodiments of the present disclosure, the display object includes a virtual reality object and a real display object, and the first target area is determined based on the position of at least one of the display objects in the target image, The method includes: performing target recognition on each of the real display objects to obtain the target real display object, wherein the target real display object is a real image of the external terminal device; and determining the target real display object based on the outline of the target real display object. First target area.
第二方面,根据本公开的一个或多个实施例,提供了一种信息交互装置,包括:In a second aspect, according to one or more embodiments of the present disclosure, an information interaction device is provided, including:
显示模块,用于在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面;The display module is used to display the terminal interface of the external terminal device in the first target area within the extended reality space;
交互模块,用于响应于针对所述扩展现实空间的第一用户操作,在所述终端界面内显示目标应用的调用结果,其中,所述目标应用为运行于所述外部终端设备应用程序。An interaction module, configured to respond to a first user operation on the extended reality space and display a call result of a target application in the terminal interface, where the target application is an application running on the external terminal device.
根据本公开的一个或多个实施例,所述显示模块,具体用于:获取所述外部终端设备发送的推送信息,所述推送信息表征所述外部终端设备运行的目标应用生成的应用消息;基于所述推送信息,在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面,所述目标终端界面用于显示所述目标应用生成的应用消息。According to one or more embodiments of the present disclosure, the display module is specifically configured to: obtain push information sent by the external terminal device, where the push information represents an application message generated by a target application run by the external terminal device; Based on the push information, a corresponding target terminal interface is rendered in the first target area in the extended reality space, and the target terminal interface is used to display application messages generated by the target application.
根据本公开的一个或多个实施例,所述显示模块在基于所述推送信息,在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面时,具体用于:在所述扩展现实空间的第二目标区域,显示通知界面,所述通知界面用于展示所述推送信息对应的缩略消息和/或接收标识,所述第二目标区域的面积小于所述第一目标区域的面积;响应于针对所述通知界面的第二用户操作,在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面。According to one or more embodiments of the present disclosure, when the display module renders the corresponding target terminal interface in the first target area in the extended reality space based on the push information, the display module is specifically configured to: A second target area in the real space displays a notification interface. The notification interface is used to display abbreviated messages and/or reception identifiers corresponding to the push information. The area of the second target area is smaller than that of the first target area. area; in response to the second user operation on the notification interface, rendering the corresponding target terminal interface in the first target area within the extended reality space.
根据本公开的一个或多个实施例,所述显示模块在所述扩展现实空间的第二目标区域,显示通知界面时,具体用于:响应于第三用户操作,在所述扩展现实空间的第二目标区域同步显示所述通知界面,其中,所述第三用户操作为针对虚拟现实手柄的抬起手势,所述第二目标区域位于所述扩展现实空间中靠近所述抬起手势的一侧;所述显示模块还包括:显示所述抬起手势对应的手势标识。According to one or more embodiments of the present disclosure, when the display module displays a notification interface in the second target area of the extended reality space, it is specifically configured to: in response to a third user operation, display the notification interface in the second target area of the extended reality space. The notification interface is synchronously displayed in a second target area, wherein the third user operation is a raise gesture for the virtual reality handle, and the second target area is located in a region in the extended reality space close to the raise gesture. side; the display module further includes: displaying a gesture identifier corresponding to the raising gesture.
根据本公开的一个或多个实施例,所述目标应用在所述外部终端设备的第一界面内显示所述应用消息;所述第一界面与所述目标终端界面具有相同的界面布局。According to one or more embodiments of the present disclosure, the target application displays the application message in a first interface of the external terminal device; the first interface and the target terminal interface have the same interface layout.
根据本公开的一个或多个实施例,所述显示模块,具体用于:响应于第四用户操作,在所述扩展现实空间的第二目标区域,显示功能界面,所述功能界面用于展示至少一种备选应用的标识,所述备选应用为由所述外部终端设备运行的应用程序;响应于针对所述备选应用的标识的触发操作,确定所述目标应用,并在所述扩展现实空间内的第一目标区域渲染对应的目标终端界面,所述目标终端界面用于显示所述外部终端设备运行的目标应用。According to one or more embodiments of the present disclosure, the display module is specifically configured to: in response to a fourth user operation, display a functional interface in the second target area of the extended reality space, and the functional interface is used to display Identification of at least one alternative application, the alternative application being an application program run by the external terminal device; in response to a triggering operation for the identification of the alternative application, determining the target application, and in the The first target area in the extended reality space renders a corresponding target terminal interface, and the target terminal interface is used to display the target application run by the external terminal device.
根据本公开的一个或多个实施例,所述交互模块,具体用于:响应于针对所述终端界面内的目标功能标识的触发操作,向所述外部终端设备发送调用请求,所述调用请求中包括用于执行所述目标应用的目标功能的输入参数;接收所述外部终端设备返回的所述调用请求对应的调用结果,并在所述第一目标区域显示所述调用结果。According to one or more embodiments of the present disclosure, the interaction module is specifically configured to: in response to a triggering operation for a target function identifier in the terminal interface, send a calling request to the external terminal device, the calling request including input parameters for executing the target function of the target application; receiving the call result corresponding to the call request returned by the external terminal device, and displaying the call result in the first target area.
根据本公开的一个或多个实施例,在扩展现实空间内的第一目标区域,显示外部终端设备的终端界面前,所述显示模块,还用于:获取所述扩展现实空间内当前显示的目标图像,所述目标图像中包括至少一个显示对象;基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域。According to one or more embodiments of the present disclosure, before displaying the terminal interface of the external terminal device in the first target area within the extended reality space, the display module is also used to: obtain the target image currently displayed in the extended reality space, the target image including at least one display object; and determine the first target area based on the position of at least one display object in the target image.
根据本公开的一个或多个实施例,所述显示模块在基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域时,具体用于:获取各所述显示对象之间的间隔距离;基于各所述显示对象之间的间隔距离,确定至少一个备选区域,所述备选区域为能够容纳所述终端界面的区域;从所述至少一个备选区域中,确定所述第一目标区域。According to one or more embodiments of the present disclosure, when determining the first target area based on the position of at least one display object in the target image, the display module is specifically configured to: obtain each of the displayed The separation distance between objects; based on the separation distance between each of the display objects, determine at least one alternative area, the alternative area is an area that can accommodate the terminal interface; from the at least one alternative area , determine the first target area.
根据本公开的一个或多个实施例,所述显示模块在基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域时,具体用于:对各所述显示对象进行目标识别,得到目标识别对象,所述目标识别对象的对象类别基于所述外部终端设备的终端类别确定;基于所述目标识别对象的轮廓,确定所述第一目标区域。According to one or more embodiments of the present disclosure, when determining the first target area based on the position of at least one of the display objects in the target image, the display module is specifically configured to: The object is subjected to target recognition to obtain a target recognition object, the object category of the target recognition object is determined based on the terminal category of the external terminal device; the first target area is determined based on the outline of the target recognition object.
根据本公开的一个或多个实施例,所述显示对象包括虚拟现实对象和真实显示对象,所述显示模块在基于至少一个所述显示对象在所述目标图像中的位置,确定所述第一目标区域时,具体用于:对各所述真实显示对象进行目标识别,得到目标真实显示对象,所述目标真实显示对象为所述外部终端设备的真实影像;基于所述目标真实显示对象的轮廓,确定所述第一目标区域。According to one or more embodiments of the present disclosure, the display object includes a virtual reality object and a real display object, and the display module determines the first display object based on the position of at least one of the display objects in the target image. When the target area is used, it is specifically used to: perform target recognition on each of the real display objects to obtain the target real display object, and the target real display object is the real image of the external terminal device; based on the outline of the target real display object , determine the first target area.
第三方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;In a third aspect, according to one or more embodiments of the present disclosure, an electronic device is provided, including: a processor, and a memory communicatively connected to the processor;
所述存储器存储计算机执行指令;The memory stores computer execution instructions;
所述处理器执行所述存储器存储的计算机执行指令,以实现如上第一方面以及第一方面各种可能的设计所述的信息交互方法。The processor executes computer execution instructions stored in the memory to implement the information interaction method described in the first aspect and various possible designs of the first aspect.
第四方面,根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计所述的信息交互方法。In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided. Computer-executable instructions are stored in the computer-readable storage medium. When a processor executes the computer-executed instructions, Implement the information interaction method described in the first aspect and various possible designs of the first aspect.
第五方面,本公开实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如上第一方面以及第一方面各种可能的设计所述的信息交互方法。In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the information interaction method described in the first aspect and various possible designs of the first aspect.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a description of the preferred embodiments of the present disclosure and the technical principles applied. Those skilled in the art should understand that the disclosure scope involved in the present disclosure is not limited to technical solutions composed of specific combinations of the above technical features, but should also cover solutions composed of the above technical features or without departing from the above disclosed concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution is formed by replacing the above features with technical features with similar functions disclosed in this disclosure (but not limited to).
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Furthermore, although operations are depicted in a specific order, this should not be understood as requiring that these operations be performed in the specific order shown or performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211153987.1A CN117784918A (en) | 2022-09-21 | 2022-09-21 | Information interaction methods, devices, electronic equipment and storage media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211153987.1A CN117784918A (en) | 2022-09-21 | 2022-09-21 | Information interaction methods, devices, electronic equipment and storage media |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117784918A true CN117784918A (en) | 2024-03-29 |
Family
ID=90389792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211153987.1A Pending CN117784918A (en) | 2022-09-21 | 2022-09-21 | Information interaction methods, devices, electronic equipment and storage media |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117784918A (en) |
-
2022
- 2022-09-21 CN CN202211153987.1A patent/CN117784918A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112558825B (en) | Information processing method and electronic device | |
WO2022156368A1 (en) | Recommended information display method and apparatus | |
CN113542825B (en) | Screen projection display method, system, terminal device and storage medium | |
CN114879893B (en) | Touch control method and device | |
WO2019114185A1 (en) | App remote control method and related devices | |
CN113377366B (en) | Control editing method, device, equipment, readable storage medium and product | |
CN112527174B (en) | Information processing method and electronic equipment | |
US11711441B2 (en) | Method and apparatus for publishing video synchronously, electronic device, and readable storage medium | |
US20220392130A1 (en) | Image special effect processing method and apparatus | |
WO2021128929A1 (en) | Image rendering method for panorama application, and terminal device | |
CN104035683A (en) | Split-screen multitask interaction method for communication terminal | |
CN111913614B (en) | Multi-picture display control method and device, storage medium and display | |
CN112420217A (en) | Message pushing method, device, equipment and storage medium | |
US20170185422A1 (en) | Method and system for generating and controlling composite user interface control | |
CN115361565A (en) | Information display method, device, equipment and storage medium | |
CN110178111B (en) | Image processing method and device for terminal | |
CN114547436A (en) | Page display method and device, electronic equipment and storage medium | |
US10261602B2 (en) | Hop navigation | |
CN115562779A (en) | Media information processing method, device, equipment and storage medium | |
CN115018574A (en) | Information display method, device, electronic device and storage medium | |
EP3704861A1 (en) | Networked user interface back channel discovery via wired video connection | |
WO2021052488A1 (en) | Information processing method and electronic device | |
CN113419650B (en) | Data moving method, device, storage medium and electronic device | |
CN117784918A (en) | Information interaction methods, devices, electronic equipment and storage media | |
CN111949150B (en) | Method and device for controlling peripheral switching, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |