WO2018141124A1 - 用于虚拟现实设备的解锁方法、装置及虚拟现实设备 - Google Patents

用于虚拟现实设备的解锁方法、装置及虚拟现实设备 Download PDF

Info

Publication number
WO2018141124A1
WO2018141124A1 PCT/CN2017/076817 CN2017076817W WO2018141124A1 WO 2018141124 A1 WO2018141124 A1 WO 2018141124A1 CN 2017076817 W CN2017076817 W CN 2017076817W WO 2018141124 A1 WO2018141124 A1 WO 2018141124A1
Authority
WO
WIPO (PCT)
Prior art keywords
cursor
unlocking
virtual reality
module
head
Prior art date
Application number
PCT/CN2017/076817
Other languages
English (en)
French (fr)
Inventor
王铁存
Original Assignee
歌尔科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 歌尔科技有限公司 filed Critical 歌尔科技有限公司
Publication of WO2018141124A1 publication Critical patent/WO2018141124A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/012Head tracking input arrangements

Definitions

  • the present invention relates to the field of virtual reality device unlocking technologies, and in particular, to a method and device for unlocking a virtual reality device and a virtual reality device.
  • Virtual Reality (VR) virtual reality technology will be a key technology to support a comprehensive and integrated multidimensional information space combining qualitative and quantitative, perceptual knowledge and rational understanding.
  • VR virtual reality
  • the way to unlock the graphic is to use the finger to select the starting point, and then slide the finger to complete the password input.
  • a method for unlocking a virtual reality device including:
  • the method before the acquiring the second rotation data of the user's head, the method further includes:
  • the interface is an array of contacts consisting of at least two contacts.
  • the detecting before the setting of the time when the user's head is stationary when the cursor is in the starting position, further comprises:
  • the moving the cursor according to the second rotation data to obtain an unlocking pattern includes:
  • the selected contacts are sequentially connected to form the unlocking pattern.
  • the method before the controlling the virtual reality device to be unlocked, the method further includes:
  • the first rotation data includes a first rotation direction and a first rotation angle displacement.
  • the moving the cursor according to the first rotation data, and setting a position of the cursor on the interface as a starting position includes:
  • the cursor is moved according to the moving direction and the first moving distance, and the position of the cursor on the interface is taken as a starting position.
  • an unlocking apparatus for a virtual reality device comprising:
  • a display module for displaying a graphic unlocking interface and a cursor
  • a first collecting module configured to collect first rotation data of a user's head wearing the virtual reality device
  • a first moving module configured to move the cursor according to the first rotation data, and use a position of the cursor on the interface as a starting position
  • a second collecting module configured to collect second rotation data of the user's head if the detection result of the detecting module is YES;
  • a second moving module configured to move the cursor according to the second rotation data to obtain an unlocking graphic
  • a comparison module configured to compare the unlocking graphic with the setting unlocking graphic
  • an unlocking module configured to control the virtual reality device to be unlocked if the comparison result of the comparison module is successful.
  • the device further includes:
  • a detecting module configured to detect whether a time when the user's head is stationary when the cursor is in the starting position exceeds a set time
  • the second collection module is configured to collect second rotation data of the user's head if the detection result of the detection module is YES.
  • the interface is an array of contacts consisting of at least two contacts.
  • the unlocking device further includes:
  • a start contact determining module configured to determine whether the starting position is any contact in the contact array
  • the detecting module is specifically configured to: when the determination result of the start contact determining module is YES, detect whether the time when the user's head is stationary when the cursor is in the starting position exceeds a set time .
  • the second mobile module further includes:
  • a trajectory determining unit configured to move the cursor according to the second rotation data to obtain a movement trajectory of the cursor
  • a contact selection unit configured to determine, according to the movement trajectory, a contact selected by the cursor on the contact array during movement
  • a graphic forming unit configured to sequentially connect the selected contacts to form the unlocking pattern.
  • the unlocking device further includes:
  • a position detecting module configured to detect whether the position of the cursor exceeds a preset input area
  • the first collection module is specifically configured to collect, when the detection result of the location detection module is YES, the first rotation data of the user's head wearing the virtual reality device.
  • the first rotation data includes a first rotation direction and a first rotation displacement.
  • the first mobile module includes:
  • a direction determining unit configured to determine a moving direction of the cursor according to the first rotating direction
  • the distance determining unit searches for a pre-stored comparison table reflecting the correspondence between the head rotation angle displacement and the cursor movement distance, and determines a cursor moving distance corresponding to the first rotation angle displacement as the first moving distance;
  • a moving unit configured to move the cursor according to the moving direction and the first moving distance, and use a position of the cursor on the interface as a starting position.
  • a virtual reality device comprising the unlocking device according to the second aspect of the invention.
  • a virtual reality device comprising a processor and a memory, the memory for storing instructions for controlling the processor to perform the method according to the first aspect of the present invention Unlock method.
  • a computer readable storage medium storing program code for performing the unlocking method according to the first aspect of the invention.
  • An advantageous effect of an embodiment of the present invention is that, by the unlocking method of the present invention, the user does not need to perform any manual operation, and only the user's head rotation can complete the graphic unlocking operation of the virtual reality device, thereby improving the user experience.
  • FIG. 1 is a flow chart of an embodiment of an unlocking method for a virtual reality device according to the present invention
  • FIG. 2 is a flow chart of another embodiment of an unlocking method for a virtual reality device according to the present invention.
  • FIG. 3 is a block schematic diagram of an implementation structure of an unlocking device for a virtual reality device according to the present invention.
  • FIG. 4 is a block schematic diagram showing another implementation structure of an unlocking device for a virtual reality device according to the present invention.
  • Figure 5 is a block schematic diagram of an implementation of a virtual reality device in accordance with the present invention.
  • the virtual reality device may be, for example, a head-mounted virtual reality product such as a virtual reality helmet or a virtual reality glasses.
  • FIG. 1 is a flow chart of an embodiment of a method for unlocking a virtual reality device in accordance with the present invention.
  • the unlocking method comprises the following steps:
  • Step S110 displaying a graphic unlocking interface and a cursor.
  • the graphic unlocking interface can be, for example but not limited to, an array of contacts composed of at least two contacts.
  • the more commonly used graphic unlocking method is to use a 3 ⁇ 3 contact array.
  • the specific shape or size of the contact array is not limited in the embodiment of the present invention.
  • the contact array in the embodiment of the present invention may also be in the form of an array of 4 ⁇ 4, or trapezoidal, prismatic, or even triangular.
  • the color of the contact can change, for example, it can turn red or display a gradient color.
  • step S120 the first rotation data of the user's head wearing the virtual reality device is collected.
  • the virtual reality device may include a three-axis gyro sensor, and then the acquired first rotation data may be implemented by controlling the three-axis gyro sensor.
  • the first rotation data may be, for example, a quaternion number Q, which is a simple super complex number, which is composed of a real number plus three imaginary units i, j, k, which may be, for example:
  • x, y, z can be the angles on the three orthogonal axes detected by the gyroscope, respectively.
  • Step S130 moving the cursor according to the first rotation data, and setting the position of the cursor on the graphic unlocking interface as the starting position.
  • the moving cursor described in the present invention refers to causing a cursor to move relative to an interface. And the position where the cursor is located on the graphic unlocking interface after the cursor is moved according to the first rotation data is used as the starting position.
  • the first rotation data includes a first rotation direction and a first rotation angle displacement.
  • FIG. 2 is a flow chart of another embodiment of an unlocking method for a virtual reality device in accordance with the present invention.
  • the step S130 may include:
  • Step S131 determining a moving direction of the cursor according to the first rotation direction.
  • Step S132 searching for a pre-stored reflection between the head rotation angle displacement and the cursor movement distance
  • Corresponding table of the correspondence relationship determines a cursor moving distance corresponding to the first rotation angle displacement as the first moving distance.
  • the moving distance of the cursor may specifically be a moving distance of the cursor relative to the graphic unlocking interface.
  • Step S133 moving the cursor according to the moving direction and the first moving distance, and moving the cursor on the graphic unlocking interface as the starting position.
  • the interface may remain stationary, and the cursor rotates as the head rotates. Then, the rotation of the cursor and the user's head may be the same, that is, the direction of rotation of the cursor and the head.
  • the direction of rotation is the same, and the rotational angular displacement of the cursor is the same as the rotational angular displacement of the head.
  • step S210 may be performed.
  • step S210 it is detected whether the time when the user's head is stationary when the cursor is in the starting position exceeds the set time, and if so, step S140 is performed, and if no, step S120 is performed.
  • the quaternion Q output by the gyroscope continues to be equal to 0, or whether the time when a, b, c, and d in the quaternion Q are less than the corresponding set value exceeds the setting. Time, to determine whether the time when the user's head is at rest when the cursor is at the start position exceeds the detection of the set time.
  • step S220 is further included before step S210 is performed.
  • step S220 it is determined whether the starting position is any contact in the contact array. If yes, step S210 is performed, and if no, step S120 is continued.
  • the graphic drawn by the cursor is valid only when the cursor moves over the contact position, and therefore, when the starting position is detected as any contact position, Step S210 is performed.
  • step S210 may be performed after step S130 is performed.
  • the execution is performed.
  • Step S220 detecting that the cursor is at the starting position
  • step S120 is performed.
  • step S220 in the case where the starting position is any of the contacts in the contact array, step S140 is performed; in the case where the starting position is not any of the contacts in the contact array, step S120 is performed.
  • Step S140 collecting second rotation data of the user's head.
  • the second rotation data may also be collected by the gyroscope described above, or may be a quaternion.
  • Step S150 moving the cursor according to the second rotation data to obtain an unlocking pattern.
  • the second rotation data includes a second rotation direction and a second rotation angle.
  • the specific manner of moving the cursor according to the second rotation data may be the same as the specific manner of moving the cursor according to the first rotation data, and details are not described herein again.
  • the unlocking pattern may be a "Z" shape, an "L” shape, a triangle, or the like, and the unlocking pattern has a drawing order and a one-shot shape.
  • the step S150 may specifically include:
  • Step S151 moving the cursor according to the second rotation data to obtain a movement track of the cursor.
  • Step S152 determining, according to the movement trajectory, a contact selected by the cursor on the contact array during the movement.
  • the cursor moves over the contact array and the cursor is over the contact, the cursor is considered to be the contact.
  • step S153 the selected contacts are sequentially connected to form an unlocking pattern.
  • the selected contacts may be connected according to the selected order to draw an unlocking pattern on the contact array, and the unlocking pattern includes a contact at a starting position and a connection order of the selected contacts.
  • Step S150 in the process of performing the step S150, it is also possible to detect whether the position of the cursor exceeds the preset input area, and if so, Step S120 is performed.
  • step S160 the unlocking pattern is compared with the setting unlocking pattern. If the comparison is successful, step S170 is performed. If the comparison fails, step S120 or step S140 may be performed.
  • Comparing the unlocking pattern with the setting and unlocking graphics specifically includes: comparing the unlocking graphics and setting The graphic shape of the unlocked graphic, and the drawing order of the unlocking graphic and the setting unlocking graphic are considered to be successful only when the graphic shape and the drawing order are the same.
  • the unlock password may be generated in real time, and the unlock password may be compared with the set unlock password in real time; or the end position may be selected according to the method of selecting the start position, at the selected end position After that, the unlock password including the start position, the movement track and the end position is generated, and the unlock password is compared with the set unlock password.
  • the virtual reality device needs to pre-store the set unlock password input by the user.
  • Step S170 controlling the virtual reality device to be unlocked.
  • the unlock password input interface will disappear and enter the user operable interface.
  • the user does not need to perform any manual operation, and the graphic unlocking operation of the virtual reality device can be completed only by the rotation of the user's head, thereby improving the user experience.
  • the present invention also provides an unlocking device for a virtual reality device.
  • 3 is a block schematic diagram of an implementation structure of an unlocking device for a virtual reality device in accordance with the present invention.
  • the unlocking device 300 includes a display module 310 , a first collection module 320 , a first movement module 330 , a second collection module 340 , a second movement module 350 , a comparison module 360 , and an unlocking module 370 .
  • the display module 310 is configured to display a graphic unlocking interface and a cursor.
  • the first collecting module 320 is configured to collect first rotation data of a user's head wearing the virtual reality device.
  • the first moving module 330 is configured to move the cursor according to the first rotation data, and use the position of the cursor on the interface as the starting position.
  • the second collection module 340 is configured to collect second rotation data of the user's head when the detection result of the detection module is YES.
  • the second moving module 350 is configured to move the cursor according to the second rotation data to obtain an unlocking graphic.
  • the comparison module 360 is configured to compare the unlock pattern with the set unlock pattern.
  • the unlocking module 370 is configured to control the virtual reality device to be unlocked if the comparison result of the comparison module is successful.
  • FIG. 4 is a block schematic diagram of another implementation structure of an unlocking device for a virtual reality device in accordance with the present invention.
  • the device 300 further includes a detecting module 410, configured to detect whether the time when the user's head is stationary when the cursor is in the starting position exceeds a set time; the second collecting module 340 is used to When the detection result of the detection module 410 is YES, the second rotation data of the user's head is collected.
  • a detecting module 410 configured to detect whether the time when the user's head is stationary when the cursor is in the starting position exceeds a set time; the second collecting module 340 is used to When the detection result of the detection module 410 is YES, the second rotation data of the user's head is collected.
  • the unlocking device 300 further includes a position detecting module 420, configured to detect whether the position of the cursor exceeds a preset input area, and the first collecting module 320 is further configured to: In the case of the first rotation data of the user's head wearing the virtual reality device.
  • the first rotation data includes a first rotation direction and a first rotation displacement.
  • the first mobile module 330 includes a direction determining unit 331, a distance determining unit 332, and a moving unit 333.
  • the direction determining unit 331 is configured to determine a moving direction of the cursor according to the first rotating direction; the distance determining unit 332 searches for a pre-stored comparison table reflecting the correspondence between the head rotation angle displacement and the cursor moving distance, and determines the corresponding first rotation.
  • the angular displacement of the cursor moves the distance as the first moving distance;
  • the moving unit 333 is configured to move the cursor according to the moving direction and the first moving distance, and the position of the cursor on the interface is used as the starting position.
  • the graphical unlocking interface is an array of contacts consisting of at least two contacts.
  • the unlocking device 300 further includes a starting contact determining module 430, configured to determine whether the starting position is any contact in the contact array; the detecting module 410 is specifically used to In the case where the determination result of the start contact determination module 430 is YES, it is detected whether or not the time when the user's head is stationary when the cursor is at the home position exceeds the set time.
  • the second moving module 350 further includes a trajectory determining unit 351, a contact selecting unit 352, and a graphic forming unit 353.
  • the trajectory determining unit 351 is configured to move the cursor according to the second rotation data to obtain a movement trajectory of the cursor;
  • the contact selection unit 352 is configured to determine, according to the movement trajectory, a contact selected by the cursor on the contact array during the movement;
  • Graphic forming unit 353 Used to connect the selected contacts in turn to form an unlock pattern.
  • the present invention also provides a virtual reality device.
  • the virtual reality device includes the aforementioned unlocking device 300 for a virtual reality device.
  • Figure 5 is a block schematic diagram showing an implementation structure of the virtual reality device in accordance with another aspect of the present invention.
  • the virtual reality device 500 includes a memory 501 and a processor 502 for storing instructions for controlling the processor 502 to operate to perform the above-described unlocking method for the virtual reality device.
  • the processor 502 can be, for example, a central processing unit CPU, a microprocessor MCU, or the like.
  • the memory 501 includes, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a nonvolatile memory such as a hard disk, and the like.
  • the virtual reality device 500 further includes an interface device 503, an input device 504, a display device 505, a communication device 506, a speaker 507, a microphone 508, and the like.
  • an interface device 503 an input device 504
  • a display device 505 a communication device 506, a speaker 507, a microphone 508, and the like.
  • the virtual reality device of the present invention may relate only to some of the devices, such as the processor 501, the memory 502, the display device 505, and the like.
  • the communication device 506 can be wired or wirelessly communicated, for example.
  • the above interface device 503 includes, for example, a headphone jack, a USB interface, and the like.
  • the input device 504 described above may include, for example, a touch screen, a button, and the like.
  • the display device 505 described above is, for example, a liquid crystal display, a touch display, or the like.
  • the virtual reality device of the present invention may be, for example, a head-mounted virtual reality product such as a virtual reality helmet or a virtual reality glasses.
  • the invention can be an apparatus, method and/or computer program product.
  • the computer program product can comprise a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement various aspects of the present invention.
  • the computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device.
  • the computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Non-exhaustive list of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM) Or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, for example, with instructions stored thereon A raised structure in the hole card or groove, and any suitable combination of the above.
  • a computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
  • the computer readable program instructions described herein can be downloaded from a computer readable storage medium to various computing/processing devices or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages.
  • Computer readable program The order can be executed entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer via any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection).
  • the customized electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by utilizing state information of computer readable program instructions.
  • Computer readable program instructions are executed to implement various aspects of the present invention.
  • the computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams.
  • the computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture that includes instructions for implementing various aspects of the functions/acts recited in one or more of the flowcharts.
  • the computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process.
  • instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction.
  • a module, program segment, or portion of an instruction contains one or more executable instructions for implementing the specified logical functions.
  • the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are equivalent.

Abstract

一种用于虚拟现实设备的解锁方法、装置(300)及虚拟现实设备(500),该解锁方法包括:显示图形解锁界面及光标(S110);采集佩戴虚拟现实设备的用户头部的第一转动数据(S120);根据第一转动数据移动光标,将光标在界面上的位置作为起始位置(S130);采集用户头部的第二转动数据(S140);根据第二转动数据移动光标,以得到解锁图形(S150);将解锁图形与设定解锁图形进行比对(S160),如果比对成功,则控制虚拟现实设备解锁(S170)。通过该解锁方法,不需要用户执行任何手动操作,仅仅依靠用户头部转动就能完成虚拟现实设备的图形解锁操作,提升了用户体验。

Description

用于虚拟现实设备的解锁方法、装置及虚拟现实设备 技术领域
本发明涉及虚拟现实设备解锁技术领域,更具体地,涉及一种用于虚拟现实设备的解锁方法、装置及虚拟现实设备。
背景技术
虚拟现实(Virtual Reality,简称VR),虚拟现实技术将是支撑一个定性和定量相结合,感性认识和理性认识相结合的综合集成多维信息空间的关键技术。随着网络的速度的提升,基于虚拟现实技术的一个互联网时代正悄然走来,它将极大地改变人们的生产和生活方式。
在手机上,完成图形解锁的方式是用手指选定起点,然后滑动手指的方式完成密码的输入。
在头戴式虚拟现实设备中,无法通过滑动手指的方式解锁,因此图形解锁方式无法直接在虚拟现实环境中使用。
发明内容
本发明的一个目的是提供一种用于虚拟现实设备解锁的新技术方案。
根据本发明的第一方面,提供了一种用于虚拟现实设备的解锁方法,包括:
显示图形解锁界面及光标;
采集佩戴所述虚拟现实设备的用户头部的第一转动数据;
根据所述第一转动数据移动所述光标,将所述光标在所述界面上的位置作为起始位置;
采集所述用户头部的第二转动数据;
根据所述第二转动数据移动所述光标,以得到解锁图形;
将所述解锁图形与设定解锁图形进行比对,如果比对成功,则控制所 述虚拟现实设备解锁。
可选的是,所述采集所述用户头部的第二转动数据之前还包括:
检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间,如是,则采集所述用户头部的第二转动数据。
可选的是,所述界面为由至少两个触点所构成的触点阵列。
可选的是,所述检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间之前还包括:
判断所述起始位置是否为所述触点阵列中的任一触点,如是,则检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间。
可选的是,所述根据所述第二转动数据移动所述光标,以得到解锁图形包括:
根据所述第二转动数据移动所述光标,以得到所述光标的移动轨迹;
根据所述移动轨迹确定所述光标在移动过程中在所述触点阵列上选中的触点;
依次连接选中的触点形成所述解锁图形。
可选的是,所述控制所述虚拟现实设备解锁之前还包括:
检测所述光标的位置是否超出预设的输入区域,如是,则采集佩戴所述虚拟现实设备的用户头部的第一转动数据。
可选的是,所述第一转动数据包括第一转动方向和第一转动角位移。
可选的是,所述根据所述第一转动数据移动所述光标,将所述光标在所述界面上的位置作为起始位置包括:
根据所述第一转动方向确定所述光标的移动方向;
查找预先存储的反映头部转动角位移和光标移动距离之间对应关系的对照表,确定对应第一转动角位移的光标移动距离作为第一移动距离;
根据所述移动方向和所述第一移动距离移动所述光标,将所述光标在所述界面上的位置作为起始位置。
根据本发明的第二方面,提供了一种用于虚拟现实设备的解锁装置,包括:
显示模块,用于显示图形解锁界面及光标;
第一采集模块,用于采集佩戴所述虚拟现实设备的用户头部的第一转动数据;
第一移动模块,用于根据所述第一转动数据移动所述光标,将所述光标在所述界面上的位置作为起始位置;
第二采集模块,用于在所述检测模块的检测结果为是的情况下,采集所述用户头部的第二转动数据;
第二移动模块,用于根据所述第二转动数据移动所述光标,以得到解锁图形;
比对模块,用于将所述解锁图形与设定解锁图形进行比对;以及,
解锁模块,用于在所述比对模块的比对结果为成功的情况下,控制所述虚拟现实设备解锁。
可选的是,所述装置还包括:
检测模块,用于检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间;以及,
所述第二采集模块用于在所述检测模块的检测结果为是的情况下,采集所述用户头部的第二转动数据。
可选的是,所述界面为由至少两个触点所构成的触点阵列。
可选的是,所述解锁装置还包括:
起始触点判断模块,用于判断所述起始位置是否为所述触点阵列中的任一触点;
所述检测模块具体用于在所述起始触点判断模块的判断结果为是的情况下,检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间。
可选的是,所述第二移动模块还包括:
轨迹确定单元,用于根据所述第二转动数据移动所述光标,以得到所述光标的移动轨迹;
触点选中单元,用于根据所述移动轨迹确定所述光标在移动过程中在所述触点阵列上选中的触点;以及,
图形形成单元,用于依次连接选中的触点形成所述解锁图形。
可选的是,所述解锁装置还包括:
位置检测模块,用于检测所述光标的位置是否超出预设的输入区域;
所述第一采集模块具体用于在所述位置检测模块的检测结果为是的情况下,采集佩戴所述虚拟现实设备的用户头部的第一转动数据。
可选的是,所述第一转动数据包括第一转动方向和第一转动位移。
可选的是,所述第一移动模块包括:
方向确定单元,用于根据所述第一转动方向确定所述光标的移动方向;
距离确定单元,查找预先存储的反映头部转动角位移和光标移动距离之间对应关系的对照表,确定对应第一转动角位移的光标移动距离作为第一移动距离;以及,
移动单元,用于根据所述移动方向和所述第一移动距离移动所述光标,将所述光标在所述界面上的位置作为起始位置。
根据本发明的第三方面,提供了一种虚拟现实设备,包括根据本发明第二方面所述的解锁装置。
根据本发明的第四方面,提供了一种虚拟现实设备,包括处理器和存储器,所述存储器用于存储指令,所述指令用于控制所述处理器执行根据本发明第一方面所述的解锁方法。
根据本发明的第五方面,提供了一种计算机可读存储介质,其存储有用于执行根据本发明的第一方面所述解锁方法的程序代码。
本发明一个实施例的一个有益效果在于,通过本发明的解锁方法,不需要用户执行任何手动操作,仅仅依靠用户头部转动就能完成虚拟现实设备的图形解锁操作,提升了用户体验。
通过以下参照附图对本发明的示例性实施例的详细描述,本发明的其它特征及其优点将会变得清楚。
附图说明
被结合在说明书中并构成说明书的一部分的附图示出了本发明的实施例,并且连同其说明一起用于解释本发明的原理。
图1为根据本发明一种用于虚拟现实设备的解锁方法的一种实施方式的流程图;
图2为根据本发明一种用于虚拟现实设备的解锁方法的另一种实施方式的流程图;
图3为根据本发明一种用于虚拟现实设备的解锁装置的一种实施结构的方框原理图;
图4为根据本发明一种用于虚拟现实设备的解锁装置的另一种实施结构的方框原理图;
图5为根据本发明一种虚拟现实设备的一种实施结构的方框原理图。
具体实施方式
现在将参照附图来详细描述本发明的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。
在这里示出和讨论的所有例子中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它例子可以具有不同的值。
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。
为了解决现有技术中存在的头戴式虚拟现实设备无法实现图形解锁的问题,提供了一种用于虚拟现实设备的解锁方法。其中,该虚拟现实设备例如可以是虚拟现实头盔或者虚拟现实眼镜等头戴式虚拟现实产品。
图1为根据本发明一种用于虚拟现实设备的解锁方法的一种实施方式的流程图。
根据图1所示,该解锁方法包括以下步骤:
步骤S110,显示图形解锁界面及光标。
具体的,该图形解锁界面例如可以但不限于是由至少两个触点所构成的触点阵列。目前比较常用的图形解锁方式就是采用3×3的触点阵列。然而在本发明实施例中并不限制触点阵列的具体形状或者大小,例如,本发明实施例中的触点阵列也可以为4×4,或者梯形、棱形、甚至三角形等阵列形式。
当光标处于位于触点之上时,该触点的颜色可以发生改变,例如可以变红或者是显示渐变颜色等。
步骤S120,采集佩戴该虚拟现实设备的用户头部的第一转动数据。
该虚拟现实设备可以包括三轴陀螺仪传感器,那么,采集的第一转动数据可以是通过控制该三轴陀螺仪传感器实现的。该第一转动数据例如可以是四元数Q,四元数Q是简单的超复数,是由实数加上三个虚数单位i、j、k组成,该四元数Q例如可以是:
Q=a+bi+cj+dk
a=cos x cos y cos z+sin x sin y sin z
b=sin x cos y cos z-cos x sin y sin z
c=cos x sin y cos z+sin x cos y sin z
d=cos x cos y sin z-sin x sin y cos z
x、y、z可以分别为陀螺仪检测到的三个正交轴上的角度。
步骤S130,根据第一转动数据移动光标,将光标在图形解锁界面上的位置作为起始位置。
具体的,本发明中所述的移动光标是指使光标相对于界面产生移动。并将光标根据第一转动数据移动之后、在图形解锁界面上所处的位置作为起始位置。
进一步地,该第一转动数据包括第一转动方向和第一转动角位移。
图2是根据本发明用于虚拟现实设备的解锁方法的另一种实施方式的流程图。
根据图2所示,该步骤S130可以包括:
步骤S131,根据第一转动方向确定光标的移动方向。
步骤S132,查找预先存储的反映头部转动角位移和光标移动距离之间 对应关系的对照表,确定对应第一转动角位移的光标移动距离作为第一移动距离。其中,光标的移动距离具体可以是光标相对于图形解锁界面的移动距离。
步骤S133,根据移动方向和第一移动距离移动光标,将光标移动后在图形解锁界面上的位置作为起始位置。
例如,在用户头部转动过程中,界面可以是保持不动的,光标随着头部的转动而转动,那么,光标与用户头部的转动可以是相同的,即光标的转动方向与头部的转动方向相同,且光标的转动角位移与头部的转动角位移也相同。
在本发明的一个具体实施例中,根据图2所示,执行完步骤S130之后,可以是执行步骤S210。
步骤S210,检测当光标处于起始位置时用户头部静止的时间是否超过设定时间,如是,则执行步骤S140,如否,则执行步骤S120。
具体的,可以是当陀螺仪输出的四元数Q=0,或者是四元数Q中的a、b、c、d均小于对应的设定值则认为用户头部静止,那么可以是检测当光标处于起始位置时陀螺仪输出的四元数Q持续等于0的时间、或者是检测四元数Q中的a、b、c、d均小于对应的设定值的时间是否超过设定时间,来实现当光标处于起始位置时用户头部静止的时间是否超过设定时间的检测。
如果图形解锁界面为触点阵列,在执行步骤S210之前还包括步骤S220。
步骤S220,判断起始位置是否为触点阵列中的任一触点,如是,则执行步骤S210,如否,则继续执行步骤S120。
进一步地,对于触点阵列的图像解锁界面,只有当光标移动至触点位置之上时,其光标绘制的图形才是有效的,因此,可以在检测到起始位置为任一触点位置时,才执行步骤S210。
在本发明的另一个具体实施例中,也可以在执行完步骤S130之后执行步骤S210,在步骤S210中检测到光标处于起始位置时用户头部静止的时间超过设定时间的情况下,执行步骤S220;在检测到光标处于起始位置 时用户头部静止的时间未超过设定时间的情况下,执行步骤S120。在步骤S220中,在起始位置是为触点阵列中的任一触点的情况下,执行步骤S140;在起始位置不是触点阵列中的任一触点的情况下,执行步骤S120。
步骤S140,采集用户头部的第二转动数据。
第二转动数据可以也是由上述陀螺仪采集的,也可以是四元数。
步骤S150,根据第二转动数据移动光标,以得到解锁图形。
具体的,第二转动数据包括第二转动方向和第二转动角度。根据第二转动数据移动光标的具体方式可以与上述的根据第一转动数据移动光标的具体方式相同,在此不再赘述。
解锁图形可以是“Z”形、“L”形、三角形等图形,且该解锁图形具有绘制顺序,一笔成形。
如果图形解锁界面为触点阵列,该步骤S150可以具体包括:
步骤S151,根据第二转动数据移动光标,以得到光标的移动轨迹。
步骤S152,根据移动轨迹确定光标在移动过程中在触点阵列上选中的触点。
当光标在触点阵列上移动时,光标位于触点之上,则认为光标选中该触点。
步骤S153,依次连接选中的触点形成解锁图形。
具体的,可以是根据选中的顺序来连接选中的触点,以在触点阵列上绘制出解锁图形,且该解锁图形包括起始位置所在的触点、及选中触点的连接顺序。
为了使得用户在解锁图形输入错误的情况下重新输入,在本发明的一个具体实施例中,执行该步骤S150的过程中,还可以同时检测光标的位置是否超出预设的输入区域,如是,则执行步骤S120。
这样,能够便于取消光标移动得到的移动轨迹,避免误操作使得解锁密码输入错误可能导致虚拟现实设备锁定、进而增加用户困扰的问题发生。
步骤S160,将该解锁图形与设定解锁图形进行比对,如果比对成功,则执行步骤S170,如果比对失败,则可以执行步骤S120或者是步骤S140。
将该解锁图形与设定解锁图形进行比对具体包括:比对解锁图形和设 定解锁图形的图形形状、及解锁图形和设定解锁图形的绘制顺序,只有当图形形状和绘制顺序均相同时,才认为比对成功。
进一步地,可以是在光标的移动过程中,实时生成解锁密码,并实时将解锁密码与设定解锁密码进行比对;也可以是根据选择起始位置的方法选择终点位置,在选定终点位置之后,生成包括起始位置、移动轨迹和终点位置解锁密码,再将该解锁密码与设定解锁密码进行比对。
在此基础上,虚拟现实设备需预先存储用户输入的设定解锁密码。
步骤S170,控制该虚拟现实设备解锁。
虚拟现实设备解锁之后,解锁密码输入界面将消失,并进入用户可操作的界面。
这样,通过本发明的解锁方法,不需要用户执行任何手动操作,仅仅依靠用户头部转动就能完成虚拟现实设备的图形解锁操作,提升了用户体验。
与上述方法相对应的,本发明还提供了一种用于虚拟现实设备的解锁装置。图3为根据本发明一种用于虚拟现实设备的解锁装置的一种实施结构的方框原理图。
根据图3所示,该解锁装置300包括显示模块310、第一采集模块320、第一移动模块330、第二采集模块340、第二移动模块350、比对模块360和解锁模块370。
上述显示模块310用于显示图形解锁界面及光标。
上述第一采集模块320用于采集佩戴虚拟现实设备的用户头部的第一转动数据。
上述第一移动模块330用于根据第一转动数据移动光标,将光标在界面上的位置作为起始位置。
上述第二采集模块340用于在检测模块的检测结果为是的情况下,采集用户头部的第二转动数据。
上述第二移动模块350用于根据第二转动数据移动光标,以得到解锁图形。
上述比对模块360用于将解锁图形与设定解锁图形进行比对。
上述解锁模块370用于在比对模块的比对结果为成功的情况下,控制虚拟现实设备解锁。
图4为根据本发明一种用于虚拟现实设备的解锁装置的另一种实施结构的方框原理图。
根据图4所示,该装置300还包括检测模块410,该检测模块410用于检测当光标处于起始位置时用户头部静止的时间是否超过设定时间;上述第二采集模块340用于在检测模块410的检测结果为是的情况下,采集用户头部的第二转动数据。
具体的,该解锁装置300还包括位置检测模块420,该位置检测模块420用于检测光标的位置是否超出预设的输入区域;第一采集模块320还用于在位置检测模块的检测结果为是的情况下,采集佩戴虚拟现实设备的用户头部的第一转动数据。
进一步地,第一转动数据包括第一转动方向和第一转动位移。
在此基础上,第一移动模块330包括方向确定单元331、距离确定单元332和移动单元333。该方向确定单元331用于根据第一转动方向确定光标的移动方向;该距离确定单元332查找预先存储的反映头部转动角位移和光标移动距离之间对应关系的对照表,确定对应第一转动角位移的光标移动距离作为第一移动距离;该移动单元333用于根据移动方向和第一移动距离移动光标,将光标在界面上的位置作为起始位置。
在本发明的一个具体实施例中,图形解锁界面为由至少两个触点所构成的触点阵列。
进一步地,解锁装置300还包括起始触点判断模块430,该起始触点判断模块430用于判断起始位置是否为触点阵列中的任一触点;检测模块410具体用于在起始触点判断模块430的判断结果为是的情况下,检测当光标处于起始位置时用户头部静止的时间是否超过设定时间。
在此基础上,第二移动模块350还包括轨迹确定单元351、触点选中单元352和图形形成单元353。该轨迹确定单元351用于根据第二转动数据移动光标,以得到光标的移动轨迹;该触点选中单元352用于根据移动轨迹确定光标在移动过程中在触点阵列上选中的触点;该图形形成单元353 用于依次连接选中的触点形成解锁图形。
本发明还提供了一种虚拟现实设备,在一方面,该虚拟现实设备包括前述的用于虚拟现实设备的解锁装置300。
图5为根据本发明另一方面的该虚拟现实设备的实施结构的方框原理图。
根据图5所示,该虚拟现实设备500包括存储器501和处理器502,该存储器501用于存储指令,该指令用于控制处理器502进行操作以执行上述用于虚拟现实设备的解锁方法。
该处理器502例如可以是中央处理器CPU、微处理器MCU等。该存储器501例如包括ROM(只读存储器)、RAM(随机存取存储器)、诸如硬盘的非易失性存储器等。
除此之外,根据图5所示,该虚拟现实设备500还包括接口装置503、输入装置504、显示装置505、通信装置506、扬声器507、麦克风508等等。尽管在图5中示出了多个装置,但是,本发明虚拟现实设备可以仅涉及其中的部分装置,例如,处理器501、存储器502、显示装置505等。
上述通信装置506例如能够进行有有线或无线通信。
上述接口装置503例如包括耳机插孔、USB接口等。
上述输入装置504例如可以包括触摸屏、按键等。
上述显示装置505例如是液晶显示屏、触摸显示屏等。
本发明虚拟现实设备例如可以是虚拟现实头盔、虚拟现实眼镜等头戴式虚拟现实产品。
上述各实施例主要重点描述与其他实施例的不同之处,但本领域技术人员应当清楚的是,上述各实施例可以根据需要单独使用或者相互结合使用。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分相互参见即可,每个实施例重点说明的都是与其他实施例的不同之处,但本领域技术人员应当清楚的是,上述各实施例可以根据需要单独使用或者相互结合使用。另外,对于装置实施例而言,由于其是与方法实施例相对应,所以描述得比较简单,相关之处参见方法实施例的对应 部分的说明即可。以上所描述的系统实施例仅仅是示意性的,其中作为分离部件说明的模块可以是或者也可以不是物理上分开的。
本发明可以是装置、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本发明的各个方面的计算机可读程序指令。
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是——但不限于——电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。
用于执行本发明操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言-诸如Smalltalk、C++等,以及常规的过程式编程语言-诸如“C”语言或类似的编程语言。计算机可读程序指 令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络-包括局域网(LAN)或广域网(WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本发明的各个方面。
这里参照根据本发明实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本发明的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述 模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。对于本领域技术人员来说公知的是,通过硬件方式实现、通过软件方式实现以及通过软件和硬件结合的方式实现都是等价的。
以上已经描述了本发明的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。本发明的范围由所附权利要求来限定。

Claims (19)

  1. 一种用于虚拟现实设备的解锁方法,其特征在于,包括:
    显示图形解锁界面及光标;
    采集佩戴所述虚拟现实设备的用户头部的第一转动数据;
    根据所述第一转动数据移动所述光标,将所述光标在所述界面上的位置作为起始位置;
    采集所述用户头部的第二转动数据;
    根据所述第二转动数据移动所述光标,以得到解锁图形;
    将所述解锁图形与设定解锁图形进行比对,如果比对成功,则控制所述虚拟现实设备解锁。
  2. 根据权利要求1所述的解锁方法,其特征在于,所述采集所述用户头部的第二转动数据之前还包括:
    检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间,如是,则采集所述用户头部的第二转动数据。
  3. 根据权利要求2所述的解锁方法,其特征在于,所述界面为由至少两个触点所构成的触点阵列。
  4. 根据权利要求3所述的解锁方法,其特征在于,所述检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间之前还包括:
    判断所述起始位置是否为所述触点阵列中的任一触点,如是,则检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间。
  5. 根据权利要求4所述的解锁方法,其特征在于,所述根据所述第二转动数据移动所述光标,以得到解锁图形包括:
    根据所述第二转动数据移动所述光标,以得到所述光标的移动轨迹;
    根据所述移动轨迹确定所述光标在移动过程中在所述触点阵列上选中的触点;
    依次连接选中的触点形成所述解锁图形。
  6. 根据权利要求1-5中任一项所述的解锁方法,其特征在于,所述控制所述虚拟现实设备解锁之前还包括:
    检测所述光标的位置是否超出预设的输入区域,如是,则采集佩戴所述虚拟现实设备的用户头部的第一转动数据。
  7. 根据权利要求1-6中任一项所述的解锁方法,其特征在于,所述第一转动数据包括第一转动方向和第一转动角位移。
  8. 根据权利要求7所述的解锁方法,其特征在于,所述根据所述第一转动数据移动所述光标,将所述光标在所述界面上的位置作为起始位置包括:
    根据所述第一转动方向确定所述光标的移动方向;
    查找预先存储的反映头部转动角位移和光标移动距离之间对应关系的对照表,确定对应第一转动角位移的光标移动距离作为第一移动距离;
    根据所述移动方向和所述第一移动距离移动所述光标,将所述光标在所述界面上的位置作为起始位置。
  9. 一种用于虚拟现实设备的解锁装置,其特征在于,包括:
    显示模块,用于显示图形解锁界面及光标;
    第一采集模块,用于采集佩戴所述虚拟现实设备的用户头部的第一转动数据;
    第一移动模块,用于根据所述第一转动数据移动所述光标,将所述光标在所述界面上的位置作为起始位置;
    第二采集模块,用于在所述检测模块的检测结果为是的情况下,采集所述用户头部的第二转动数据;
    第二移动模块,用于根据所述第二转动数据移动所述光标,以得到解锁图形;
    比对模块,用于将所述解锁图形与设定解锁图形进行比对;以及,
    解锁模块,用于在所述比对模块的比对结果为成功的情况下,控制所述虚拟现实设备解锁。
  10. 根据权利要求9所述的解锁装置,其特征在于,所述装置还包括:
    检测模块,用于检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间;
    所述第二采集模块用于在所述检测模块的检测结果为是的情况下,采集所述用户头部的第二转动数据。
  11. 根据权利要求10所述的解锁装置,其特征在于,所述界面为由至少两个触点所构成的触点阵列。
  12. 根据权利要求11所述的解锁装置,其特征在于,所述解锁装置还包括:
    起始触点判断模块,用于判断所述起始位置是否为所述触点阵列中的任一触点;以及,
    所述检测模块具体用于在所述起始触点判断模块的判断结果为是的情况下,检测当所述光标处于所述起始位置时所述用户头部静止的时间是否超过设定时间。
  13. 根据权利要求12所述的解锁装置,其特征在于,所述第二移动模块包括:
    轨迹确定单元,用于根据所述第二转动数据移动所述光标,以得到所述光标的移动轨迹;
    触点选中单元,用于根据所述移动轨迹确定所述光标在移动过程中在所述触点阵列上选中的触点;以及,
    图形形成单元,用于依次连接选中的触点形成所述解锁图形。
  14. 根据权利要求9-13中任一项所述的解锁装置,其特征在于,所述解锁装置还包括:
    位置检测模块,用于检测所述光标的位置是否超出预设的输入区域;
    所述第一采集模块具体用于在所述位置检测模块的检测结果为是的情况下,采集佩戴所述虚拟现实设备的用户头部的第一转动数据。
  15. 根据权利要求9-14中任一项所述的解锁装置,其特征在于,所述第一转动数据包括第一转动方向和第一转动位移。
  16. 根据权利要求15所述的解锁装置,其特征在于,所述第一移动模块包括:
    方向确定单元,用于根据所述第一转动方向确定所述光标的移动方向;
    距离确定单元,查找预先存储的反映头部转动角位移和光标移动距离之间对应关系的对照表,确定对应第一转动角位移的光标移动距离作为第一移动距离;以及,
    移动单元,用于根据所述移动方向和所述第一移动距离移动所述光标,将所述光标在所述界面上的位置作为起始位置。
  17. 一种虚拟现实设备,其特征在于,包括根据权利要求9-16中任一项所述的解锁装置。
  18. 一种虚拟现实设备,其特征在于,包括陀螺仪、处理器和存储器,所述存储器用于存储指令,所述指令用于控制所述处理器执行根据权利要求1-8中任一项所述的解锁方法。
  19. 一种计算机可读存储介质,其特征在于,存储有用于执行根据权利要求1-8中任一项所述解锁方法的程序代码。
PCT/CN2017/076817 2017-02-06 2017-03-15 用于虚拟现实设备的解锁方法、装置及虚拟现实设备 WO2018141124A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710067070.2 2017-02-06
CN201710067070.2A CN106933349A (zh) 2017-02-06 2017-02-06 用于虚拟现实设备的解锁方法、装置及虚拟现实设备

Publications (1)

Publication Number Publication Date
WO2018141124A1 true WO2018141124A1 (zh) 2018-08-09

Family

ID=59422977

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/076817 WO2018141124A1 (zh) 2017-02-06 2017-03-15 用于虚拟现实设备的解锁方法、装置及虚拟现实设备

Country Status (2)

Country Link
CN (1) CN106933349A (zh)
WO (1) WO2018141124A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480490B (zh) * 2017-07-18 2020-07-24 歌尔科技有限公司 一种用于头戴显示器的解锁方法、装置及头戴显示器
CN107545162A (zh) * 2017-07-31 2018-01-05 北京小鸟看看科技有限公司 可穿戴设备的解锁方法及装置、可穿戴设备
CN109559497A (zh) * 2017-09-27 2019-04-02 朗德万斯公司 利用遥控器控制电子装置的方法、遥控器和系统
CN109145566A (zh) * 2018-09-08 2019-01-04 太若科技(北京)有限公司 基于注视点信息解锁ar眼镜的方法、装置及ar眼镜

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346544A (zh) * 2010-07-30 2012-02-08 鸿富锦精密工业(深圳)有限公司 具有互动功能的头戴式显示系统及显示方法
CN103513753A (zh) * 2012-06-18 2014-01-15 联想(北京)有限公司 信息处理方法和电子设备
CN105487767A (zh) * 2014-09-16 2016-04-13 中兴通讯股份有限公司 终端设备解锁方法及装置
CN105929958A (zh) * 2016-04-26 2016-09-07 华为技术有限公司 一种手势识别方法,装置和头戴式可视设备
CN105955461A (zh) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 一种交互界面管理方法和系统
US20160282966A1 (en) * 2015-03-23 2016-09-29 Uhdevice Electronics Jiangsu Co., Ltd. Input devices and methods

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566874A (zh) * 2008-04-24 2009-10-28 鸿富锦精密工业(深圳)有限公司 控制装置及使用该控制装置的电子设备
KR102070281B1 (ko) * 2013-08-26 2020-01-28 엘지전자 주식회사 두부 장착형 디스플레이 장치 및 이의 제어방법
TWI533234B (zh) * 2015-07-24 2016-05-11 由田新技股份有限公司 基於眼部動作的控制方法及其應用之裝置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346544A (zh) * 2010-07-30 2012-02-08 鸿富锦精密工业(深圳)有限公司 具有互动功能的头戴式显示系统及显示方法
CN103513753A (zh) * 2012-06-18 2014-01-15 联想(北京)有限公司 信息处理方法和电子设备
CN105487767A (zh) * 2014-09-16 2016-04-13 中兴通讯股份有限公司 终端设备解锁方法及装置
US20160282966A1 (en) * 2015-03-23 2016-09-29 Uhdevice Electronics Jiangsu Co., Ltd. Input devices and methods
CN105955461A (zh) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 一种交互界面管理方法和系统
CN105929958A (zh) * 2016-04-26 2016-09-07 华为技术有限公司 一种手势识别方法,装置和头戴式可视设备

Also Published As

Publication number Publication date
CN106933349A (zh) 2017-07-07

Similar Documents

Publication Publication Date Title
US9110561B2 (en) Context sensitive actions
AU2015301620B2 (en) Remote expert system
WO2018141124A1 (zh) 用于虚拟现实设备的解锁方法、装置及虚拟现实设备
JP6048898B2 (ja) 情報表示装置、情報表示方法および情報表示プログラム
EP3033669B1 (en) Context sensitive actions in response to touch input
US20160054791A1 (en) Navigating augmented reality content with a watch
US20150187137A1 (en) Physical object discovery
US20200133432A1 (en) Virtual touch screen
US10019157B2 (en) Modifying key size on a touch screen based on fingertip location
WO2015102854A1 (en) Assigning virtual user interface to physical object
US11579753B2 (en) Electronic device, method, and computer-readable medium for providing split screen
MX2011000607A (es) Presentacion de cuadriculas dinamicas.
WO2015131630A1 (zh) 桌面图标的置换方法及装置
US20150185826A1 (en) Mapping gestures to virtual functions
TW201403446A (zh) 軟體介面顯示系統及方法
US9916084B2 (en) Enlarging or reducing an image on a display screen
US9310929B2 (en) Unlocking touch screen devices
US20160334971A1 (en) Object Manipulation System and Method
WO2016169204A1 (zh) 结点位置确定方法及装置
KR20180122308A (ko) 사용자 인터페이스를 제공하기 위한 방법, 디바이스, 시스템 및 비일시성의 컴퓨터 판독 가능한 기록 매체
WO2019001060A1 (zh) 应用显示方法和装置、三维空间显示界面的操作方法和装置、显示方法和装置、应用内容的展示方法和装置,及终端设备

Legal Events

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

Ref document number: 17895477

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17895477

Country of ref document: EP

Kind code of ref document: A1