CN106547353A - Based reminding method and device - Google Patents
Based reminding method and device Download PDFInfo
- Publication number
- CN106547353A CN106547353A CN201610921362.3A CN201610921362A CN106547353A CN 106547353 A CN106547353 A CN 106547353A CN 201610921362 A CN201610921362 A CN 201610921362A CN 106547353 A CN106547353 A CN 106547353A
- Authority
- CN
- China
- Prior art keywords
- information
- user
- reminder
- virtual reality
- distance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/012—Head tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/013—Force feedback applied to a game
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)
- Helmets And Other Head Coverings (AREA)
Abstract
Description
技术领域technical field
本公开涉及虚拟现实头盔技术领域,尤其涉及一种提醒方法及装置。The present disclosure relates to the technical field of virtual reality helmets, in particular to a reminder method and device.
背景技术Background technique
在使用VR(Virtual Reality,虚拟现实)头盔的时候,由于无法看到客观世界的障碍物,经常在使用手柄进行挥动的时候,可能会碰到障碍物,例如桌子椅子之类的,造成伤害。在移动过程中,也可能会碰到墙壁等障碍物造成伤害。When using a VR (Virtual Reality, virtual reality) helmet, because you cannot see obstacles in the objective world, you may encounter obstacles, such as tables and chairs, when you swing the handle, causing damage. In the process of moving, you may also encounter obstacles such as walls and cause damage.
发明内容Contents of the invention
本公开实施例提供一种提醒方法及装置,包括如下技术方案:Embodiments of the present disclosure provide a reminder method and device, including the following technical solutions:
根据本公开实施例的第一方面,提供一种提醒方法,用于虚拟现实头盔,包括:According to the first aspect of the embodiments of the present disclosure, there is provided a reminding method for a virtual reality helmet, including:
获取所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离;Obtain the distance between the current position of the virtual reality helmet and the nearest obstacle;
获取佩戴所述虚拟现实头盔的用户的臂长信息,以及使用所述虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;Acquiring the arm length information of the user wearing the virtual reality helmet, and the swing arm amplitude information corresponding to the game application using the virtual reality helmet;
根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。Outputting reminder information according to the arm length information, the arm amplitude information to be swung and the separation distance, the reminder information is used to remind the user whether the current location is safe.
在一个实施例中,所述根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,包括:In one embodiment, the outputting reminder information according to the arm length information, the amplitude information of the arm to be swung and the interval distance includes:
根据所述用户的臂长信息和所述需摆动手臂幅度信息确定所述用户手臂的最远摆动距离;determining the farthest swing distance of the user's arm according to the arm length information of the user and the amplitude information of the arm to be swung;
将所述间隔距离与所述最远摆动距离进行比较;comparing the separation distance with the furthest swing distance;
根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。Outputting reminder information according to the comparison result, where the reminder information is used to remind the user whether the current location is safe.
在一个实施例中,所述获取所述虚拟现实头盔当前所处的位置与最近的障碍物之间的间隔距离,包括:In one embodiment, the acquiring the distance between the current position of the virtual reality helmet and the nearest obstacle includes:
当检测到所述虚拟现实头盔被佩戴时,获取预设范围之内的图像信息;When it is detected that the virtual reality helmet is worn, image information within a preset range is acquired;
对所述图像信息进行分析,得到所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。The image information is analyzed to obtain the distance between the current position of the virtual reality helmet and the nearest obstacle.
在一个实施例中,所述获取佩戴所述虚拟现实头盔的用户的臂长信息,包括:In one embodiment, the acquiring the arm length information of the user wearing the virtual reality helmet includes:
接收用户输入的臂长信息;或者receiving arm length information entered by the user; or
获取所述用户的身高信息,根据所述身高信息估算出所述臂长信息。Obtain the height information of the user, and estimate the arm length information according to the height information.
在一个实施例中,所述根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全,包括:In one embodiment, the outputting reminder information according to the comparison result, the reminder information is used to remind the user whether the current location is safe, including:
当所述间隔距离小于或者等于所述最远摆动距离时,输出第一提醒信息,所述第一提醒信息用于提醒用户所述当前位置不安全。When the separation distance is less than or equal to the furthest swing distance, output first reminder information, where the first reminder information is used to remind the user that the current location is unsafe.
在一个实施例中,所述根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全,还包括:In one embodiment, the outputting reminder information according to the comparison result, where the reminder information is used to remind the user whether the current location is safe, further includes:
当所述间隔距离大于所述最远摆动距离时,输出第二提醒信息,所述第一提醒信息用于提醒用户所述当前位置安全。When the separation distance is greater than the furthest swing distance, second reminder information is output, and the first reminder information is used to remind the user that the current location is safe.
根据本公开实施例的第二方面,提供一种提醒装置,包括:According to a second aspect of an embodiment of the present disclosure, a reminder device is provided, including:
第一获取模块,用于获取所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离;The first obtaining module is used to obtain the separation distance between the current position of the virtual reality helmet and the nearest obstacle;
第二获取模块,用于获取佩戴所述虚拟现实头盔的用户的臂长信息,以及使用所述虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;The second acquisition module is used to acquire the arm length information of the user wearing the virtual reality helmet, and the arm amplitude information corresponding to the game application using the virtual reality helmet;
提醒模块,用于根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。A reminder module, configured to output reminder information according to the arm length information, the arm amplitude information to be swung and the separation distance, the reminder information is used to remind the user whether the current location is safe.
在一个实施例中,所述提醒模块包括:In one embodiment, the reminder module includes:
确定子模块,用于根据所述用户的臂长信息和所述需摆动手臂幅度信息确定所述用户手臂的最远摆动距离;A determining submodule, configured to determine the farthest swing distance of the user's arm according to the user's arm length information and the swing arm amplitude information;
比较子模块,用于将所述间隔距离与所述最远摆动距离进行比较;A comparison sub-module is used to compare the separation distance with the furthest swing distance;
第一提醒子模块,用于根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。The first reminder submodule is configured to output reminder information according to the comparison result, and the reminder information is used to remind the user whether the current location is safe.
在一个实施例中,所述第一获取模块包括:In one embodiment, the first acquisition module includes:
第一获取子模块,用于当检测到所述虚拟现实头盔被佩戴时,获取预设范围之内的图像信息;The first acquisition sub-module is used to acquire image information within a preset range when it is detected that the virtual reality helmet is worn;
分析子模块,用于对所述图像信息进行分析,得到所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。The analysis sub-module is configured to analyze the image information to obtain the distance between the current position of the virtual reality helmet and the nearest obstacle.
在一个实施例中,所述第二获取模块包括:In one embodiment, the second acquisition module includes:
接收子模块,用于接收用户输入的臂长信息;The receiving sub-module is used to receive the arm length information input by the user;
第二获取子模块,用于获取所述用户的身高信息,根据所述身高信息估算出所述臂长信息。The second obtaining sub-module is used to obtain the height information of the user, and estimate the arm length information according to the height information.
在一个实施例中,所述提醒模块包括:In one embodiment, the reminder module includes:
第二提醒子模块,用于当所述间隔距离小于或者等于所述最远摆动距离时,输出第一提醒信息,所述第一提醒信息用于提醒用户所述当前位置不安全。The second reminder sub-module is configured to output first reminder information when the separation distance is less than or equal to the furthest swing distance, and the first reminder information is used to remind the user that the current location is unsafe.
在一个实施例中,所述提醒模块还包括:In one embodiment, the reminder module also includes:
第三提醒子模块,用于当所述间隔距离大于所述最远摆动距离时,输出第二提醒信息,所述第一提醒信息用于提醒用户所述当前位置安全。The third reminder sub-module is configured to output second reminder information when the separation distance is greater than the furthest swing distance, and the first reminder information is used to remind the user that the current location is safe.
根据本公开实施例的第三方面,提供一种提醒装置,包括:According to a third aspect of an embodiment of the present disclosure, a reminder device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
获取所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离;Obtain the distance between the current position of the virtual reality helmet and the nearest obstacle;
获取佩戴所述虚拟现实头盔的用户的臂长信息,以及使用所述虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;Acquiring the arm length information of the user wearing the virtual reality helmet, and the swing arm amplitude information corresponding to the game application using the virtual reality helmet;
根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。Outputting reminder information according to the arm length information, the arm amplitude information to be swung and the separation distance, the reminder information is used to remind the user whether the current location is safe.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
上述技术方案,在用户使用虚拟现实头盔体验游戏之前,获取虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离,并根据用户的臂长信息和游戏给出的需摆动手臂幅度信息确定用户手臂的最远摆动距离,进而比较间隔距离和最远摆动距离的大小,从而确定用户在当前位置进行游戏是安全,并对用户进行提醒,这样,可以避免用户在使用虚拟现实头盔的过程中碰到障碍物,避免给用户造成不必要的伤害。In the above technical solution, before the user uses the virtual reality helmet to experience the game, the distance between the current position of the virtual reality helmet and the nearest obstacle is obtained, and according to the user's arm length information and the information on the amplitude of the arm to be swung given by the game Determine the farthest swing distance of the user's arm, and then compare the separation distance and the farthest swing distance, so as to determine that it is safe for the user to play games at the current position, and remind the user, so that the user can avoid the process of using the virtual reality helmet When encountering obstacles, avoid unnecessary harm to users.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种提醒方法的流程图。Fig. 1 is a flow chart of a reminder method according to an exemplary embodiment.
图2A是根据一示例性实施例示出的一种提醒方法中步骤S103的流程图。Fig. 2A is a flow chart of step S103 in a reminding method according to an exemplary embodiment.
图2B是根据一示例性实施例示出的一种提醒方法中步骤S101的流程图。Fig. 2B is a flow chart of step S101 in a reminding method according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种提醒方法中步骤S102的流程图。Fig. 3 is a flow chart of step S102 in a reminding method according to an exemplary embodiment.
图4是根据一示例性实施例示出的另一种提醒方法中步骤S102的流程图。Fig. 4 is a flow chart of step S102 in another reminding method according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种提醒方法中步骤S105的流程图。Fig. 5 is a flow chart of step S105 in a reminding method according to an exemplary embodiment.
图6是根据一示例性实施例示出的另一种提醒方法中步骤S105的流程图。Fig. 6 is a flow chart of step S105 in another reminding method according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种提醒装置的框图。Fig. 7 is a block diagram of a reminding device according to an exemplary embodiment.
图8A是根据一示例性实施例示出的一种提醒装置中提醒模块的框图。Fig. 8A is a block diagram of a reminder module in a reminder device according to an exemplary embodiment.
图8B是根据一示例性实施例示出的一种提醒装置中第一获取模块的框图。Fig. 8B is a block diagram of a first acquiring module in a reminding device according to an exemplary embodiment.
图9是根据一示例性实施例示出的一种提醒装置中第二获取模块的框图。Fig. 9 is a block diagram of a second acquiring module in a reminding device according to an exemplary embodiment.
图10是根据一示例性实施例示出的一种提醒装置中提醒模块的框图。Fig. 10 is a block diagram of a reminder module in a reminder device according to an exemplary embodiment.
图11是根据一示例性实施例示出的另一种提醒装置中提醒模块的框图。Fig. 11 is a block diagram of a reminder module in another reminder device according to an exemplary embodiment.
图12是根据一示例性实施例示出的一种用于提醒装置的框图。Fig. 12 is a block diagram showing a reminder device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
本公开实施例提供了一种提醒方法,该方法可用于虚拟现实头盔中。An embodiment of the present disclosure provides a reminder method, which can be used in a virtual reality helmet.
图1是根据一示例性实施例示出的一种提醒方法的流程图。Fig. 1 is a flow chart of a reminder method according to an exemplary embodiment.
如图1所示,该方法包括步骤S101-S103:As shown in Figure 1, the method includes steps S101-S103:
在步骤S101中,获取虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离;In step S101, the distance between the current position of the virtual reality helmet and the nearest obstacle is obtained;
在该实施例中,可以在检测到用户佩戴事件时,开始获取虚拟现实头盔当前所处的位置与最近的障碍物之间的间隔距离。具体地,可以通过不同方式获取该间隔距离,如通过设置在虚拟现实头盔上的红外传感器获取当前位置与最近的障碍物之间的间隔距离,或者通过设置在虚拟现实头盔上的距离传感器等获取当前位置与最近的障碍物之间的间隔距离。In this embodiment, when the wearing event of the user is detected, the separation distance between the current position of the virtual reality helmet and the nearest obstacle may be acquired. Specifically, the separation distance can be acquired in different ways, such as acquiring the separation distance between the current position and the nearest obstacle through an infrared sensor set on the virtual reality helmet, or through a distance sensor set on the virtual reality helmet, etc. The separation distance between the current position and the nearest obstacle.
在步骤S102中,获取佩戴虚拟现实头盔的用户的臂长信息,以及使用虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;In step S102, the arm length information of the user wearing the virtual reality helmet, and the swing arm range information corresponding to the game application using the virtual reality helmet are obtained;
用户的臂长信息可以是用户在注册游戏应用账户的时候填写的信息,也可以通过设置在虚拟现实头盔上的传感器等进行获取。如用户将手臂垂直于地面,手尖接触地面,低头通过虚拟现实头盔确定头盔到地面的距离,此距离即为用户的臂长信息。The user's arm length information may be information filled in by the user when registering a game application account, or may be obtained through a sensor or the like set on the virtual reality helmet. If the user puts the arm perpendicular to the ground, the tip of the hand touches the ground, and lowers the head to determine the distance from the helmet to the ground through the virtual reality helmet, this distance is the user's arm length information.
在游戏应用中,会给出需摆动手臂幅度信息,如手臂摆动约90度,手臂摆动约45度等。手臂摆动90度即手臂与地面平行。其中,手臂幅度信息,可以是手臂摆动的角度信息,也可以是其他信息。In game applications, information about the range of the arm to be swung will be given, such as about 90 degrees of arm swing, about 45 degrees of arm swing, and so on. The arm swings 90 degrees, that is, the arm is parallel to the ground. Wherein, the arm amplitude information may be angle information of arm swing, or other information.
在步骤S103中,根据臂长信息、需摆动手臂幅度信息和间隔距离输出提醒信息,提醒信息用于提醒用户当前位置是否安全。In step S103, a reminder message is output according to the arm length information, the amplitude information of the arm to be swung, and the separation distance, and the reminder message is used to remind the user whether the current location is safe.
在该实施例中,在用户使用虚拟现实头盔体验游戏之前,获取虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离,并根据用户的臂长信息和游戏给出的需摆动手臂幅度信息确定用户手臂的最远摆动距离,进而比较间隔距离和最远摆动距离的大小,从而确定用户在当前位置进行游戏是安全,并对用户进行提醒,这样,可以避免用户在使用虚拟现实头盔的过程中碰到障碍物,避免给用户造成不必要的伤害。In this embodiment, before the user uses the virtual reality helmet to experience the game, the distance between the current position of the virtual reality helmet and the nearest obstacle is obtained, and the user's arm length information and the need to swing the arm given by the game are obtained. The amplitude information determines the farthest swing distance of the user's arm, and then compares the distance between the distance and the farthest swing distance, so as to determine that it is safe for the user to play the game at the current position, and remind the user, so that the user can avoid using the virtual reality helmet. Encounter obstacles in the process to avoid unnecessary harm to users.
图2A是根据一示例性实施例示出的一种提醒方法中步骤S103的流程图。Fig. 2A is a flow chart of step S103 in a reminding method according to an exemplary embodiment.
如图2A所示,在一个实施例中,上述步骤S103包括步骤S201-S203:As shown in Figure 2A, in one embodiment, the above step S103 includes steps S201-S203:
在步骤S201中,根据用户的臂长信息和需摆动手臂幅度信息确定用户手臂的最远摆动距离;In step S201, the farthest swing distance of the user's arm is determined according to the user's arm length information and the swing arm amplitude information;
根据用户的臂长信息和需摆动手臂幅度信息,可以计算出用户手臂的最远摆动距离。其中,在整个游戏过程中,需摆动幅度信息有多个,根据用户的臂长信息和多个需摆动手臂幅度信息,计算出多个用户手臂的摆动距离,从中选取距离最远的,将其作为最远摆动距离。According to the arm length information of the user and the information of the amplitude of the arm to be swung, the farthest swing distance of the user's arm can be calculated. Among them, in the whole game process, there are multiple pieces of swing range information. According to the user's arm length information and the multiple swing range information of the arms, the swing distances of multiple users' arms are calculated, and the one with the farthest distance is selected. as the furthest swing distance.
在步骤S202中,将间隔距离与最远摆动距离进行比较;In step S202, the separation distance is compared with the farthest swing distance;
将用户手臂的最远摆动距离与用户与障碍物之间的间隔距离进行比较,即可确定用户在实际玩游戏摆动手臂的过程中,会不会触碰到障碍物。Comparing the farthest swing distance of the user's arm with the distance between the user and the obstacle, it can be determined whether the user will touch the obstacle when swinging the arm in the actual game.
在步骤S203中,根据比较结果输出提醒信息,提醒信息用于提醒用户当前位置是否安全。In step S203, a reminder message is output according to the comparison result, and the reminder message is used to remind the user whether the current location is safe or not.
根据比较结果对用户进行提醒,从而可以使用户获知当前位置是否安全,提升用户的使用体验。The user is reminded according to the comparison result, so that the user can know whether the current location is safe, and the user experience is improved.
在该实施例中,在用户使用虚拟现实头盔体验游戏之前,获取虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离,并根据用户的臂长信息和游戏给出的需摆动手臂幅度信息确定用户手臂的最远摆动距离,进而比较间隔距离和最远摆动距离的大小,从而确定用户在当前位置进行游戏是安全,并对用户进行提醒,这样,可以避免用户在使用虚拟现实头盔的过程中碰到障碍物,避免给用户造成不必要的伤害。In this embodiment, before the user uses the virtual reality helmet to experience the game, the distance between the current position of the virtual reality helmet and the nearest obstacle is obtained, and the user's arm length information and the need to swing the arm given by the game are obtained. The amplitude information determines the farthest swing distance of the user's arm, and then compares the distance between the distance and the farthest swing distance, so as to determine that it is safe for the user to play the game at the current position, and remind the user, so that the user can avoid using the virtual reality helmet. Encounter obstacles in the process to avoid unnecessary harm to users.
图2B是根据一示例性实施例示出的一种提醒方法中步骤S101的流程图。Fig. 2B is a flow chart of step S101 in a reminding method according to an exemplary embodiment.
如图2B所示,在一个实施例中,上述步骤S101包括步骤S211-S212:As shown in Figure 2B, in one embodiment, the above step S101 includes steps S211-S212:
在步骤S211中,当检测到虚拟现实头盔被佩戴时,获取预设范围之内的图像信息;In step S211, when it is detected that the virtual reality helmet is worn, image information within a preset range is acquired;
在该实施例中,可以在检测到虚拟现实头盔被佩戴时,开启设置在虚拟现实头盔上的摄像头,通过摄像头获取预设范围内的图像数据。In this embodiment, when it is detected that the virtual reality helmet is worn, the camera installed on the virtual reality helmet can be turned on, and image data within a preset range can be obtained through the camera.
在步骤S212中,对图像信息进行分析,得到虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。In step S212, the image information is analyzed to obtain the distance between the current position of the virtual reality helmet and the nearest obstacle.
通过对图像信息进行分析,可以确定图像中不同物体的景深,根据最近的障碍物的景深,可以确定虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。By analyzing the image information, the depth of field of different objects in the image can be determined, and according to the depth of field of the nearest obstacle, the distance between the current position of the virtual reality helmet and the nearest obstacle can be determined.
在该实施例中,根据图像信息确定虚拟现实头盔与最近的障碍物之间的间隔距离,可以保证确定的间隔距离的准确性,提升用户的使用体验。In this embodiment, the distance between the virtual reality helmet and the nearest obstacle is determined according to the image information, which can ensure the accuracy of the determined distance and improve user experience.
图3是根据一示例性实施例示出的一种提醒方法中步骤S102的流程图。Fig. 3 is a flow chart of step S102 in a reminding method according to an exemplary embodiment.
如图3所示,在一个实施例中,上述步骤S102中获取佩戴虚拟现实头盔的用户的臂长信息,包括步骤S301:As shown in FIG. 3, in one embodiment, the arm length information of the user wearing the virtual reality helmet is obtained in the above step S102, including step S301:
在步骤S301中,接收用户输入的臂长信息,以及获取使用虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;In step S301, the arm length information input by the user is received, and the arm amplitude information corresponding to the game application using the virtual reality helmet is obtained;
在该实施例中,可以在需要获取用户的臂长信息时,输出提示信息,提示用户输入臂长信息,进而获取用户输入的臂长信息。In this embodiment, when the arm length information of the user needs to be acquired, prompt information may be output to prompt the user to input the arm length information, and then the arm length information input by the user may be acquired.
图4是根据一示例性实施例示出的另一种提醒方法中步骤S102的流程图。Fig. 4 is a flow chart of step S102 in another reminding method according to an exemplary embodiment.
如图4所示,在一个实施例中,上述步骤S102中获取佩戴虚拟现实头盔的用户的臂长信息,包括步骤S401:As shown in FIG. 4, in one embodiment, the arm length information of the user wearing the virtual reality helmet is obtained in the above step S102, including step S401:
在步骤S401中,获取用户的身高信息,根据身高信息估算出臂长信息,以及获取使用虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息。In step S401, the user's height information is acquired, arm length information is estimated according to the height information, and arm swing amplitude information corresponding to the game application using the virtual reality helmet is acquired.
在该实施例中,还可以在用户注册游戏应用账号的时候提示用户输入身高信息,从而根据身高与臂长的比例估算出用户的臂长信息。In this embodiment, the user may be prompted to input height information when the user registers the game application account, so as to estimate the user's arm length information according to the ratio of height to arm length.
图5是根据一示例性实施例示出的一种提醒方法中步骤S203的流程图。Fig. 5 is a flow chart of step S203 in a reminding method according to an exemplary embodiment.
如图5所示,在一个实施例中,上述步骤S203包括步骤S501:As shown in Figure 5, in one embodiment, the above step S203 includes step S501:
在步骤S501中,当间隔距离小于或者等于最远摆动距离时,输出第一提醒信息,第一提醒信息用于提醒用户当前位置不安全。In step S501, when the separation distance is less than or equal to the farthest swing distance, output first reminder information, the first reminder information is used to remind the user that the current location is unsafe.
在该实施例中,在用户与障碍物之间的间隔距离小于或者等于用户手臂的最远摆动距离时,则说明用户在手臂摆动的过程中,会碰到障碍物,此时,可以输出第一提醒信息,从而提醒用户当前位置不安全,请用户离障碍物更远一些,从而避免用户在使用虚拟现实头盔的过程中碰到障碍物,避免给用户造成不必要的伤害。In this embodiment, when the distance between the user and the obstacle is less than or equal to the farthest swing distance of the user's arm, it means that the user will encounter an obstacle during the swing of the arm. At this time, the first A reminder message, so as to remind the user that the current location is not safe, and the user is asked to stay away from obstacles, so as to avoid the user encountering obstacles during the use of the virtual reality helmet and avoid causing unnecessary harm to the user.
反之,如果用户与障碍物之间的间隔距离大于用户手臂的最远摆动距离,则说明此时用户在使用虚拟现实头盔的过程中不会碰到障碍物,用户是安全的,此时,也可以不对用户进行提醒。Conversely, if the distance between the user and the obstacle is greater than the farthest swing distance of the user's arm, it means that the user will not encounter obstacles when using the virtual reality helmet at this time, and the user is safe. The user may not be reminded.
图6是根据一示例性实施例示出的另一种提醒方法中步骤S203的流程图。Fig. 6 is a flow chart of step S203 in another reminding method according to an exemplary embodiment.
如图6所示,在一个实施例中,上述步骤S203还包括步骤S601:As shown in FIG. 6, in one embodiment, the above step S203 also includes step S601:
在步骤S601中,当间隔距离大于最远摆动距离时,输出第二提醒信息,第一提醒信息用于提醒用户当前位置安全。In step S601, when the separation distance is greater than the furthest swing distance, the second reminder message is output, and the first reminder message is used to remind the user that the current location is safe.
在该实施例中,在用户与障碍物之间的间隔距离大于用户手臂的最远摆动距离时,则说明在使用虚拟现实头盔的过程中不会碰到障碍物,此时可以输出第二提醒信息,从而提醒用户当前位置安全,这样,可以使用户放心使用虚拟现实头盔,放心摆动手臂,减少用户的顾虑,提升用户的使用体验。In this embodiment, when the distance between the user and the obstacle is greater than the farthest swing distance of the user's arm, it means that the obstacle will not be encountered during the use of the virtual reality helmet, and a second reminder can be output at this time information, so as to remind the user that the current location is safe, so that the user can use the virtual reality helmet with confidence, swing the arm with confidence, reduce the user's concerns, and improve the user's experience.
下述为本公开装置实施例,可以用于执行本公开方法实施例。The following are device embodiments of the present disclosure, which can be used to implement the method embodiments of the present disclosure.
图7是根据一示例性实施例示出的一种提醒装置的框图,该装置可以通过软件、硬件或者两者的结合实现成为虚拟现实头盔的部分或者全部。如图7所示,该提醒装置包括:Fig. 7 is a block diagram of a reminding device according to an exemplary embodiment. The device can be implemented as part or all of a virtual reality helmet through software, hardware or a combination of the two. As shown in Figure 7, the reminder device includes:
第一获取模块71,被配置为获取所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离;The first obtaining module 71 is configured to obtain the separation distance between the current position of the virtual reality helmet and the nearest obstacle;
在该实施例中,可以在检测到用户佩戴事件时,开始获取虚拟现实头盔当前所处的位置与最近的障碍物之间的间隔距离。具体地,可以通过不同方式获取该间隔距离,如通过设置在虚拟现实头盔上的红外传感器获取当前位置与最近的障碍物之间的间隔距离,或者通过设置在虚拟现实头盔上的距离传感器等获取当前位置与最近的障碍物之间的间隔距离。In this embodiment, when the wearing event of the user is detected, the separation distance between the current position of the virtual reality helmet and the nearest obstacle may be acquired. Specifically, the separation distance can be acquired in different ways, such as acquiring the separation distance between the current position and the nearest obstacle through an infrared sensor set on the virtual reality helmet, or through a distance sensor set on the virtual reality helmet, etc. The separation distance between the current position and the nearest obstacle.
第二获取模块72,被配置为获取佩戴所述虚拟现实头盔的用户的臂长信息,以及使用所述虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;The second acquisition module 72 is configured to acquire the arm length information of the user wearing the virtual reality helmet, and the swing arm range information corresponding to the game application using the virtual reality helmet;
用户的臂长信息可以是用户在注册游戏应用账户的时候填写的信息,也可以通过设置在虚拟现实头盔上的传感器等进行获取。如用户将手臂垂直于地面,手尖接触地面,低头通过虚拟现实头盔确定头盔到地面的距离,此距离即为用户的臂长信息。The user's arm length information may be information filled in by the user when registering a game application account, or may be obtained through a sensor or the like set on the virtual reality helmet. If the user puts the arm perpendicular to the ground, the tip of the hand touches the ground, and lowers the head to determine the distance from the helmet to the ground through the virtual reality helmet, this distance is the user's arm length information.
在游戏应用中,会给出需摆动手臂幅度信息,如手臂摆动约90度,手臂摆动约45度等。手臂摆动90度即手臂与地面平行。其中,手臂幅度信息,可以是手臂摆动的角度信息,也可以是其他信息。In game applications, information about the range of the arm to be swung will be given, such as about 90 degrees of arm swing, about 45 degrees of arm swing, and so on. The arm swings 90 degrees so that the arm is parallel to the ground. Wherein, the arm amplitude information may be angle information of arm swing, or other information.
提醒模块73,被配置为根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。The reminder module 73 is configured to output reminder information according to the arm length information, the arm amplitude information to be swung and the separation distance, and the reminder information is used to remind the user whether the current location is safe.
在该实施例中,在用户使用虚拟现实头盔体验游戏之前,获取虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离,并根据用户的臂长信息和游戏给出的需摆动手臂幅度信息确定用户手臂的最远摆动距离,进而比较间隔距离和最远摆动距离的大小,从而确定用户在当前位置进行游戏是安全,并对用户进行提醒,这样,可以避免用户在使用虚拟现实头盔的过程中碰到障碍物,避免给用户造成不必要的伤害。In this embodiment, before the user uses the virtual reality helmet to experience the game, the distance between the current position of the virtual reality helmet and the nearest obstacle is obtained, and the user's arm length information and the need to swing the arm given by the game are obtained. The amplitude information determines the farthest swing distance of the user's arm, and then compares the distance between the distance and the farthest swing distance, so as to determine that it is safe for the user to play the game at the current position, and remind the user, so that the user can avoid using the virtual reality helmet. Encounter obstacles in the process to avoid unnecessary harm to users.
图8A是根据一示例性实施例示出的一种提醒装置中提醒模块的框图。Fig. 8A is a block diagram of a reminder module in a reminder device according to an exemplary embodiment.
如图8A所示,在一个实施例中,所述提醒模块73包括:As shown in FIG. 8A, in one embodiment, the reminder module 73 includes:
确定子模块81,被配置为根据所述用户的臂长信息和所述需摆动手臂幅度信息确定所述用户手臂的最远摆动距离;The determination sub-module 81 is configured to determine the farthest swing distance of the user's arm according to the user's arm length information and the swing arm amplitude information;
根据用户的臂长信息和需摆动手臂幅度信息,可以计算出用户手臂的最远摆动距离。其中,在整个游戏过程中,需摆动幅度信息有多个,根据用户的臂长信息和多个需摆动手臂幅度信息,计算出多个用户手臂的摆动距离,从中选取距离最远的,将其作为最远摆动距离。According to the arm length information of the user and the information of the amplitude of the arm to be swung, the farthest swing distance of the user's arm can be calculated. Among them, in the whole game process, there are multiple pieces of swing range information. According to the user's arm length information and the multiple swing range information of the arms, the swing distances of multiple users' arms are calculated, and the one with the farthest distance is selected. as the furthest swing distance.
比较子模块82,被配置为将所述间隔距离与所述最远摆动距离进行比较;The comparison submodule 82 is configured to compare the separation distance with the furthest swing distance;
将用户手臂的最远摆动距离与用户与障碍物之间的间隔距离进行比较,即可确定用户在实际玩游戏摆动手臂的过程中,会不会触碰到障碍物。Comparing the farthest swing distance of the user's arm with the distance between the user and the obstacle, it can be determined whether the user will touch the obstacle when swinging the arm in the actual game.
第一提醒子模块83,被配置为根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。The first reminder submodule 83 is configured to output reminder information according to the comparison result, and the reminder information is used to remind the user whether the current location is safe.
根据比较结果对用户进行提醒,从而可以使用户获知当前位置是否安全,提升用户的使用体验。The user is reminded according to the comparison result, so that the user can know whether the current location is safe, and the user experience is improved.
在该实施例中,在用户使用虚拟现实头盔体验游戏之前,获取虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离,并根据用户的臂长信息和游戏给出的需摆动手臂幅度信息确定用户手臂的最远摆动距离,进而比较间隔距离和最远摆动距离的大小,从而确定用户在当前位置进行游戏是安全,并对用户进行提醒,这样,可以避免用户在使用虚拟现实头盔的过程中碰到障碍物,避免给用户造成不必要的伤害。In this embodiment, before the user uses the virtual reality helmet to experience the game, the distance between the current position of the virtual reality helmet and the nearest obstacle is obtained, and the user's arm length information and the need to swing the arm given by the game are obtained. The amplitude information determines the farthest swing distance of the user's arm, and then compares the distance between the distance and the farthest swing distance, so as to determine that it is safe for the user to play the game at the current position, and remind the user, so that the user can avoid using the virtual reality helmet. Encounter obstacles in the process to avoid unnecessary harm to users.
图8B是根据一示例性实施例示出的一种提醒装置中第一获取模块的框图。Fig. 8B is a block diagram of a first acquiring module in a reminding device according to an exemplary embodiment.
如图8B所示,在一个实施例中,所述第一获取模块71包括:As shown in FIG. 8B, in one embodiment, the first acquisition module 71 includes:
第一获取子模块8a,被配置为当检测到所述虚拟现实头盔被佩戴时,获取预设范围之内的图像信息;The first acquisition sub-module 8a is configured to acquire image information within a preset range when it is detected that the virtual reality helmet is worn;
在该实施例中,可以在检测到虚拟现实头盔被佩戴时,开启设置在虚拟现实头盔上的摄像头,通过摄像头获取预设范围内的图像数据。In this embodiment, when it is detected that the virtual reality helmet is worn, the camera installed on the virtual reality helmet can be turned on, and image data within a preset range can be obtained through the camera.
分析子模块8b,被配置为对所述图像信息进行分析,得到所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。The analysis sub-module 8b is configured to analyze the image information to obtain the distance between the current position of the virtual reality helmet and the nearest obstacle.
通过对图像信息进行分析,可以确定图像中不同物体的景深,根据最近的障碍物的景深,可以确定虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。By analyzing the image information, the depth of field of different objects in the image can be determined, and according to the depth of field of the nearest obstacle, the distance between the current position of the virtual reality helmet and the nearest obstacle can be determined.
在该实施例中,根据图像信息确定虚拟现实头盔与最近的障碍物之间的间隔距离,可以保证确定的间隔距离的准确性,提升用户的使用体验。In this embodiment, the distance between the virtual reality helmet and the nearest obstacle is determined according to the image information, which can ensure the accuracy of the determined distance and improve user experience.
图9是根据一示例性实施例示出的一种提醒装置中第二获取模块的框图。Fig. 9 is a block diagram of a second acquiring module in a reminding device according to an exemplary embodiment.
如图9所示,在一个实施例中,所述第二获取模块72包括:As shown in FIG. 9, in one embodiment, the second acquisition module 72 includes:
接收子模块91,被配置为接收用户输入的臂长信息;在该实施例中,可以在需要获取用户的臂长信息时,输出提示信息,提示用户输入臂长信息,进而获取用户输入的臂长信息。The receiving sub-module 91 is configured to receive the arm length information input by the user; in this embodiment, when it is necessary to obtain the user's arm length information, it can output prompt information to prompt the user to input the arm length information, and then obtain the arm length information input by the user. long message.
第二获取子模块92,被配置为获取所述用户的身高信息,根据所述身高信息估算出所述臂长信息。The second obtaining sub-module 92 is configured to obtain the height information of the user, and estimate the arm length information according to the height information.
在该实施例中,还可以在用户注册游戏应用账号的时候提示用户输入身高信息,从而根据身高与臂长的比例估算出用户的臂长信息。In this embodiment, the user may be prompted to input height information when the user registers the game application account, so as to estimate the user's arm length information according to the ratio of height to arm length.
图10是根据一示例性实施例示出的另一种提醒装置中提醒模块的框图。Fig. 10 is a block diagram of a reminder module in another reminder device according to an exemplary embodiment.
如图10所示,在一个实施例中,所述提醒模块73包括:As shown in Figure 10, in one embodiment, the reminder module 73 includes:
第二提醒子模块1001,被配置为当所述间隔距离小于或者等于所述最远摆动距离时,输出第一提醒信息,所述第一提醒信息用于提醒用户所述当前位置不安全。The second reminder submodule 1001 is configured to output first reminder information when the separation distance is less than or equal to the farthest swing distance, and the first reminder information is used to remind the user that the current location is unsafe.
在该实施例中,在用户与障碍物之间的间隔距离小于或者等于用户手臂的最远摆动距离时,则说明用户在手臂摆动的过程中,会碰到障碍物,此时,可以输出第一提醒信息,从而提醒用户当前位置不安全,请用户离障碍物更远一些,从而避免用户在使用虚拟现实头盔的过程中碰到障碍物,避免给用户造成不必要的伤害。In this embodiment, when the distance between the user and the obstacle is less than or equal to the farthest swing distance of the user's arm, it means that the user will encounter an obstacle during the swing of the arm. At this time, the first A reminder message, so as to remind the user that the current location is not safe, and the user is asked to stay away from obstacles, so as to avoid the user encountering obstacles during the use of the virtual reality helmet and avoid causing unnecessary harm to the user.
反之,如果用户与障碍物之间的间隔距离大于用户手臂的最远摆动距离,则说明此时用户在使用虚拟现实头盔的过程中不会碰到障碍物,用户是安全的,此时,也可以不对用户进行提醒。Conversely, if the distance between the user and the obstacle is greater than the farthest swing distance of the user's arm, it means that the user will not encounter obstacles when using the virtual reality helmet at this time, and the user is safe. The user may not be reminded.
图11是根据一示例性实施例示出的另一种提醒装置中提醒模块的框图。Fig. 11 is a block diagram of a reminder module in another reminder device according to an exemplary embodiment.
如图11所示,在一个实施例中,所述提醒模块73还包括:As shown in Figure 11, in one embodiment, the reminder module 73 also includes:
第三提醒子模块1101,被配置为当所述间隔距离大于所述最远摆动距离时,输出第二提醒信息,所述第一提醒信息用于提醒用户所述当前位置安全。The third reminder sub-module 1101 is configured to output second reminder information when the separation distance is greater than the furthest swing distance, and the first reminder information is used to remind the user that the current location is safe.
在该实施例中,在用户与障碍物之间的间隔距离大于用户手臂的最远摆动距离时,则说明在使用虚拟现实头盔的过程中不会碰到障碍物,此时可以输出第二提醒信息,从而提醒用户当前位置安全,这样,可以使用户放心使用虚拟现实头盔,放心摆动手臂,减少用户的顾虑,提升用户的使用体验。In this embodiment, when the distance between the user and the obstacle is greater than the farthest swing distance of the user's arm, it means that the obstacle will not be encountered during the use of the virtual reality helmet, and a second reminder can be output at this time information, so as to remind the user that the current location is safe, so that the user can use the virtual reality helmet with confidence, swing the arm with confidence, reduce the user's concerns, and improve the user's experience.
根据本公开实施例的第三方面,提供一种提醒装置,包括:According to a third aspect of an embodiment of the present disclosure, a reminder device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,处理器被配置为:where the processor is configured as:
获取所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离;Obtain the distance between the current position of the virtual reality helmet and the nearest obstacle;
获取佩戴所述虚拟现实头盔的用户的臂长信息,以及使用所述虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;Acquiring the arm length information of the user wearing the virtual reality helmet, and the swing arm amplitude information corresponding to the game application using the virtual reality helmet;
根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。Outputting reminder information according to the arm length information, the arm amplitude information to be swung and the separation distance, the reminder information is used to remind the user whether the current location is safe.
上述处理器还可被配置为:The processors described above can also be configured to:
所述根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,包括:The outputting reminder information according to the arm length information, the arm amplitude information to be swung and the interval distance includes:
根据所述用户的臂长信息和所述需摆动手臂幅度信息确定所述用户手臂的最远摆动距离;determining the farthest swing distance of the user's arm according to the arm length information of the user and the amplitude information of the arm to be swung;
将所述间隔距离与所述最远摆动距离进行比较;comparing the separation distance with the furthest swing distance;
根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。Outputting reminder information according to the comparison result, where the reminder information is used to remind the user whether the current location is safe.
上述处理器还可被配置为:The processors described above can also be configured to:
所述获取所述虚拟现实头盔当前所处的位置与最近的障碍物之间的间隔距离,包括:The acquiring the distance between the current position of the virtual reality helmet and the nearest obstacle includes:
当检测到所述虚拟现实头盔被佩戴时,获取预设范围之内的图像信息;When it is detected that the virtual reality helmet is worn, image information within a preset range is acquired;
对所述图像信息进行分析,得到所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。The image information is analyzed to obtain the distance between the current position of the virtual reality helmet and the nearest obstacle.
上述处理器还可被配置为:The processors described above can also be configured to:
所述获取佩戴所述虚拟现实头盔的用户的臂长信息,包括:The acquisition of the arm length information of the user wearing the virtual reality helmet includes:
接收用户输入的臂长信息;或者receiving arm length information entered by the user; or
获取所述用户的身高信息,根据所述身高信息估算出所述臂长信息。Obtain the height information of the user, and estimate the arm length information according to the height information.
上述处理器还可被配置为:The processors described above can also be configured to:
所述根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全,包括:The outputting reminder information according to the comparison result, where the reminder information is used to remind the user whether the current location is safe, includes:
当所述间隔距离小于或者等于所述最远摆动距离时,输出第一提醒信息,所述第一提醒信息用于提醒用户所述当前位置不安全。When the separation distance is less than or equal to the furthest swing distance, output first reminder information, where the first reminder information is used to remind the user that the current location is unsafe.
上述处理器还可被配置为:The processors described above can also be configured to:
所述根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全,还包括:The outputting reminder information according to the comparison result, where the reminder information is used to remind the user whether the current location is safe, also includes:
当所述间隔距离大于所述最远摆动距离时,输出第二提醒信息,所述第一提醒信息用于提醒用户所述当前位置安全。When the separation distance is greater than the furthest swing distance, second reminder information is output, and the first reminder information is used to remind the user that the current location is safe.
图12是根据一示例性实施例示出的一种用于提醒装置的框图。例如,装置1200可以被提供为一虚拟现实头盔。装置1200包括处理组件1222,其进一步包括一个或多个处理器,以及由存储器1232所代表的存储器资源,用于存储可由处理组件1222的执行的指令,例如游戏应用程序。存储器1232中存储的游戏应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1222被配置为执行指令,以执行上述方法。Fig. 12 is a block diagram showing a reminder device according to an exemplary embodiment. For example, device 1200 may be provided as a virtual reality headset. Apparatus 1200 includes processing component 1222, which further includes one or more processors, and a memory resource, represented by memory 1232, for storing instructions executable by processing component 1222, such as a gaming application. The game application stored in memory 1232 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1222 is configured to execute instructions to perform the above method.
装置1200还可以包括一个电源组件1226被配置为执行装置1200的电源管理,一个有线或无线网络接口1250被配置为将装置1200连接到网络,和一个输入输出(I/O)接口1258。装置1200可以操作基于存储在存储器1232的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 1200 may also include a power component 1226 configured to perform power management of device 1200 , a wired or wireless network interface 1250 configured to connect device 1200 to a network, and an input-output (I/O) interface 1258 . The apparatus 1200 can operate based on an operating system stored in the memory 1232, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™ or the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置1200的处理器执行时,使得装置1200能够执行上述提醒方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the device 1200, the device 1200 can execute the above reminder method, the method includes:
获取所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离;Obtain the distance between the current position of the virtual reality helmet and the nearest obstacle;
获取佩戴所述虚拟现实头盔的用户的臂长信息,以及使用所述虚拟现实头盔的游戏应用对应的需摆动手臂幅度信息;Acquiring the arm length information of the user wearing the virtual reality helmet, and the swing arm amplitude information corresponding to the game application using the virtual reality helmet;
根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。Outputting reminder information according to the arm length information, the arm amplitude information to be swung and the separation distance, the reminder information is used to remind the user whether the current location is safe.
在一个实施例中,所述根据所述臂长信息、所述需摆动手臂幅度信息和所述间隔距离输出提醒信息,包括:In one embodiment, the outputting reminder information according to the arm length information, the amplitude information of the arm to be swung and the interval distance includes:
根据所述用户的臂长信息和所述需摆动手臂幅度信息确定所述用户手臂的最远摆动距离;determining the farthest swing distance of the user's arm according to the arm length information of the user and the amplitude information of the arm to be swung;
将所述间隔距离与所述最远摆动距离进行比较;comparing the separation distance with the furthest swing distance;
根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全。Outputting reminder information according to the comparison result, where the reminder information is used to remind the user whether the current location is safe.
在一个实施例中,所述获取所述虚拟现实头盔当前所处的位置与最近的障碍物之间的间隔距离,包括:In one embodiment, the acquiring the distance between the current position of the virtual reality helmet and the nearest obstacle includes:
当检测到所述虚拟现实头盔被佩戴时,获取预设范围之内的图像信息;When it is detected that the virtual reality helmet is worn, image information within a preset range is acquired;
对所述图像信息进行分析,得到所述虚拟现实头盔当前所处位置与最近的障碍物之间的间隔距离。The image information is analyzed to obtain the distance between the current position of the virtual reality helmet and the nearest obstacle.
在一个实施例中,所述获取佩戴所述虚拟现实头盔的用户的臂长信息,包括:In one embodiment, the acquiring the arm length information of the user wearing the virtual reality helmet includes:
接收用户输入的臂长信息;或者receiving arm length information entered by the user; or
获取所述用户的身高信息,根据所述身高信息估算出所述臂长信息。Obtain the height information of the user, and estimate the arm length information according to the height information.
在一个实施例中,所述根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全,包括:In one embodiment, the outputting reminder information according to the comparison result, the reminder information is used to remind the user whether the current location is safe, including:
当所述间隔距离小于或者等于所述最远摆动距离时,输出第一提醒信息,所述第一提醒信息用于提醒用户所述当前位置不安全。When the separation distance is less than or equal to the furthest swing distance, output first reminder information, where the first reminder information is used to remind the user that the current location is unsafe.
在一个实施例中,所述根据比较结果输出提醒信息,所述提醒信息用于提醒用户所述当前位置是否安全,还包括:In one embodiment, the outputting reminder information according to the comparison result, where the reminder information is used to remind the user whether the current location is safe, further includes:
当所述间隔距离大于所述最远摆动距离时,输出第二提醒信息,所述第一提醒信息用于提醒用户所述当前位置安全。When the separation distance is greater than the furthest swing distance, second reminder information is output, and the first reminder information is used to remind the user that the current location is safe.
本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610921362.3A CN106547353A (en) | 2016-10-21 | 2016-10-21 | Based reminding method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610921362.3A CN106547353A (en) | 2016-10-21 | 2016-10-21 | Based reminding method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106547353A true CN106547353A (en) | 2017-03-29 |
Family
ID=58392273
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610921362.3A Pending CN106547353A (en) | 2016-10-21 | 2016-10-21 | Based reminding method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106547353A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109011591A (en) * | 2018-08-28 | 2018-12-18 | 河南丰泰光电科技有限公司 | A kind of safety protection method and device in reality-virtualizing game |
| CN111554093A (en) * | 2020-05-15 | 2020-08-18 | 无锡北斗星通信息科技有限公司 | Real-time analysis system and method for traffic reference data |
| CN111857339A (en) * | 2020-07-15 | 2020-10-30 | 苏州杜兹网络有限公司 | A safety perspective hazard response system for VR games and its implementation method |
| CN115662095A (en) * | 2022-10-25 | 2023-01-31 | 歌尔科技有限公司 | Collision early warning method and device and head-mounted display equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150277119A1 (en) * | 2011-10-07 | 2015-10-01 | Google Inc. | Wearable computer with nearby object response |
| CN105159450A (en) * | 2015-08-25 | 2015-12-16 | 中国运载火箭技术研究院 | Portable interactive desktop-level virtual reality system |
| CN105204625A (en) * | 2015-08-31 | 2015-12-30 | 小米科技有限责任公司 | Safety protection method and device for virtual reality game |
| CN105705210A (en) * | 2013-09-30 | 2016-06-22 | 索尼电脑娱乐公司 | Camera-Based Security Mechanisms for Head-Mounted Display Users |
| CN106020498A (en) * | 2016-07-27 | 2016-10-12 | 深圳市金立通信设备有限公司 | Safety early-warning method and terminal |
-
2016
- 2016-10-21 CN CN201610921362.3A patent/CN106547353A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150277119A1 (en) * | 2011-10-07 | 2015-10-01 | Google Inc. | Wearable computer with nearby object response |
| CN105705210A (en) * | 2013-09-30 | 2016-06-22 | 索尼电脑娱乐公司 | Camera-Based Security Mechanisms for Head-Mounted Display Users |
| CN105159450A (en) * | 2015-08-25 | 2015-12-16 | 中国运载火箭技术研究院 | Portable interactive desktop-level virtual reality system |
| CN105204625A (en) * | 2015-08-31 | 2015-12-30 | 小米科技有限责任公司 | Safety protection method and device for virtual reality game |
| CN106020498A (en) * | 2016-07-27 | 2016-10-12 | 深圳市金立通信设备有限公司 | Safety early-warning method and terminal |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109011591A (en) * | 2018-08-28 | 2018-12-18 | 河南丰泰光电科技有限公司 | A kind of safety protection method and device in reality-virtualizing game |
| CN111554093A (en) * | 2020-05-15 | 2020-08-18 | 无锡北斗星通信息科技有限公司 | Real-time analysis system and method for traffic reference data |
| CN111857339A (en) * | 2020-07-15 | 2020-10-30 | 苏州杜兹网络有限公司 | A safety perspective hazard response system for VR games and its implementation method |
| CN115662095A (en) * | 2022-10-25 | 2023-01-31 | 歌尔科技有限公司 | Collision early warning method and device and head-mounted display equipment |
| CN115662095B (en) * | 2022-10-25 | 2025-09-02 | 歌尔科技有限公司 | Collision warning method, device and head-mounted display device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20220138301A1 (en) | User identity authentication using virtual reality | |
| TWI575424B (en) | Method, storage device and system for picture gesture authentication | |
| JP6194971B2 (en) | Providing personalized nursing based on user health records | |
| KR102179935B1 (en) | Service control and user identity authentication based on virtual reality | |
| CN108804884B (en) | Identity authentication method, device and computer storage medium | |
| CN104252479B (en) | Processing method, the device and system of information | |
| CN106547353A (en) | Based reminding method and device | |
| CN113424145A (en) | Dynamically assigning multimodal environmental data to assistant action requests for correlation with subsequent requests | |
| KR20190061067A (en) | Virtual Reality Verification | |
| EP4078358B1 (en) | Methods, systems, and media for anti-spoofing using eye-tracking | |
| US10621322B2 (en) | Platform for distinguishing human from machine input | |
| US10986087B2 (en) | Motion based authentication | |
| US12086915B2 (en) | Avatar display device, avatar display system, avatar display method, and avatar display program | |
| US10242253B2 (en) | Detection apparatus, detection method, and computer program product | |
| JP2017531875A5 (en) | ||
| EP3211520A3 (en) | Image processing system, information processing device, image processing device and computer readable program | |
| WO2017054420A1 (en) | Method and device for determining position of virtual object in virtual space | |
| CN104504374A (en) | Method and system for automatically monitoring distance from human eyes to screen | |
| CN106228127A (en) | Indoor orientation method and device | |
| US10788887B2 (en) | Image generation program, image generation device, and image generation method | |
| WO2017028527A1 (en) | Method and apparatus for determining touch event in virtual space | |
| US20180373922A1 (en) | Facial gesture captcha | |
| US9638713B2 (en) | Non-transitory computer readable medium, action detection apparatus, and action detection method | |
| CN104205163B (en) | Method and apparatus for controlling content capture of disabled content | |
| US11076291B2 (en) | Emulated mobile device identification |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170329 |