CN117270732A - Control interaction method and device, electronic equipment and storage medium - Google Patents

Control interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117270732A
CN117270732A CN202210680232.0A CN202210680232A CN117270732A CN 117270732 A CN117270732 A CN 117270732A CN 202210680232 A CN202210680232 A CN 202210680232A CN 117270732 A CN117270732 A CN 117270732A
Authority
CN
China
Prior art keywords
control
hot area
hot
target control
color
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
Application number
CN202210680232.0A
Other languages
Chinese (zh)
Inventor
张展尘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210680232.0A priority Critical patent/CN117270732A/en
Publication of CN117270732A publication Critical patent/CN117270732A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开涉及一种控件交互方法、装置、电子设备以存储介质,所述方法应用于扩展现实XR终端设备,所述方法包括:在扩展现实空间中,展示至少一个控件;在所述至少一个控件中确定目标控件;展示与所述目标控件对应的可视化的热区域;响应于对所述目标控件对应的热区域的触发操作,执行与所述目标控件对应的控制操作。由于对热区域的选择/确认操作等同于对该热区域所对应的控件的选择/确认操作,通过合理设置热区域可以降低对控件触发的难度,进而达到降低误触几率的目的。

The present disclosure relates to a control interaction method, device, electronic device and storage medium. The method is applied to an extended reality XR terminal device. The method includes: displaying at least one control in the extended reality space; and displaying at least one control in the extended reality space. Determine a target control; display a visualized hot area corresponding to the target control; and perform a control operation corresponding to the target control in response to a triggering operation on the hot area corresponding to the target control. Since the selection/confirmation operation of the hot area is equivalent to the selection/confirmation operation of the control corresponding to the hot area, the difficulty of triggering the control can be reduced by rationally setting the hot area, thereby reducing the probability of accidental touch.

Description

一种控件交互方法、装置、电子设备以存储介质A control interaction method, device, electronic equipment and storage medium

技术领域Technical field

本公开涉及扩展现实技术领域,尤其涉及一种控件交互方法、装置、电子设备以存储介质。The present disclosure relates to the field of extended reality technology, and in particular, to a control interaction method, device, electronic device, and storage medium.

背景技术Background technique

扩展现实(Extended Reality,简称XR),是指通过计算机将真实与虚拟相结合,打造一个可人机交互的虚拟环境,这也是AR、VR、MR等多种技术的统称。通过将三者的视觉交互技术相融合,为体验者带来虚拟世界与现实世界之间无缝转换的“沉浸感”。Extended Reality (XR for short) refers to the combination of reality and virtuality through computers to create a virtual environment that allows human-computer interaction. This is also the collective name for various technologies such as AR, VR, and MR. By integrating the three visual interaction technologies, the user can experience a "sense of immersion" that seamlessly transitions between the virtual world and the real world.

当用户使用扩展现实设备时,通常需要通过对虚拟现实空间内的控件进行触发来实现人机交互。但是,目前用户与控件的交互方式设计不合理,无法辅助用户快捷地完成与控件的交互。When users use extended reality devices, they usually need to trigger controls in the virtual reality space to achieve human-computer interaction. However, the current interaction method between users and controls is not reasonably designed and cannot assist users to quickly complete the interaction with controls.

发明内容Contents of the invention

为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种控件交互方法、装置、电子设备以存储介质。In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a control interaction method, device, electronic device and storage medium.

第一方面,本公开提供了一种控件交互方法,所述方法应用于扩展现实XR终端设备,所述方法包括:In a first aspect, the present disclosure provides a control interaction method, which method is applied to an extended reality XR terminal device, and the method includes:

在扩展现实空间中,展示至少一个控件;In the extended reality space, display at least one control;

在所述至少一个控件中确定目标控件;determining a target control in the at least one control;

展示与所述目标控件对应的可视化的热区域;Display a visualized hot area corresponding to the target control;

响应于对所述目标控件对应的热区域的触发操作,执行与所述目标控件对应的控制操作。In response to a triggering operation on a thermal area corresponding to the target control, a control operation corresponding to the target control is performed.

第二方面,本公开还提供了一种控件交互装置,In a second aspect, the present disclosure also provides a control interaction device,

所述装置应用于扩展现实XR终端设备,所述装置包括:The device is applied to extended reality XR terminal equipment, and the device includes:

第一展示模块,用于在扩展现实空间中,展示至少一个控件;The first display module is used to display at least one control in the extended reality space;

确定模块,用于在所述至少一个控件中确定目标控件;a determining module, configured to determine a target control in the at least one control;

第二展示模块,用于展示与所述目标控件对应的可视化的热区域;The second display module is used to display the visualized hot area corresponding to the target control;

执行模块,用于响应于对所述目标控件对应的热区域的触发操作,执行与所述目标控件对应的控制操作。An execution module, configured to execute a control operation corresponding to the target control in response to a triggering operation on the hot area corresponding to the target control.

第三方面,本公开还提供了一种电子设备,所述电子设备包括:In a third aspect, the present disclosure also provides an electronic device, which includes:

一个或多个处理器;one or more processors;

存储装置,用于存储一个或多个程序;A storage device for storing one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上所述的控件交互方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the control interaction method as described above.

第四方面,本公开还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的控件交互方法。In a fourth aspect, the present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the control interaction method as described above is implemented.

本公开实施例提供的技术方案与现有技术相比具有如下优点:Compared with the existing technology, the technical solution provided by the embodiments of the present disclosure has the following advantages:

本公开实施例提供的技术方案通过在至少一个控件中确定目标控件;展示与目标控件对应的可视化的热区域;响应于对目标控件对应的热区域的触发操作,执行与目标控件对应的控制操作,由于对热区域的触发操作等同于对该热区域所对应的控件的触发操作,通过合理设置热区域可以降低对控件触发的难度,进而达到降低误触几率,辅助用户快捷地完成与控件的交互的目的。The technical solution provided by the embodiment of the present disclosure determines a target control in at least one control; displays a visualized hot area corresponding to the target control; and performs a control operation corresponding to the target control in response to a triggering operation on the hot area corresponding to the target control. , since the triggering operation of the hot area is equivalent to the triggering operation of the control corresponding to the hot area, the difficulty of triggering the control can be reduced by reasonably setting the hot area, thereby reducing the probability of accidental touch and assisting the user to quickly complete the interaction with the control. purpose of interaction.

附图说明Description of the drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.

为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.

图1为本公开实施例提供的一种扩展现实终端设备的结构框图;Figure 1 is a structural block diagram of an extended reality terminal device provided by an embodiment of the present disclosure;

图2为本公开实施例提供的一种头盔式显示器应用场景的示意图;Figure 2 is a schematic diagram of an application scenario of a helmet-mounted display provided by an embodiment of the present disclosure;

图3为本公开实施例提供的一种控件交互方法的流程图;Figure 3 is a flow chart of a control interaction method provided by an embodiment of the present disclosure;

图4为本公开实施例提供的一种热区域与控件的对应关系的示意图;Figure 4 is a schematic diagram of the corresponding relationship between a thermal area and a control provided by an embodiment of the present disclosure;

图5为本公开实施例提供的另一种热区域与控件的对应关系的示意图;Figure 5 is a schematic diagram of another corresponding relationship between thermal areas and controls provided by an embodiment of the present disclosure;

图6为本公开实施例提供的另一种控件交互方法的流程图;Figure 6 is a flow chart of another control interaction method provided by an embodiment of the present disclosure;

图7和图8为本公开实施例提供的另外的两种热区域与控件的对应关系的示意图;Figures 7 and 8 are schematic diagrams of the corresponding relationships between two other thermal areas and controls provided by embodiments of the present disclosure;

图9为本公开实施例中的一种控件交互装置的结构示意图;Figure 9 is a schematic structural diagram of a control interaction device in an embodiment of the present disclosure;

图10为本公开实施例中的一种电子设备的结构示意图。Figure 10 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure.

具体实施方式Detailed ways

为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to understand the above objects, features and advantages of the present disclosure more clearly, the solutions of the present disclosure will be further described below. It should be noted that, as long as there is no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to fully understand the present disclosure, but the present disclosure can also be implemented in other ways different from those described here; obviously, the embodiments in the description are only part of the embodiments of the present disclosure, and Not all examples.

扩展现实(Extended Reality,简称XR),是指通过计算机将真实与虚拟相结合,打造一个可人机交互的虚拟环境,这也是AR、VR、MR等多种技术的统称。通过将三者的视觉交互技术相融合,为体验者带来虚拟世界与现实世界之间无缝转换的“沉浸感”。Extended Reality (XR for short) refers to the combination of reality and virtuality through computers to create a virtual environment that allows human-computer interaction. This is also the collective name for various technologies such as AR, VR, and MR. By integrating the three visual interaction technologies, the user can experience a "sense of immersion" that seamlessly transitions between the virtual world and the real world.

扩展现实终端设备,是可以实现扩展现效果的终端,通常可以提供为眼镜、头盔式显示器(Head Mount Display,HMD)、隐形眼镜的形态,以用于实现视觉感知和其他形式的感知,当然虚拟现实设备实现的形态不限于此,根据需要可以进一步小型化或大型化。Extended reality terminal equipment is a terminal that can achieve extended reality effects. It can usually be provided in the form of glasses, helmet-mounted displays (HMD), and contact lenses to achieve visual perception and other forms of perception. Of course, virtual The form of actual device implementation is not limited to this, and can be further miniaturized or enlarged as needed.

扩展现实终端设备可以营造虚拟场景。虚拟场景,是应用程序在电子设备上运行时显示(或提供)的虚拟场景。该虚拟场景可以是对真实世界的仿真环境,也可以是半仿真半虚构的虚拟场景,还可以是纯虚构的虚拟场景。虚拟场景可以是二维虚拟场景、2.5维虚拟场景或者三维虚拟场景中的任意一种,本申请实施例对虚拟场景的维度不加以限定。Extended reality terminal devices can create virtual scenes. A virtual scene is a virtual scene displayed (or provided) by an application when it is run on an electronic device. The virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictional virtual scene, or a purely fictitious 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. The embodiments of this application do not limit the dimensions of the virtual scene.

图1为本公开实施例提供的一种扩展现实终端设备的结构框图。参见图1,示例性地,扩展现实终端设备为头盔式显示器(Head Mount Display,HMD)。其主要功能模块可以包括但不限于以下的构成:1)检测(模块):使用各种传感器检测用户的操作命令,并作用于虚拟环境,如跟随用户的视线而不断更新在显示屏上显示的影像,实现用户与虚拟和场景的交互,例如基于检测到的用户头部的转动方向来不断更新现实内容;2)反馈(模块):接收来自传感器的数据,为用户提供实时反馈;3)传感器:一方面接受来自用户的操作命令,并将其作用于虚拟环境;另一方面将操作后产生的结果以各种反馈的形式提供给用户;4)控制模块:对传感器和各种输入/输出装置进行控制,包括获得用户的数据(如动作、语音)和输出感知数据,如图像、振动、温度和声音等,对用户、虚拟环境和现实世界产生作用;5)建模模块:构造虚拟环境的三维模型,还可以包括三维模型中的声音、触感等各种反馈机制。Figure 1 is a structural block diagram of an extended reality terminal device provided by an embodiment of the present disclosure. Referring to Figure 1, for example, the extended reality terminal device is a helmet mounted display (Head Mount Display, HMD). Its main functional modules can include but are not limited to the following components: 1) Detection (module): Use various sensors to detect the user's operation commands and act on the virtual environment, such as following the user's line of sight and continuously updating the information displayed on the display screen. Imaging, enabling users to interact with virtual and scenes, such as continuously updating real-life content based on the detected rotation direction of the user's head; 2) Feedback (module): Receive data from sensors and provide real-time feedback to users; 3) Sensor : On the one hand, it accepts the operation commands from the user and applies them to the virtual environment; on the other hand, it provides the results of the operation to the user in the form of various feedbacks; 4) Control module: for sensors and various input/outputs The device controls, including obtaining the user's data (such as actions, voice) and outputting sensory data, such as images, vibrations, temperature and sound, etc., which have an effect on the user, the virtual environment and the real world; 5) Modeling module: construct a virtual environment The three-dimensional model can also include various feedback mechanisms such as sound and touch in the three-dimensional model.

在虚拟现实场景中,用户对目标对象进行选中可以通过控制器实现,该控制器可以为手柄,用户通过对手柄的按键的操作来选中目标对象。当然在另外的实施例中,也可以不使用控制器而使用手势或者语音对扩展现实终端设备中的目标对象进行控制。其中,目标对象为虚拟场景中进行交互的对象,受到用户或机器人程序(例如,基于人工智能的机器人程序)的控制。例如,目标对象为控件。In a virtual reality scene, the user can select a target object through a controller, which can be a handle, and the user selects the target object by operating the buttons of the handle. Of course, in other embodiments, the target object in the extended reality terminal device may be controlled using gestures or voice instead of using a controller. Among them, the target object is an interactive object in the virtual scene and is controlled by a user or a robot program (for example, a robot program based on artificial intelligence). For example, the target object is a control.

头盔式显示器为相对较轻的、在人体工程学上舒适的,并且提供具有低延迟的高分辨率内容。图2为本公开实施例提供的一种头盔式显示器应用场景的示意图。参见图2,虚拟现实设备中设置有姿态检测的传感器(如九轴传感器),用于实时检测虚拟现实设备的姿态变化,如果用户佩戴了虚拟现实设备,那么当用户头部姿态发生变化时,会将头部的实时姿态传给处理器,以此计算用户的视线在虚拟环境中的注视点,根据注视点计算虚拟环境的三维模型中处于用户注视范围(即虚拟视场)的图像,并在显示屏上显示,使人仿佛在置身于现实环境中观看一样的沉浸式体验。Head-mounted displays are relatively lightweight, ergonomically comfortable, and provide high-resolution content with low latency. FIG. 2 is a schematic diagram of an application scenario of a helmet-mounted display provided by an embodiment of the present disclosure. Referring to Figure 2, the virtual reality device is equipped with a posture detection sensor (such as a nine-axis sensor) for real-time detection of posture changes of the virtual reality device. If the user wears the virtual reality device, then when the user's head posture changes, The real-time posture of the head will be transmitted to the processor to calculate the gaze point of the user's line of sight in the virtual environment. Based on the gaze point, the image in the three-dimensional model of the virtual environment within the user's gaze range (i.e., the virtual field of view) will be calculated, and Displayed on the display screen, it gives people an immersive experience as if they are watching in a real environment.

目前,对控件的触发(包括选择和/或确认)通过控制器发射激光的方式或用手直接触碰的方式完成。通过控制器发射激光的方式不稳定且不直观。用手直接触碰的方式极容易误触。因此,采用上述两种方式均无法辅助用户快捷地完成与控件的交互。Currently, the triggering of controls (including selection and/or confirmation) is accomplished by emitting laser light from the controller or by touching it directly with hands. The way the laser is fired through the controller is erratic and unintuitive. It is very easy to accidentally touch it by touching it directly with your hands. Therefore, neither of the above two methods can assist the user to quickly complete the interaction with the control.

针对于此,图3为本公开实施例提供的一种控件交互方法的流程图,该方法应用于扩展现实XR终端设备。如图3所示,该方法具体可以包括:In response to this, FIG. 3 is a flow chart of a control interaction method provided by an embodiment of the present disclosure, and the method is applied to an extended reality XR terminal device. As shown in Figure 3, the method may specifically include:

S110、在扩展现实空间中,展示至少一个控件。S110. Display at least one control in the extended reality space.

在本申请中,控件可以为二维控件,也可以为三维图像,本申请对此不作限制。In this application, the control may be a two-dimensional control or a three-dimensional image, which is not limited in this application.

S120、在至少一个控件中确定目标控件。S120. Determine the target control in at least one control.

可选地,目标控件为用户意图触发的控件。Optionally, the target control is a control triggered by user intent.

若目标控件为用户意图触发的控件,本步骤的具体实现方法有多种,本公开对此不作限制。示例性地,预先为各控件分别设置与之对应的用户意图判断条件,本步骤的具体实现方法包括:检测各用户意图判断条件是否被满足;若某个用户意图判断条件被满足,将该用户意图判断条件对应的控件作为目标控件。If the target control is a control triggered by the user's intention, there are many specific implementation methods for this step, and this disclosure does not limit this. Exemplarily, corresponding user intention judgment conditions are set for each control in advance. The specific implementation method of this step includes: detecting whether each user intention judgment condition is satisfied; if a certain user intention judgment condition is satisfied, the user's intention judgment condition is satisfied. The control corresponding to the intent judgment condition is used as the target control.

进一步地,在实际中,不同控件对应的用户意图判断条件,可以相同,也可以不同,本申请对此不作限制。Furthermore, in practice, the user intention judgment conditions corresponding to different controls may be the same or different, and this application does not limit this.

在实际中,由于用户可能通过多种触发方式(如通过控制器的触发方式、通过手势的触发方式、通过语音的触发方式等)触发控件,可以根据不同的触发方式,为同一个控件设置不同的用户意图判断条件。In practice, since users may trigger controls through multiple triggering methods (such as triggering by controllers, triggering by gestures, triggering by voice, etc.), different settings can be set for the same control based on different triggering methods. User intent judgment conditions.

进一步地,对应于同一控件的同一种触发方式,可以设置用户意图判断条件包括一个或多个子判断条件。Further, corresponding to the same triggering method of the same control, the user intention judgment condition can be set to include one or more sub-judgment conditions.

在一个实施例中,针对通过控制器的触发方式触发某控件,用户意图信息为控制器所发射的激光距该控件的距离,用户意图判断条件为控制器所发射的激光距该控件的距离小于第一设定距离阈值。如用户意图信息满足该用户意图判断条件,确定用户意图触发该控件,将该控件确定为目标控件。In one embodiment, for triggering a control through the triggering method of the controller, the user intention information is the distance between the laser emitted by the controller and the control, and the user intention judgment condition is that the distance between the laser emitted by the controller and the control is less than First set the distance threshold. If the user intention information satisfies the user intention judgment condition, it is determined that the user intention triggers the control, and the control is determined as the target control.

在另一个实施例中,针对通过手势的触发方式触发某控件,用户意图信息为用户手部距该控件的距离,用户意图判断条件为用户手部距该控件的距离小于第二设定距离阈值。如用户意图信息满足该用户意图判断条件,确定用户意图触发该控件,将该控件确定为目标控件。In another embodiment, for triggering a control through gesture triggering, the user intention information is the distance between the user's hand and the control, and the user intention determination condition is that the distance between the user's hand and the control is less than the second set distance threshold. . If the user intention information satisfies the user intention judgment condition, it is determined that the user intention triggers the control, and the control is determined as the target control.

在另一个实施例中,针对通过手势的触发方式触发某控件,用户意图信息为用户注视点距该控件的距离,用户意图判断条件为用户注视点距该控件的距离小于第三设定距离阈值。如用户意图信息满足该用户意图判断条件,确定用户意图触发该控件,将该控件确定为目标控件。In another embodiment, for triggering a control through gesture triggering, the user intention information is the distance between the user's gaze point and the control, and the user intention determination condition is that the distance between the user's gaze point and the control is less than the third set distance threshold. . If the user intention information satisfies the user intention judgment condition, it is determined that the user intention triggers the control, and the control is determined as the target control.

在另一个实施例中,针对通过语音的触发方式触发某控件,用户意图信息为用户注视点距该控件的距离,用户意图判断条件为用户注视点距该控件的距离小于第四设定距离阈值。如用户意图信息满足该用户意图判断条件,确定用户意图触发该控件,将该控件确定为目标控件。In another embodiment, for triggering a certain control through voice triggering, the user intention information is the distance between the user's gaze point and the control, and the user intention judgment condition is that the distance between the user's gaze point and the control is less than the fourth set distance threshold. . If the user intention information satisfies the user intention judgment condition, it is determined that the user intention triggers the control, and the control is determined as the target control.

S130、展示与目标控件对应的可视化的热区域。S130. Display the visualized hot area corresponding to the target control.

在一个实施例中,热区域的尺寸大于目标控件的尺寸。In one embodiment, the size of the hot area is larger than the size of the target control.

热区域是指能够代表控件的区域,用户对热区域的触发操作(包括选择/确认操作)等同于对该热区域所对应的控件的选择/确认操作。A hot area refers to an area that can represent a control. The user's triggering operation (including selection/confirmation operation) on the hot area is equivalent to the selection/confirmation operation of the control corresponding to the hot area.

可视化的热区域是指该热区域可以被用户看到。换言之,用户可以通过视觉感知到该热区域在扩展现实空间中的位置、边界。A visualized thermal area means that the thermal area can be seen by the user. In other words, the user can visually perceive the location and boundary of the hot area in the extended reality space.

S140、响应于对目标控件对应的热区域的触发操作,执行与目标控件对应的控制操作。S140. In response to the triggering operation on the hot area corresponding to the target control, execute the control operation corresponding to the target control.

若用户通过控制器的方式触发,对热区域的触发操作,是指控制器进入热区域后,按压控制器上的按键。若用户通过手势的方式触发,对热区域的触发操作,是指用户手部进入热区域后,完成指定动作(如点击动作)。若用户通过语音方式触发,对热区域的触发操作,是指用户通过语音的方式描述热区域的标识信息以及触发动作名称。热区域的标识信息是指能够从多个热区域中唯一的确定用户希望触发的热区域的信息,示例性地,热区域的标识信息包括但不限于热区域的颜色、形状、位置、编号、名称,以及与热区域对应的目标控件的颜色、形状、位置、编号、名称等。触发动作名称包括但不限于打开、开、进入、进、点、点击以及选择等。If the user triggers through the controller, the triggering operation for the hot area means pressing the button on the controller after entering the hot area. If the user triggers through gestures, the trigger operation for the hot area refers to completing the specified action (such as a click action) after the user's hand enters the hot area. If the user triggers through voice, the triggering operation for the hot area means that the user describes the identification information of the hot area and the name of the triggering action through voice. The identification information of the hot area refers to the information that can uniquely determine the hot area that the user wants to trigger from among multiple hot areas. For example, the identification information of the hot area includes but is not limited to the color, shape, position, number, Name, as well as the color, shape, position, number, name, etc. of the target control corresponding to the hot area. Trigger action names include but are not limited to open, open, enter, enter, click, click, select, etc.

示例性地,若控件a的作用是在视频播放器中打开视频A,当用户对控件a对应的热区域进行触发,则在视频播放器中打开视频A。For example, if the function of control a is to open video A in the video player, when the user triggers the hot area corresponding to control a, video A will be opened in the video player.

上述技术方案通过在至少一个控件中确定目标控件;展示与目标控件对应的可视化的热区域;响应于对目标控件对应的热区域的触发操作,执行与目标控件对应的控制操作,由于对热区域的触发操作等同于对该热区域所对应的控件的触发操作,通过合理设置热区域可以降低对控件触发的难度,进而达到降低误触几率,辅助用户快捷地完成与控件的交互的目的。The above technical solution determines the target control in at least one control; displays the visualized hot area corresponding to the target control; responds to the triggering operation of the hot area corresponding to the target control, and performs the control operation corresponding to the target control. The triggering operation is equivalent to the triggering operation of the control corresponding to the hot area. By reasonably setting the hot area, the difficulty of triggering the control can be reduced, thereby reducing the probability of accidental touch and assisting the user to quickly complete the interaction with the control.

在一个实施例中,热区域和与其对应的控件至少部分重合。这样设置可以便于用户快速地识别热区域与控件的对应关系,降低误触发生的几率。In one embodiment, the hot zone and its corresponding control are at least partially coincident. This setting can facilitate users to quickly identify the corresponding relationship between hot areas and controls, reducing the chance of accidental triggering.

在扩展现实空间中,控件主要分为两类:一类是2D控件,一类是3D控件。In the extended reality space, controls are mainly divided into two categories: one is 2D controls and the other is 3D controls.

与2D控件对应的热区域可以为平面图形,也可以为立体图形,本申请对此不作限制。若热区域为平面图形,热区域与其对应的控件至少部分重合,是指热区域与其对应的控件位于同一平面,且热区域的轮廓图形与其对应的控件的轮廓图形至少部分重合。若热区域为立体图形,热区域与其对应的控件至少部分重合,是指控件所在平面经过与其对应的热区域,且热区域被控件所在的平面所截,得到的截面的轮廓图形与控件的轮廓图形至少部分重合。示例性地,图4为本公开实施例提供的一种热区域与控件的对应关系的示意图。在图4中,控件为文本信息为5的按钮。参见图4,若控件为2D控件,热区域为柱型,热区域的一个底面在控件所在平面内,且与控件所占据的区域至少部分重合。The thermal area corresponding to the 2D control can be a plane graphic or a three-dimensional graphic, and this application does not limit this. If the hot area is a flat graphic, the hot area and its corresponding control at least partially overlap, which means that the hot area and its corresponding control are located on the same plane, and the outline graphic of the hot area and the outline graphic of its corresponding control at least partially overlap. If the thermal area is a three-dimensional figure, the thermal area and its corresponding control at least partially overlap, which means that the plane where the control is located passes through the corresponding thermal area, and the hot area is intercepted by the plane where the control is located, and the resulting cross-sectional outline graphic is the same as the outline of the control The figures at least partially overlap. Exemplarily, FIG. 4 is a schematic diagram of a corresponding relationship between a thermal area and a control provided by an embodiment of the present disclosure. In Figure 4, the control is a button with text information of 5. Referring to Figure 4, if the control is a 2D control, the thermal area is cylindrical, and one bottom surface of the thermal area is in the plane where the control is located, and at least partially coincides with the area occupied by the control.

与3D控件对应的热区域可以为平面图形,也可以为立体图形,本申请对此不作限制。若热区域为平面图形,热区域与其对应的控件至少部分重合,是指热区域所在平面经过与其对应的控件,且控件被热区域所在平面的所截,截得到的截面的轮廓图形与热区域的轮廓图形至少部分重合。若热区域为立体图形,热区域与其对应的控件至少部分重合,是指在空间中,热区域与其对应的控件相交的部分呈立体结构。示例性地,图5为本公开实施例提供的另一种热区域与控件的对应关系的示意图。参见图5,若控件为3D控件,热区域的形状为立方体或球体,控件位于热区域内。The thermal area corresponding to the 3D control can be a plane graphic or a three-dimensional graphic, and this application does not limit this. If the hot area is a plane figure, the hot area and its corresponding control at least partially overlap, which means that the plane where the hot area is located passes through the corresponding control, and the control is intercepted by the plane where the hot area is located, and the outline of the section obtained is the same as the thermal area. The contour figures at least partially overlap. If the hot area is a three-dimensional figure, the hot area and its corresponding control at least partially overlap, which means that in space, the portion where the hot area and its corresponding control intersect forms a three-dimensional structure. Exemplarily, FIG. 5 is a schematic diagram of another corresponding relationship between thermal areas and controls provided by an embodiment of the present disclosure. Referring to Figure 5, if the control is a 3D control, the shape of the hot area is a cube or a sphere, and the control is located in the hot area.

进一步地,热区域为立体图形或平面图形,目标控件位于热区域内。这样设置可以确保用户能够快速明确热区域与控件的对应关系,进一步辅助用户快捷地完成与控件的交互的目的。Further, the hot area is a three-dimensional figure or a plane figure, and the target control is located in the hot area. This setting can ensure that users can quickly clarify the corresponding relationship between hot areas and controls, and further assist users to quickly complete the purpose of interacting with controls.

图6为本公开实施例提供的另一种控件交互方法的流程图。图6为图3中的一个具体示例。参见图6,该控件交互方法包括:Figure 6 is a flow chart of another control interaction method provided by an embodiment of the present disclosure. Figure 6 is a specific example of Figure 3. Referring to Figure 6, the control interaction methods include:

S210、在扩展现实空间中,展示至少一个控件。S210. Display at least one control in the extended reality space.

S220、在至少一个控件中确定目标控件。S220. Determine the target control in at least one control.

S230、基于预设规则,确定与目标控件对应的热区域的尺寸以及位置。S230. Based on the preset rules, determine the size and position of the hot area corresponding to the target control.

预设规则是研发人员预先设置的用于确定热区域在扩展现实空间中的位置、边界的信息。Preset rules are information preset by developers to determine the location and boundaries of thermal areas in the extended reality space.

可选地,预设规则可以规定与控件对应的热区域为平面图形还是立体图形,热区域与控件的相对位置、热区域边界线的尺寸。Optionally, the preset rules can specify whether the thermal area corresponding to the control is a plane graphic or a three-dimensional graphic, the relative position of the thermal area and the control, and the size of the thermal area boundary line.

可选地,还可以设置不同类型的控件对应不同的预设规则。Optionally, you can also set different types of controls to correspond to different preset rules.

S240、基于热区域的尺寸以及位置,对热区域的颜色和/或轮廓进行渲染。S240: Render the color and/or outline of the hot area based on the size and position of the hot area.

对热区域的颜色和/或轮廓进行渲染的目的是使得用户可以通过视觉感知到该热区域在扩展现实空间中的位置、边界。The purpose of rendering the color and/or outline of a hot area is to enable the user to visually perceive the position and boundary of the hot area in the extended reality space.

在一个实施例中,若可视化的热区域是对颜色进行渲染后的热区域,热区域的颜色与扩展现实空间的背景色以及控件的颜色均不同;和/或,若可视化的热区域是对轮廓进行渲染后的热区域,热区域轮廓线的颜色与扩展现实空间的背景色以及控件的颜色均不同。这样设置可以帮助用户通过视觉感知到该热区域在扩展现实空间中的位置、边界。In one embodiment, if the visualized hot area is a color-rendered hot area, the color of the hot area is different from the background color of the extended reality space and the color of the control; and/or, if the visualized hot area is a The thermal area after the outline is rendered. The color of the thermal area outline is different from the background color of the extended reality space and the color of the control. This setting can help users visually perceive the location and boundaries of the hot area in the extended reality space.

S250、展示经渲染后的热区域。S250. Display the rendered thermal area.

S260、响应于对目标控件对应的热区域的触发操作,执行与目标控件对应的控制操作。S260. In response to the triggering operation on the hot area corresponding to the target control, execute the control operation corresponding to the target control.

上述技术方案通过设置基于预设规则,确定与目标控件对应的热区域的尺寸以及位置;基于热区域的尺寸以及位置,对热区域的颜色和/或轮廓进行渲染;展示经渲染后的热区域,可以使得用户可以通过视觉直观地感知到该热区域在扩展现实空间中的位置、边界,便于后续准确、快速地对热区域进行触发。The above technical solution determines the size and position of the hot area corresponding to the target control by setting preset rules; renders the color and/or outline of the hot area based on the size and position of the hot area; displays the rendered hot area , which allows users to intuitively perceive the location and boundaries of the hot area in the extended reality space through vision, which facilitates subsequent triggering of the hot area accurately and quickly.

在上述各技术方案的基础上,可选地,响应于热区域的被选中的指令,展示用于提示热区域被选中的信息。Based on the above technical solutions, optionally, in response to the instruction of selecting the hot area, information prompting that the hot area is selected is displayed.

若用户通过控制器的方式触发,热区域被选中的指令是指,控制器进入热区域后,未按压控制器上的按键时,生成的指令。若用户通过手势的方式触发,热区域被选中的指令是指,用户手部进入热区域后,未完成指定动作(如点击动作)时,生成的指令。若用户通过语音方式触发,对热区域的触发操作,是指用户说出描述热区域的标识信息,未说出触发动作名称时,生成的指令。换言之,用户在对目标控件对应的热区域进行触发操作时,共生成两个指令,一个是热区域被选中的指令(即选择指令),一个是热区域被触发的指令(即确认指令)。热区域被选中的指令先于热区域被触发的指令生成。后续,响应于热区域被选中的指令,展示用于提示热区域被选中的信息,该信息用于表示如果保持当前位置不动,按压控制器上的按键,或完成指定动作(如点击动作),或说出触发动作名称,哪个控件将被触发,进而明了是否能够达到用户预期的目的。响应于热区域被触发的指令,执行与被触发的热区域对应的控件关联的控制操作。If the user triggers it through the controller, the command for selecting the hot zone refers to the command generated when the controller enters the hot zone and does not press the button on the controller. If the user triggers it through a gesture, the instruction for the hot area to be selected refers to the instruction generated when the user's hand enters the hot area but does not complete the specified action (such as a click action). If the user triggers through voice, the triggering operation for the hot area refers to the instruction generated when the user speaks the identification information describing the hot area but does not say the name of the triggering action. In other words, when the user performs a trigger operation on the hot area corresponding to the target control, a total of two instructions are generated, one is the instruction for the hot area to be selected (i.e., the selection instruction), and the other is the instruction for the hot area to be triggered (i.e., the confirmation instruction). The instruction that the hot area is selected is generated before the instruction that the hot area is triggered. Subsequently, in response to the instruction that the hot area is selected, information is displayed to prompt that the hot area is selected. This information is used to indicate that if you keep the current position, press a button on the controller, or complete a specified action (such as a click action) , or tell the name of the trigger action, which control will be triggered, and then understand whether the user's expected purpose can be achieved. In response to the instruction that the hot zone is triggered, a control operation associated with the control corresponding to the triggered hot zone is performed.

在一个实施例中,响应于热区域被选中的指令,展示用于提示热区域被选中的信息,包括:响应于热区域被选中的指令,改变热区域的颜色和/或热区域轮廓线的颜色。由于控制器或用户手部进入热区域后,或用户语音命令命中热区域的标识信息后,热区域的颜色和/或热区域轮廓线的颜色发生改变,用户可以通过颜色的变化直观地确定当前选中的是哪个控件,进一步达到降低对控件触发的难度的目的。In one embodiment, in response to the instruction that the hot area is selected, displaying information for prompting that the hot area is selected includes: in response to the instruction that the hot area is selected, changing the color of the hot area and/or the outline of the hot area. color. After the controller or the user's hand enters the hot area, or after the user's voice command hits the identification information of the hot area, the color of the hot area and/or the color of the hot area outline changes, and the user can intuitively determine the current situation through the change in color. Which control is selected further reduces the difficulty of triggering the control.

在另一个实施例中,响应于热区域被选中的指令,展示用于提示热区域被选中的信息,包括:响应于热区域被选中的指令,展示预设图像进入热区域的动效。预设图像具体可以为,控制器图形、用户手部图形或预先指定的其他图形(如箭头图形、圆圈图像等)。用户可以通过控制器图形、用户手部图形或预先指定的其他图形(如箭头图形、圆圈图像等)进入热区域的动效直观地确定当前选中的是哪个控件,进一步达到降低对控件触发的难度的目的。图7和图8为本公开实施例提供的另外的两种热区域与控件的对应关系的示意图。其中,图7与图4对应,图8与图5对应。对比图4和图7,或者,对比图5和图8,通过展示控制器图形进入热区域的画面,可以帮助用户快速地确定控制器是否进入到热区域内。In another embodiment, in response to the instruction that the hot area is selected, displaying information for prompting that the hot area is selected includes: in response to the instruction that the hot area is selected, displaying a dynamic effect of a preset image entering the hot area. The preset image may specifically be a controller graphic, a user hand graphic, or other pre-specified graphics (such as an arrow graphic, a circle image, etc.). Users can intuitively determine which control is currently selected by entering the animation of the hot area through controller graphics, user hand graphics or other pre-specified graphics (such as arrow graphics, circle images, etc.), further reducing the difficulty of triggering the control. the goal of. Figures 7 and 8 are schematic diagrams of the corresponding relationships between two other thermal areas and controls provided by embodiments of the present disclosure. Among them, Figure 7 corresponds to Figure 4, and Figure 8 corresponds to Figure 5. Comparing Figure 4 and Figure 7, or comparing Figure 5 and Figure 8, by showing the controller graphic entering the hot zone, the user can quickly determine whether the controller has entered the hot zone.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the sake of simple description, the foregoing method embodiments are expressed as a series of action combinations. However, those skilled in the art should know that the present invention is not limited by the described action sequence. Because in accordance with the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily necessary for the present invention.

图9为本公开实施例中的一种控件交互装置的结构示意图。所述装置应用于扩展现实XR终端设备。参见图9,该控件交互装置具体包括:Figure 9 is a schematic structural diagram of a control interaction device in an embodiment of the present disclosure. The device is applied to extended reality XR terminal equipment. Referring to Figure 9, the control interaction device specifically includes:

第一展示模块310,用于在扩展现实空间中,展示至少一个控件;The first display module 310 is used to display at least one control in the extended reality space;

确定模块320,用于在所述至少一个控件中确定目标控件;Determining module 320, configured to determine a target control in the at least one control;

第二展示模块330,用于展示与所述目标控件对应的可视化的热区域;The second display module 330 is used to display the visualized hot area corresponding to the target control;

执行模块340,用于响应于对所述目标控件对应的热区域的触发操作,执行与所述目标控件对应的控制操作。The execution module 340 is configured to execute a control operation corresponding to the target control in response to a triggering operation on the hot area corresponding to the target control.

进一步地,所述热区域的尺寸大于所述目标控件的尺寸。Further, the size of the thermal area is larger than the size of the target control.

进一步地,所述热区域和与其对应的所述目标控件至少部分重合。Further, the hot area and the corresponding target control at least partially overlap.

进一步地,所述热区域为立体图形,所述目标控件位于所述热区域内。Further, the thermal area is a three-dimensional figure, and the target control is located in the thermal area.

进一步地,第二展示模块330,用于:Further, the second display module 330 is used for:

基于预设规则,确定与所述目标控件对应的热区域的尺寸以及位置;Based on preset rules, determine the size and position of the thermal area corresponding to the target control;

基于所述热区域的尺寸以及位置,对所述热区域的颜色和/或轮廓进行渲染;Rendering the color and/or outline of the thermal area based on the size and location of the thermal area;

展示经渲染后的所述热区域。Shows the thermal area rendered.

进一步地,若可视化的热区域是对颜色进行渲染后的热区域,所述热区域的颜色与扩展现实空间的背景色以及控件的颜色均不同;和/或,Further, if the visualized hot area is a hot area after color rendering, the color of the hot area is different from the background color of the extended reality space and the color of the control; and/or,

若可视化的热区域是对轮廓进行渲染后的热区域,所述热区域轮廓线的颜色与扩展现实空间的背景色以及控件的颜色均不同。If the visualized hot area is a hot area after the outline is rendered, the color of the outline of the hot area is different from the background color of the extended reality space and the color of the control.

进一步地,还包括第三展示模块,用于:Furthermore, it also includes a third display module for:

响应于所述热区域被选中的指令,展示用于提示所述热区域被选中的信息。In response to the instruction that the hot area is selected, information prompting that the hot area is selected is displayed.

进一步地,还包括第三展示模块,用于:Furthermore, it also includes a third display module for:

响应于所述热区域的被选中的指令,改变所述热区域的颜色和/或所述热区域轮廓线的颜色。In response to an instruction that the thermal area is selected, the color of the thermal area and/or the color of the thermal area outline is changed.

进一步地,还包括第三展示模块,用于:Furthermore, it also includes a third display module for:

响应于所述热区域的被选中的指令,展示预设图形进入所述热区域的动效。In response to the instruction of selecting the hot area, a dynamic effect of a preset graphic entering the hot area is displayed.

本公开实施例提供的控件交互装置,可执行本公开实施例所提供的控件交互方法的步骤,具备相同或相应的有益效果,此处不再赘述。The control interaction device provided by the embodiment of the present disclosure can perform the steps of the control interaction method provided by the embodiment of the present disclosure, and has the same or corresponding beneficial effects, which will not be described again here.

图10为本公开实施例中的一种电子设备的结构示意图。下面具体参考图10,其示出了适于用来实现本公开实施例中的电子设备1000的结构示意图。本公开实施例中的电子设备1000可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、可穿戴电子设备等等的移动终端以及诸如数字TV、台式计算机、智能家居设备等等的固定终端。图10示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Figure 10 is a schematic structural diagram of an electronic device in an embodiment of the present disclosure. Referring specifically to FIG. 10 below, a schematic structural diagram of an electronic device 1000 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 1000 in the embodiment of the present disclosure may include, but is not limited to, mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals ( Mobile terminals such as vehicle navigation terminals), wearable electronic devices, etc., and fixed terminals such as digital TVs, desktop computers, smart home devices, etc. The electronic device shown in FIG. 10 is only an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.

如图10所示,电子设备1000可以包括处理装置(例如中央处理器、图形处理器等)1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从存储装置1008加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理以实现如本公开所述的实施例的控件交互方法。在RAM 1003中,还存储有电子设备1000操作所需的各种程序和信息。处理装置1001、ROM 1002以及RAM 1003通过总线1004彼此相连。输入/输出(I/O)接口1005也连接至总线1004。As shown in FIG. 10 , the electronic device 1000 may include a processing device (eg, central processing unit, graphics processor, etc.) 1001 , which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 1002 or from a storage device 1008 . The program in the memory (RAM) 1003 performs various appropriate actions and processes to implement the control interaction method according to the embodiments of the present disclosure. In the RAM 1003, various programs and information required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002 and the RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.

通常,以下装置可以连接至I/O接口1005:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1006;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1007;包括例如磁带、硬盘等的存储装置1008;以及通信装置1009。通信装置1009可以允许电子设备1000与其他设备进行无线或有线通信以交换信息。虽然图10示出了具有各种装置的电子设备1000,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices may be connected to the I/O interface 1005: input devices 1006 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1007 such as a computer; a storage device 1008 including a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate wirelessly or wiredly with other devices to exchange information. Although FIG. 10 illustrates electronic device 1000 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.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码,从而实现如上所述的控件交互方法。在这样的实施例中,该计算机程序可以通过通信装置1009从网络上被下载和安装,或者从存储装置1008被安装,或者从ROM 1002被安装。在该计算机程序被处理装置1001执行时,执行本公开实施例的方法中限定的上述功能。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, which includes a computer program carried on a non-transitory computer-readable medium, the computer program including program code for executing the method shown in the flowchart, thereby achieving the above The control interaction method described. In such embodiments, the computer program may be downloaded and installed from the network via communication device 1009, or from storage device 1008, or from ROM 1002. When the computer program is executed by the processing device 1001, 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 an information signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated information 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.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字信息通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何已知或未来研发的网络。In some embodiments, the client and server can communicate using any known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital information in any form or medium ( For example, communication network) interconnection. Examples of communications networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any known or future developed network.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。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 above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device:

在扩展现实空间中,展示至少一个控件;In the extended reality space, display at least one control;

在所述至少一个控件中确定目标控件;determining a target control in the at least one control;

展示与所述目标控件对应的可视化的热区域;Display a visualized hot area corresponding to the target control;

响应于对所述目标控件对应的热区域的触发操作,执行与所述目标控件对应的控制操作。In response to a triggering operation on a thermal area corresponding to the target control, a control operation corresponding to the target control is performed.

可选的,当上述一个或者多个程序被该电子设备执行时,该电子设备还可以执行上述实施例所述的其他步骤。Optionally, when one or more of the above programs are executed by the electronic device, the electronic device may also perform other steps described in the above embodiments.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and Includes conventional procedural programming languages—such as "C" or similar programming languages. 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 situations 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 (such as an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。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. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances.

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(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.

根据本公开的一个或多个实施例,本公开提供了一种电子设备,包括:According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:

一个或多个处理器;one or more processors;

存储器,用于存储一个或多个程序;Memory, used to store one or more programs;

当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开提供的任一所述的控件交互方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement any of the control interaction methods provided by this disclosure.

根据本公开的一个或多个实施例,本公开提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本公开提供的任一所述的控件交互方法。According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the control interaction as described in any one provided by the present disclosure is implemented. method.

本公开实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机程序或指令,该计算机程序或指令被处理器执行时实现如上所述的控件交互方法。Embodiments of the present disclosure also provide a computer program product. The computer program product includes a computer program or instructions. When the computer program or instructions are executed by a processor, the control interaction method as described above is implemented.

需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as “first” and “second” are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Furthermore, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.

以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the disclosure. Therefore, the present disclosure is not to be limited to the embodiments described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A control interaction method, characterized in that the method is applied to an augmented reality XR terminal device, the method comprising:
displaying at least one control in the augmented reality space;
determining a target control in the at least one control;
displaying a visualized hot area corresponding to the target control;
and responding to the triggering operation of the thermal area corresponding to the target control, and executing the control operation corresponding to the target control.
2. The method of claim 1, wherein a size of the hot zone is greater than a size of the target control.
3. The method of claim 1, wherein the hot zone and the target control corresponding thereto at least partially coincide.
4. The method of claim 3, wherein the hot zone is a solid or planar graphic and the target control is located within the hot zone.
5. The method of claim 1, wherein the exposing the visualized hot area corresponding to the target control comprises:
determining the size and the position of a thermal area corresponding to the target control based on a preset rule;
rendering a color and/or contour of the thermal region based on the size and location of the thermal region;
the rendered hot region is shown.
6. The method of claim 5, wherein if the visualized hot area is a hot area after rendering the color, the color of the hot area is different from the background color of the augmented reality space and the color of the control; and/or the number of the groups of groups,
if the visualized hot area is the hot area after the outline is rendered, the color of the outline of the hot area is different from the background color of the augmented reality space and the color of the control.
7. The method as recited in claim 1, further comprising:
and responding to the selected instruction of the hot area, and displaying information for prompting the selected hot area.
8. The method of claim 7, wherein the presenting information prompting the hot zone to be selected in response to the instruction that the hot zone is selected comprises:
in response to the selected instruction of the thermal region, changing the color of the thermal region and/or the color of the thermal region contour.
9. The method of claim 7, wherein responsive to the instruction that the hot zone is selected, presenting information prompting that the hot zone is selected comprises:
and responding to the selected instruction of the hot area, and displaying the dynamic effect of entering the hot area by a preset graph.
10. A control interaction device, wherein the device is applied to an augmented reality XR terminal device, the device comprising:
the first display module is used for displaying at least one control in the augmented reality space;
the determining module is used for determining a target control in the at least one control;
the second display module is used for displaying the visualized hot area corresponding to the target control;
and the execution module is used for responding to the triggering operation of the thermal area corresponding to the target control and executing the control operation corresponding to the target control.
11. An electronic device, the electronic device comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-9.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-9.
CN202210680232.0A 2022-06-15 2022-06-15 Control interaction method and device, electronic equipment and storage medium Pending CN117270732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210680232.0A CN117270732A (en) 2022-06-15 2022-06-15 Control interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210680232.0A CN117270732A (en) 2022-06-15 2022-06-15 Control interaction method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117270732A true CN117270732A (en) 2023-12-22

Family

ID=89216573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210680232.0A Pending CN117270732A (en) 2022-06-15 2022-06-15 Control interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117270732A (en)

Similar Documents

Publication Publication Date Title
KR102562285B1 (en) A method for adjusting and/or controlling immersion associated with a user interface
US10950205B2 (en) Electronic device, augmented reality device for providing augmented reality service, and method of operating same
US11402964B1 (en) Integrating artificial reality and other computing devices
JP2020074058A (en) Detection and display of mixed 2d/3d content
US20170315721A1 (en) Remote touchscreen interface for virtual reality, augmented reality and mixed reality devices
CN110215686A (en) Display control method and device, storage medium and electronic equipment in scene of game
KR20240167075A (en) Gesture-based application invocation
US20240028130A1 (en) Object movement control method, apparatus, and device
US20240096043A1 (en) Display method, apparatus, electronic device and storage medium for a virtual input device
US20230298267A1 (en) Event routing in 3d graphical environments
CN115981544A (en) Interaction method, device, electronic device and storage medium based on extended reality
CN117270732A (en) Control interaction method and device, electronic equipment and storage medium
KR20250013239A (en) AR-based virtual keyboard
KR20250002653A (en) Gesture-based keyboard text entry
CN118708103A (en) Finger orientation touch detection
EP4509962A1 (en) Method, apparatus, electronic device, and storage for medium extended reality-based interaction control
US20240103625A1 (en) Interaction method and apparatus, electronic device, storage medium, and computer program product
CN117631810A (en) Operation processing method, device, equipment and medium based on virtual reality space
US20240281071A1 (en) Simultaneous Controller and Touch Interactions
WO2024131405A1 (en) Object movement control method and apparatus, device, and medium
CN117572994A (en) Virtual object display processing method, device, equipment and medium
CN117636528A (en) Voting processing methods, devices, equipment and media based on virtual reality space
CN117641025A (en) Model display method, device, equipment and medium based on virtual reality space
CN117289850A (en) Display control method, device, electronic equipment, medium and program product
CN117632063A (en) Display processing methods, devices, equipment and media based on virtual reality space

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