[go: up one dir, main page]

CN107085489A - A control method and electronic device - Google Patents

A control method and electronic device Download PDF

Info

Publication number
CN107085489A
CN107085489A CN201710171257.7A CN201710171257A CN107085489A CN 107085489 A CN107085489 A CN 107085489A CN 201710171257 A CN201710171257 A CN 201710171257A CN 107085489 A CN107085489 A CN 107085489A
Authority
CN
China
Prior art keywords
display area
cursor
initial position
display
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
Application number
CN201710171257.7A
Other languages
Chinese (zh)
Inventor
万喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710171257.7A priority Critical patent/CN107085489A/en
Publication of CN107085489A publication Critical patent/CN107085489A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/012Head tracking input arrangements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of control method, including:Electronic equipment detects the region presented by eyeglass module and is moved to the second viewing area from the first viewing area, wherein, the viewing area is the physically displayed region and/or virtual viewing area that objective body can be observed using the eyeglass module;Detect whether there is cursor moving operation, when it is present, determine the corresponding initial position in second viewing area;The cursor moving operation is responded, cursor is presented on second viewing area based on the initial position, the cursor is facilitated the use and carries out corresponding operating on second viewing area.The embodiment of the invention also discloses a kind of electronic equipment.

Description

一种控制方法及电子设备A control method and electronic device

技术领域technical field

本发明涉及控制技术,尤其涉及一种控制方法及电子设备。The invention relates to control technology, in particular to a control method and electronic equipment.

背景技术Background technique

针对配合头戴设备的虚拟显示技术,通常需要配合鼠标在显示界面(如虚拟屏幕或实体屏幕)上进行操作和定位,这里,当显示界面范围变大时,可能需要鼠标在虚拟屏幕之间、或虚拟屏幕与实体屏幕之间、或多个实体屏幕之间进行切换,如此,如何快速定位鼠标在显示界面中的光标则成为在多个屏幕之间实现高效操作的关键所在。For the virtual display technology that cooperates with head-mounted devices, it is usually necessary to cooperate with the mouse to operate and position on the display interface (such as a virtual screen or a physical screen). Or switch between a virtual screen and a physical screen, or between multiple physical screens. In this way, how to quickly position the cursor of the mouse in the display interface becomes the key to achieving efficient operations between multiple screens.

发明内容Contents of the invention

为解决现有存在的技术问题,本发明实施例提供了一种控制方法及电子设备,能至少解决现有技术中存在的上述问题。In order to solve the existing technical problems, embodiments of the present invention provide a control method and electronic equipment, which can at least solve the above-mentioned problems in the prior art.

本发明实施例的技术方案是这样实现的:The technical scheme of the embodiment of the present invention is realized like this:

本发明实施例第一方面提供了一种控制方法,所述方法包括:The first aspect of the embodiment of the present invention provides a control method, the method comprising:

电子设备检测到通过镜片模组呈现的区域从第一显示区域移动到第二显示区域,其中,所述显示区域为目标体能够利用所述镜片模组观测到的物理显示区域和/或虚拟显示区域;The electronic device detects that the area presented by the lens module moves from the first display area to the second display area, wherein the display area is a physical display area and/or a virtual display that can be observed by the target object using the lens module area;

检测是否存在光标移动操作,当存在时,确定出所述第二显示区域对应的初始位置;Detecting whether there is a cursor movement operation, and if so, determining the initial position corresponding to the second display area;

响应所述光标移动操作,基于所述初始位置在所述第二显示区域上呈现光标,以便于利用所述光标在所述第二显示区域上进行相应操作。In response to the cursor movement operation, a cursor is presented on the second display area based on the initial position, so as to use the cursor to perform corresponding operations on the second display area.

上述方案中,所述方法还包括:In the above scheme, the method also includes:

检测所述光标是否处于所述第二显示区域;detecting whether the cursor is in the second display area;

当处于所述第二显示区域时,将所述光标在所述第二显示区域的当前位置作为所述初始位置;或者,When in the second display area, using the current position of the cursor in the second display area as the initial position; or,

当未处于所述第二显示区域时,确定出所述第二显示区域对应的初始位置。When not in the second display area, determine an initial position corresponding to the second display area.

上述方案中,所述确定出所述第二显示区域对应的初始位置,包括:In the above solution, the determination of the initial position corresponding to the second display area includes:

获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置;或者,Acquire a preset position corresponding to the second display area, and determine the preset position as the initial position; or,

检测是否存在预设时间范围内的针对所述第二显示区域的第一光标历史数据,基于检测结果确定出所述第二显示区域对应的初始位置;其中,所述第一光标历史数据中存储有所述预设时间范围内所述光标在所述第二显示区域的历史显示位置。Detecting whether there is first cursor history data for the second display area within a preset time range, and determining the initial position corresponding to the second display area based on the detection result; wherein, the first cursor history data is stored in There are historical display positions of the cursor in the second display area within the preset time range.

上述方案中,所述基于检测结果确定出所述第二显示区域对应的初始位置,包括:In the above solution, the determination of the initial position corresponding to the second display area based on the detection result includes:

确定存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,将所述第一光标历史数据所表征的历史显示位置作为所述初始位置;或者,When it is determined that there is first cursor historical data for the second display area within a preset time range, the historical display position represented by the first cursor historical data is used as the initial position; or,

确定不存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置。When it is determined that there is no first cursor history data for the second display area within a preset time range, a preset position corresponding to the second display area is acquired, and the preset position is determined as the initial position.

上述方案中,所述在所述第二显示区域上呈现光标,包括:In the above solution, the presenting the cursor on the second display area includes:

确定出预设光标显示模式,以所述预设光标显示模式在所述第二显示区域上呈现所述光标。A preset cursor display mode is determined, and the cursor is presented on the second display area in the preset cursor display mode.

本发明实施例第二方面提供了一种电子设备,所述电子设备包括:The second aspect of the embodiment of the present invention provides an electronic device, and the electronic device includes:

检测装置,用于检测到通过镜片模组呈现的区域从第一显示区域移动到第二显示区域,其中,所述显示区域为目标体能够利用所述镜片模组观测到的物理显示区域和/或虚拟显示区域;还用于检测是否存在光标移动操作;The detection device is used to detect that the area presented by the lens module moves from the first display area to the second display area, wherein the display area is a physical display area that can be observed by the target object using the lens module and/or Or virtual display area; also used to detect whether there is a cursor movement operation;

处理器,用于确定存在光标移动操作时,确定出所述第二显示区域对应的初始位置;还用于响应所述光标移动操作,基于所述初始位置在所述第二显示区域上呈现光标,以便于利用所述光标在所述第二显示区域上进行相应操作。The processor is configured to determine an initial position corresponding to the second display area when determining that there is a cursor movement operation; and is also configured to present a cursor on the second display area based on the initial position in response to the cursor movement operation , so as to use the cursor to perform corresponding operations on the second display area.

上述方案中,所述检测装置,还用于检测所述光标是否处于所述第二显示区域;对应地,In the above solution, the detection device is also used to detect whether the cursor is in the second display area; correspondingly,

所述处理器,还用于当确定处于所述第二显示区域时,将所述光标在所述第二显示区域的当前位置作为所述初始位置;或者,当确定未处于所述第二显示区域时,确定出所述第二显示区域对应的初始位置。The processor is further configured to use the current position of the cursor in the second display area as the initial position when it is determined that it is in the second display area; or, when it is determined that it is not in the second display area area, determine the initial position corresponding to the second display area.

上述方案中,所述处理器,还用于获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置;或者,检测是否存在预设时间范围内的针对所述第二显示区域的第一光标历史数据,基于检测结果确定出所述第二显示区域对应的初始位置;其中,所述第一光标历史数据中存储有所述预设时间范围内所述光标在所述第二显示区域的历史显示位置。In the above solution, the processor is further configured to acquire a preset position corresponding to the second display area, and determine the preset position as the initial position; or, detect whether there is a target within a preset time range. The first cursor history data of the second display area is based on the detection result to determine the corresponding initial position of the second display area; wherein, the first cursor history data stores the The historical display position of the cursor in the second display area.

上述方案中,所述处理器,还用于确定存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,将所述第一光标历史数据所表征的历史显示位置作为所述初始位置;或者,确定不存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置。In the above solution, the processor is further configured to use the historical display position represented by the first cursor historical data as The initial position; or, when it is determined that there is no first cursor history data for the second display area within the preset time range, obtain a preset position corresponding to the second display area, and set the preset position to determined as the initial position.

上述方案中,所述处理器,还用于确定出预设光标显示模式,以所述预设光标显示模式在所述第二显示区域上呈现所述光标In the above solution, the processor is further configured to determine a preset cursor display mode, and present the cursor on the second display area in the preset cursor display mode

本发明实施例所述的控制方法及电子设备,通过检测到呈现的区域从第一显示区域移动到第二显示区域,且检测到存在光标移动操作时,确定出所述第二显示区域对应的初始位置,进而基于所述初始位置响应所述光标移动操作,并在所述第二显示区域的所述初始位置上呈现所述光标,如此,使得所述光标能够随着用户的观测区域的变化而自动变化,而且,变化后的初始位置还可以根据用户实际需求而任意设置,因此,本发明实施例在满足用户个性化需求的同时,能够实现在多个显示区域之间高效并快速定位显示界面中的光标的目的;进一步地,由于所述光标能够随着用户观测区域的移动而有针对性变化,所以,本发明实施例能够避免由于在多显示区域之间寻找光标而导致眼部疲劳的问题,提升了用户体验。In the control method and electronic device described in the embodiments of the present invention, by detecting that the presented area moves from the first display area to the second display area and that there is a cursor movement operation, it is determined that the area corresponding to the second display area An initial position, and responding to the cursor movement operation based on the initial position, and presenting the cursor at the initial position of the second display area, so that the cursor can follow the change of the user's observation area It changes automatically, and the changed initial position can also be set arbitrarily according to the actual needs of the user. Therefore, the embodiment of the present invention can realize efficient and fast positioning and display among multiple display areas while meeting the individual needs of the user. The purpose of the cursor in the interface; further, since the cursor can be changed in a targeted manner with the movement of the user's observation area, the embodiment of the present invention can avoid eye fatigue caused by looking for the cursor between multiple display areas problems and improve the user experience.

附图说明Description of drawings

图1为本发明实施例一控制方法的实现流程示意图;FIG. 1 is a schematic diagram of the implementation flow of a control method according to Embodiment 1 of the present invention;

图2为本发明实施例控制方法的应用场景示意图一;FIG. 2 is a schematic diagram of an application scenario 1 of a control method according to an embodiment of the present invention;

图3为本发明实施例控制方法的应用场景示意图二;FIG. 3 is a second schematic diagram of an application scenario of a control method according to an embodiment of the present invention;

图4(a)和图4(b)为本发明实施例光标在显示区域的移动示意图;Fig. 4 (a) and Fig. 4 (b) are the schematic diagrams of the movement of the cursor in the display area according to the embodiment of the present invention;

图5为本发明实施例电子设备的组成结构示意图。FIG. 5 is a schematic diagram of the composition and structure of an electronic device according to an embodiment of the present invention.

具体实施方式detailed description

目前,常采用变大鼠标对应的光标尺寸的方式来辅助用户在多个显示界面(如虚拟屏幕或实体屏幕)中去定位光标,但是,当用户将光标从一个位置移动到另外一个位置,若此时光标所处另外一个位置所在的显示界面超出用户可视区域,则即使光标尺寸发生变化,用户也无法获知光标位置,也就是说,现有光标定位方法不能实现快速定位光标的目的,操作方式较为低效,而且,现有方式容易造成用户眼部疲劳感,降低了用户体验。因此,为解决上述问题本发明实施例提供了一种控制方法及电子设备;进一步地,为了能够更加详尽地了解本发明的特点与技术内容,下面结合附图对本发明的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明。At present, the method of increasing the size of the cursor corresponding to the mouse is often used to assist the user to locate the cursor in multiple display interfaces (such as virtual screens or physical screens). However, when the user moves the cursor from one position to another, if At this time, the display interface where the cursor is in another position is beyond the user's visible area, even if the size of the cursor changes, the user cannot know the cursor position, that is to say, the existing cursor positioning method cannot realize the purpose of quickly locating the cursor. The method is relatively inefficient, and the existing method is likely to cause eye fatigue of the user and reduce the user experience. Therefore, in order to solve the above problems, the embodiment of the present invention provides a control method and electronic equipment; further, in order to understand the characteristics and technical content of the present invention in more detail, the implementation of the present invention will be described in detail below in conjunction with the accompanying drawings, so The accompanying drawings are for reference and description only, and are not intended to limit the present invention.

实施例一Embodiment one

本实施例提供了一种控制方法,具体地,所述方法应用于电子设备,所述电子设备设置有镜片模组,如所述电子设备为头戴式虚拟显示VR设备,或者为头戴式增强现实AR设备(如智能眼镜等),这样,当用户穿戴所述电子设备时,能够透光所述镜片模组观测到所述镜片模组对应的目标区域,甚至当用户穿戴所述电子设备的穿戴部位(如头部)移动时,用户通过所述镜片模组观测到目标区域能够随所述穿戴部位的移动而发生变化;进一步地,当用户穿戴所述电子设备后,还能够通过与所述电子设备连接的外部设备,如鼠标或触摸板等在电子设备对应的显示界面上进行移动和/或选择操作;这里,所述电子设备对应的显示界面可以包含所述电子设备投射出的虚拟显示区域,或者所述电子设备连接的物理显示屏呈现出的物理显示区域、或者既包含有所述虚拟显示区域又包含有所述物理显示区域的总显示区域。与windows系统中的光标类似,用户能够通过移动鼠标或滑动触摸板,来控制显示界面中的光标的移动操作和/或选择操作,即控制光标在物理显示区域和/或虚拟显示区域上进行移动操作和/或选择操作。This embodiment provides a control method. Specifically, the method is applied to an electronic device, and the electronic device is provided with a lens module. For example, the electronic device is a head-mounted virtual display VR device, or a head-mounted Augmented reality AR equipment (such as smart glasses, etc.), so that when the user wears the electronic device, the lens module can pass through the lens module to observe the target area corresponding to the lens module, even when the user wears the electronic device When the wearing part (such as the head) of the device moves, the user observes that the target area can change with the movement of the wearing part through the lens module; furthermore, when the user wears the electronic device, it can also An external device connected to the electronic device, such as a mouse or a touchpad, performs a movement and/or selection operation on a display interface corresponding to the electronic device; here, the display interface corresponding to the electronic device may include The virtual display area, or the physical display area presented by the physical display screen connected to the electronic device, or the total display area including both the virtual display area and the physical display area. Similar to the cursor in the windows system, the user can control the movement and/or selection operation of the cursor in the display interface by moving the mouse or sliding the touchpad, that is, to control the cursor to move on the physical display area and/or the virtual display area Action and/or Select Action.

图1为本发明实施例一控制方法的实现流程示意图,如图1所示,所述方法包括:Fig. 1 is a schematic diagram of the implementation flow of a control method according to Embodiment 1 of the present invention. As shown in Fig. 1, the method includes:

步骤101:电子设备检测到通过镜片模组呈现的区域从第一显示区域移动到第二显示区域,其中,所述显示区域为目标体能够利用所述镜片模组观测到的物理显示区域和/或虚拟显示区域;Step 101: The electronic device detects that the area presented by the lens module moves from the first display area to the second display area, wherein the display area is a physical display area that can be observed by the target object using the lens module and/or or virtual display area;

本实施例中,所述显示区域为所述电子设备对应的显示界面中的至少部分区域。在实际应用中,当电子设备对应的显示界面超出用户的可视角范围时,电子设备能够检测到用户观测到的显示区域是否发生变化,例如,检测到用户的观测区域从第一显示区域移动到第二显示区域。In this embodiment, the display area is at least a partial area of a display interface corresponding to the electronic device. In practical applications, when the display interface corresponding to the electronic device exceeds the viewing angle range of the user, the electronic device can detect whether the display area observed by the user changes, for example, it detects that the user's observation area moves from the first display area to Second display area.

步骤102:检测是否存在光标移动操作,当存在时,确定出所述第二显示区域对应的初始位置;Step 102: Detect whether there is a cursor movement operation, and if so, determine the initial position corresponding to the second display area;

在实际应用中,当用户移动鼠标,或者滑动触摸板时均能够使电子设备检测到光标移动操作。In practical applications, when the user moves the mouse or slides the touch panel, the electronic device can detect the cursor movement operation.

步骤103:响应所述光标移动操作,基于所述初始位置在所述第二显示区域上呈现光标,以便于利用所述光标在所述第二显示区域上进行相应操作。Step 103: In response to the cursor movement operation, present a cursor on the second display area based on the initial position, so as to use the cursor to perform corresponding operations on the second display area.

在一具体实施例中,所述电子设备先确定出预设光标显示模式,进而以所述预设光标显示模式在所述第二显示区域上呈现所述光标,这里,所述预设光标显示模式可以包含光标闪烁、光标颜色变化或者光标尺寸发生变化等预设模式中的一种或几种的混合。这样,便于通过改变光标的显示模式辅助用户定位光标,为提升用户体验奠定了基础。In a specific embodiment, the electronic device first determines a preset cursor display mode, and then presents the cursor on the second display area in the preset cursor display mode, where the preset cursor display The mode may include one or a combination of preset modes such as cursor blinking, cursor color change, or cursor size change. In this way, it is convenient to assist the user to locate the cursor by changing the display mode of the cursor, which lays a foundation for improving user experience.

这样,本发明实施例所述的方法,通过检测到呈现的区域从第一显示区域移动到第二显示区域,且检测到存在光标移动操作时,确定出所述第二显示区域对应的初始位置,进而基于所述初始位置响应所述光标移动操作,并在所述第二显示区域的所述初始位置上呈现所述光标,如此,使得所述光标能够随着用户的观测区域的变化而自动变化,而且,变化后的初始位置还可以是根据用户实际需求而任意设置,因此,本发明实施例所述的方法在满足用户个性化需求的同时,能够实现在多个显示区域之间高效并快速定位显示界面中的光标的目的;进一步地,由于所述光标能够随着用户观测区域的移动而有针对性变化,所以,本发明实施例能够避免由于在多显示区域之间寻找光标而导致眼部疲劳的问题,提升了用户体验。In this way, the method described in the embodiment of the present invention determines the initial position corresponding to the second display area by detecting that the presented area moves from the first display area to the second display area and that there is a cursor movement operation. , further responding to the cursor movement operation based on the initial position, and presenting the cursor at the initial position of the second display area, so that the cursor can automatically move as the user's observation area changes change, and the changed initial position can also be set arbitrarily according to the actual needs of the user. Therefore, the method described in the embodiment of the present invention can achieve efficient and consistent display among multiple display areas while meeting the individual needs of the user. The purpose of quickly locating the cursor in the display interface; furthermore, since the cursor can be changed in a targeted manner as the user observes the area, the embodiment of the present invention can avoid problems caused by searching for the cursor between multiple display areas. The problem of eye fatigue has been improved to improve the user experience.

而且,本发明实施例中光标的移动是有针对性进行的,即在当用户观测区域从第一显示区域移动到第二显示区域,且存在光标移动操作时,所述电子设备才会调整光标的显示,使光标在用户当前观测的第二显示区域中显示,如此,避免了光标的频繁移动,使光标移动准确有效,进一步提升了用户体验。Moreover, the movement of the cursor in the embodiment of the present invention is targeted, that is, when the user's observation area moves from the first display area to the second display area, and there is a cursor movement operation, the electronic device will adjust the cursor The display enables the cursor to be displayed in the second display area currently observed by the user. In this way, frequent movement of the cursor is avoided, the movement of the cursor is accurate and effective, and the user experience is further improved.

实施例二Embodiment two

基于实施例一所述的方法,本实施例给出了确定所述第二显示区域对应的初始位置的几种具体方式,具体地,Based on the method described in Embodiment 1, this embodiment provides several specific ways of determining the initial position corresponding to the second display area, specifically,

方式一,当检测存在所述光标移动操作时,所述电子设备还检测所述光标是否处于所述第二显示区域;进一步地,当检测到所述光标处于所述第二显示区域时,将所述光标在所述第二显示区域的当前位置作为所述初始位置;否则,确定出所述第二显示区域对应的初始位置(这里,该初始位置可以为预设位置,也可以为历史显示位置)。也就是说,在一具体实施例中,所述电子设备在确定存在所述光标移动操作时,先检测用户当前的观测区域,即第二显示区域中是否存在有所述光标,若存在有,则将光标的当前位置作为所述初始位置,也即此时不移动光标;否则,获取所述第二显示区域对应的初始位置,将所述光标呈现在所述第二显示区域的初始位置上,该初始位置可以是预设位置,如第二显示区域的中间位置,也可以是光标在第二显示区域的历史显示位置,当然,在实际应用中,初始位置可以根据实际需求而任意设置,本实施例对此不做限制。例如,在另一具体实施例中,所述获取所述第二显示区域对应的初始位置,包括:检测是否存在预设时间范围内的针对所述第二显示区域的第一光标历史数据,这里,所述第一光标历史数据中存储有预设时间范围内所述光标在所述第二显示区域的历史显示位置;进而基于检测结果确定出所述第二显示区域对应的初始位置,例如,当存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,将所述第一光标历史数据所表征的历史显示位置作为所述初始位置;否则,获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置。Mode 1, when detecting that the cursor is moved, the electronic device also detects whether the cursor is in the second display area; further, when detecting that the cursor is in the second display area, the electronic device will The current position of the cursor in the second display area is used as the initial position; otherwise, the initial position corresponding to the second display area is determined (here, the initial position can be a preset position or a historical display Location). That is to say, in a specific embodiment, when the electronic device determines that there is the cursor movement operation, it first detects whether the user's current observation area, that is, whether the cursor exists in the second display area, and if so, Then take the current position of the cursor as the initial position, that is, do not move the cursor at this time; otherwise, obtain the initial position corresponding to the second display area, and present the cursor at the initial position of the second display area , the initial position can be a preset position, such as the middle position of the second display area, or the historical display position of the cursor in the second display area. Of course, in practical applications, the initial position can be set arbitrarily according to actual needs. This embodiment does not limit this. For example, in another specific embodiment, the acquiring the initial position corresponding to the second display area includes: detecting whether there is first cursor history data for the second display area within a preset time range, where , the historical display position of the cursor in the second display area within a preset time range is stored in the first cursor historical data; and then the initial position corresponding to the second display area is determined based on the detection result, for example, When there is first cursor historical data for the second display area within a preset time range, use the historical display position represented by the first cursor historical data as the initial position; otherwise, acquire the second cursor data A preset position corresponding to the display area is determined as the initial position.

方式二,当检测存在所述光标移动操作时,所述电子设备获取所述第二显示区域对应的预设位置,并将所述预设位置确定为所述初始位置;或者,所述电子设备检测是否存在预设时间范围内的针对所述第二显示区域的第一光标历史数据,基于检测结果确定出所述第二显示区域对应的初始位置;其中,所述第一光标历史数据中存储有所述预设时间范围内所述光标在所述第二显示区域的历史显示位置。在一具体实施例中,所述电子设备确定存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,将所述第一光标历史数据所表征的历史显示位置作为所述初始位置;或者,确定不存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置。也就是说,所述电子设备在确定存在所述光标移动操作时,所述电子设备可以直接去获取所述第二显示区域对应的预设位置,获取去获取历史显示位置,进而将预设位置或者历史显示位置作为初始位置来显示所述光标。Mode 2, when detecting the presence of the cursor movement operation, the electronic device obtains a preset position corresponding to the second display area, and determines the preset position as the initial position; or, the electronic device Detecting whether there is first cursor history data for the second display area within a preset time range, and determining the initial position corresponding to the second display area based on the detection result; wherein, the first cursor history data is stored in There are historical display positions of the cursor in the second display area within the preset time range. In a specific embodiment, when the electronic device determines that there is first cursor historical data for the second display area within a preset time range, the historical display position represented by the first cursor historical data is used as the historical display position or, when it is determined that there is no first cursor history data for the second display area within the preset time range, acquire a preset position corresponding to the second display area, and determine the preset position for the initial position. That is to say, when the electronic device determines that there is the cursor movement operation, the electronic device may directly acquire the preset position corresponding to the second display area, obtain the historical display position, and then set the preset position to Or the historical display position is used as the initial position to display the cursor.

这里,值得注意的是,以上所述的预设位置为所述第二显示区域中任一位置,例如,所述预设位置为所述第二显示区域对应的中心位置。当然,所述预设位置可以是用户根据自身需求而任意设置的,也可以是电子设备出厂前即设置完成的具体位置,本实施例对此不做限制。Here, it should be noted that the preset position mentioned above is any position in the second display area, for example, the preset position is a corresponding center position of the second display area. Certainly, the preset position may be arbitrarily set by the user according to the user's own needs, or may be a specific position set before the electronic device leaves the factory, which is not limited in this embodiment.

图2为本发明实施例控制方法的应用场景示意图,结合图2和图3对本发明实施例所能够针对的应用场景做进一步说明;具体地,FIG. 2 is a schematic diagram of an application scenario of a control method according to an embodiment of the present invention. The application scenarios that can be targeted by this embodiment of the present invention are further described in conjunction with FIG. 2 and FIG. 3 ; specifically,

应用场景一,所述电子设备具体为头盔式VR设备,如图2所示,所述头盔式VR设备投射出的显示区域A、显示区域B以及显示区域C为扩展到空间中的虚拟显示区域,且所述显示区域A、显示区域B以及显示区域C中呈现的显示内容可以具体为三维的可交互图像;显然,显示区域A、显示区域B以及显示区域C所对应的显示界面大于用户A的可视角范围(也即浏览范围);用户A可以通过头部移动来浏览包含有所述显示区域A、显示区域B以及显示区域C的显示界面;进一步地,用户A能够通过移动与该头盔式VR设备连接的鼠标或者滑动触摸板来控制光标在所述显示区域A、显示区域B以及显示区域C中移动,进而通过光标实现选择操作。Application Scenario 1. The electronic device is specifically a helmet-mounted VR device. As shown in FIG. 2 , the display area A, display area B, and display area C projected by the helmet-mounted VR device are virtual display areas extended into space , and the display content presented in the display area A, display area B, and display area C may specifically be a three-dimensional interactive image; obviously, the display interface corresponding to the display area A, display area B, and display area C is larger than that of user A The viewing angle range (that is, the browsing range); user A can browse the display interface including the display area A, display area B and display area C by moving the head; further, user A can move with the helmet A mouse connected to the VR device or a sliding touchpad is used to control the cursor to move in the display area A, display area B, and display area C, and then the selection operation is realized through the cursor.

应用场景二,所述电子设备可以具体为AR设备(如智能眼镜),如图3所示,用户B透光所述智能眼镜观测到的显示区域A、显示区域B以及显示区域C为扩展到空间中的虚拟信息与真实世界结合后的显示区域,也就是说,所述智能眼镜将虚拟信息投射到真实场景中,进而将虚拟信息与真实世界叠加后的内容呈现于所述显示区域A、显示区域B以及显示区域C上;这里,在实际应用中,显示区域A、显示区域B以及显示区域C并非同时呈现,而是当用户B头部转动到与显示区域A或显示区域B或显示区域C对应的特定位置时,所述智能眼镜才会在显示区域A或显示区域B或显示区域C上投射出虚拟信息与真实世界叠加后的显示内容,也就是说,用户B可以通过头部移动来控制显示内容;进一步地,用户B能够通过移动与该智能眼镜连接的鼠标或者滑动触摸板来控制光标在所述显示区域A、显示区域B或显示区域C中移动,进而通过光标实现选择操作。In the second application scenario, the electronic device may specifically be an AR device (such as smart glasses). As shown in FIG. The display area where the virtual information in the space is combined with the real world, that is to say, the smart glasses project the virtual information into the real scene, and then present the superimposed content of the virtual information and the real world in the display area A, display area B and display area C; here, in practical applications, display area A, display area B, and display area C are not presented at the same time, but when user B turns his head to display area A or display area B or display Only when the specific position corresponding to the area C, the smart glasses will project the display content after the virtual information is superimposed with the real world on the display area A, display area B, or display area C, that is to say, user B can use the head Move to control the display content; further, user B can control the cursor to move in the display area A, display area B or display area C by moving the mouse connected to the smart glasses or sliding the touchpad, and then realize the selection operation through the cursor .

应用场景三,所述电子设备可以具体为AR设备(如智能眼镜),如图3所示,用户B透光所述智能眼镜观测到的显示区域B或显示区域C为扩展到空间中的虚拟信息与真实世界结合后的显示区域,也就是说,所述智能眼镜将虚拟信息投射到真实场景中,进而将虚拟信息与真实世界叠加后的内容呈现于所述显示区域B或显示区域C上;这里,在实际应用中,所述显示区域B和显示区域C并非同时呈现,而是当用户B头部转动到与显示区域B或显示区域C对应的特定位置时,所述智能眼镜才会在显示区域B或显示区域C上投射出虚拟信息与真实世界叠加后的显示内容,也就是说,用户B可以通过头部移动来控制显示内容;而显示区域A为与智能眼镜连接的物理显示屏对应的物理显示区域;进一步地,用户能够通过移动与该智能眼镜连接的鼠标或者滑动触摸板来控制光标在所述显示区域A、显示区域B或显示区域C中移动,进而通过光标实现选择操作。In the third application scenario, the electronic device may specifically be an AR device (such as smart glasses). As shown in FIG. 3 , the display area B or display area C observed by user B through the smart glasses is a virtual virtual The display area where the information is combined with the real world, that is to say, the smart glasses project the virtual information into the real scene, and then present the superimposed content of the virtual information and the real world on the display area B or display area C ; Here, in practical applications, the display area B and the display area C are not displayed at the same time, but when the user B's head turns to a specific position corresponding to the display area B or the display area C, the smart glasses will The superimposed display content of virtual information and real world is projected on display area B or display area C, that is to say, user B can control the display content by moving the head; while display area A is a physical display connected with smart glasses The physical display area corresponding to the screen; furthermore, the user can control the cursor to move in the display area A, display area B or display area C by moving the mouse connected to the smart glasses or sliding the touchpad, and then realize the selection operation through the cursor .

基于应用场景一、或应用场景二,或应用场景三,本实施例中所述电子设备能够检测到用户所关注的浏览区域的具体位置,从而将内容窗口逐步呈现给用。进一步地,当用户的观测区域从一个区域挪动到另一个区域,且仅仅是浏览内容无光标移动操作时,呈现在显示界面中的光标不会跟随移动,而是停留在原位置;而当用户的观测区域从一个区域挪动到另一个区域且存在光标移动操作时,将光标在所述另一区域(即用户当前观测到的区域)的初始位置上呈现,也即鼠标浏览轨迹从所述初始位置出发,这里,所述初始位置可以具体为用户当前观测到的区域的中心位置,这样,当光标从中心位置出发时,向不同方向选择内容时的路径均为最短,所以能够提高操作效率。而当电子设备检测到用户返回原来的浏览区域,且存在光标移动操作时,可以将保存的光标上一次在该区域的位置作为初始位置,这样,方便了用户对光标的定位,提升了光标定位效率。Based on the application scenario 1, or the application scenario 2, or the application scenario 3, the electronic device in this embodiment can detect the specific location of the browsing area that the user pays attention to, so as to gradually present the content window to the user. Furthermore, when the user's observation area moves from one area to another, and there is only no cursor movement operation for browsing content, the cursor presented in the display interface will not follow the movement, but stay at the original position; and when the user's When the observation area is moved from one area to another area and there is a cursor movement operation, the cursor is presented at the initial position of the other area (that is, the area currently observed by the user), that is, the mouse browsing track starts from the initial position Starting, here, the initial position may specifically be the center position of the area currently observed by the user. In this way, when the cursor starts from the center position, the paths for selecting content in different directions are the shortest, so the operation efficiency can be improved. And when the electronic device detects that the user returns to the original browsing area and there is a cursor movement operation, the saved position of the cursor in this area last time can be used as the initial position, which facilitates the positioning of the cursor by the user and improves cursor positioning. efficiency.

具体地,如图4(a)所示,用户的观测区域从显示区域A移动到显示区域B,且在光标在显示区域A的按钮控件对应的位置a上;此时,若用户在观测显示区域B时进行了光标移动操作,则光标从位置a自动移动到位置b,该位置b为显示区域B的初始位置。当然,在切换光标浏览区域时,光标的形态可以被强调,如尺寸放大、颜色、样式变化等。上述过程中,省去了用户将光标从位置a移动到位置b的步骤,因此,简化了用户操作的同时,提高了用户定位光标的效率。Specifically, as shown in Figure 4(a), the user's observation area moves from display area A to display area B, and the cursor is on the position a corresponding to the button control in display area A; at this time, if the user is observing the display area When the cursor is moved in area B, the cursor automatically moves from position a to position b, which is the initial position of display area B. Of course, when switching the cursor browsing area, the shape of the cursor can be emphasized, such as size enlargement, color, style change, etc. In the above process, the step of the user moving the cursor from the position a to the position b is omitted, thus simplifying the user operation and improving the efficiency of the user in positioning the cursor.

进一步地,如图4(b)所示,若用户从显示区域B进行了相应操作后,返回到显示区域A,且用户在观测显示区域A时进行了光标移动操作,则光标自动移动到显示区域的位置a上,也即光标直接移动到显示区域A的历史位置上,这样,进一步提高了用户定位光标的效率。当然,在切换光标浏览区域时,光标的形态可以被强调,如尺寸放大、颜色、样式变化等。Further, as shown in Figure 4(b), if the user returns to display area A after performing corresponding operations from display area B, and the user performs a cursor movement operation while observing display area A, the cursor automatically moves to the display area The position a of the area, that is, the cursor is directly moved to the historical position of the display area A, thus further improving the efficiency of the user in positioning the cursor. Of course, when switching the cursor browsing area, the shape of the cursor can be emphasized, such as size enlargement, color, style change, etc.

实施例三Embodiment three

本实施例提供了一种电子设备,所述电子设备设置有镜片模组,如所述电子设备为头戴式虚拟显示VR设备,或者为头戴式增强现实AR设备(如智能眼镜等),这样,当用户穿戴所述电子设备时,能够透光所述镜片模组观测到所述镜片模组对应的目标区域,甚至当用户穿戴所述电子设备的穿戴部位(如头部)移动时,用户通过所述镜片模组观测到目标区域能够随所述穿戴部位的移动而发生变化;进一步地,当用户穿戴所述电子设备后,还能够通过与所述电子设备连接的外部设备,如鼠标或触摸板等在电子设备对应的显示界面上进行移动和/或选择操作;这里,所述电子设备对应的显示界面可以包含所述电子设备投射出的虚拟显示区域,或者所述电子设备连接的物理显示屏呈现出的物理显示区域、或者既包含有所述虚拟显示区域又包含有所述物理显示区域的总显示区域。与windows系统中的光标类似,用户能够通过移动鼠标或滑动触摸板,来控制显示界面中的光标的移动操作和/或选择操作,即控制光标在物理显示区域和/或虚拟显示区域上进行移动操作和/或选择操作。进一步地,如图5所示,所述电子设备包括:This embodiment provides an electronic device, the electronic device is provided with a lens module, such as the electronic device is a head-mounted virtual display VR device, or a head-mounted augmented reality AR device (such as smart glasses, etc.), In this way, when the user wears the electronic device, the target area corresponding to the lens module can be observed through the lens module, even when the wearing part (such as the head) of the user wearing the electronic device moves, The user observes that the target area can change with the movement of the wearing part through the lens module; further, when the user wears the electronic device, the user can also use the external device connected to the electronic device, such as a mouse or a touchpad to perform movement and/or selection operations on the display interface corresponding to the electronic device; here, the display interface corresponding to the electronic device may include a virtual display area projected by the electronic device, or a virtual display area connected to the electronic device The physical display area presented by the physical display screen, or the total display area including both the virtual display area and the physical display area. Similar to the cursor in the windows system, the user can control the movement and/or selection operation of the cursor in the display interface by moving the mouse or sliding the touchpad, that is, to control the cursor to move on the physical display area and/or the virtual display area Action and/or Select Action. Further, as shown in Figure 5, the electronic device includes:

检测装置51,用于检测到通过镜片模组呈现的区域从第一显示区域移动到第二显示区域,其中,所述显示区域为目标体能够利用所述镜片模组观测到的物理显示区域和/或虚拟显示区域;还用于检测是否存在光标移动操作;The detection device 51 is used to detect that the area presented by the lens module moves from the first display area to the second display area, wherein the display area is the physical display area and /or virtual display area; also used to detect whether there is a cursor movement operation;

处理器52,用于确定存在光标移动操作时,确定出所述第二显示区域对应的初始位置;还用于响应所述光标移动操作,基于所述初始位置在所述第二显示区域上呈现光标,以便于利用所述光标在所述第二显示区域上进行相应操作。The processor 52 is configured to determine an initial position corresponding to the second display area when it is determined that there is a cursor movement operation; and is also configured to respond to the cursor movement operation and present on the second display area based on the initial position a cursor, so as to use the cursor to perform corresponding operations on the second display area.

在一具体实施例中,所述检测装置51,还用于检测所述光标是否处于所述第二显示区域;对应地,In a specific embodiment, the detection device 51 is also used to detect whether the cursor is in the second display area; correspondingly,

所述处理器52,还用于当确定处于所述第二显示区域时,将所述光标在所述第二显示区域的当前位置作为所述初始位置;或者,当确定未处于所述第二显示区域时,确定出所述第二显示区域对应的初始位置。The processor 52 is further configured to use the current position of the cursor in the second display area as the initial position when it is determined that it is in the second display area; or, when it is determined that it is not in the second display area When displaying the area, determine the initial position corresponding to the second display area.

在另一具体实施例中,所述处理器52,还用于获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置;或者,检测是否存在预设时间范围内的针对所述第二显示区域的第一光标历史数据,基于检测结果确定出所述第二显示区域对应的初始位置;其中,所述第一光标历史数据中存储有所述预设时间范围内所述光标在所述第二显示区域的历史显示位置。In another specific embodiment, the processor 52 is further configured to obtain a preset position corresponding to the second display area, and determine the preset position as the initial position; or, detect whether there is a preset position Based on the first cursor history data for the second display area within the time range, the initial position corresponding to the second display area is determined based on the detection result; wherein, the preset cursor data is stored in the first cursor history data The historical display position of the cursor in the second display area within the time range.

在另一具体实施例中,所述处理器52,还用于确定存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,将所述第一光标历史数据所表征的历史显示位置作为所述初始位置;或者,确定不存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置。In another specific embodiment, the processor 52 is further configured to: when it is determined that there is first cursor history data for the second display area within a preset time range, the first cursor history data represented by the first cursor history data The historical display position of the cursor is used as the initial position; or, when it is determined that there is no historical data of the first cursor for the second display area within the preset time range, the preset position corresponding to the second display area is obtained, and The preset position is determined as the initial position.

在另一具体实施例中,所述处理器52,还用于确定出预设光标显示模式,以所述预设光标显示模式在所述第二显示区域上呈现所述光标。In another specific embodiment, the processor 52 is further configured to determine a preset cursor display mode, and present the cursor on the second display area in the preset cursor display mode.

这里需要指出的是:以上电子设备实施例项的描述,与上述方法描述是类似的,具有同方法实施例相同的有益效果,因此不做赘述。对于本发明电子设备实施例中未披露的技术细节,本领域的技术人员请参照本发明方法实施例的描述而理解,为节约篇幅,这里不再赘述。It should be pointed out here that: the description of the above electronic device embodiment items is similar to the above method description, and has the same beneficial effect as the method embodiment, so it is not repeated here. For technical details not disclosed in the embodiments of the electronic device of the present invention, those skilled in the art should refer to the description of the method embodiments of the present invention to understand, and to save space, details are not repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the Including the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. A medium that stores program code.

或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present invention are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (10)

1.一种控制方法,其特征在于,所述方法包括:1. A control method, characterized in that the method comprises: 电子设备检测到通过镜片模组呈现的区域从第一显示区域移动到第二显示区域,其中,所述显示区域为目标体能够利用所述镜片模组观测到的物理显示区域和/或虚拟显示区域;The electronic device detects that the area presented by the lens module moves from the first display area to the second display area, wherein the display area is a physical display area and/or a virtual display that can be observed by the target object using the lens module area; 检测是否存在光标移动操作,当存在时,确定出所述第二显示区域对应的初始位置;Detecting whether there is a cursor movement operation, and if so, determining the initial position corresponding to the second display area; 响应所述光标移动操作,基于所述初始位置在所述第二显示区域上呈现光标,以便于利用所述光标在所述第二显示区域上进行相应操作。In response to the cursor movement operation, a cursor is presented on the second display area based on the initial position, so as to use the cursor to perform corresponding operations on the second display area. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that the method further comprises: 检测所述光标是否处于所述第二显示区域;detecting whether the cursor is in the second display area; 当处于所述第二显示区域时,将所述光标在所述第二显示区域的当前位置作为所述初始位置;或者,When in the second display area, using the current position of the cursor in the second display area as the initial position; or, 当未处于所述第二显示区域时,确定出所述第二显示区域对应的初始位置。When not in the second display area, determine an initial position corresponding to the second display area. 3.根据权利要求1或2所述的方法,其特征在于,所述确定出所述第二显示区域对应的初始位置,包括:3. The method according to claim 1 or 2, wherein the determining the initial position corresponding to the second display area comprises: 获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置;或者,Acquire a preset position corresponding to the second display area, and determine the preset position as the initial position; or, 检测是否存在预设时间范围内的针对所述第二显示区域的第一光标历史数据,基于检测结果确定出所述第二显示区域对应的初始位置;其中,所述第一光标历史数据中存储有所述预设时间范围内所述光标在所述第二显示区域的历史显示位置。Detecting whether there is first cursor history data for the second display area within a preset time range, and determining the initial position corresponding to the second display area based on the detection result; wherein, the first cursor history data is stored in There are historical display positions of the cursor in the second display area within the preset time range. 4.根据权利要求3所述的方法,其特征在于,所述基于检测结果确定出所述第二显示区域对应的初始位置,包括:4. The method according to claim 3, wherein the determining the initial position corresponding to the second display area based on the detection result comprises: 确定存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,将所述第一光标历史数据所表征的历史显示位置作为所述初始位置;或者,When it is determined that there is first cursor historical data for the second display area within a preset time range, the historical display position represented by the first cursor historical data is used as the initial position; or, 确定不存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置。When it is determined that there is no first cursor history data for the second display area within a preset time range, a preset position corresponding to the second display area is acquired, and the preset position is determined as the initial position. 5.根据权利要求1所述的方法,其特征在于,所述在所述第二显示区域上呈现光标,包括:5. The method according to claim 1, wherein the presenting a cursor on the second display area comprises: 确定出预设光标显示模式,以所述预设光标显示模式在所述第二显示区域上呈现所述光标。A preset cursor display mode is determined, and the cursor is presented on the second display area in the preset cursor display mode. 6.一种电子设备,其特征在于,所述电子设备包括:6. An electronic device, characterized in that the electronic device comprises: 检测装置,用于检测到通过镜片模组呈现的区域从第一显示区域移动到第二显示区域,其中,所述显示区域为目标体能够利用所述镜片模组观测到的物理显示区域和/或虚拟显示区域;还用于检测是否存在光标移动操作;The detection device is used to detect that the area presented by the lens module moves from the first display area to the second display area, wherein the display area is a physical display area that can be observed by the target object using the lens module and/or Or virtual display area; also used to detect whether there is a cursor movement operation; 处理器,用于确定存在光标移动操作时,确定出所述第二显示区域对应的初始位置;还用于响应所述光标移动操作,基于所述初始位置在所述第二显示区域上呈现光标,以便于利用所述光标在所述第二显示区域上进行相应操作。The processor is configured to determine an initial position corresponding to the second display area when determining that there is a cursor movement operation; and is also configured to present a cursor on the second display area based on the initial position in response to the cursor movement operation , so as to use the cursor to perform corresponding operations on the second display area. 7.根据权利要求6所述的电子设备,其特征在于,所述检测装置,还用于检测所述光标是否处于所述第二显示区域;对应地,7. The electronic device according to claim 6, wherein the detection device is further configured to detect whether the cursor is in the second display area; correspondingly, 所述处理器,还用于当确定处于所述第二显示区域时,将所述光标在所述第二显示区域的当前位置作为所述初始位置;或者,当确定未处于所述第二显示区域时,确定出所述第二显示区域对应的初始位置。The processor is further configured to use the current position of the cursor in the second display area as the initial position when it is determined that it is in the second display area; or, when it is determined that it is not in the second display area area, determine the initial position corresponding to the second display area. 8.根据权利要求6或7所述的电子设备,其特征在于,所述处理器,还用于获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置;或者,检测是否存在预设时间范围内的针对所述第二显示区域的第一光标历史数据,基于检测结果确定出所述第二显示区域对应的初始位置;其中,所述第一光标历史数据中存储有所述预设时间范围内所述光标在所述第二显示区域的历史显示位置。8. The electronic device according to claim 6 or 7, wherein the processor is further configured to acquire a preset position corresponding to the second display area, and determine the preset position as the initial position; or, detecting whether there is historical data of the first cursor for the second display area within a preset time range, and determining the initial position corresponding to the second display area based on the detection result; wherein, the first cursor The historical data stores the historical display position of the cursor in the second display area within the preset time range. 9.根据权利要求8所述的电子设备,其特征在于,所述处理器,还用于确定存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,将所述第一光标历史数据所表征的历史显示位置作为所述初始位置;或者,确定不存在预设时间范围内的针对所述第二显示区域的第一光标历史数据时,获取所述第二显示区域对应的预设位置,将所述预设位置确定为所述初始位置。9. The electronic device according to claim 8, wherein the processor is further configured to, when it is determined that there is first cursor history data for the second display area within a preset time range, set the The historical display position represented by the first cursor historical data is used as the initial position; or, when it is determined that there is no first cursor historical data for the second display area within a preset time range, acquiring the second display area A corresponding preset position is determined as the initial position. 10.根据权利要求6所述的电子设备,其特征在于,所述处理器,还用于确定出预设光标显示模式,以所述预设光标显示模式在所述第二显示区域上呈现所述光标。10. The electronic device according to claim 6, wherein the processor is further configured to determine a preset cursor display mode, and present the cursor on the second display area in the preset cursor display mode. to describe the cursor.
CN201710171257.7A 2017-03-21 2017-03-21 A control method and electronic device Pending CN107085489A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710171257.7A CN107085489A (en) 2017-03-21 2017-03-21 A control method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710171257.7A CN107085489A (en) 2017-03-21 2017-03-21 A control method and electronic device

Publications (1)

Publication Number Publication Date
CN107085489A true CN107085489A (en) 2017-08-22

Family

ID=59614513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710171257.7A Pending CN107085489A (en) 2017-03-21 2017-03-21 A control method and electronic device

Country Status (1)

Country Link
CN (1) CN107085489A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506236A (en) * 2017-09-01 2017-12-22 上海智视网络科技有限公司 Display device and its display methods
CN107957781A (en) * 2017-12-13 2018-04-24 北京小米移动软件有限公司 Method for information display and device
CN108154864A (en) * 2017-12-22 2018-06-12 联想(北京)有限公司 Display screen processing method, the first electronic equipment and the second electronic equipment
WO2024092803A1 (en) * 2022-11-04 2024-05-10 Huawei Technologies Co., Ltd. Methods and systems supporting multi-display interaction using wearable device
WO2025223184A1 (en) * 2024-04-26 2025-10-30 北京字跳网络技术有限公司 Human-computer interaction method and apparatus, device and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200189A (en) * 1995-09-21 1998-11-25 埃罗接触系统公司 Multi-User/Multi-Positioning Device Graphical User Interface System
US20040004632A1 (en) * 2002-06-28 2004-01-08 International Business Machines Corporation Tooltip hyperlinks
CN101604221A (en) * 2008-06-10 2009-12-16 仁宝电脑工业股份有限公司 Mouse cursor moving method and its storage medium
CN102460349A (en) * 2009-05-08 2012-05-16 寇平公司 Remote control of host application using motion and voice commands
CN102866771A (en) * 2011-07-07 2013-01-09 瑞斯康达科技发展股份有限公司 Method for interacting with video terminal equipment, external control platform and remote control
CN103941855A (en) * 2013-01-22 2014-07-23 株式会社东芝 Medical image reference apparatus and method
CN103984763A (en) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 Trajectory chart display device, trajectory chart display device method and monitor terminal
CN104598055A (en) * 2015-02-09 2015-05-06 联想(北京)有限公司 State processing method, wireless mouse and multi-equipment wireless control system
CN105009039A (en) * 2012-11-30 2015-10-28 微软技术许可有限责任公司 Direct hologram manipulation using IMU
US20160062608A1 (en) * 2014-09-02 2016-03-03 Apple Inc. Button functionality

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200189A (en) * 1995-09-21 1998-11-25 埃罗接触系统公司 Multi-User/Multi-Positioning Device Graphical User Interface System
US20040004632A1 (en) * 2002-06-28 2004-01-08 International Business Machines Corporation Tooltip hyperlinks
CN101604221A (en) * 2008-06-10 2009-12-16 仁宝电脑工业股份有限公司 Mouse cursor moving method and its storage medium
CN102460349A (en) * 2009-05-08 2012-05-16 寇平公司 Remote control of host application using motion and voice commands
CN102866771A (en) * 2011-07-07 2013-01-09 瑞斯康达科技发展股份有限公司 Method for interacting with video terminal equipment, external control platform and remote control
CN105009039A (en) * 2012-11-30 2015-10-28 微软技术许可有限责任公司 Direct hologram manipulation using IMU
CN103941855A (en) * 2013-01-22 2014-07-23 株式会社东芝 Medical image reference apparatus and method
CN103984763A (en) * 2014-05-30 2014-08-13 厦门云朵网络科技有限公司 Trajectory chart display device, trajectory chart display device method and monitor terminal
US20160062608A1 (en) * 2014-09-02 2016-03-03 Apple Inc. Button functionality
CN104598055A (en) * 2015-02-09 2015-05-06 联想(北京)有限公司 State processing method, wireless mouse and multi-equipment wireless control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506236A (en) * 2017-09-01 2017-12-22 上海智视网络科技有限公司 Display device and its display methods
CN107957781A (en) * 2017-12-13 2018-04-24 北京小米移动软件有限公司 Method for information display and device
CN108154864A (en) * 2017-12-22 2018-06-12 联想(北京)有限公司 Display screen processing method, the first electronic equipment and the second electronic equipment
CN108154864B (en) * 2017-12-22 2020-02-21 联想(北京)有限公司 Display screen processing method, first electronic device and second electronic device
WO2024092803A1 (en) * 2022-11-04 2024-05-10 Huawei Technologies Co., Ltd. Methods and systems supporting multi-display interaction using wearable device
WO2025223184A1 (en) * 2024-04-26 2025-10-30 北京字跳网络技术有限公司 Human-computer interaction method and apparatus, device and medium

Similar Documents

Publication Publication Date Title
US12524977B2 (en) Methods for displaying, selecting and moving objects and containers in an environment
US12449946B2 (en) Methods for displaying user interface elements relative to media content
US20220012002A1 (en) Gaze-based user interactions
EP4270159A2 (en) Wearable electronic device presenting a computer-generated reality environment
CN111736691B (en) Interaction method and device of head-mounted display device, terminal device and storage medium
KR102508924B1 (en) Selection of an object in an augmented or virtual reality environment
KR101812227B1 (en) Smart glass based on gesture recognition
KR20230158505A (en) Devices, methods, and graphical user interfaces for maps
EP3564788A1 (en) Three-dimensional user input
CN107390863B (en) Device control method and device, electronic device and storage medium
CN106951153B (en) Display method and electronic equipment
JPWO2016203792A1 (en) Information processing apparatus, information processing method, and program
CN107085489A (en) A control method and electronic device
US11367416B1 (en) Presenting computer-generated content associated with reading content based on user interactions
WO2017169273A1 (en) Information processing device, information processing method, and program
US10551991B2 (en) Display method and terminal
EP4652516A1 (en) Devices, methods, and graphical user interfaces for using a cursor to interact with three-dimensional environments
WO2017169272A1 (en) Information processing device, information processing method, and program
CN115115812A (en) Virtual scene display method and device and storage medium
EP3851939A1 (en) Positioning a user-controlled spatial selector based on extremity tracking information and eye tracking information
US12182952B2 (en) Indicating a position of an occluded physical object
CN118349138A (en) Human-computer interaction method, device, equipment and medium
CN121359110A (en) Methods for displaying mixed reality content in a 3D environment
CN117687508A (en) Interactive control method, device, electronic equipment and computer readable storage medium
US10409464B2 (en) Providing a context related view with a wearable apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170822

RJ01 Rejection of invention patent application after publication