WO2017092430A1 - Method and device for realizing user interface control based on virtual reality application - Google Patents

Method and device for realizing user interface control based on virtual reality application Download PDF

Info

Publication number
WO2017092430A1
WO2017092430A1 PCT/CN2016/096979 CN2016096979W WO2017092430A1 WO 2017092430 A1 WO2017092430 A1 WO 2017092430A1 CN 2016096979 W CN2016096979 W CN 2016096979W WO 2017092430 A1 WO2017092430 A1 WO 2017092430A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
type
child
controls
rule container
Prior art date
Application number
PCT/CN2016/096979
Other languages
French (fr)
Chinese (zh)
Inventor
李珅
Original Assignee
乐视控股(北京)有限公司
乐视致新电子科技(天津)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视致新电子科技(天津)有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017092430A1 publication Critical patent/WO2017092430A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment

Abstract

Provided are a method and device for realizing a user interface control based on a virtual reality application. The method comprises: creating a control of which the control type is a regular container type in a menu object of a user interface, wherein the regular container type enables a control created according to the type to contain a method for generating a plurality of sub-controls subordinated to the control; acquiring attribute data of the sub-controls of the control of the regular container type; and generating a plurality of sub-controls of a same control type according to the attribute data. The method and device for realizing a user interface control based on a virtual reality application provided in the embodiments of the application improves the efficiency of creating a control in a user interface of a virtual reality application.

Description

基于虚拟现实应用的用户界面控件实现方法和装置Method and device for implementing user interface control based on virtual reality application
本申请要求于2015年12月4日提交中国专利局、申请号为201510884623.4、申请名称为“基于虚拟现实应用的用户界面控件实现方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510884623.4, filed on Dec. 4, 2015, entitled "Application Method and Apparatus for User Interface Control Based on Virtual Reality Application", the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种基于虚拟现实应用的用户界面控件实现方法和装置。The present application relates to the field of computer technology, and in particular, to a method and apparatus for implementing a user interface control based on a virtual reality application.
背景技术Background technique
随着计算机技术的发展,虚拟现实应用得到了迅速普及,目前,虚拟现实应用已广泛应用在包括手机、平板电脑等电子设备中,用户可以使用这些虚拟现实应用中进行游戏、活动或执行某些特定的操作,整个过程如同在真实世界中进行一般,给用户提供了视觉、听觉、触觉等全方位的模拟体验。With the development of computer technology, virtual reality applications have been rapidly popularized. At present, virtual reality applications have been widely used in electronic devices, such as mobile phones and tablet computers. Users can use these virtual reality applications to play games, activities or perform certain functions. The specific operation, the whole process is as in the real world, providing users with a full range of simulation experiences such as sight, hearing and touch.
虚拟现实应用的用户界面中通常显示有控件,这些控件可以是各种各样的按钮、菜单、选项框等,用户利用这些控件可以直接与虚拟现实应用进行交互。现有技术中,在虚拟现实应用中创建控件时,通常需要根据特定场景的需要,在该场景的用户界面菜单里单独创建每一个控件,比如,在一个虚拟现实的游戏场景中有若干个按钮类型的控件,每个按钮代表着一个游戏角色,用户点击一个按钮即可完成选择该游戏角色的功能,然而开发人员在创建这些控件时,对于每一个按钮控件都需要单独去创建,因此控件的创建效率较低。The user interface of the virtual reality application usually displays controls, which can be various buttons, menus, option boxes, etc., and the user can directly interact with the virtual reality application. In the prior art, when creating a control in a virtual reality application, it is usually necessary to separately create each control in the user interface menu of the scene according to the needs of a specific scene, for example, there are several buttons in a virtual reality game scene. Types of controls, each button represents a game character, the user clicks a button to complete the function of selecting the game character, but when the developer creates these controls, each button control needs to be created separately, so the control Creation is less efficient.
发明内容Summary of the invention
本申请实施例提供一种基于虚拟现实应用的用户界面控件实现方法和装置,用于提高在虚拟现实应用的用户界面中创建控件的效率。The embodiment of the present application provides a method and apparatus for implementing a user interface control based on a virtual reality application, which is used to improve the efficiency of creating a control in a user interface of a virtual reality application.
本申请实施例提供一种基于虚拟现实应用的用户界面控件实现方法,包括:An embodiment of the present application provides a method for implementing a user interface control based on a virtual reality application, including:
在用户界面的菜单对象中创建控件类型为规则容器类型的控件,所述规则容器类型为根据该类型创建的控件包含有生成多个属于该控件的子控件的方法; Creating a control of the rule type as a rule container type in a menu object of the user interface, the rule container type is a method for generating a child control belonging to the control according to the type;
获取所述规则容器类型控件的子控件的属性数据;Obtaining attribute data of the child control of the rule container type control;
根据所述属性数据生成多个控件类型相同的子控件,所述控件类型包括规则容器类型和普通类型,所述普通类型为规则容器类型之外的其它控件的类型。A plurality of child controls of the same control type are generated according to the attribute data, and the control type includes a rule container type and a normal type, and the normal type is a type of other controls than the rule container type.
优选地,所述根据所述属性数据生成多个控件类型相同的子控件具体包括:Preferably, the generating, by the attribute data, the plurality of sub-controls with the same control type specifically includes:
根据所述属性数据设置所述子控件的类型、个数和子控件之间的间隔信息;以及设置至少一个子控件在所述规则容器类型的控件中的位姿信息;Setting the type, the number of the child control, and the interval information between the child controls according to the attribute data; and setting pose posture information of the at least one child control in the control of the rule container type;
根据设置的子控件的类型、个数、间隔信息以及位姿信息生成多个类型相同的子控件。Generates multiple child controls of the same type according to the type, number, interval information, and pose information of the set child controls.
优选地,所述方法还包括:Preferably, the method further includes:
根据所述属性数据设置所述规则容器类型的控件的子控件的行数、列数、编号以及子控件的尺寸,则所述生成多个类型相同的子控件具体包括:And generating, according to the attribute data, the number of rows, the number of columns, the number, and the size of the child control of the child control of the control of the rule container type, the generating the plurality of child controls of the same type specifically includes:
按照所述行数、列数以及编号生成多个类型相同且尺寸相同的子控件。A plurality of child controls of the same type and the same size are generated according to the number of rows, the number of columns, and the number.
优选地,所述设置至少一个子控件在所述规则容器类型的控件中的位姿信息具体包括:Preferably, the setting of the pose information of the at least one child control in the control of the rule container type specifically includes:
设置至少一个子控件上的参考点在所述规则容器类型的控件中的位置信息和所述子控件在所述规则容器类型的控件中的姿态信息。Position information of a reference point on the at least one child control in the control of the rule container type and posture information of the child control in the control of the rule container type.
优选地,如果生成的子控件类型为规则容器类型,则对规则容器类型的子控件进行如下操作:Preferably, if the generated child control type is a rule container type, the child control of the rule container type is as follows:
a)获取规则容器类型的子控件所属的下一级控件的属性数据;a) obtaining the attribute data of the next level control to which the child control of the rule container type belongs;
b)根据所述下一级控件的属性数据生成多个控件类型相同的属于所述规则容器类型的子控件的下一级控件。b) generating, according to the attribute data of the next level control, a next level control of the child control belonging to the rule container type with the same control type.
优选地,获取所述规则容器类型控件的子控件的属性数据之前,所述方法还包括:Preferably, before acquiring the attribute data of the child control of the rule container type control, the method further includes:
设置所述规则容器类型的控件在用户界面的虚拟现实场景中的位姿信息,其中,所述位姿信息包括:所述规则容器类型的控件上的参考点在虚拟现实场景中的位置和所述规则容器类型的控件在虚拟现实场景中的姿态。Setting posture information of the rule container type control in a virtual reality scene of the user interface, wherein the pose information includes: a position and a reference point of the reference point on the control of the rule container type in the virtual reality scene The gesture of a rule container type control in a virtual reality scene.
本申请实施例还提供一种基于虚拟现实应用的用户界面控件实现装置,包 括:创建模块,获取模块和生成模块,其中,The embodiment of the present application further provides a user interface control implementation device based on a virtual reality application, and a package Including: creating a module, acquiring a module and generating a module, wherein
所述创建模块,用于在用户界面的菜单对象中创建控件类型为规则容器类型的控件,所述规则容器类型为根据该类型创建的控件包含有生成多个属于该控件的子控件的方法;The creating module is configured to create, in a menu object of the user interface, a control whose control type is a rule container type, where the rule container type is a method that is generated according to the type, and includes a method for generating a plurality of child controls belonging to the control;
所述获取模块,用于获取所述规则容器类型控件的子控件的属性数据;The obtaining module is configured to acquire attribute data of a child control of the rule container type control;
所述生成模块,用于根据所述属性数据生成多个控件类型相同的子控件,所述控件类型包括规则容器类型和普通类型,所述普通类型为规则容器类型之外的其它控件的类型。The generating module is configured to generate, according to the attribute data, a plurality of child controls of the same control type, the control type includes a rule container type and a normal type, and the common type is a type of other controls than the rule container type.
优选地,所述生成模块具体包括有设置单元,其中,Preferably, the generating module specifically includes a setting unit, where
所述设置单元,用于根据所述属性数据设置所述子控件的类型、个数和子控件之间的间隔信息;以及设置至少一个子控件在所述规则容器类型的控件中的位姿信息。The setting unit is configured to set the type, the number of the child controls, and the interval information between the child controls according to the attribute data; and set the pose information of the at least one child control in the control of the rule container type.
优选地,所述装置还包括设置子单元,其中,Preferably, the device further comprises a setting subunit, wherein
所述设置子单元,用于根据所述属性数据设置所述规则容器类型的控件的子控件的行数、列数、编号以及子控件的尺寸。The setting subunit is configured to set a row number, a column number, a number, and a size of the child control of the child control of the control of the rule container type according to the attribute data.
优选地,所述装置还包括位姿设置模块,其中,Preferably, the device further includes a pose setting module, wherein
所述位姿设置模块,用于设置所述规则容器类型的控件在用户界面的虚拟现实场景中的位姿信息,其中,所述位姿信息包括:所述规则容器类型的控件上的参考点在虚拟现实场景中的位置和所述规则容器类型的控件在虚拟现实场景中的姿态。The pose setting module is configured to set pose information of the rule container type control in a virtual reality scene of the user interface, wherein the pose information comprises: a reference point on the control of the rule container type The position in the virtual reality scene and the gesture of the rule container type of control in the virtual reality scene.
本申请实施例提供一种电子设备,包括前述任一实施例所述的基于虚拟现实应用的用户界面控件实现装置。The embodiment of the present application provides an electronic device, including the virtual reality application-based user interface control implementation device according to any of the foregoing embodiments.
本申请实施例提供一种非暂态计算机可读存储介质,其中,该非暂态计算机可读存储介质可存储有计算机指令,该计算机指令执行时可实现本申请实施例提供的基于虚拟现实应用的用户界面控件实现方法的各实现方式中的部分或全部步骤。The embodiment of the present application provides a non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium can store computer instructions, and the computer instructions can implement the virtual reality application provided by the embodiments of the present application. The user interface controls implement some or all of the steps in the various implementations of the method.
本申请实施例提供一种电子设备,包括:一个或多个处理器;以及,存储器;其中,所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被设 置为用于执行本申请上述任一项基于虚拟现实应用的用户界面控件实现方法。An embodiment of the present application provides an electronic device, including: one or more processors; and a memory; wherein the memory stores instructions executable by the one or more processors, the instructions being set A method for implementing a user interface control based on a virtual reality application according to any of the above-mentioned applications of the present application.
本申请实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行本申请实施例上述任一项基于虚拟现实应用的用户界面控件实现方法。An embodiment of the present application provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is configured to execute a method for implementing a user interface control based on the virtual reality application according to any one of the embodiments of the present application.
本申请实施例提供的基于虚拟现实应用的用户界面控件实现方法和装置,规则容器类型的控件包含有生成多个属于该控件的子控件的方法,对于类型相的子控件可以一次性生成,提高了在虚拟现实应用的用户界面中控件创建的效率。The method and device for implementing a user interface control based on a virtual reality application provided by the embodiment of the present application, the control of the rule container type includes a method for generating a plurality of child controls belonging to the control, and the child control of the type phase can be generated at one time and improved. The efficiency of control creation in the user interface of a virtual reality application.
附图说明DRAWINGS
为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为本申请实施例提供的一种基于虚拟现实应用的用户界面控件实现方法的流程图;FIG. 1 is a flowchart of a method for implementing a user interface control based on a virtual reality application according to an embodiment of the present application;
图2为本申请实施例提供的一种基于虚拟现实应用的用户界面控件显示示意图;2 is a schematic diagram of displaying a user interface control based on a virtual reality application according to an embodiment of the present application;
图3为本申请实施例提供的一种基于虚拟现实应用的用户界面中规则容器类型控件和普通控件的层次关系示意图;FIG. 3 is a schematic diagram of a hierarchical relationship between a rule container type control and a normal control in a user interface based on a virtual reality application according to an embodiment of the present application;
图4为图3中的普通控件在用户界面中的显示位置示意图;4 is a schematic view showing the display position of the common control in FIG. 3 in the user interface;
图5为本申请实施例提供的一种基于虚拟现实应用的用户界面控件实现装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for implementing a user interface control based on a virtual reality application according to an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. Some embodiments are applied, not all of the embodiments. Based on the embodiments in the present application, All other embodiments obtained by those skilled in the art without creative efforts are within the scope of the present application.
在本申请的各实施例中,用户界面通常为系统的图形化前端,这些用户界面可以为电子设备的虚拟现实应用中,直接呈现在用户面前的场景,这些场景可以为基于虚拟现实的游戏画面,还可以为基于虚拟现实的其他场景体验等。对于上述用户,这些用户可以为应用程序的开发人员,当然还可以为应用程序产品的最终使用者。In various embodiments of the present application, the user interface is usually a graphical front end of the system, and the user interfaces may be directly presented to the user in a virtual reality application of the electronic device, and the scenes may be virtual reality-based game screens. It can also be used for other scenes based on virtual reality. For the above users, these users can be developers of the application and, of course, end users of the application product.
用户界面的菜单对象中通常包含有一个或多个控件,这些控件通常为系统底层代码的图形化接口,用户可通过用户界面中的控件与虚拟现实环境进行交互。在本申请的实施例中,控件可以是用户界面中的某个窗口或该窗口中的某些按钮,图片或文字等。The menu object of the user interface usually contains one or more controls, which are usually graphical interfaces of the underlying code of the system, and the user can interact with the virtual reality environment through the controls in the user interface. In an embodiment of the present application, the control may be a certain window in the user interface or some buttons, pictures or texts in the window.
现有技术中,在虚拟现实应用中创建控件时,通常需要根据特定场景的需要,在该场景的用户界面的菜单对象中单独创建每一个控件,然而开发人员在创建这些控件时,对于每一个控件都需要单独去创建,因此控件的创建效率较低。为解决上述技术问题,本申请实施例提供一种基于虚拟现实应用的用户界面控件实现方法,用于解决现有技术中控件创建效率低的问题,具体如图1的所示,该流程包括以下几个步骤:In the prior art, when creating a control in a virtual reality application, it is usually necessary to separately create each control in the menu object of the user interface of the scene according to the needs of a specific scene, but the developer creates each of these controls for each one. Controls need to be created separately, so the creation of controls is less efficient. To solve the above technical problem, the embodiment of the present application provides a method for implementing a user interface control based on a virtual reality application, which is used to solve the problem of low efficiency of control creation in the prior art. Specifically, as shown in FIG. 1 , the process includes the following: Several steps:
步骤11:在用户界面的菜单对象中创建控件类型为规则容器类型的控件。其中,所述规则容器类型为根据该类型创建的控件,包含有生成多个属于该控件的子控件的方法。Step 11: Create a control whose control type is a rule container type in the menu object of the user interface. The rule container type is a control created according to the type, and includes a method for generating a plurality of child controls belonging to the control.
这里的规则容器类型的控件,简称为容器控件,主要作用是用于组织和显示位于其内部的普通控件,当然还可以用于组织其内部的容器控件。另外,对于本申请实施例中提到的控件,从功能上通常可分为普通控件和容器控件,普通组件往往有预定义的外观和功能,例如命令按钮,默认居中显示指定的文本标题等,单击这些普通控件时通常会执行指定的事件处理方法。而容器控件在2D的普通用户界面上往往反映为用户界面上的一个空白区域,主要作用是用于组织和显示位于其内部的普通控件或容器控件。在虚拟现实应用的用户界面中,容器控件通常为非可视化控件,用户最终看到的则是位于容器控件内部的普通控件。The rule container type control here, referred to as the container control, is mainly used to organize and display the common controls inside it, and of course can also be used to organize its internal container controls. In addition, the controls mentioned in the embodiments of the present application can be generally divided into common controls and container controls. The common components often have predefined appearances and functions, such as command buttons, and the default centered display of specified text titles. The specified event handling method is typically executed when you click on these normal controls. The container control is often reflected in the 2D common user interface as a blank area on the user interface. The main function is to organize and display the normal controls or container controls located inside it. In the user interface of a virtual reality application, the container control is usually a non-visual control, and the user finally sees the normal control inside the container control.
另外,这里的规则容器类型为根据该类型创建的控件,包含有生成多个属于该控件的子控件的方法,这里的子控件为上述控件中的一种,即可以是容器控件, 当然也可以是普通控件。对于生成多个属于该控件的子控件的方法,这里的方法可以为对生成的其中一个子控件包含的代码或代码中的函数的迭代,使用计数器结束迭代循环,从而最终一次性生成多个子控件,最终生成的子控件的个数由这里的计数器的个数所控制。当然这里只是示意性的列举出了一种生成多个子控件的方法,本申请为并不以此为限。In addition, the rule container type here is a control created according to the type, and includes a method for generating a plurality of child controls belonging to the control, where the child control is one of the above controls, that is, a container control. Of course, it can also be a normal control. For methods that generate multiple child controls that belong to the control, the method here can be an iteration of the code or code in the generated one of the child controls, using a counter to end the iteration loop, and finally generating multiple child controls at once. The number of child controls that are ultimately generated is controlled by the number of counters here. Of course, the method for generating multiple sub-controls is only schematically illustrated herein, and the present application is not limited thereto.
步骤12:获取所述规则容器类型控件的子控件的属性数据。Step 12: Obtain attribute data of the child control of the rule container type control.
规则容器类型控件主要作用是用于组织和显示位于其内部的普通控件(子控件),还可以为组织其内部的容器控件(子控件),在此之前,还要获取子控件的属性数据,这里的属性数据可以为子控件的总个数;又或者是子控件在容器控件中的行数和列数,总行数乘以总列数即为子控件的总个数;又或者是子控件之间的间隔;又或者是子控件在容器控件中的位姿等。The main function of the rule container type control is to organize and display the normal controls (child controls) located inside it, and also to organize the container controls (child controls) inside it. Before that, the property data of the child controls is also obtained. The attribute data here can be the total number of child controls; or the number of rows and columns of the child control in the container control, the total number of rows multiplied by the total number of columns is the total number of child controls; or a child control The interval between; or the pose of the child control in the container control.
步骤13:根据所述属性数据生成多个控件类型相同的子控件。Step 13: Generate multiple child controls of the same control type according to the attribute data.
通过上述属性数据,即可在容器控件中一次性生成多个类型相同的子控件。对于这里的类型相同,主要是相对于规则容器类型和普通类型而言,这里的普通类型为规则容器类型之外的其它控件的类型。例如生成的一个子控件为容器控件,则所有的子控件全部为容器控件,又例如生成的一个子控件为普通类型的按钮控件,则所有的子控件全部为普通类型的按钮控件。With the above attribute data, multiple child controls of the same type can be generated at once in the container control. For the same type here, mainly relative to the rule container type and the normal type, the common type here is the type of other controls than the rule container type. For example, if a child control is generated as a container control, all the child controls are all container controls, and for example, a child control generated is a normal type of button control, and all the child controls are all normal type button controls.
本申请实施例提供的基于虚拟现实应用的用户界面控件实现方法,规则容器类型的控件包含有生成多个属于该控件的子控件的方法,对于类型相的子控件可以一次性生成,提高了在虚拟现实应用的用户界面中控件创建的效率。The implementation method of the user interface control based on the virtual reality application provided by the embodiment of the present application, the control of the rule container type includes a method for generating a plurality of child controls belonging to the control, and the child control of the type phase can be generated at one time, and the method is improved. The efficiency of control creation in the user interface of a virtual reality application.
在上述的方法实施例步骤13中,所述根据所述属性数据生成多个控件类型相同的子控件,具体包括:根据所述属性数据设置所述子控件的类型、个数和子控件之间的间隔信息;以及设置至少一个子控件在所述规则容器类型的控件中的位姿信息;根据设置的子控件的类型、个数、间隔信息以及位姿信息生成多个类型相同的子控件。In step 13 of the foregoing method embodiment, the generating, by the attribute data, a plurality of child controls having the same control type, specifically: setting, according to the attribute data, a type, a number, and a child control between the child controls Interval information; and setting pose information of the at least one child control in the control of the rule container type; generating a plurality of child controls of the same type according to the type, number, interval information, and pose information of the set child control.
对于设置子控件的类型,即将多个子控件的类型统一设定为容器控件,或将多个类型的子控件的类型统一设定为普通控件,对于这里的普通控件又可以进行细分,例如统一将普通控件设定为按钮类型的子控件,又或者是将普通控件统一设定为图片类型的子控件等等。 For setting the type of the child control, the type of the multiple child controls is uniformly set as the container control, or the types of the multiple types of the child controls are uniformly set as the normal controls, and the common controls here can be subdivided, for example, unified. Set the normal control as a child control of the button type, or a child control that uniformly sets the normal control to the image type.
对于设置子控件的个数,即按照产品需求设置需要的子控件的总个数。For setting the number of child controls, set the total number of child controls needed according to product requirements.
对于设置至少一个子控件在所述规则容器类型的控件中的位姿信息,这里的位姿包括子控件上的参考点在规则容器类型的控件中的位置和子控件在规则容器类型的控件中的姿态。由于整个规则容器类型的控件在虚拟现实应用的用户界面中的位姿是已经设置好的,因此,对于新生成的子控件,需要设置子控件在规则容器类型的控件中的位姿信息,进而形成最终形成子控件(普通控件)在虚拟现实的用户界面中的位姿。上述提到规则容器类型为根据该类型创建的控件包含有生成多个属于该控件的子控件的方法,因此这里只需设置至少一个子控件在规则容器类型的控件中的位姿即可,其它的子控件的姿态可以与首个子控件的姿态保持一致。For setting the pose information of at least one child control in the control of the rule container type, the pose here includes the position of the reference point on the child control in the control of the rule container type and the child control in the control of the rule container type attitude. Since the position of the control of the entire rule container type is already set in the user interface of the virtual reality application, for the newly generated child control, the pose information of the child control in the control of the rule container type needs to be set, and then Forming the pose that ultimately forms the child control (ordinary control) in the virtual reality user interface. The above mentioned rule container type is a control created according to the type containing a method of generating a plurality of child controls belonging to the control, so here only need to set the pose of at least one child control in the control of the rule container type, other The pose of the child control can be consistent with the pose of the first child control.
上述只是保证其它的子控件的姿态将与设置位姿的子控件的姿态保持一致,因此还要对子控件之间的间隔进行设置,这里的间隔不仅包括子控件之间水平方向的间隔,还包括子控件之间垂直方向的间隔,在虚拟现实应用的用户界面中,在考虑水平和垂直方向的间隔时,当然还可以将控件之间的深度值考虑在内。另外,对子控件的间隔进行设置时,如果子控件为刚性组件,即子控件具有指定的尺寸,不管容器控件如何缩放,刚性组件的大小不变,此时对与子控件之间的间隔也可以设置成刚性的固定值,固定值的单位可以以用户界面图像的像素为单位,当然还可以为其他单位。The above is only to ensure that the posture of the other child controls will be consistent with the posture of the child controls that set the pose, so the interval between the child controls should also be set. The interval here not only includes the horizontal interval between the child controls, but also Including the vertical spacing between the sub-controls, in the user interface of the virtual reality application, it is of course possible to take into account the depth values between the controls when considering the horizontal and vertical spacing. In addition, when setting the interval of the child control, if the child control is a rigid component, that is, the child control has the specified size, regardless of how the container control is scaled, the size of the rigid component does not change, and the interval between the child control and the child control is also It can be set to a fixed value of rigidity. The unit of the fixed value can be in units of pixels of the user interface image, and of course other units.
如果子控件为粘合组件,即组件的大小可变,当容器控件尺寸较小时,粘合控件可以不占任何空间;当容器控件尺寸较大时,粘合控件能够占用任意大的多余空间,此时可以将子控件之间的间隔设置成随粘合控件的尺寸同步变化的可变值。可以将子控件之间的间隔设置成是占子控件具体尺寸的百分比的数值,例如子控件横向间隔设置为子控件长度的50%,子控件垂直间隔为子控件宽度的50%,最终实现子控件相对于所在规则容器的大小缩放。If the child control is a glue component, that is, the size of the component is variable, when the container control size is small, the glue control can occupy no space; when the container control size is large, the glue control can occupy any large excess space. At this point, the spacing between the child controls can be set to a variable value that changes synchronously with the size of the glue control. You can set the interval between child controls to be a percentage of the specific size of the child control. For example, the child control horizontal interval is set to 50% of the child control length, and the child control vertical interval is 50% of the child control width. The final implementation is The size of the control is scaled relative to the size of the rule container it is in.
在上述实施例中,根据设置的子控件的类型、个数、间隔信息以及位姿信息生成多个类型相同的子控件的同时,还可以根据所述属性数据设置所述规则容器类型的控件的子控件的行数、列数、编号以及子控件的尺寸,则步骤13中生成多个类型相同的子控件具体包括:按照所述行数、列数以及编号生成多个类型相同且尺寸相同的子控件。In the above embodiment, the plurality of sub-controls of the same type are generated according to the type, the number, the interval information, and the pose information of the set sub-controls, and the control of the rule container type may also be set according to the attribute data. The number of rows, the number of columns, the number of the child control, and the size of the child control, the generating the plurality of child controls of the same type in step 13 specifically includes: generating the same type and the same size according to the number of rows, the number of columns, and the number Child control.
设置子控件的行数、列数,这里的行数和列数是相对于多个子控件的总个数 而言的,例如一共三个子控件,则可以设置为一行三列或者是三行一列,又例如一共为八个子控件,则可以设置为二行四列,或者是四行两列,又或者是一行八列等等。Set the number of rows and columns of the child control, where the number of rows and columns is relative to the total number of child controls In other words, for example, a total of three child controls can be set to one row or three columns or three rows and one column, and for example, a total of eight child controls can be set to two rows and four columns, or four rows and two columns, or Eight columns and so on.
另外还需要对生成的每个子控件设置编号,例如容器控件的编号为1,在容器控件1中生成了两行两列一共四个子控件,可以将容器控件1的左上角的子控件设置编号为11,右上角的子控件编号设置为12,左下角的子控件编号设置为13,右下角的子控件的编号设置为14,这样一个子控件对应一个编号。在用户界面中可能存在多个容器控件和最终生成多个子控件,这样每个容器控件以及每个子控件都有一个唯一的编号,在对每个子控件进行控制和修改时,只需取得子控件的编号来进行,最终加强了对控件的管理,且使子控件与子控件之间,子控件与容器控件之间的层次分明。In addition, you need to set the number of each child control generated. For example, the container control number is 1. In the container control 1, two rows and two columns and four child controls are generated. You can set the child control of the upper left corner of the container control 1 to 11, the child control number in the upper right corner is set to 12, the child control number in the lower left corner is set to 13, and the number of the child control in the lower right corner is set to 14, such that a child control corresponds to a number. There may be multiple container controls in the user interface and eventually multiple child controls, so that each container control and each child control has a unique number. When controlling and modifying each child control, you only need to get the child control. The numbering is carried out, which finally strengthens the management of the control, and makes the hierarchy between the child control and the child control, the child control and the container control clear.
对于这里的尺寸相同,通常为所有子控件的长度尺寸相等和宽度尺寸相等,在虚拟现实应用的用户界面中,当然还可以为子控件的其他尺寸,这里的子控件的形状也不仅仅局限于为长方形,当然还可以三维的其他形状,但最终保证所有的子控件每个相同部位的尺寸相等即可。For the same size here, usually all child controls have the same length and width dimensions. In the user interface of the virtual reality application, of course, it can be other sizes of the child controls. The shape of the child controls here is not limited to It is a rectangle, of course, it can also be three-dimensional other shapes, but in the end it is guaranteed that all the sub-controls have the same size for each and the same part.
在之前的几个实施例中,“生成多个类型相同的子控件”,这里的多个子控件的类型可以为规则容器类型的控件,当然还可以为普通控件。如果子控件为普通控件,则用户界面控件创建完毕,具体可以如图2所示,图2中的菜单对象并未显示,如果子控件仍然为规则容器类型,那么则对规则容器类型的子控件进行如下操作:In the previous embodiments, "generate multiple child controls of the same type", the types of the multiple child controls herein may be regular container type controls, and of course may be ordinary controls. If the child control is a normal control, the user interface control is created, as shown in Figure 2, the menu object in Figure 2 is not displayed, if the child control is still a rule container type, then the child control of the rule container type Do the following:
a)获取规则容器类型的子控件所属的下一级控件的属性数据;a) obtaining the attribute data of the next level control to which the child control of the rule container type belongs;
b)根据所述下一级控件的属性数据生成多个控件类型相同的属于所述规则容器类型的子控件的下一级控件。b) generating, according to the attribute data of the next level control, a next level control of the child control belonging to the rule container type with the same control type.
对规则容器类型的子控件执行完步骤a和步骤b之后,则生成了多个规则容器类型的子控件所属的下一级控件。为了方便说明,以下结合附图3和附图4进行举例说明。首先对于图3,可以将容器控件1称为第一层的控件,在容器控件1中生成容器控件11,容器控件12,容器控件13和容器控件14四个子控件,这里的四个子控件的类型均为规则容器类型。After performing step a and step b on the child control of the rule container type, the next level control of the child control of the plurality of rule container types is generated. For convenience of explanation, the following description will be made with reference to FIG. 3 and FIG. First, for FIG. 3, the container control 1 can be referred to as a first layer of controls, and the container control 11, the container control 12, the container control 13 and the container control 14 four child controls are generated in the container control 1, and the types of the four child controls here are Both are rule container types.
接下来,对于容器控件11执行上述步骤a和步骤b之后,生成若干个所属 的下一级控件;对于容器控件12执行上述步骤a和步骤b之后,生成四个所属的下一级控件;对于容器控件13执行上述步骤a和步骤b之后,生成若干个所属的下一级控件;对于容器控件14执行上述步骤a和步骤b之后,生成两个所属的下一级控件。图3中的两个省略号分别表示的是容器控件11和容器控件13生成的下一级控件的个数,由于图纸版面有限,只将容器控件12和容器控件14生成的下一级控件的个数显示出来,相应地图4中的两个省略号表示同样的含义。Next, after performing the above steps a and b for the container control 11, a plurality of belongings are generated. After the step a and step b are performed on the container control 12, four subordinate controls are generated; after the step a and the step b are performed on the container control 13, a plurality of subordinates are generated. The control; after performing the above steps a and b on the container control 14, generating two associated lower level controls. The two ellipsis in FIG. 3 respectively indicate the number of the next level of controls generated by the container control 11 and the container control 13. Since the drawing layout is limited, only the next level of controls generated by the container control 12 and the container control 14 are shown. The number is displayed, and the two ellipses in the corresponding map 4 indicate the same meaning.
对于上述的步骤b中,根据所述下一级控件的属性数据生成多个控件类型相同的属于所述规则容器类型的子控件的下一级控件具体包括:根据下一级控件的属性数据设置下一级控件的类型、个数和下一级控件之间的间隔信息;以及设置至少一个下一级控件在规则容器类型的控件中的位姿信息;根据设置的下一级控件的类型、个数、间隔信息以及位姿信息生成多个类型相同的下一级控件。另外,还可以根据下一级控件的属性数据设置下一级控件的行数、列数、编号以及子控件的尺寸,则所述生成多个类型相同的下一级控件具体包括:按照所述行数、列数以及编号生成多个类型相同且尺寸相同的下一级控件。For the above step b, generating, according to the attribute data of the next-level control, a plurality of control elements of the same control type that belong to the rule container type, the second level control includes: setting according to attribute data of the next level control The type of the next level of control, the number of the interval and the interval between the next level of control; and set the position and posture information of at least one of the next level of control in the control of the rule container type; according to the type of the next level of control set, The number, interval information, and pose information generate multiple lower-level controls of the same type. In addition, the number of rows, the number of columns, the number, and the size of the child control of the next level control may be set according to the attribute data of the next level control, and the generating the second level control of the same type includes: Rows, columns, and numbers generate multiple next-level controls of the same type and the same size.
对于上述设置多个下一级控件的类型、个数和下一级控件之间的间隔信息;设置至少一个下一级控件在规则容器类型的控件中的位姿信息;设置下一级控件的行数、列数、编号以及子控件的尺寸等,和之前已经介绍的在第一层容器控件中生成子控件的步骤大致相同,为避免重复,这里仅参照图3和图4的实例图,在对步骤b中的一些细节进行说明。For the above, setting the type, number of the next level control, and the interval information between the next level control; setting the pose information of at least one lower level control in the control of the rule container type; setting the next level control The number of rows, the number of columns, the number of the sub-controls, and the like are substantially the same as those of the sub-controls that have been previously described in the first-level container control. To avoid repetition, only the example diagrams of FIGS. 3 and 4 are referred to herein. Some details of step b are explained.
例如在容器控件12中生成下一级控件之前,首先需要根据容器控件12中即将生成的下一级控件的属性数据,设置容器控件12的下级控件的类型,如图3所示的容器控件12中的下一级控件为普通控件,在具体而言,上述普通控件可以为按钮类型的普通控件;然后设置下一级控件的总个数为4个;再设置下一级控件之间的间隔;设置至少一个下一级控件在容器控件12中的位姿信息;设置上述下一级的普通控件的行数和列数分别为两行两列,即一共四个普通类型的按钮控件;最后再设置每个下一级的普通控件的编号以及尺寸,生成四个按钮类型的普通控件,即普通控件121,普通控件122,普通控件123和普通控件124。For example, before the next level control is generated in the container control 12, it is first necessary to set the type of the lower level control of the container control 12 according to the attribute data of the next level control to be generated in the container control 12, such as the container control 12 shown in FIG. The next level of control is a normal control. In particular, the above common control can be a common control of the button type; then the total number of the next level of control is set to four; then the interval between the next level of control is set. Setting at least one pose information of the next level control in the container control 12; setting the number of rows and columns of the normal control of the next level to two rows and two columns respectively, that is, a total of four common types of button controls; Then, the number and size of the common controls of each lower level are set, and the common controls of the four button types are generated, that is, the normal control 121, the normal control 122, the normal control 123, and the normal control 124.
在容器控件11,容器控件13,容器控件14,中生成下级控件的方法与在容器控件12中生成下一级控件的方法相同,这里不再赘述,最终呈现在虚拟现实应用的用户界面的菜单上的内容如图4所示,用户最终看到的只是普通控件,即 容器控件11和容器控件13中的若干个普通控件,容器控件12中的四个普通控件,和容器控件14中的两个普通控件,图4中的虚线只是示意性的显示各容器控件的位置关系,在实际的用户界面中并不显示。The method of generating the lower level control in the container control 11, the container control 13, and the container control 14, is the same as the method of generating the next level control in the container control 12, and will not be described again here, and finally the menu of the user interface of the virtual reality application is presented. The content on the top is shown in Figure 4. The user finally sees just the normal controls, ie Several common controls in container control 11 and container control 13, four normal controls in container control 12, and two common controls in container control 14, the dashed lines in Figure 4 are only illustrative of the position of each container control. Relationships are not displayed in the actual user interface.
对于上述的容器控件11、容器控件12、容器控件13或容器控件14也含有生成多个属于该控件的下一级控件的方法,容器控件11、容器控件12、容器控件13或容器控件14可以嵌套容器控件或者是普通控件,还以图3为例,容器控件12和容器控件14生成的若干个下级控件为普通控件,容器控件11和容器控件13生成的若干个下级控件可以为普通控件,当然还可以继续为容器控件,如果继续为容器控件,重复执行上述步骤a和步骤b,最终直至所有的下级控件为普通控件。For the container control 11, the container control 12, the container control 13 or the container control 14 described above, a method for generating a plurality of next-level controls belonging to the control is also included, and the container control 11, the container control 12, the container control 13 or the container control 14 may Nested container control or ordinary control, also taking FIG. 3 as an example, several lower-level controls generated by container control 12 and container control 14 are common controls, and several lower-level controls generated by container control 11 and container control 13 may be ordinary controls. Of course, you can continue to be the container control. If you continue to be the container control, repeat steps a and b above, and finally until all the subordinate controls are normal controls.
对于之前的一个方法实施例,步骤12中提到获取所述规则容器类型控件的子控件的属性数据,在此步骤之前,所述方法还可以包括:设置所述规则容器类型的控件在用户界面的虚拟现实场景中的位姿信息,其中,所述位姿信息包括:所述规则容器类型的控件上的参考点在虚拟现实场景中的位置和所述规则容器类型的控件在虚拟现实场景中的姿态。For the previous method embodiment, in step 12, the attribute data of the child control of the rule container type control is obtained. Before the step, the method may further include: setting the control of the rule container type in the user interface. Pose information in a virtual reality scene, wherein the pose information includes: a position of a reference point on a control of a rule container type in a virtual reality scene and a control of the rule container type in a virtual reality scene Gesture.
这里还以图4所示为例,虽然用户最终看到的为普通控件,然而容器控件1控制着普通控件在用户界面中的位姿,因此首先要对容器控件1在虚拟现实环境中的位姿进行设定。Here is also shown in Figure 4, although the user finally sees the normal control, but the container control 1 controls the position of the ordinary control in the user interface, so first the position of the container control 1 in the virtual reality environment The posture is set.
在具体的设置容器控件的位姿时,例如,虚拟现实的用户界面显示的是一个房间的三维画面,此时可定义世界坐标系,将用户界面左上角位置坐标定义原点坐标,即(0,0,0),原点正右侧方向为x轴正方向,原点垂直向下为y轴正方向,同时垂直于x轴和y轴并朝向用户的视线方向为z轴正方向,各个方向的取值可以以三维画面的像素为单位,此时即可设置容器控件的参考点在虚拟现实场景中的位置坐标,这里的参考点可以为容器控件的重心位置,当然还可以为容器控件上的其他参考点。When the position of the container control is specifically set, for example, the virtual reality user interface displays a three-dimensional picture of a room. At this time, the world coordinate system can be defined, and the coordinates of the position of the upper left corner of the user interface are defined as the origin coordinates, that is, (0, 0,0), the positive direction of the origin is the positive direction of the x-axis, the origin is vertically downward and the positive direction of the y-axis, while perpendicular to the x-axis and the y-axis and facing the user's line of sight is the positive direction of the z-axis. The value can be in units of pixels of the three-dimensional picture. At this time, the position coordinates of the reference point of the container control in the virtual reality scene can be set, where the reference point can be the center of gravity of the container control, and of course, other on the container control. Reference point.
在确定好容器控件上的参考点在虚拟现实场景中的位置坐标之后,还需要对容器控件在虚拟现实场景中的姿态进行确定,进而为最终生成的普通控件的姿态设置做铺垫,这里的姿态可以为容器控件分别与上述x,y,z三个坐标轴之间的夹角。After determining the position coordinates of the reference point on the container control in the virtual reality scene, it is also necessary to determine the posture of the container control in the virtual reality scene, thereby paving the posture setting of the finally generated common control, where the posture is It can be the angle between the container control and the three coordinate axes of x, y, and z above.
对于三维的虚拟现实场景,如果只有上述x,y两个坐标轴且容器控件以及 最终显示的普通控件与x,y两个坐标轴的夹角为零度,则用户可能会觉得显示出的普通控件为平面图像,进而会使整个三维的虚拟现实场景的感触造成影响,所以通常需要设定z轴,即深度值大小,以及容器控件的显示角度,并且在需要进行三维显示时,该显示角度不为零。其中,显示的角度应与实际呈现的虚拟现实场景相协调。For 3D virtual reality scenes, if there are only the above x, y axes and the container controls and If the angle between the normal control and the x and y axes is zero, the user may think that the displayed normal control is a flat image, which will affect the feeling of the entire three-dimensional virtual reality scene, so it is usually required. Set the z-axis, which is the depth value size, and the display angle of the container control, and the display angle is not zero when three-dimensional display is required. Among them, the displayed angle should be coordinated with the actual virtual reality scene presented.
需要说明的是,最终所有的普通控件作为一个整体的三维图像显示给用户时,这里所有的普通控件可以具有相同的显示角度。另外图2和图4只是示意性的显示控件在用户界面中的位置,并未显示出控件之间的深度信息以及控件的姿态信息。It should be noted that when all the normal controls are displayed to the user as a whole three-dimensional image, all the common controls here can have the same display angle. In addition, FIG. 2 and FIG. 4 are only schematic display positions of the control in the user interface, and do not show the depth information between the controls and the posture information of the controls.
上述只是介绍了如何让设置第一层的容器控件在虚拟现实场景中位姿,这里还涉及到容器控件中的多个子控件在容器控件的位姿,所述位姿包括:所述子控件上的参考点在容器控件中的位置和所述子控件在容器控件中的姿态。由于多个子控件均为一次性生成的,因此只需设置至少一个子控件在容器控件中的位姿,再结合子控件之间的间隔,剩下的子控件即可与设置好位姿的子控件保持同样的姿态,但是在容器控件中保持不同的位置。The above only describes how to set the first layer of the container control in the virtual reality scene, here also refers to the position of the container control in the container control, the pose includes: the child control The position of the reference point in the container control and the pose of the child control in the container control. Since multiple child controls are generated once, it is only necessary to set the pose of at least one child control in the container control, and then combine the spacing between the child controls, and the remaining child controls can be set with the poses. The controls maintain the same pose but remain in different positions in the container control.
需要说明的是,上述提到的两个“位姿”的概念,一个是容器控件在用户界面的虚拟现实场景中的位姿,另一个是至少一个子控件在容器控件中的位姿,第一个位姿是容器控件相对于虚拟现实场景(用户界面)而言的,第二个位姿是设置好位姿的子控件相对于生成此子控件的容器控件而言的。It should be noted that the two concepts of "pose" mentioned above are the pose of the container control in the virtual reality scene of the user interface, and the other is the pose of at least one child control in the container control, A pose is a container control relative to a virtual reality scene (user interface), and a second pose is a child pose with a pose set relative to the container control that generated the child control.
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非暂态计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的非暂态计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Finally, it should be understood that those skilled in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-transitory computer. In a readable storage medium, the program, when executed, may include the flow of an embodiment of the methods as described above. The non-transitory computer readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
上述内容详细介绍了是本申请的方法实施例,相应地,本申请还提供了一种基于虚拟现实应用的用户界面控件实现装置实施例。参见附图5,包括:创建模块21,获取模块22和生成模块23,其中,The foregoing is a detailed description of the method embodiment of the present application. Accordingly, the present application further provides an embodiment of a user interface control implementation device based on a virtual reality application. Referring to FIG. 5, the method includes: a creating module 21, an obtaining module 22, and a generating module 23, wherein
所述创建模块21,可以用于在用户界面的菜单对象中创建控件类型为规则容器类型的控件,所述规则容器类型为根据该类型创建的控件包含有生成多个属于 该控件的子控件的方法。The creating module 21 may be configured to create a control of a rule type as a rule container type in a menu object of the user interface, where the rule container type is configured to generate multiple entries according to the type The method of the child control of the control.
所述获取模块22,可以用于获取所述规则容器类型控件的子控件的属性数据。The obtaining module 22 is configured to obtain attribute data of the child control of the rule container type control.
所述生成模块23,可以用于根据所述属性数据生成多个控件类型相同的子控件,所述控件类型包括规则容器类型和普通类型,所述普通类型为规则容器类型之外的其它控件的类型。The generating module 23 may be configured to generate, according to the attribute data, a plurality of child controls of the same control type, where the control type includes a rule container type and a common type, and the common type is a control other than the rule container type. Types of.
本装置实施例的工作过程为:创建模块21首先创建规则容器类型的控件,然后获取模块22获取规则容器类型控件的子控件的属性数据,最后生成模块23根据获取模块22获取到的属性数据,一次性生成多个类型相同的子控件。The working process of the embodiment of the device is: the creating module 21 firstly creates a control of the rule container type, and then the obtaining module 22 acquires the attribute data of the child control of the rule container type control, and finally the generating module 23 obtains the attribute data acquired by the obtaining module 22, Generate multiple child controls of the same type at once.
本申请实施例提供的基于虚拟现实应用的用户界面控件实现装置,创建模块21创建的容器控件包含有生成多个属于该控件的子控件的方法,最终生成模块23对于类型相同的子控件可以一次性生成,提高了在虚拟现实应用的用户界面中控件创建的效率。The virtual reality application-based user interface control implementation device provided by the embodiment of the present application, the container control created by the creation module 21 includes a method for generating a plurality of child controls belonging to the control, and the final generation module 23 can be used for the child control of the same type once. Sexual generation improves the efficiency of control creation in the user interface of a virtual reality application.
另外,上述基于虚拟现实应用的用户界面控件实现装置中,生成模块23具体包括有设置单元,其中,所述设置单元,用于根据所述属性数据设置所述子控件的类型、个数和子控件之间的间隔信息;以及设置至少一个子控件在所述规则容器类型的控件中的位姿信息。In addition, in the device for implementing the user interface control based on the virtual reality application, the generating module 23 specifically includes a setting unit, wherein the setting unit is configured to set the type, the number, and the child control of the child control according to the attribute data. Interval information between; and setting pose information of at least one child control in the control of the rule container type.
上述装置还可以包括设置子单元,其中,所述设置子单元,用于根据所述属性数据设置所述规则容器类型的控件的子控件的行数、列数、编号以及子控件的尺寸。The device may further include a setting subunit, wherein the setting subunit is configured to set a row number, a column number, a number, and a size of the sub-control of the child control of the rule container type control according to the attribute data.
上述装置还可以包括位姿设置模块,其中,所述位姿设置模块,用于设置所述规则容器类型的控件在用户界面的虚拟现实场景中的位姿信息,其中,所述位姿信息包括:所述规则容器类型的控件上的参考点在虚拟现实场景中的位置和所述规则容器类型的控件在虚拟现实场景中的姿态。The device may further include a pose setting module, wherein the pose setting module is configured to set pose posture information of the rule container type control in a virtual reality scene of the user interface, wherein the pose information includes : a position of a reference point on the control container type control in the virtual reality scene and a gesture of the rule container type control in the virtual reality scene.
在本申请另一实施例中,还提供一种电子设备,包括前述任一实施例所述的基于虚拟现实应用的用户界面控件实现装置。In another embodiment of the present application, an electronic device is provided, including the virtual reality application-based user interface control implementing apparatus according to any of the foregoing embodiments.
在本申请另一实施例中,还提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的基于虚拟现实应用的用户界面控件实现方法。 In another embodiment of the present application, a non-transitory computer readable storage medium is also provided, the non-transitory computer readable storage medium storing computer executable instructions executable by any of the above methods The implementation method of the user interface control based on the virtual reality application in the example.
图6是本申请实施例提供的执行基于虚拟现实应用的用户界面控件实现方法的电子设备的硬件结构示意图,如图6所示,该设备包括:FIG. 6 is a schematic diagram of a hardware structure of an electronic device for implementing a method for implementing a user interface control based on a virtual reality application according to an embodiment of the present disclosure. As shown in FIG. 6, the device includes:
一个或多个处理器610以及存储器620,图6中以一个处理器610为例。One or more processors 610 and memory 620, one processor 610 is taken as an example in FIG.
执行基于虚拟现实应用的用户界面控件实现方法的设备还可以包括:输入装置630和输出装置640。The apparatus for performing the method of implementing the user interface control based on the virtual reality application may further include: an input device 630 and an output device 640.
处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图6中以通过总线连接为例。The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
存储器620作为一种非暂态计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的基于虚拟现实应用的用户界面控件实现方法对应的程序指令/模块(例如,附图5所示的创建模块21、获取模块22和生成模块23)。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行电子设备的各种功能应用以及数据处理,即实现上述方法实施例基于虚拟现实应用的用户界面控件实现方法。The memory 620 is a non-transitory computer readable storage medium, and can be used for storing a non-volatile software program, a non-volatile computer executable program, and a module, such as a virtual reality application-based user interface control in the embodiment of the present application. A program instruction/module corresponding to the implementation method (for example, the creation module 21, the acquisition module 22, and the generation module 23 shown in FIG. 5). The processor 610 executes various functional applications and data processing of the electronic device by running non-volatile software programs, instructions, and modules stored in the memory 620, that is, implementing the user interface control based on the virtual reality application of the foregoing method embodiment. method.
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据基于虚拟现实应用的用户界面控件实现装置的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至基于虚拟现实应用的用户界面控件实现装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required by at least one function; and the storage data area may store the use of the device according to the user interface control based on the virtual reality application. Created data, etc. Moreover, memory 620 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 620 can optionally include memory remotely disposed relative to processor 610, which can be connected to a virtual reality application based user interface control implementation device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置630可接收输入的数字或字符信息,以及产生与基于虚拟现实应用的用户界面控件实现装置的用户设置以及功能控制有关的键信号输入。输出装置640可包括显示屏等显示设备。 Input device 630 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the user interface control implementation device based on the virtual reality application. The output device 640 can include a display device such as a display screen.
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中的基于虚拟现实应用的用户界面控件实现方法。The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, perform a virtual reality application based user interface control implementation method in any of the above method embodiments.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供 的方法。The above products can perform the methods provided by the embodiments of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the embodiments of the present application. Methods.
本申请实施例的电子设备以多种形式存在,包括但不限于:The electronic device of the embodiment of the present application exists in various forms, including but not limited to:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication devices: These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication. Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。(2) Ultra-mobile personal computer equipment: This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access. Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。(4) Server: A device that provides computing services. The server consists of a processor, a hard disk, a memory, a system bus, etc. The server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
(5)其他具有数据交互功能的电子装置。(5) Other electronic devices with data interaction functions.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the various embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on such understanding, the above-described technical solutions may be embodied in the form of software products in essence or in the form of software products, which may be stored in a computer readable storage medium such as ROM/RAM, magnetic Discs, optical discs, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments or portions of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制; 尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto; Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions described in the foregoing embodiments may be modified or equivalently substituted for some of the technical features. Modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (13)

  1. 一种基于虚拟现实应用的用户界面控件实现方法,其特征在于,应用于电子设备,包括:A method for implementing a user interface control based on a virtual reality application, which is characterized in that it is applied to an electronic device, including:
    在用户界面的菜单对象中创建控件类型为规则容器类型的控件,所述规则容器类型为根据该类型创建的控件包含有生成多个属于该控件的子控件的方法;Creating a control of the rule type as a rule container type in a menu object of the user interface, the rule container type is a method for generating a child control belonging to the control according to the type;
    获取所述规则容器类型控件的子控件的属性数据;Obtaining attribute data of the child control of the rule container type control;
    根据所述属性数据生成多个控件类型相同的子控件,所述控件类型包括规则容器类型和普通类型,所述普通类型为规则容器类型之外的其它控件的类型。A plurality of child controls of the same control type are generated according to the attribute data, and the control type includes a rule container type and a normal type, and the normal type is a type of other controls than the rule container type.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述属性数据生成多个控件类型相同的子控件具体包括:The method according to claim 1, wherein the generating the plurality of sub-controls of the same control type according to the attribute data comprises:
    根据所述属性数据设置所述子控件的类型、个数和子控件之间的间隔信息;以及设置至少一个子控件在所述规则容器类型的控件中的位姿信息;Setting the type, the number of the child control, and the interval information between the child controls according to the attribute data; and setting pose posture information of the at least one child control in the control of the rule container type;
    根据设置的子控件的类型、个数、间隔信息以及位姿信息生成多个类型相同的子控件。Generates multiple child controls of the same type according to the type, number, interval information, and pose information of the set child controls.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    根据所述属性数据设置所述规则容器类型的控件的子控件的行数、列数、编号以及子控件的尺寸,则所述生成多个类型相同的子控件具体包括:And generating, according to the attribute data, the number of rows, the number of columns, the number, and the size of the child control of the child control of the control of the rule container type, the generating the plurality of child controls of the same type specifically includes:
    按照所述行数、列数以及编号生成多个类型相同且尺寸相同的子控件。A plurality of child controls of the same type and the same size are generated according to the number of rows, the number of columns, and the number.
  4. 根据权利要求2所述的方法,其特征在于,所述设置至少一个子控件在所述规则容器类型的控件中的位姿信息具体包括:The method according to claim 2, wherein the setting of the pose information of the at least one child control in the control of the rule container type comprises:
    设置至少一个子控件上的参考点在所述规则容器类型的控件中的位置信息和所述子控件在所述规则容器类型的控件中的姿态信息。Position information of a reference point on the at least one child control in the control of the rule container type and posture information of the child control in the control of the rule container type.
  5. 根据权利要求1至4中任何一项所述的方法,其特征在于,如果生成的子控件类型为规则容器类型,则对规则容器类型的子控件进行如下操作:The method according to any one of claims 1 to 4, characterized in that, if the generated child control type is a rule container type, the child control of the rule container type is operated as follows:
    a)获取规则容器类型的子控件所属的下一级控件的属性数据; a) obtaining the attribute data of the next level control to which the child control of the rule container type belongs;
    b)根据所述下一级控件的属性数据生成多个控件类型相同的属于所述规则容器类型的子控件的下一级控件。b) generating, according to the attribute data of the next level control, a next level control of the child control belonging to the rule container type with the same control type.
  6. 根据权利要求1所述的方法,其特征在于,获取所述规则容器类型控件的子控件的属性数据之前,所述方法还包括:The method according to claim 1, wherein before the obtaining the attribute data of the child control of the rule container type control, the method further comprises:
    设置所述规则容器类型的控件在用户界面的虚拟现实场景中的位姿信息,其中,所述位姿信息包括:所述规则容器类型的控件上的参考点在虚拟现实场景中的位置和所述规则容器类型的控件在虚拟现实场景中的姿态。Setting posture information of the rule container type control in a virtual reality scene of the user interface, wherein the pose information includes: a position and a reference point of the reference point on the control of the rule container type in the virtual reality scene The gesture of a rule container type control in a virtual reality scene.
  7. 一种基于虚拟现实应用的用户界面控件实现装置,其特征在于,包括创建模块,获取模块和生成模块,其中,A user interface control implementation device based on a virtual reality application, comprising: a creation module, an acquisition module and a generation module, wherein
    所述创建模块,用于在用户界面的菜单对象中创建控件类型为规则容器类型的控件,所述规则容器类型为根据该类型创建的控件包含有生成多个属于该控件的子控件的方法;The creating module is configured to create, in a menu object of the user interface, a control whose control type is a rule container type, where the rule container type is a method that is generated according to the type, and includes a method for generating a plurality of child controls belonging to the control;
    所述获取模块,用于获取所述规则容器类型控件的子控件的属性数据;The obtaining module is configured to acquire attribute data of a child control of the rule container type control;
    所述生成模块,用于根据所述属性数据生成多个控件类型相同的子控件,所述控件类型包括规则容器类型和普通类型,所述普通类型为规则容器类型之外的其它控件的类型。The generating module is configured to generate, according to the attribute data, a plurality of child controls of the same control type, the control type includes a rule container type and a normal type, and the common type is a type of other controls than the rule container type.
  8. 根据权利要求7所述的装置,其特征在于,所述生成模块具体包括设置单元,其中,The device according to claim 7, wherein the generating module comprises a setting unit, wherein
    所述设置单元,用于根据所述属性数据设置所述子控件的类型、个数和子控件之间的间隔信息;以及设置至少一个子控件在所述规则容器类型的控件中的位姿信息。The setting unit is configured to set the type, the number of the child controls, and the interval information between the child controls according to the attribute data; and set the pose information of the at least one child control in the control of the rule container type.
  9. 根据权利要求8所述的装置,其特征在于,所述装置还包括设置子单元,其中,The device according to claim 8, wherein said device further comprises a setting subunit, wherein
    所述设置子单元,用于根据所述属性数据设置所述规则容器类型的控件的子控件的行数、列数、编号以及子控件的尺寸。The setting subunit is configured to set a row number, a column number, a number, and a size of the child control of the child control of the control of the rule container type according to the attribute data.
  10. 根据权利要求7所述的装置,其特征在于,所述装置还包括位姿设置模块,其中,The device according to claim 7, wherein said device further comprises a pose setting module, wherein
    所述位姿设置模块,用于设置所述规则容器类型的控件在用户界面的虚拟现实场景中的位姿信息,其中,所述位姿信息包括:所述规则容器类型的 控件上的参考点在虚拟现实场景中的位置和所述规则容器类型的控件在虚拟现实场景中的姿态。The pose setting module is configured to set pose information of the rule container type control in a virtual reality scene of the user interface, wherein the pose information comprises: the rule container type The position of the reference point on the control in the virtual reality scene and the posture of the control container type control in the virtual reality scene.
  11. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-6任一所述方法。A non-transitory computer readable storage medium, wherein the non-transitory computer readable storage medium stores computer instructions for causing the computer to perform the method of any of claims 1-6 .
  12. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    一个或多个处理器;以及,One or more processors; and,
    与所述一个或多个处理器通信连接的存储器;其中,a memory communicatively coupled to the one or more processors; wherein
    所述存储器存储有可被所述一个或多个处理器执行的指令,所述指令被所述一个或多个处理器执行,以使所述一个或多个处理器能够:The memory stores instructions executable by the one or more processors, the instructions being executed by the one or more processors to enable the one or more processors to:
    在用户界面的菜单对象中创建控件类型为规则容器类型的控件,所述规则容器类型为根据该类型创建的控件包含有生成多个属于该控件的子控件的方法;Creating a control of the rule type as a rule container type in a menu object of the user interface, the rule container type is a method for generating a child control belonging to the control according to the type;
    获取所述规则容器类型控件的子控件的属性数据;Obtaining attribute data of the child control of the rule container type control;
    根据所述属性数据生成多个控件类型相同的子控件,所述控件类型包括规则容器类型和普通类型,所述普通类型为规则容器类型之外的其它控件的类型。A plurality of child controls of the same control type are generated according to the attribute data, and the control type includes a rule container type and a normal type, and the normal type is a type of other controls than the rule container type.
  13. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-6所述的方法。 A computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to execute The method of claims 1-6.
PCT/CN2016/096979 2015-12-04 2016-08-26 Method and device for realizing user interface control based on virtual reality application WO2017092430A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510884623.4A CN105912310A (en) 2015-12-04 2015-12-04 Method and device for realizing user interface control based on virtual reality application
CN201510884623.4 2015-12-04

Publications (1)

Publication Number Publication Date
WO2017092430A1 true WO2017092430A1 (en) 2017-06-08

Family

ID=56744208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096979 WO2017092430A1 (en) 2015-12-04 2016-08-26 Method and device for realizing user interface control based on virtual reality application

Country Status (2)

Country Link
CN (1) CN105912310A (en)
WO (1) WO2017092430A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230052559A1 (en) * 2020-02-10 2023-02-16 Visa International Service Association Network based testing of mobile device kernels system and method

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066180B (en) * 2017-03-13 2020-05-12 深圳国泰安教育技术有限公司 Task generation method and system based on VR operation
CN106951171B (en) * 2017-03-14 2021-10-12 北京小米移动软件有限公司 Control method and device of virtual reality helmet
US10453273B2 (en) 2017-04-25 2019-10-22 Microsoft Technology Licensing, Llc Method and system for providing an object in virtual or semi-virtual space based on a user characteristic
CN109407918A (en) * 2018-09-25 2019-03-01 苏州梦想人软件科技有限公司 The implementation method of augmented reality content multistage interactive mode
CN109766157A (en) * 2018-12-27 2019-05-17 益萃网络科技(中国)有限公司 Method for displaying user interface, device, computer equipment and storage medium
CN114780001B (en) * 2022-04-19 2023-04-25 青岛海信智慧生活科技股份有限公司 Control method of multi-way switch equipment, terminal equipment and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193786A (en) * 2010-03-11 2011-09-21 中国工商银行股份有限公司 Device and method for constructing self-adaptive graphic user interface (GUI)
CN103176797A (en) * 2013-02-21 2013-06-26 用友软件股份有限公司 Interface layout device and interface layout method
CN104991707A (en) * 2015-07-20 2015-10-21 青岛海信移动通信技术股份有限公司 User interface displaying method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8407598B2 (en) * 2009-12-09 2013-03-26 Ralph Lee Burton Dynamic web control generation facilitator
US20110271248A1 (en) * 2010-04-29 2011-11-03 Microsoft Corporation Converting controls into source code
CN104731590B (en) * 2015-03-13 2018-04-27 广东欧珀移动通信有限公司 A kind of user interface controls implementation method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193786A (en) * 2010-03-11 2011-09-21 中国工商银行股份有限公司 Device and method for constructing self-adaptive graphic user interface (GUI)
CN103176797A (en) * 2013-02-21 2013-06-26 用友软件股份有限公司 Interface layout device and interface layout method
CN104991707A (en) * 2015-07-20 2015-10-21 青岛海信移动通信技术股份有限公司 User interface displaying method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230052559A1 (en) * 2020-02-10 2023-02-16 Visa International Service Association Network based testing of mobile device kernels system and method

Also Published As

Publication number Publication date
CN105912310A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
WO2017092430A1 (en) Method and device for realizing user interface control based on virtual reality application
US20210082194A1 (en) System and method to integrate content in real time into a dynamic real-time 3-dimensional scene
US9436369B2 (en) Touch interface for precise rotation of an object
US20220249949A1 (en) Method and apparatus for displaying virtual scene, device, and storage medium
CN111803945B (en) Interface rendering method and device, electronic equipment and storage medium
US20140002443A1 (en) Augmented reality interface
US9588651B1 (en) Multiple virtual environments
US11893696B2 (en) Methods, systems, and computer readable media for extended reality user interface
JP2014531693A (en) Motion-controlled list scrolling
WO2013173949A1 (en) Method and device for loading and unloading object hierarchically in three-dimensional virtual reality scene
WO2018000608A1 (en) Method for sharing panoramic image in virtual reality system, and electronic device
JP2023506520A (en) VIRTUAL SCENE DISPLAY METHOD AND APPARATUS, COMPUTER PROGRAM AND ELECTRONIC DEVICE
WO2018000620A1 (en) Method and apparatus for data presentation, virtual reality device, and play controller
CN110120087A (en) The label for labelling method, apparatus and terminal device of three-dimensional sand table
WO2019095360A1 (en) Method and apparatus for handling menu in virtual scene, and storage medium
CN113301506A (en) Information sharing method and device, electronic equipment and medium
WO2018000606A1 (en) Virtual-reality interaction interface switching method and electronic device
CN106485789A (en) A kind of 3D model loading method and its device
CN106325505A (en) Control method and device based on viewpoint tracking
WO2024066756A1 (en) Interaction method and apparatus, and display device
JP5767371B1 (en) Game program for controlling display of objects placed on a virtual space plane
CN105745688B (en) Dynamic duty plane 3D rendering contexts
CN103198518A (en) Resource display method and resource display device
JP2016016319A (en) Game program for display-controlling objects arranged on virtual spatial plane
CN105931285A (en) Control realization method and apparatus in 3D space

Legal Events

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

Ref document number: 16869741

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16869741

Country of ref document: EP

Kind code of ref document: A1