CN115686204A - Electronic device control method, device, terminal and storage medium - Google Patents
Electronic device control method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN115686204A CN115686204A CN202211280014.4A CN202211280014A CN115686204A CN 115686204 A CN115686204 A CN 115686204A CN 202211280014 A CN202211280014 A CN 202211280014A CN 115686204 A CN115686204 A CN 115686204A
- Authority
- CN
- China
- Prior art keywords
- posture
- electronic device
- head
- state
- preset
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本公开涉及信息技术领域,尤其涉及电子设备的控制方法及装置、终端和存储介质。The present disclosure relates to the field of information technology, and in particular, to a control method and device for electronic equipment, a terminal and a storage medium.
背景技术Background technique
通常地,在头戴式设备(例如,VR设备)的视场中具有主界面和调节面板,调节面板中具有各种控件,以例如对各种参数进行调节。通常地,在对调节面板进行操作时,需要用户的头部转动较大幅度,并且通过手柄的射线点击调节面板以进行激活,进而对调节面板进行操作。Generally, there is a main interface and an adjustment panel in the field of view of the head-mounted device (for example, a VR device), and the adjustment panel has various controls, for example, to adjust various parameters. Usually, when operating the adjustment panel, the user's head needs to be rotated to a large extent, and the adjustment panel is activated by clicking on the adjustment panel through the ray of the handle, and then the adjustment panel is operated.
发明内容Contents of the invention
为解决现有问题,本公开提供一种电子设备的控制方法及装置、终端和存储介质。In order to solve the existing problems, the present disclosure provides a method and device for controlling electronic equipment, a terminal, and a storage medium.
本公开采用以下的技术方案。The present disclosure adopts the following technical solutions.
本公开的实施例提供一种电子设备的控制方法,所述电子设备包括头戴式设备,所述电子设备的控制方法包括:获取用户的头部姿态或目光姿态;当所述头部姿态或所述目光姿态满足预设条件时,将所述电子设备的视场中的调节面板向视场中央移动预设距离;当所述头部姿态或所述目光姿态保持第一预设时间时,将所述调节面板中的控件由第一状态更改为第二状态。An embodiment of the present disclosure provides a control method of an electronic device, the electronic device includes a head-mounted device, and the control method of the electronic device includes: acquiring the user's head posture or gaze posture; when the head posture or When the gaze posture satisfies the preset condition, moving the adjustment panel in the field of view of the electronic device to the center of the field of view by a preset distance; when the head posture or the gaze posture is maintained for a first preset time, Change a control in the adjustment panel from a first state to a second state.
本公开的另一实施例提供了一种电子设备的控制装置,所述电子设备包括头戴式设备,所述电子设备的控制装置包括:获取模块,配置为获取用户的头部姿态或目光姿态;预选模块,配置为当所述头部姿态或所述目光姿态满足预设条件时,将所述电子设备的视场中的调节面板向视场中央移动预设距离;状态更改模块,配置为当所述头部姿态或所述目光姿态保持第一预设时间时,将所述调节面板中的控件由第一状态更改为第二状态。Another embodiment of the present disclosure provides a control device for an electronic device, the electronic device includes a head-mounted device, and the control device for the electronic device includes: an acquisition module configured to acquire a user's head posture or gaze posture The preselection module is configured to move the adjustment panel in the field of view of the electronic device to the center of the field of view by a preset distance when the head posture or the gaze posture meets a preset condition; the state change module is configured to When the head posture or the gaze posture is maintained for a first preset time, the controls in the adjustment panel are changed from a first state to a second state.
在一些实施例中,本公开提供一种终端,包括:至少一个存储器和至少一个处理器;其中,存储器用于存储程序代码,处理器用于调用所述存储器所存储的程序代码执行上述电子设备的控制方法。In some embodiments, the present disclosure provides a terminal, including: at least one memory and at least one processor; wherein, the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above-mentioned electronic device. Control Method.
在一些实施例中,本公开提供一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行上述电子设备的控制方法。In some embodiments, the present disclosure provides a storage medium, the storage medium is used for storing program codes, and the program codes are used for executing the above-mentioned electronic device control method.
本公开的实施例通过用户的头部姿态或目光姿态来实现调节面板的自动展开,缩短了交互时长,提升了交互效率。The embodiments of the present disclosure realize the automatic deployment of the adjustment panel through the user's head posture or gaze posture, which shortens the interaction time and improves the interaction efficiency.
附图说明Description of drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,元件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and elements and elements have not necessarily been drawn to scale.
图1是本公开的实施例的电子设备的控制方法的流程图。FIG. 1 is a flowchart of a method for controlling an electronic device according to an embodiment of the present disclosure.
图2示出了本公开的实施例的电子设备的视场的示意图。FIG. 2 shows a schematic diagram of a field of view of an electronic device according to an embodiment of the present disclosure.
图3示出了本公开的实施例的电子设备的视场的示意图。FIG. 3 shows a schematic diagram of a field of view of an electronic device according to an embodiment of the present disclosure.
图4示出了本公开的实施例的电子设备的视场的示意图。FIG. 4 shows a schematic diagram of a field of view of an electronic device according to an embodiment of the present disclosure.
图5是本公开的另一实施例的用于电子设备的控制装置的部分模块。Fig. 5 is a partial module of a control device for an electronic device according to another embodiment of the present disclosure.
图6是本公开实施例的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that various steps described in the method implementation manners of the present disclosure may be executed in sequence and/or in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modification of "a" mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as "one or more" unless the context clearly indicates otherwise.
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.
图1提供了本公开的实施例的电子设备的控制方法的流程图。在一些实施例中,本公开的电子设备包括头戴式设备,例如,虚拟现实(VR)眼镜等。本公开的电子设备的控制方法可以包括步骤S101,获取用户的头部姿态或目光姿态。在一些实施例中,头戴式设备中具有各种传感器,这些传感器可以用于获取用户的头部姿态或目光姿态。在一些实施例中,例如,可以通过获取用户的眼睛的图像,然后经由通过训练的神经网络模型来确定用户的目光在视场中的位置。应该理解,本公开可以采用各种现有的技术来获取用户的头部姿态或目光姿态,并且在本公开的实施例中不再详细描述。FIG. 1 provides a flow chart of a method for controlling an electronic device according to an embodiment of the present disclosure. In some embodiments, the electronic device of the present disclosure includes a head-mounted device, for example, virtual reality (VR) glasses and the like. The control method for an electronic device of the present disclosure may include step S101, acquiring a user's head posture or gaze posture. In some embodiments, there are various sensors in the head-mounted device, and these sensors can be used to acquire the user's head posture or gaze posture. In some embodiments, for example, the position of the user's gaze in the field of view may be determined by acquiring an image of the user's eyes, and then using a trained neural network model. It should be understood that the present disclosure may adopt various existing technologies to obtain the user's head posture or gaze posture, and will not be described in detail in the embodiments of the present disclosure.
在一些实施例中,本公开的方法还可以包括步骤S102,当头部姿态或目光姿态满足预设条件时,将电子设备的视场中的调节面板向视场中央移动预设距离。在一些实施例中,当头部姿态或目光姿态满足预设条件时,表明用户有操作调节面板的意图,此时将电子设备的视场中的调节面板向视场中央移动预设距离,可以便利用户对调节面板的操作,也能够让调节面板在视场中处于有利的可操作位置,同时不影响主界面中的内容的显示。In some embodiments, the method of the present disclosure may further include step S102, when the head posture or gaze posture satisfies a preset condition, moving the adjustment panel in the field of view of the electronic device to the center of the field of view by a preset distance. In some embodiments, when the head posture or gaze posture satisfies the preset condition, it indicates that the user intends to operate the adjustment panel. At this time, moving the adjustment panel in the field of view of the electronic device to the center of the field of view by a preset distance can be It is convenient for the user to operate the adjustment panel, and also enables the adjustment panel to be in a favorable operable position in the field of view without affecting the display of the content in the main interface.
如图2和图3所示,示出了电子设备的视场20、主界面21和调节面板22,当头部姿态或目光姿态满足预设条件时,将电子设备的视场中的调节面板22向视场中央移动预设距离。在一些实施例中,预设距离为调节面板22的靠近主界面21的边缘与主界面21的靠近调节面板22的边缘之间的距离的1/3至2/3,例如1/2。此时,将调节面板22向视场20的中央移动,能够便利用户对调节面板22的操作。As shown in Figures 2 and 3, the field of
在一些实施例中,本公开的方法还可以包括步骤S103,当头部姿态或所述目光姿态保持第一预设时间时,将调节面板中的控件由第一状态更改为第二状态。在一些实施例中,为了避免误操作,当头部姿态或所述目光姿态保持第一预设时间时,将调节面板中的控件由第一状态更改为第二状态,以避免由于其他原因引起的误触发,例如,可能用户只是疲劳的摇摇头或随意的目光扫视。In some embodiments, the method of the present disclosure may further include step S103, changing the control in the adjustment panel from the first state to the second state when the head posture or the gaze posture is maintained for a first preset time. In some embodiments, in order to avoid misoperation, when the head posture or the gaze posture is maintained for the first preset time, the control in the adjustment panel is changed from the first state to the second state, so as to avoid other reasons. False triggers, for example, might just be a fatigued head shake or a casual glance.
本公开的实施例通过检测电子设备的头部姿态或目光姿态来预判用户对调节面板的操作意图,并且直接将相应操作呈现给用户,减少用户的操作步长,提高操作效率。The embodiments of the present disclosure predict the user's operation intention on the adjustment panel by detecting the head posture or gaze posture of the electronic device, and directly present the corresponding operation to the user, reducing the user's operation steps and improving operation efficiency.
在一些实施例中,头部姿态或所述目光姿态满足预设条件包括:头部转动大于等于预设角度,或者目光扫视调节面板第二预设时间。在一些实施例中,头部转动大于等于预设角度或者目光扫视调节面板第二预设时间,这可以通过头戴式设备的传感器确定,进而便于本公开的方法的实现。另外,通过使头部转动大于等于预设角度,或者目光扫视调节面板第二预设时间,能够更大程度地避免误操作。In some embodiments, the head posture or the gaze posture satisfying the preset condition includes: the head rotation is greater than or equal to a preset angle, or the eyes glance at the adjustment panel for a second preset time. In some embodiments, the rotation of the head is greater than or equal to the preset angle or the second preset time of eye glance adjustment panel, which can be determined by the sensor of the head-mounted device, thereby facilitating the implementation of the method of the present disclosure. In addition, by rotating the head at an angle greater than or equal to a preset angle, or scanning the eyes to adjust the panel for a second preset time, misoperations can be avoided to a greater extent.
在一些实施例中,预设角度为12°。如果预设角度太大,则增加了对用户的负担,而如果预设角度太小,则对传感器的灵敏度要求太高,并且容易产生误触发。在一些实施例中,头部转动大于等于预设角度包括头部向下转动,当然,也可以包括其他转动方式,例如,向上转动、向左转动或向右转动等,但是向下转动头部更便利于用户的身体的操作。在一些实施例中,第二预设时间为200ms至300ms。在一些实施例中,如果第二预设时间太短,则更容易引发误操作,而如果第二预设时间太大,则会减弱提高操作效率的效果,In some embodiments, the preset angle is 12°. If the preset angle is too large, the burden on the user will be increased, and if the preset angle is too small, the sensitivity of the sensor will be too high, and false triggering will easily occur. In some embodiments, the rotation of the head greater than or equal to the preset angle includes downward rotation of the head. Of course, other rotation methods may also be included, for example, upward rotation, leftward rotation, or rightward rotation, etc., but downward rotation The head is more convenient for the operation of the user's body. In some embodiments, the second preset time is 200ms to 300ms. In some embodiments, if the second preset time is too short, it is more likely to cause misoperation, and if the second preset time is too large, the effect of improving operating efficiency will be weakened,
在一些实施例中,本公开的电子设备的控制方法还包括:当头部姿态或目光姿态满足预设条件时,在调节面板的周围出现预选框(如图3中的虚线框)。此时,表明调节面板进入预选状态,系统推测用户可能会操作调节面板,以便于给用户以相应的提示和反馈。In some embodiments, the electronic device control method of the present disclosure further includes: when the head posture or gaze posture satisfies a preset condition, a preselection frame appears around the adjustment panel (such as the dotted line frame in FIG. 3 ). At this point, it indicates that the adjustment panel is in the pre-selected state, and the system speculates that the user may operate the adjustment panel, so as to give corresponding prompts and feedback to the user.
在一些实施例中,在调节面板的初始状态,调节面板位于电子设备的视场中的边缘位置。如图2所示,通常地,在未打算操作调节面板时,调节面板位于电子设备的视场中的边缘位置,以降低对观看主界面显示的内容的干扰。In some embodiments, in the initial state of the adjustment panel, the adjustment panel is located at the edge of the field of view of the electronic device. As shown in FIG. 2 , generally, when the adjustment panel is not intended to be operated, the adjustment panel is located at the edge of the field of view of the electronic device, so as to reduce interference to watching content displayed on the main interface.
在一些实施例中,第一预设时间为300ms至500ms。在一些实施例中,如果第一预设时间太短,则容易引起误操作的发生,如果第一预设时间太长,则会减弱提高操作效率的效果。在一些实施例中,例如,头部转动满足预设条件的相应角度之后保持350ms或者目光注视调节面板350ms。In some embodiments, the first preset time is 300ms to 500ms. In some embodiments, if the first preset time is too short, misoperation may easily occur, and if the first preset time is too long, the effect of improving operation efficiency will be weakened. In some embodiments, for example, the head is held for 350 ms after the corresponding angle satisfying the preset condition or the gaze is fixed on the adjustment panel for 350 ms.
在一些实施例中,第一状态包括半隐藏的收起状态,在未操作调节面板时,调节面板处于半隐藏的收起状态,例如,仅显示相应的标识,例如,亮度标识或声音标识,以降低对观看主界面显示的内容的干扰。在一些实施例中,第二状态包括展开状态。如图3和图4所示,将调节面板中的控件由第一状态更改为第二状态,此时,调节面板的控件也由半隐藏的收起状态更改为完全的展开状态,便于用户的进一步操作,提高用户操作的效率和便捷性。In some embodiments, the first state includes a semi-hidden stowed state. When the adjustment panel is not operated, the adjustment panel is in the half-hidden stowed state, for example, only corresponding signs are displayed, such as brightness signs or sound signs, In order to reduce the interference to watching the content displayed on the main interface. In some embodiments, the second state includes an expanded state. As shown in Figure 3 and Figure 4, the controls in the adjustment panel are changed from the first state to the second state. At this time, the controls on the adjustment panel are also changed from a semi-hidden closed state to a fully expanded state, which is convenient for users. Further operations to improve the efficiency and convenience of user operations.
本公开基于头戴式设备收集到的头部姿态和目光姿态的数据,进而确定用户对调节面板的操作的意向,使调节面板和其中的控件自动展开,缩短交互步长,提高操作效率。Based on the head posture and gaze posture data collected by the head-mounted device, the disclosure further determines the user's intention to operate the adjustment panel, automatically expands the adjustment panel and controls therein, shortens the interaction step, and improves operation efficiency.
本公开的实施例还提供了一种电子设备的控制装置400。电子设备包括头戴式设备。电子设备的控制装置400包括获取模块401、预选模块402和状态更改模块403。在一些实施例中,获取模块401配置为获取用户的头部姿态或目光姿态。在一些实施例中,预选模块402配置为当头部姿态或目光姿态满足预设条件时,将电子设备的视场中的调节面板向视场中央移动预设距离。在一些实施例中,状态更改模块403配置为当头部姿态或目光姿态保持第一预设时间时,将调节面板中的控件由第一状态更改为第二状态。The embodiment of the present disclosure also provides a
应该理解,关于电子设备的控制方法描述的内容也适用于此处的用于电子设备的控制装置200,为了简单的目的,在此不进行详细描述。It should be understood that the content described about the control method of the electronic device is also applicable to the control device 200 for the electronic device here, and for the purpose of simplicity, no detailed description is given here.
在一些实施例中,头部姿态或目光姿态满足预设条件包括:头部转动大于等于预设角度,或者目光扫视调节面板第二预设时间。在一些实施例中,预设角度为12°,第二预设时间为200ms至300ms。在一些实施例中,预选模块还配置为:当头部姿态或目光姿态满足预设条件时,在调节面板的周围出现预选框。在一些实施例中,在调节面板的初始状态,调节面板位于电子设备的视场中的边缘位置。在一些实施例中,第一预设时间为300ms至500ms。在一些实施例中,第一状态包括半隐藏的收起状态,第二状态包括展开状态。In some embodiments, the head posture or gaze posture satisfying the preset condition includes: the head turning is greater than or equal to a preset angle, or the eyes glance at the adjustment panel for a second preset time. In some embodiments, the preset angle is 12°, and the second preset time is 200ms to 300ms. In some embodiments, the preselection module is further configured to: when the head posture or gaze posture meets the preset condition, a preselection frame appears around the adjustment panel. In some embodiments, in the initial state of the adjustment panel, the adjustment panel is located at the edge of the field of view of the electronic device. In some embodiments, the first preset time is 300ms to 500ms. In some embodiments, the first state includes a semi-concealed stowed state, and the second state includes an unfolded state.
此外,本公开还提供一种终端,包括:至少一个存储器和至少一个处理器;其中,所述存储器用于存储程序代码,所述处理器用于调用所述存储器所存储的程序代码以执行上述电子设备的控制方法。In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; wherein, the memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above electronic The control method of the device.
此外,本公开还提供一种计算机存储介质,该计算机存储介质存储有程序代码,程序代码用于执行上述电子设备的控制方法。In addition, the present disclosure also provides a computer storage medium, where the computer storage medium stores program codes, and the program codes are used to execute the above-mentioned electronic device control method.
以上,基于实施例和应用例说明了本公开的电子设备的控制方法及装置。此外,本公开还提供一种终端及存储介质,以下说明这些终端和存储介质。Above, based on the embodiments and application examples, the electronic device control method and device of the present disclosure have been described. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
下面参考图6,其示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)500的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 500 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in FIG. 6 is only an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
如图6所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储装置508加载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM503中,还存储有电子设备500操作所需的各种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 6, an
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备500,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 505:
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 509 , or from storage means 508 , or from
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server can communicate using any currently known or future-developed network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium (eg, communication network) interconnections. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的本公开的方法。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned method of the present disclosure.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种电子设备的控制方法,所述电子设备包括头戴式设备,所述电子设备的控制方法包括:获取用户的头部姿态或目光姿态;当所述头部姿态或所述目光姿态满足预设条件时,将所述电子设备的视场中的调节面板向视场中央移动预设距离;当所述头部姿态或所述目光姿态保持第一预设时间时,将所述调节面板中的控件由第一状态更改为第二状态。According to one or more embodiments of the present disclosure, a method for controlling an electronic device is provided, the electronic device includes a head-mounted device, and the method for controlling the electronic device includes: acquiring a user's head posture or gaze posture; When the head posture or the gaze posture meets a preset condition, move the adjustment panel in the field of view of the electronic device to the center of the field of view by a preset distance; when the head posture or the gaze posture remains At the first preset time, the controls in the adjustment panel are changed from the first state to the second state.
根据本公开的一个或多个实施例,所述头部姿态或所述目光姿态满足预设条件包括:头部转动大于等于预设角度,或者目光扫视所述调节面板第二预设时间。According to one or more embodiments of the present disclosure, the meeting the preset condition of the head posture or the gaze posture includes: turning the head greater than or equal to a preset angle, or scanning the adjustment panel for a second preset time.
根据本公开的一个或多个实施例,所述预设角度为12°,所述第二预设时间为200ms至300ms。According to one or more embodiments of the present disclosure, the preset angle is 12°, and the second preset time is 200ms to 300ms.
根据本公开的一个或多个实施例,电子设备的控制方法还包括:当所述头部姿态或所述目光姿态满足预设条件时,在所述调节面板的周围出现预选框。According to one or more embodiments of the present disclosure, the electronic device control method further includes: when the head posture or the gaze posture meets a preset condition, a preselection frame appears around the adjustment panel.
根据本公开的一个或多个实施例,在所述调节面板的初始状态,所述调节面板位于所述电子设备的视场中的边缘位置。According to one or more embodiments of the present disclosure, in the initial state of the adjustment panel, the adjustment panel is located at the edge of the field of view of the electronic device.
根据本公开的一个或多个实施例,所述第一预设时间为300ms至500ms。According to one or more embodiments of the present disclosure, the first preset time is 300ms to 500ms.
根据本公开的一个或多个实施例,所述第一状态包括半隐藏的收起状态,所述第二状态包括展开状态。According to one or more embodiments of the present disclosure, the first state includes a semi-hidden stowed state, and the second state includes an unfolded state.
根据本公开的一个或多个实施例,提供了一种电子设备的控制装置,所述电子设备包括头戴式设备,所述电子设备的控制装置包括:获取模块,配置为获取用户的头部姿态或目光姿态;预选模块,配置为当所述头部姿态或所述目光姿态满足预设条件时,将所述电子设备的视场中的调节面板向视场中央移动预设距离;状态更改模块,配置为当所述头部姿态或所述目光姿态保持第一预设时间时,将所述调节面板中的控件由第一状态更改为第二状态。According to one or more embodiments of the present disclosure, a control device for an electronic device is provided, the electronic device includes a head-mounted device, and the control device for the electronic device includes: an acquisition module configured to acquire a user's head Posture or gaze posture; a preselection module configured to move the adjustment panel in the field of view of the electronic device to the center of the field of view by a preset distance when the head posture or the gaze posture meets a preset condition; state change A module configured to change the control in the adjustment panel from the first state to the second state when the head posture or the gaze posture is maintained for a first preset time.
根据本公开的一个或多个实施例,提供了一种终端,包括:至少一个存储器和至少一个处理器;其中,所述至少一个存储器用于存储程序代码,所述至少一个处理器用于调用所述至少一个存储器所存储的程序代码执行上述中任一项所述的方法。According to one or more embodiments of the present disclosure, there is provided a terminal, including: at least one memory and at least one processor; wherein, the at least one memory is used to store program codes, and the at least one processor is used to call the The program code stored in the at least one memory executes the method described in any one of the above.
根据本公开的一个或多个实施例,提供了一种存储介质,所述存储介质用于存储程序代码,所述程序代码用于执行上述的方法。According to one or more embodiments of the present disclosure, a storage medium is provided, the storage medium is used for storing program code, and the program code is used for executing the above method.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principles. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, while operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several specific implementation details, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211280014.4A CN115686204A (en) | 2022-10-19 | 2022-10-19 | Electronic device control method, device, terminal and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211280014.4A CN115686204A (en) | 2022-10-19 | 2022-10-19 | Electronic device control method, device, terminal and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115686204A true CN115686204A (en) | 2023-02-03 |
Family
ID=85065688
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211280014.4A Pending CN115686204A (en) | 2022-10-19 | 2022-10-19 | Electronic device control method, device, terminal and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115686204A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106937531A (en) * | 2014-06-14 | 2017-07-07 | 奇跃公司 | Method and system for generating virtual and augmented reality |
| CN110908501A (en) * | 2018-09-14 | 2020-03-24 | 脸谱科技有限责任公司 | Display opacity control to prevent field of view occlusion in artificial reality |
| CN112540677A (en) * | 2020-12-18 | 2021-03-23 | 浙江合众新能源汽车有限公司 | Control method, device and system of vehicle-mounted intelligent equipment and computer readable medium |
| CN112870694A (en) * | 2021-03-22 | 2021-06-01 | 腾讯科技(深圳)有限公司 | Virtual scene picture display method and device, electronic equipment and storage medium |
| CN114020156A (en) * | 2015-09-24 | 2022-02-08 | 托比股份公司 | Wearable device capable of eye tracking |
-
2022
- 2022-10-19 CN CN202211280014.4A patent/CN115686204A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106937531A (en) * | 2014-06-14 | 2017-07-07 | 奇跃公司 | Method and system for generating virtual and augmented reality |
| CN114020156A (en) * | 2015-09-24 | 2022-02-08 | 托比股份公司 | Wearable device capable of eye tracking |
| CN110908501A (en) * | 2018-09-14 | 2020-03-24 | 脸谱科技有限责任公司 | Display opacity control to prevent field of view occlusion in artificial reality |
| CN112540677A (en) * | 2020-12-18 | 2021-03-23 | 浙江合众新能源汽车有限公司 | Control method, device and system of vehicle-mounted intelligent equipment and computer readable medium |
| CN112870694A (en) * | 2021-03-22 | 2021-06-01 | 腾讯科技(深圳)有限公司 | Virtual scene picture display method and device, electronic equipment and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7553582B2 (en) | Method and apparatus for processing special image effects | |
| EP4210320A1 (en) | Video processing method, terminal device and storage medium | |
| CN110427150A (en) | Display methods, device, electronic equipment and the computer-readable medium of application program | |
| CN115022696B (en) | Video preview method and device, readable medium and electronic equipment | |
| WO2022052774A1 (en) | Electronic device control method and apparatus, and terminal and storage medium | |
| CN116934577A (en) | Method, device, equipment and medium for generating style image | |
| EP4297415A1 (en) | Information display method and apparatus based on video, and device and medium | |
| WO2024255809A1 (en) | Media content processing method and apparatus, device, readable storage medium, and product | |
| CN111710046A (en) | Interactive method, apparatus and electronic device | |
| CN110795196A (en) | Window display method, device, terminal and storage medium | |
| WO2023138429A1 (en) | Multimedia display method and apparatus, and readable medium and electronic device | |
| WO2024027648A1 (en) | Information display method and apparatus, and electronic device and storage medium | |
| CN109710167A (en) | Soft keyboard control method, device and terminal | |
| CN116405737A (en) | Interaction method, interaction device, electronic equipment and storage medium | |
| CN115543509A (en) | Display method, device, electronic device and storage medium of session list | |
| US12293063B2 (en) | Display orientation locking method, electronic device, and medium | |
| WO2025040143A1 (en) | Interface interaction method for 3d space and ar device | |
| CN115686204A (en) | Electronic device control method, device, terminal and storage medium | |
| CN116540874A (en) | Information processing method, device, terminal and storage medium | |
| CN115390776A (en) | Screen projection control method, device, terminal and storage medium | |
| CN113703704B (en) | Interface display method, head-mounted display device, and computer-readable medium | |
| CN113608816B (en) | Progress adjustment method and device, electronic equipment and storage medium | |
| WO2023072070A1 (en) | Display control method and apparatus, and electronic device | |
| CN116501204A (en) | Information display method, device, electronic device and storage medium | |
| WO2023056925A1 (en) | Document content updating method and apparatus, and electronic device |
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 |