CN115981544A - Interaction method, device, electronic device and storage medium based on extended reality - Google Patents
Interaction method, device, electronic device and storage medium based on extended reality Download PDFInfo
- Publication number
- CN115981544A CN115981544A CN202310165805.0A CN202310165805A CN115981544A CN 115981544 A CN115981544 A CN 115981544A CN 202310165805 A CN202310165805 A CN 202310165805A CN 115981544 A CN115981544 A CN 115981544A
- Authority
- CN
- China
- Prior art keywords
- virtual
- key
- keyboard object
- preset
- virtual keyboard
- 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
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
提供了一种基于扩展现实的交互方法、装置、电子设备及存储介质,通过显示虚拟现实空间,响应于用户的第一预设操作在虚拟现实空间中显示虚拟键盘对象,虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键,响应于用户的第二预设操作确定被选中的第一虚拟按键。本公开通过使虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键,使第一虚拟按键位于预设空白区域的各个方向上,从而可以采用适宜扩展现实的交互方式来实现用户与虚拟键盘对象之间的交互,提升了扩展现实场景下的信息输入效率。
Provided is an interaction method, device, electronic device, and storage medium based on extended reality. By displaying the virtual reality space, a virtual keyboard object is displayed in the virtual reality space in response to a user's first preset operation. The virtual keyboard object includes multiple The first virtual keys arranged around the preset blank area, and the selected first virtual keys are determined in response to the user's second preset operation. In the present disclosure, the virtual keyboard object includes a plurality of first virtual keys arranged around the preset blank area, so that the first virtual keys are located in each direction of the preset blank area, so that an interactive mode suitable for extended reality can be used to realize the user's The interaction with the virtual keyboard object improves the information input efficiency in the extended reality scene.
Description
技术领域technical field
本公开涉及计算机技术领域,具体涉及一种基于扩展现实的交互方法、装置、电子设备和存储介质。The present disclosure relates to the field of computer technology, and in particular to an interaction method, device, electronic device and storage medium based on extended reality.
背景技术Background technique
扩展现实技术(Extended Reality,简称XR)可以通过计算机将真实与虚拟相结合,为用户提供可人机交互的虚拟现实空间。在虚拟现实空间中,用户可以通过例如头盔式显示器(Head Mount Display,HMD)等虚拟现实设备,进行社交互动、娱乐、学习、工作、远程办公、创作UGC(User Generated Content,用户生成内容)等。然而,相关扩展现实应用提供的虚拟键盘布局采用以往的键盘布局,不适应扩展现实的交互习惯,降低了扩展现实场景下的信息输入效率。Extended reality technology (Extended Reality, referred to as XR) can combine reality and virtuality through computers to provide users with a virtual reality space that can interact with humans and computers. In the virtual reality space, users can conduct social interaction, entertainment, study, work, remote office, create UGC (User Generated Content, User Generated Content), etc. through virtual reality devices such as head mount displays (HMD). . However, the virtual keyboard layout provided by the relevant extended reality application adopts the previous keyboard layout, which is not suitable for the interaction habits of the extended reality, and reduces the efficiency of information input in the extended reality scene.
发明内容Contents of the invention
提供该发明内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该发明内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。This Summary is provided to introduce a simplified form of concepts that are described in detail later in the Detailed Description. This summary of the invention is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to be used to limit the scope of the claimed technical solution.
第一方面,根据本公开的一个或多个实施例,提供了一种基于扩展现实的交互方法,包括:In a first aspect, according to one or more embodiments of the present disclosure, an interaction method based on extended reality is provided, including:
显示虚拟现实空间;display virtual reality space;
响应于用户的第一预设操作,在所述虚拟现实空间中显示虚拟键盘对象,所述虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键;In response to a user's first preset operation, displaying a virtual keyboard object in the virtual reality space, the virtual keyboard object including a plurality of first virtual keys arranged around a preset blank area;
响应于用户的第二预设操作,确定被选中的第一虚拟按键。In response to the user's second preset operation, the selected first virtual key is determined.
第二方面,根据本公开的一个或多个实施例,提供了一种基于扩展现实的交互装置,包括:In a second aspect, according to one or more embodiments of the present disclosure, an interaction device based on extended reality is provided, including:
空间显示单元,用于显示虚拟现实空间;a space display unit for displaying a virtual reality space;
键盘显示单元,用于响应于用户的第一预设操作,在所述虚拟现实空间中显示虚拟键盘对象,所述虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键;A keyboard display unit, configured to display a virtual keyboard object in the virtual reality space in response to a user's first preset operation, where the virtual keyboard object includes a plurality of first virtual keys arranged around a preset blank area;
按键确定单元,用于响应于用户的第二预设操作,确定被选中的第一虚拟按键。The key determining unit is configured to determine the selected first virtual key in response to the user's second preset operation.
第三方面,根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行根据本公开的一个或多个实施例提供的基于扩展现实的交互方法。In a third aspect, according to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one memory and at least one processor; wherein, the memory is used to store program codes, and the processor is used to call The program code stored in the memory enables the electronic device to execute the extended reality-based interaction method provided according to one or more embodiments of the present disclosure.
第四方面,根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的基于扩展现实的交互方法。In a fourth aspect, according to one or more embodiments of the present disclosure, a non-transitory computer storage medium is provided, the non-transitory computer storage medium stores program code, and when the program code is executed by a computer device, the The computer device executes the extended reality-based interaction method provided according to one or more embodiments of the present disclosure.
根据本公开的一个或多个实施例,通过使虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键,使第一虚拟按键位于预设空白区域的各个方向上,从而可以采用适宜扩展现实的交互方式来实现用户与虚拟键盘对象之间的交互,提升了扩展现实场景下的信息输入效率。According to one or more embodiments of the present disclosure, by making the virtual keyboard object include a plurality of first virtual keys arranged around the preset blank area, the first virtual keys are located in each direction of the preset blank area, so that An interaction mode suitable for the extended reality is used to realize the interaction between the user and the virtual keyboard object, and the efficiency of information input in the extended reality scene is improved.
附图说明Description of drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
图1为根据本公开一实施例提供的基于扩展现实的交互方法的流程图;Fig. 1 is a flowchart of an interaction method based on extended reality provided according to an embodiment of the present disclosure;
图2为根据本公开一实施例扩展现实设备的示意图;FIG. 2 is a schematic diagram of an extended reality device according to an embodiment of the present disclosure;
图3为根据本公开一实施例提供的扩展现实设备的虚拟视场的一个可选的示意图;FIG. 3 is an optional schematic diagram of a virtual field of view of an extended reality device provided according to an embodiment of the present disclosure;
图4为根据本公开一实施例提供的虚拟键盘对象的示意图;4 is a schematic diagram of a virtual keyboard object provided according to an embodiment of the present disclosure;
图5为根据本公开另一实施例提供的第一虚拟键盘对象和第二虚拟键盘对象的示意图;5 is a schematic diagram of a first virtual keyboard object and a second virtual keyboard object provided according to another embodiment of the present disclosure;
图6为根据本公开一实施例提供的基于扩展现实的交互装置的结构示意图;Fig. 6 is a schematic structural diagram of an interaction device based on extended reality provided according to an embodiment of the present disclosure;
图7为根据本公开一实施例提供的电子设备的结构示意图。Fig. 7 is a schematic structural diagram of an electronic device provided according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的实施方式中记载的步骤可以按照不同的顺序执行,和/或并行执行。此外,实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the steps described in the embodiments of the present disclosure may be executed in different orders, and/or executed in parallel. Furthermore, embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。术语“响应于”以及有关的术语是指一个信号或事件被另一个信号或事件影响到某个程度,但不一定是完全地或直接地受到影响。如果事件x“响应于”事件y而发生,则x可以直接或间接地响应于y。例如,y的出现最终可能导致x的出现,但可能存在其它中间事件和/或条件。在其它情形中,y可能不一定导致x的出现,并且即使y尚未发生,x也可能发生。此外,术语“响应于”还可以意味着“至少部分地响应于”。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." The term "responsive to" and related terms means that one signal or event is affected to some extent, but not necessarily completely or directly, by another signal or event. If event x occurs "in response to" event y, then x may respond to y directly or indirectly. For example, the occurrence of y may eventually lead to the occurrence of x, but there may be other intermediate events and/or conditions. In other cases, y may not necessarily result in the occurrence of x, and x may occur even if y has not occurred. Furthermore, the term "responsive to" can also mean "responsive at least in part to".
术语“确定”广泛涵盖各种各样的动作,可包括获取、演算、计算、处理、推导、调研、查找(例如,在表、数据库或其他数据结构中查找)、探明、和类似动作,还可包括接收(例如,接收信息)、访问(例如,访问存储器中的数据)和类似动作,以及解析、选择、选取、建立和类似动作等等。其他术语的相关定义将在下文描述中给出。其他术语的相关定义将在下文描述中给出。The term "determining" broadly covers a wide variety of actions, which may include obtaining, calculating, computing, processing, deriving, investigating, looking up (e.g., looking up in a table, database, or other data structure), ascertaining, and the like, Also includes receiving (eg, receiving information), accessing (eg, accessing data in memory) and the like, as well as parsing, selecting, selecting, establishing, and the like, and the like. Relevant definitions of other terms will be given in the description below. Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative and not restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more" multiple".
为了本公开的目的,短语“A和/或B”意为(A)、(B)或(A和B)。For the purposes of this disclosure, the phrase "A and/or B" means (A), (B), or (A and B).
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.
本公开一个或多个实施例提供的基于扩展现实的交互方法采用扩展现实(Extended Reality,简称XR)技术。扩展现实技术可以通过计算机将真实与虚拟相结合,为用户提供可人机交互的虚拟现实空间。在虚拟现实空间中,用户可以通过例如头盔式显示器(Head Mount Display,HMD)等扩展现实设备,进行社交互动、娱乐、学习、工作、远程办公、创作UGC(User Generated Content,用户生成内容)等。The extended reality-based interaction method provided by one or more embodiments of the present disclosure adopts an extended reality (Extended Reality, XR for short) technology. Extended reality technology can combine reality and virtuality through computers to provide users with a virtual reality space that can interact with humans and computers. In the virtual reality space, users can conduct social interaction, entertainment, study, work, telecommuting, create UGC (User Generated Content, User Generated Content), etc. .
参考图2,用户可以通过例如头戴式VR眼镜等扩展现实设备进入虚拟现实空间,并在虚拟现实空间中控制自己的虚拟角色(Avatar)与其他用户控制的虚拟角色进行社交互动、娱乐、学习、远程办公等。Referring to Figure 2, users can enter the virtual reality space through extended reality devices such as head-mounted VR glasses, and control their own virtual characters (Avatar) in the virtual reality space to socially interact, entertain and learn with virtual characters controlled by other users. , remote office, etc.
在虚拟现实空间中,用户可以通过控制器来实现相关的交互操作,该控制器可以为手柄,例如用户通过对手柄的按键的操作来进行相关的操作控制。当然在另外的实施例中,也可以不使用控制器而使用手势或者语音或者多模态控制方式来对扩展现实设备中的目标对象进行控制。In the virtual reality space, the user can implement related interactive operations through a controller, and the controller can be a handle, for example, the user can perform related operation control by operating a button of the handle. Of course, in other embodiments, the target object in the extended reality device may also be controlled by using gestures or voice or a multi-modal control method instead of using a controller.
本公开实施例记载的扩展现实设备可以包括但不限于如下几个类型:The extended reality devices described in the embodiments of the present disclosure may include but not limited to the following types:
电脑端扩展现实(PCVR)设备,利用PC端进行扩展现实功能的相关计算以及数据输出,外接的电脑端扩展现实设备利用PC端输出的数据实现扩展现实的效果。The computer-side extended reality (PCVR) device uses the PC side to perform related calculations and data output of the extended reality function, and the external computer-side extended reality device uses the data output from the PC side to realize the effect of the extended reality.
移动扩展现实设备,支持以各种方式(如设置有专门的卡槽的头戴式显示器)设置移动终端(如智能手机),通过与移动终端有线或无线方式的连接,由移动终端进行扩展现实功能的相关计算,并输出数据至移动扩展现实设备,例如通过移动终端的APP观看扩展现实视频。The mobile extended reality device supports setting up mobile terminals (such as smart phones) in various ways (such as a head-mounted display with a special card slot), and through a wired or wireless connection with the mobile terminal, the mobile terminal performs extended reality Function-related calculations, and output data to mobile extended reality devices, such as watching extended reality videos through APPs on mobile terminals.
一体机扩展现实设备,具备用于进行虚拟功能的相关计算的处理器,因而具备独立的扩展现实输入和输出的功能,不需要与PC端或移动终端连接,使用自由度高。The all-in-one extended reality device has a processor for performing calculations related to virtual functions, so it has independent extended reality input and output functions, does not need to be connected to a PC or mobile terminal, and has a high degree of freedom of use.
当然扩展现实设备实现的形态不限于此,可以根据需要可以进一步小型化或大型化。Of course, the form realized by the extended reality device is not limited to this, and can be further miniaturized or enlarged as required.
扩展现实设备中设置有姿态检测的传感器(如九轴传感器),用于实时检测扩展现实设备的姿态变化,如果用户佩戴了扩展现实设备,那么当用户头部姿态发生变化时,会将头部的实时姿态传给处理器,以此计算用户的视线在虚拟环境中的注视点,根据注视点计算虚拟环境的三维模型中处于用户注视范围(即虚拟视场)的图像,并在显示屏上显示,使人仿佛在置身于现实环境中观看一样的沉浸式体验。The extended reality device is equipped with a posture detection sensor (such as a nine-axis sensor), which is used to detect the posture change of the extended reality device in real time. If the user wears the extended reality device, when the posture of the user's head changes, the head will be moved The real-time attitude of the user is transmitted to the processor, so as to calculate the gaze point of the user's line of sight in the virtual environment, and calculate the image in the 3D model of the virtual environment according to the gaze point in the user's gaze range (that is, the virtual field of view), and display it on the display screen Display, making people feel as if they are in the immersive experience of watching in the real environment.
图3示出了本公开一实施例提供的扩展现实设备的虚拟视场的一个可选的示意图,使用水平视场角和垂直视场角来描述虚拟视场在虚拟环境中的分布范围,垂直方向的分布范围使用垂直视场角BOC表示,水平方向的分布范围使用水平视场角AOB表示,人眼通过透镜总是能够感知到虚拟环境中位于虚拟视场的影像,可以理解,视场角越大,虚拟视场的尺寸也就越大,用户能够感知的虚拟环境的区域也就越大。其中,视场角,表示通过透镜感知到环境时所具有的视角的分布范围。例如,扩展现实设备的视场角,表示通过扩展现实设备的透镜感知到虚拟环境时,人眼所具有的视角的分布范围;再例如,对于设置有摄像头的移动终端来说,摄像头的视场角为摄像头感知真实环境进行拍摄时,所具有的视角的分布范围。Fig. 3 shows an optional schematic diagram of the virtual field of view of the extended reality device provided by an embodiment of the present disclosure. The horizontal field of view and the vertical field of view are used to describe the distribution range of the virtual field of view in the virtual environment, and the vertical The distribution range of the direction is represented by the vertical field of view BOC, and the distribution range of the horizontal direction is represented by the horizontal field of view AOB. The human eye can always perceive the image in the virtual field of view in the virtual environment through the lens. It can be understood that the field of view The larger , the larger the size of the virtual field of view, and the larger the area of the virtual environment that the user can perceive. Wherein, the angle of view indicates the distribution range of the viewing angle when the environment is perceived through the lens. For example, the field of view of the extended reality device indicates the distribution range of the viewing angle of the human eye when the virtual environment is perceived through the lens of the extended reality device; for another example, for a mobile terminal equipped with a camera, the field of view of the camera The angle is the distribution range of the angle of view that the camera has when it perceives the real environment and shoots.
扩展现实设备,例如HMD集成有若干的相机(例如深度相机、RGB相机等),相机的目的不仅仅限于提供直通视图。相机图像和集成的惯性测量单元(IMU)提供可通过计算机视觉方法处理以自动分析和理解环境的数据。还有,HMD被设计成不仅支持无源计算机视觉分析,而且还支持有源计算机视觉分析。无源计算机视觉方法分析从环境中捕获的图像信息。这些方法可为单视场的(来自单个相机的图像)或体视的(来自两个相机的图像)。它们包括但不限于特征跟踪、对象识别和深度估计。有源计算机视觉方法通过投影对于相机可见但不一定对人视觉系统可见的图案来将信息添加到环境。此类技术包括飞行时间(ToF)相机、激光扫描或结构光,以简化立体匹配问题。有源计算机视觉用于实现场景深度重构。Extended reality devices, such as HMDs, integrate several cameras (such as depth cameras, RGB cameras, etc.), and the purpose of the cameras is not limited to providing a through view. Camera images and an integrated inertial measurement unit (IMU) provide data that can be processed by computer vision methods to automatically analyze and understand the environment. Also, HMDs are designed to support not only passive computer vision analysis, but also active computer vision analysis. Passive computer vision methods analyze image information captured from the environment. These methods can be monoscopic (images from a single camera) or stereoscopic (images from two cameras). They include but are not limited to feature tracking, object recognition, and depth estimation. Active computer vision methods add information to the environment by projecting patterns that are visible to the camera but not necessarily to the human visual system. Such technologies include time-of-flight (ToF) cameras, laser scanning or structured light to simplify the stereo matching problem. Active computer vision is used to achieve scene depth reconstruction.
参考图1,图1示出了本公开一实施例提供的基于扩展现实的交互方法100的流程图,方法100包括步骤S120-步骤S160。Referring to FIG. 1 , FIG. 1 shows a flow chart of an XR-based interaction method 100 provided by an embodiment of the present disclosure. The method 100 includes step S120-step S160.
步骤S120:显示虚拟现实空间。Step S120: Displaying the virtual reality space.
步骤S140:响应于用户的第一预设操作,在所述虚拟现实空间中显示虚拟键盘对象,所述虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键。Step S140: In response to the user's first preset operation, display a virtual keyboard object in the virtual reality space, where the virtual keyboard object includes a plurality of first virtual keys arranged around a preset blank area.
步骤S160:响应于用户的第二预设操作,确定被选中的第一虚拟按键。Step S160: Determine the selected first virtual key in response to the user's second preset operation.
其中,虚拟现实空间可以是对真实世界的仿真环境,也可以是半仿真半虚构的虚拟场景,还可以是纯虚构的虚拟场景。虚拟场景可以是二维虚拟场景、2.5维虚拟场景或者三维虚拟场景中的任意一种,本申请实施例对虚拟场景的维度不加以限定。例如,虚拟场景可以包括天空、陆地、海洋等,该陆地可以包括沙漠、城市等环境元素,用户可以控制虚拟对象在该虚拟场景中进行移动。Wherein, the virtual reality space may be a simulated environment of the real world, a semi-simulation and semi-fictional virtual scene, or a purely fictional virtual scene. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene, and the embodiment of the present application does not limit the dimensions of the virtual scene. For example, the virtual scene may include sky, land, ocean, etc. The land may include environmental elements such as deserts and cities, and the user may control virtual objects to move in the virtual scene.
第一预设操作和第二预设操作包括但不限于体感控制操作、手势控制操作、眼球晃动操作、触控操作、语音控制指令、或对外接控制设备的操作。例如,用户通过可以通过触发扩展现实的控制器(例如VR设备的手柄)上的预设按键来在虚拟现实空间中唤起虚拟键盘对象,并通过诸如手柄射线从虚拟键盘对象中选中某一第一虚拟按键。The first preset operation and the second preset operation include but are not limited to somatosensory control operations, gesture control operations, eye movement operations, touch operations, voice control instructions, or operations on external control devices. For example, the user can arouse the virtual keyboard object in the virtual reality space by triggering the preset button on the controller of the extended reality (for example, the handle of the VR device), and select a certain first key from the virtual keyboard object through such as the handle ray. Virtual Key.
在一些实施例中,第一虚拟按键可以呈环形排布,环形中心即为所述预设空白区域。参考图4,在虚拟现实空间中,大体呈环形的虚拟键盘对象20包括8个第一虚拟按键30。每个第一虚拟按键对应有3-4个字母。In some embodiments, the first virtual keys may be arranged in a ring, and the center of the ring is the preset blank area. Referring to FIG. 4 , in the virtual reality space, the substantially circular
虚拟现实空间中还显示有输入框40。输入框40中显示有用户通过触发第一虚拟按键而输入的字符,以及根据该字符确定的多个候选词条。An
在一些实施例中,所述第二预设操作包括用于控制虚拟射线选中第一虚拟按键的操作;方法100还包括:在显示所述虚拟键盘对象后,将所述虚拟射线的初始方向设置为朝向预设空白区域。示例性地,参考图4,虚拟射线的初始方向可以位于环形的中心。在本实施例中,通过使第一虚拟按键围绕预设空白区域排布,使第一虚拟按键位于预设空白区域的各个方向上,将所述虚拟射线的初始方向设置为朝向所述预设空白区域,从而用户通过向预设空白区域的四周移动该虚拟射线即可选中位于各个方向上的第一虚拟按键,从而尽可能地减少虚拟射线的初始位置与待选中的第一虚拟按键之间的距离,提升了扩展现实场景下的信息输入效率。In some embodiments, the second preset operation includes an operation for controlling the virtual ray to select the first virtual key; the method 100 further includes: after displaying the virtual keyboard object, setting the initial direction of the virtual ray to Default blank space for orientation. For example, referring to FIG. 4 , the initial direction of the virtual ray may be located at the center of the ring. In this embodiment, by arranging the first virtual keys around the preset blank area, the first virtual keys are located in each direction of the preset blank area, and the initial direction of the virtual ray is set to face the preset blank area, so that the user can select the first virtual button located in each direction by moving the virtual ray around the preset blank area, thereby reducing the distance between the initial position of the virtual ray and the first virtual button to be selected as much as possible. The distance improves the efficiency of information input in extended reality scenarios.
在一些实施例中,所述第二预设操作包括改变控制器位姿的操作;步骤S160包括:响应于所述改变控制器位姿的操作,确定所述控制器的运动方向;基于所述运动方向确定所述被选中的第一虚拟按键。在本实施例中,通过使第一虚拟按键围绕预设空白区域排布,使第一虚拟按键位于预设空白区域的各个方向上,从而用户可以通过朝某一方向驱动(例如抖动、翻转、移动)控制器,即可选中位于该方向上的第一虚拟按键,而无需将虚拟射线(例如手柄射线)移动至该第一虚拟按键位置处,从而提升了扩展现实场景下的信息输入效率。In some embodiments, the second preset operation includes an operation of changing the pose of the controller; step S160 includes: responding to the operation of changing the pose of the controller, determining the direction of motion of the controller; based on the The direction of movement determines the selected first virtual key. In this embodiment, by arranging the first virtual keys around the preset blank area, the first virtual keys are located in each direction of the preset blank area, so that the user can drive in a certain direction (such as shaking, flipping, By moving the controller, the first virtual button located in this direction can be selected without moving the virtual ray (such as the handle ray) to the position of the first virtual button, thereby improving the information input efficiency in the extended reality scene.
在一些实施例中,步骤S160包括:响应于所述第二预设操作,转动所述虚拟键盘对象或者转动用于指示当前被选中的按键的按键指示对象,在转动停止后将按键指示对象所指示的第一虚拟按键作为所述被选中的第一虚拟按键。在本实施例中,通过使第一虚拟按键围绕预设空白区域排布,使第一虚拟按键位于预设空白区域的各个方向上,从而可以以该预设空白区域为轴来旋转该环形虚拟键盘或旋转按键指示对象,进而通过旋转的交互方式选中第一虚拟按键,提升了扩展现实场景下的信息输入效率。In some embodiments, step S160 includes: in response to the second preset operation, rotating the virtual keyboard object or rotating the key pointing object used to indicate the currently selected key, and turning the key pointing object to the key pointing object after the rotation stops. The indicated first virtual key is used as the selected first virtual key. In this embodiment, by arranging the first virtual keys around the preset blank area, the first virtual keys are located in each direction of the preset blank area, so that the ring-shaped virtual button can be rotated around the preset blank area. The keyboard or the rotation button indicates the object, and then the first virtual button is selected through the rotation interaction mode, which improves the efficiency of information input in the extended reality scene.
根据本公开的一个或多个实施例,通过使虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键,使第一虚拟按键位于预设空白区域的各个方向上,从而与扩展现实的基于空间的交互特性相适应,进而可以采用适宜扩展现实的交互方式来实现用户与虚拟键盘对象之间的交互,提升了扩展现实场景下的信息输入效率。According to one or more embodiments of the present disclosure, by making the virtual keyboard object include a plurality of first virtual keys arranged around the preset blank area, the first virtual keys are located in each direction of the preset blank area, so as to be compatible with the extended In order to adapt to the real space-based interaction characteristics, an interaction mode suitable for extended reality can be adopted to realize the interaction between the user and the virtual keyboard object, which improves the efficiency of information input in the extended reality scene.
在一些实施例中,各第一虚拟按键对应的字符与九宫格输入法中各按键对应的字符相同;所述第一虚拟按键的数量为8个。在本实施例中,第一虚拟按键与字符之间的映射继承了九宫格输入法,降低了用户的学习成本,提升了扩展现实场景下的信息输入效率。In some embodiments, the characters corresponding to the first virtual keys are the same as the characters corresponding to the keys in the Jiugongge input method; the number of the first virtual keys is eight. In this embodiment, the mapping between the first virtual key and the character inherits the Jiugongge input method, which reduces the user's learning cost and improves the information input efficiency in the extended reality scene.
在一些实施例中,所述虚拟键盘对象包括并列设置的第一虚拟键盘对象和第二虚拟键盘对象;所述第一虚拟键盘对象包括多个围绕第一预设空白区域排布的第一虚拟按键,所述第二虚拟键盘对象包括多个围绕第二预设空白区域排布的第一虚拟按键;所述第一虚拟键盘对象用于被第一手持式控制器控制,所述第二虚拟键盘对象用于被第二手持式控制器控制。In some embodiments, the virtual keyboard object includes a first virtual keyboard object and a second virtual keyboard object arranged side by side; the first virtual keyboard object includes a plurality of first virtual keyboard objects arranged around a first preset blank area button, the second virtual keyboard object includes a plurality of first virtual buttons arranged around a second preset blank area; the first virtual keyboard object is used to be controlled by the first handheld controller, and the second virtual The keyboard object is used to be controlled by the second handheld controller.
在本实施例中,通过设置适用于双手操作的双虚拟键盘对象,用户可以通过操控两个手柄来控制不同的虚拟键盘对象,从而使信息输入交互更加贴合扩展现实场景,提升了扩展现实场景下的信息输入效率。In this embodiment, by setting dual virtual keyboard objects suitable for two-handed operation, the user can control different virtual keyboard objects by manipulating two handles, so that the information input interaction is more suitable for the extended reality scene, and the extended reality scene is improved. Information input efficiency under.
示例性地,参考图5,在虚拟现实空间中,大体呈环形的第一虚拟键盘对象21包括4个围绕预设空白区域排布第一虚拟按键31,4个第一虚拟按键31分别位于相应预设空白区域的上、下、左、右侧。类似地,大体呈环形的第一虚拟键盘对象22包括4个围绕预设空白区域排布第一虚拟按键32,4个第一虚拟按键32分别位于相应预设空白区域的上、下、左、右侧。虚拟现实空间中还显示有输入法切换界面50,用户可以通过该输入法切换界面50来选择输入法。Exemplarily, with reference to FIG. 5 , in the virtual reality space, the substantially ring-shaped first
在该示例中,各虚拟键盘对象中的虚拟按键位于相应预设空白区域的上、下、左、右侧,这样,当第二预设操作包括改变控制器位姿的操作时,用户可以仅通过朝上、朝下、朝左或朝右驱动(例如抖动、翻转、移动)控制器,即可选中位于相应方向上唯一的第一虚拟按键,从而进一步提升了选中虚拟按键的效率和准确率,极大减少了因驱动方向不准确而导致误操作的情形,进而提升了扩展现实场景下的信息输入效率。In this example, the virtual keys in each virtual keyboard object are located on the upper, lower, left, and right sides of the corresponding preset blank area. In this way, when the second preset operation includes the operation of changing the pose of the controller, the user can only By driving the controller up, down, left or right (such as shaking, flipping, moving), the only first virtual button located in the corresponding direction can be selected, thereby further improving the efficiency and accuracy of virtual button selection , which greatly reduces the situation of misoperation caused by inaccurate driving directions, thereby improving the efficiency of information input in extended reality scenarios.
在一些实施例中,可以响应于控制器上设置的第一预设按键被触发,选择输入框中显示的候选词条;可以响应于控制器上设置的第二预设按键被触发,确认被选中的候选词条;还可以响应于控制器上设置的第三预设按键被触发,切换输入框显示的候选词条(例如翻页)。示例性地,第一预设按键包括摇杆。In some embodiments, the candidate entry displayed in the input box may be selected in response to the first preset button set on the controller being triggered; the confirmation may be confirmed in response to the second preset button set on the controller being triggered. The selected candidate entry; it is also possible to switch the candidate entry displayed in the input box (for example, to turn the page) in response to the triggering of the third preset button set on the controller. Exemplarily, the first preset button includes a joystick.
相应地,参考图6,根据本公开一实施例提供了一种信息交互装600,包括:Correspondingly, referring to FIG. 6 , an information interaction device 600 is provided according to an embodiment of the present disclosure, including:
空间显示单元601,用于显示虚拟现实空间;A space display unit 601, configured to display a virtual reality space;
键盘显示单元602,用于响应于用户的第一预设操作,在所述虚拟现实空间中显示虚拟键盘对象,所述虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键;A keyboard display unit 602, configured to display a virtual keyboard object in the virtual reality space in response to a user's first preset operation, where the virtual keyboard object includes a plurality of first virtual keys arranged around a preset blank area;
按键确定单元603,用于响应于用户的第二预设操作,确定被选中的第一虚拟按键。The key determining unit 603 is configured to determine the selected first virtual key in response to the user's second preset operation.
在一些实施例中,各第一虚拟按键对应的字符与九宫格输入法中各按键对应的字符相同;所述第一虚拟按键的数量为8个。In some embodiments, the characters corresponding to the first virtual keys are the same as the characters corresponding to the keys in the Jiugongge input method; the number of the first virtual keys is eight.
在一些实施例中,所述虚拟键盘对象包括并列设置的第一虚拟键盘对象和第二虚拟键盘对象;所述第一虚拟键盘对象包括多个围绕第一预设空白区域排布的第一虚拟按键,所述第二虚拟键盘对象包括多个围绕第二预设空白区域排布的第一虚拟按键;所述第一虚拟键盘对象用于被第一手持式控制器控制,所述第二虚拟键盘对象用于被第二手持式控制器控制。In some embodiments, the virtual keyboard object includes a first virtual keyboard object and a second virtual keyboard object arranged side by side; the first virtual keyboard object includes a plurality of first virtual keyboard objects arranged around a first preset blank area button, the second virtual keyboard object includes a plurality of first virtual buttons arranged around a second preset blank area; the first virtual keyboard object is used to be controlled by the first handheld controller, and the second virtual The keyboard object is used to be controlled by the second handheld controller.
在一些实施例中,所述第二预设操作包括用于控制虚拟射线选中第一虚拟按键的操作;所述方法还包括:在显示所述虚拟键盘对象后,将所述虚拟射线的初始方向设置为朝向所述预设空白区域。In some embodiments, the second preset operation includes an operation for controlling the virtual ray to select the first virtual key; the method further includes: after the virtual keyboard object is displayed, setting the initial direction of the virtual ray to Set to face the preset empty space.
在一些实施例中,所述第二预设操作包括改变控制器位姿的操作;所述响应于用户的第二预设操作,确定被选中的第一虚拟按键,包括:响应于所述改变控制器位姿的操作,确定所述控制器的运动方向;基于所述运动方向确定所述被选中的第一虚拟按键。In some embodiments, the second preset operation includes an operation of changing the pose of the controller; the determining the selected first virtual key in response to the second preset operation of the user includes: responding to the change The controller pose operation determines the motion direction of the controller; and determines the selected first virtual key based on the motion direction.
在一些实施例中,所述响应于用户的第二预设操作,确定被选中的第一虚拟按键,包括:响应于所述第二预设操作,转动所述虚拟键盘对象或者转动用于指示当前被选中的按键的按键指示对象,基于转动停止后所述按键指示对象所指示的第一虚拟按键确定所述被选中的第一虚拟按键。In some embodiments, the determining the selected first virtual key in response to the second preset operation of the user includes: in response to the second preset operation, rotating the virtual keyboard object or rotating for indicating The key pointing object of the currently selected key, the selected first virtual key is determined based on the first virtual key indicated by the key pointing object after the rotation stops.
在一些实施例中,所述第一虚拟按键呈环状排布。In some embodiments, the first virtual keys are arranged in a ring.
对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中作为分离模块说明的模块可以是或者也可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the embodiment of the device, since it basically corresponds to the embodiment of the method, for relevant parts, please refer to part of the description of the embodiment of the method. The apparatus embodiments described above are illustrative only, where modules illustrated as separate modules may or may not be separate. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.
相应地,根据本公开的一个或多个实施例,提供了一种电子设备,包括:Accordingly, according to one or more embodiments of the present disclosure, an electronic device is provided, including:
至少一个存储器和至少一个处理器;at least one memory and at least one processor;
其中,存储器用于存储程序代码,处理器用于调用存储器所存储的程序代码以使所述电子设备执行根据本公开一个或多个实施例提供的基于扩展现实的交互方法。Wherein, the memory is used to store program codes, and the processor is used to invoke the program codes stored in the memory to enable the electronic device to execute the extended reality-based interaction method provided according to one or more embodiments of the present disclosure.
相应地,根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,非暂态计算机存储介质存储有程序代码,程序代码可被计算机设备执行来使得所述计算机设备执行根据本公开一个或多个实施例提供的基于扩展现实的交互方法。Accordingly, according to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium, the non-transitory computer storage medium stores program codes, and the program codes can be executed by a computer device to cause the computer device to execute An interaction method based on extended reality provided by one or more embodiments of the present disclosure.
下面参考图7,其示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图7示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 7 , it shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 800 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in FIG. 7 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
如图7所示,电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in FIG. 7 , an
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图7示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 805:
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 809, or from storage means 808, or from
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but 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, electrical connections with one or more wires, portable computer diskettes, hard disks, 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 the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, 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 foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium (eg, communication network) interconnections. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的本公开的方法。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned method of the present disclosure.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, 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 a remote computer, the remote computer can be connected to the user 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 (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing 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 in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, 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), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, 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, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种基于扩展现实的交互方法,包括:显示虚拟现实空间;响应于用户的第一预设操作,在所述虚拟现实空间中显示虚拟键盘对象,所述虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键;响应于用户的第二预设操作,确定被选中的第一虚拟按键。According to one or more embodiments of the present disclosure, an interaction method based on extended reality is provided, including: displaying a virtual reality space; and displaying a virtual keyboard object in the virtual reality space in response to a user's first preset operation , the virtual keyboard object includes a plurality of first virtual keys arranged around a preset blank area; in response to a second preset operation of the user, the selected first virtual key is determined.
根据本公开的一个或多个实施例,各第一虚拟按键对应的字符与九宫格输入法中各按键对应的字符相同;所述第一虚拟按键的数量为8个。According to one or more embodiments of the present disclosure, the characters corresponding to the first virtual keys are the same as the characters corresponding to the keys in the Jiugongge input method; the number of the first virtual keys is eight.
根据本公开的一个或多个实施例,所述虚拟键盘对象包括并列设置的第一虚拟键盘对象和第二虚拟键盘对象;所述第一虚拟键盘对象包括多个围绕第一预设空白区域排布的第一虚拟按键,所述第二虚拟键盘对象包括多个围绕第二预设空白区域排布的第一虚拟按键;所述第一虚拟键盘对象用于被第一手持式控制器控制,所述第二虚拟键盘对象用于被第二手持式控制器控制。According to one or more embodiments of the present disclosure, the virtual keyboard object includes a first virtual keyboard object and a second virtual keyboard object arranged side by side; the first virtual keyboard object includes a plurality of The first virtual key is distributed, and the second virtual keyboard object includes a plurality of first virtual keys arranged around the second preset blank area; the first virtual keyboard object is used to be controlled by the first hand-held controller, The second virtual keyboard object is for being controlled by a second handheld controller.
根据本公开的一个或多个实施例,所述第二预设操作包括用于控制虚拟射线选中第一虚拟按键的操作;所述方法还包括:在显示所述虚拟键盘对象后,将所述虚拟射线的初始方向设置为朝向所述预设空白区域。According to one or more embodiments of the present disclosure, the second preset operation includes an operation for controlling the virtual ray to select the first virtual key; the method further includes: after displaying the virtual keyboard object, setting the The initial direction of the virtual ray is set to face the preset blank area.
根据本公开的一个或多个实施例,所述第二预设操作包括改变控制器位姿的操作;所述响应于用户的第二预设操作,确定被选中的第一虚拟按键,包括:响应于所述改变控制器位姿的操作,确定所述控制器的运动方向;基于所述运动方向确定所述被选中的第一虚拟按键。According to one or more embodiments of the present disclosure, the second preset operation includes an operation of changing the pose of the controller; the determining the selected first virtual key in response to the second preset operation of the user includes: In response to the operation of changing the pose of the controller, determine the motion direction of the controller; and determine the selected first virtual key based on the motion direction.
根据本公开的一个或多个实施例,所述响应于用户的第二预设操作,确定被选中的第一虚拟按键,包括:响应于所述第二预设操作,转动所述虚拟键盘对象或者转动用于指示当前被选中的按键的按键指示对象,基于转动停止后所述按键指示对象所指示的第一虚拟按键确定所述被选中的第一虚拟按键。According to one or more embodiments of the present disclosure, the determining the selected first virtual key in response to the second preset operation of the user includes: rotating the virtual keyboard object in response to the second preset operation Alternatively, the key pointing object used to indicate the currently selected key is rotated, and the selected first virtual key is determined based on the first virtual key indicated by the key pointing object after the rotation stops.
根据本公开的一个或多个实施例,所述第一虚拟按键呈环状排布。According to one or more embodiments of the present disclosure, the first virtual keys are arranged in a ring.
根据本公开的一个或多个实施例,提供了一种基于扩展现实的信息交互装置,包括:空间显示单元,用于显示虚拟现实空间;键盘显示单元,用于响应于用户的第一预设操作,在所述虚拟现实空间中显示虚拟键盘对象,所述虚拟键盘对象包括多个围绕预设空白区域排布的第一虚拟按键;按键确定单元,用于响应于用户的第二预设操作,确定被选中的第一虚拟按键。According to one or more embodiments of the present disclosure, there is provided an information interaction device based on extended reality, including: a space display unit for displaying a virtual reality space; a keyboard display unit for responding to the user's first preset The operation is to display a virtual keyboard object in the virtual reality space, and the virtual keyboard object includes a plurality of first virtual keys arranged around a preset blank area; the button determination unit is configured to respond to a second preset operation of the user to determine the selected first virtual key.
根据本公开的一个或多个实施例,提供了一种电子设备,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以使所述电子设备执行根据本公开的一个或多个实施例提供的基于扩展现实的交互方法。According to one or more embodiments of the present disclosure, there is provided an electronic device, including: at least one memory and at least one processor; wherein, the memory is used to store program codes, and the processor is used to call the The stored program code enables the electronic device to execute the extended reality-based interaction method provided according to one or more embodiments of the present disclosure.
根据本公开的一个或多个实施例,提供了一种非暂态计算机存储介质,所述非暂态计算机存储介质存储有程序代码,所述程序代码被计算机设备执行时,使得所述计算机设备执行根据本公开的一个或多个实施例提供的基于扩展现实的交互方法。According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium, the non-transitory computer storage medium stores program code, and when the program code is executed by a computer device, the computer device The extended reality-based interaction method provided according to one or more embodiments of the present disclosure is executed.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principle. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, while operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or to be performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several specific implementation details, these should not be construed as limitations on the scope of the 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 (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310165805.0A CN115981544A (en) | 2023-02-21 | 2023-02-21 | Interaction method, device, electronic device and storage medium based on extended reality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310165805.0A CN115981544A (en) | 2023-02-21 | 2023-02-21 | Interaction method, device, electronic device and storage medium based on extended reality |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115981544A true CN115981544A (en) | 2023-04-18 |
Family
ID=85970485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310165805.0A Pending CN115981544A (en) | 2023-02-21 | 2023-02-21 | Interaction method, device, electronic device and storage medium based on extended reality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115981544A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117093070A (en) * | 2023-06-05 | 2023-11-21 | 北京虹宇科技有限公司 | Application form control method, device and equipment in augmented reality space |
-
2023
- 2023-02-21 CN CN202310165805.0A patent/CN115981544A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117093070A (en) * | 2023-06-05 | 2023-11-21 | 北京虹宇科技有限公司 | Application form control method, device and equipment in augmented reality space |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2814000A1 (en) | Image processing apparatus, image processing method, and program | |
US20180143693A1 (en) | Virtual object manipulation | |
EP4006847A1 (en) | Virtual object processing method and apparatus, and storage medium and electronic device | |
CN111488056A (en) | Manipulating virtual objects using tracked physical objects | |
CN115981544A (en) | Interaction method, device, electronic device and storage medium based on extended reality | |
CN117784919A (en) | Virtual input device display method and device, electronic device and storage medium | |
CN117492555A (en) | Object movement control method, device and equipment | |
EP4509962A1 (en) | Method, apparatus, electronic device, and storage for medium extended reality-based interaction control | |
US20250097515A1 (en) | Information interaction method, device, electronic apparatus and storage medium | |
US20240153211A1 (en) | Methods, apparatuses, terminals and storage media for display control based on extended reality | |
CN117435041A (en) | Information interaction methods, devices, electronic equipment and storage media | |
CN117994284A (en) | Collision detection method, collision detection device, electronic equipment and storage medium | |
CN116193246A (en) | Prompt method and device for shooting video, electronic equipment and storage medium | |
CN117631921A (en) | Information interaction method, device, electronic equipment and storage medium | |
US20240078734A1 (en) | Information interaction method and apparatus, electronic device and storage medium | |
US20250029216A1 (en) | Method, apparatus, electronic devices, and storage medium of image processing | |
US20250175680A1 (en) | Information exchange method, electronic device and storage medium | |
CN118229921A (en) | Image display method, device, electronic device and storage medium | |
WO2024012106A1 (en) | Information interaction method and apparatus, electronic device, and storage medium | |
WO2025092464A1 (en) | Interaction control method and apparatus, electronic device, and storage medium | |
CN117632063A (en) | Display processing methods, devices, equipment and media based on virtual reality space | |
CN117631904A (en) | Information interaction method, device, electronic equipment and storage medium | |
CN117745982A (en) | Method, device, system, electronic equipment and storage medium for recording video | |
CN117631810A (en) | Operation processing method, device, equipment and medium based on virtual reality space | |
CN117934769A (en) | Image display method, device, electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |