CN109739737A - Delay detection method, device and computer storage medium for head-mounted display device - Google Patents
Delay detection method, device and computer storage medium for head-mounted display device Download PDFInfo
- Publication number
- CN109739737A CN109739737A CN201811573200.0A CN201811573200A CN109739737A CN 109739737 A CN109739737 A CN 109739737A CN 201811573200 A CN201811573200 A CN 201811573200A CN 109739737 A CN109739737 A CN 109739737A
- Authority
- CN
- China
- Prior art keywords
- head
- display device
- mounted display
- time
- screen
- 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
- 238000001514 detection method Methods 0.000 title claims abstract description 33
- 230000033001 locomotion Effects 0.000 claims abstract description 40
- 238000000034 method Methods 0.000 claims abstract description 40
- 206010034960 Photophobia Diseases 0.000 claims description 36
- 208000013469 light sensitivity Diseases 0.000 claims description 36
- 238000004590 computer program Methods 0.000 claims description 11
- 230000003287 optical effect Effects 0.000 claims description 8
- 230000001133 acceleration Effects 0.000 claims description 6
- 238000006073 displacement reaction Methods 0.000 claims description 5
- 238000010998 test method Methods 0.000 abstract 1
- 238000012545 processing Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000003068 static effect Effects 0.000 description 10
- 230000008859 change Effects 0.000 description 9
- 238000013461 design Methods 0.000 description 7
- 238000012360 testing method Methods 0.000 description 7
- 238000011161 development Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000002085 persistent effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 208000012886 Vertigo Diseases 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000006996 mental state Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000035790 physiological processes and functions Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000002207 retinal effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 231100000889 vertigo Toxicity 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Landscapes
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
Description
技术领域technical field
本发明涉及头戴设备技术领域,尤其涉及一种头戴显示设备的延迟检测方法、设备及计算机存储介质。The present invention relates to the technical field of head-mounted devices, and in particular, to a delay detection method, device and computer storage medium of a head-mounted display device.
背景技术Background technique
对于头戴显示设备而言,延迟是一个极为重要的参数,延迟的定义即动作发生到屏幕上的内容发生相应变化的时间间隔。可以理解的是,延迟越短,用户体验时越不容易产生眩晕感。作为一个合格的头戴显示设备,在生产完成后也必须给出该设备的延迟参数。因而如何测量头戴显示设备的延迟数据也尤为重要。Latency is an extremely important parameter for head-mounted display devices. Latency is defined as the time interval between when an action occurs and the content on the screen changes accordingly. It is understandable that the shorter the delay, the less likely the user experience vertigo. As a qualified head-mounted display device, the delay parameters of the device must also be given after production is completed. Therefore, how to measure the latency data of the head-mounted display device is also particularly important.
目前对延迟的测试较为精确的方式是通过高速摄像机的拍摄,记录下运动开始节点到头戴显示设备的屏幕上的内容发生变化的时间段,从而得出延迟。然而,上述延迟获取方法的程序比较繁琐,需要将高速摄像机与头戴显示设备的屏幕相对固定,而且需要保证高速摄像机与头戴显示设备的时钟统一,才能获得精准的结果,难度较大;并且,高速摄像机测试的成本较高。At present, a more accurate way to test the delay is to use a high-speed camera to record the time period from the motion start node to the change of the content on the screen of the head-mounted display device, so as to obtain the delay. However, the procedure of the above-mentioned delayed acquisition method is relatively cumbersome, the high-speed camera and the screen of the head-mounted display device need to be relatively fixed, and the clocks of the high-speed camera and the head-mounted display device need to be unified in order to obtain accurate results, which is difficult; and , the cost of high-speed camera testing is higher.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种头戴显示设备的延迟检测方法、设备及计算机存储介质,用以降低延迟测试的复杂程度,并低成本地实现延迟的测试,同时保证延迟测试的精确性。Embodiments of the present invention provide a delay detection method, device, and computer storage medium for a head-mounted display device, so as to reduce the complexity of the delay test, realize the delay test at low cost, and ensure the accuracy of the delay test.
第一方面,本发明实施例提供一种头戴显示设备的延迟检测方法,包括:In a first aspect, an embodiment of the present invention provides a delay detection method for a head-mounted display device, including:
检测头戴显示设备的运动状态是否发生变化;Detect whether the motion state of the head-mounted display device has changed;
若所述头戴显示设备的运动状态发生变化,则记录所述头戴显示设备所处的第一时间;If the motion state of the head-mounted display device changes, record the first time when the head-mounted display device is located;
检测所述头戴显示设备的屏幕是否发生变化;detecting whether the screen of the head-mounted display device has changed;
若所述头戴显示设备的屏幕发生变化,则记录所述头戴显示设备所处的第二时间;If the screen of the head-mounted display device changes, recording the second time when the head-mounted display device is located;
根据所述第一时间和所述第二时间获取所述头戴显示设备的延迟时间。The delay time of the head-mounted display device is acquired according to the first time and the second time.
第二方面,本发明实施例提供一种电子设备,包括:存储器、处理器;其中,所述存储器用于存储一条或多条计算机指令,其中,所述一条或多条计算机指令被所述处理器执行时实现上述第一方面中的头戴显示设备的延迟检测方法。In a second aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor; wherein the memory is used to store one or more computer instructions, wherein the one or more computer instructions are processed by the The delay detection method of the head-mounted display device in the above-mentioned first aspect is implemented when the controller is executed.
第三方面,本发明实施例提供了一种计算机存储介质,用于储存计算机程序,所述计算机程序使计算机执行时实现上述第一方面中的头戴显示设备的延迟检测方法。In a third aspect, an embodiment of the present invention provides a computer storage medium for storing a computer program, the computer program enables the computer to implement the method for detecting delay of a head-mounted display device in the first aspect above.
通过检测头戴显示设备的运动状态是否发生变化,若所述头戴显示设备的运动状态发生变化,则记录所述头戴显示设备所处的第一时间;而后检测所述头戴显示设备的屏幕是否发生变化,若所述头戴显示设备的屏幕发生变化,则记录所述头戴显示设备所处的第二时间;进而通过第一时间和第二时间来获取头戴显示设备的延迟时间,实现方式简单,成本较低,并且还有效地保证了延迟时间获取的准确可靠性,从而提高了该方法使用的稳定可靠性。By detecting whether the motion state of the head-mounted display device changes, if the motion state of the head-mounted display device changes, the first time the head-mounted display device is in is recorded; Whether the screen changes, if the screen of the head-mounted display device changes, record the second time at which the head-mounted display device is located; and then obtain the delay time of the head-mounted display device through the first time and the second time , the implementation is simple, the cost is low, and the accuracy and reliability of delay time acquisition are also effectively ensured, thereby improving the stability and reliability of the method.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例提供的一种头戴显示设备的延迟检测方法的流程图;1 is a flowchart of a method for detecting delay of a head-mounted display device according to an embodiment of the present invention;
图2为本发明实施例提供的检测头戴显示设备的运动状态是否发生变化的流程图;FIG. 2 is a flowchart of detecting whether the motion state of the head-mounted display device changes according to an embodiment of the present invention;
图3为本发明实施例提供的检测所述头戴显示设备的屏幕是否发生变化的流程图;3 is a flowchart of detecting whether the screen of the head-mounted display device has changed according to an embodiment of the present invention;
图4为本发明实施例提供的根据所述初始光感值和所述实时光感值检测所述头戴显示设备的屏幕是否发生变化的流程图;4 is a flowchart of detecting whether the screen of the head-mounted display device changes according to the initial light sensitivity value and the real-time light sensitivity value according to an embodiment of the present invention;
图5为本发明实施例提供的根据所述第一时间和所述第二时间获取所述头戴显示设备的延迟时间的流程图;5 is a flowchart of acquiring the delay time of the head-mounted display device according to the first time and the second time according to an embodiment of the present invention;
图6为本发明实施例提供的确定所述头戴显示设备的平均延迟时间的流程图;6 is a flowchart of determining the average delay time of the head-mounted display device according to an embodiment of the present invention;
图7为本发明实施例提供的一种电子设备的结构示意图;7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图8为本发明实施例提供的一种头戴显示设备的结构示意图。FIG. 8 is a schematic structural diagram of a head-mounted display device according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种,但是不排除包含至少一种的情况。The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a," "the," and "the" as used in the embodiments of the present invention and the appended claims are intended to include the plural forms as well, unless the context clearly dictates otherwise, "a plurality" Generally, at least two kinds are included, but the case of including at least one kind is not excluded.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this document is only an association relationship to describe the associated objects, indicating that there may be three kinds of relationships, for example, A and/or B, which may indicate that A exists alone, and A and B exist at the same time. B, there are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if", "if" as used herein may be interpreted as "at" or "when" or "in response to determining" or "in response to detecting". Similarly, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (the stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者系统中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a commodity or system comprising a list of elements includes not only those elements, but also includes not explicitly listed other elements, or elements inherent to the commodity or system. Without further limitation, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the article or system that includes the element.
另外,下述各方法实施例中的步骤时序仅为一种举例,而非严格限定。In addition, the sequence of steps in the following method embodiments is only an example, and is not strictly limited.
图1为本发明实施例提供的一种头戴显示设备的延迟检测方法的流程图;参考附图1所示,本实施例提供了一种头戴显示设备的延迟检测方法,其中,头戴显示设备可以为基于增强现实(Augmented Reality,简称AR)、虚拟现实(Virtual Reality,简称VR)、混合现实(Mixed Reality,简称MR;或者,Hybrid Reality,简称HR)或影像现实(CinematicReality,简称CR)技术所形成的设备。另外,该方法的执行主体可以为延迟检测装置,该延迟检测装置中可以包括多个用于检测延迟时间的设备。具体的,该方法可以包括:1 is a flowchart of a method for detecting delay of a head-mounted display device according to an embodiment of the present invention; with reference to FIG. 1 , this embodiment provides a method for detecting delay of a head-mounted display device, wherein the head-mounted display device is The display device may be based on Augmented Reality (AR), Virtual Reality (VR), Mixed Reality (MR; or Hybrid Reality, HR) or Cinematic Reality (CR) ) technology formed equipment. In addition, the execution body of the method may be a delay detection device, and the delay detection device may include a plurality of devices for detecting delay time. Specifically, the method may include:
S101:检测头戴显示设备的运动状态是否发生变化。S101: Detect whether the motion state of the head-mounted display device changes.
其中,头戴显示设备的运动状态可以包括静止状态和非静止状态;因此,运动状态发生变化可以是指头戴显示设备由静止状态变化为非静止状态,或者由非静止状态变化为静止状态。而本实施例中的检测头戴显示设备的运动状态是否发生变化可以是指检测头戴显示设备是否由静止状态变化为非静止状态。本实施例对于检测头戴显示设备的运动状态是否发生变化的具体实现方式不做限定,本领域技术人员可以根据具体的设计需求进行设置,较为优选的,参考附图2所示,检测头戴显示设备的运动状态是否发生变化可以包括:The motion state of the head-mounted display device may include a stationary state and a non-stationary state; therefore, a change in the motion state may mean that the head-mounted display device changes from a stationary state to a non-stationary state, or from a non-stationary state to a stationary state. In this embodiment, detecting whether the motion state of the head-mounted display device changes may refer to detecting whether the head-mounted display device changes from a static state to a non-static state. This embodiment does not limit the specific implementation of detecting whether the motion state of the head-mounted display device changes, and those skilled in the art can set it according to specific design requirements. Displaying whether the motion state of the device has changed can include:
S1011:利用检测装置获取头戴显示设备处于静止状态下的最大姿态信息、以及头戴显示设备的实时姿态信息。S1011 : Acquire maximum posture information of the head-mounted display device when the head-mounted display device is in a stationary state and real-time posture information of the head-mounted display device by using the detection device.
其中,检测装置可以包括以下至少之一:角速度传感器、速度传感器、加速度传感器、位移传感器、角度传感器。当检测装置为角速度传感器时,相对应的,所获取的最大姿态信息和实时姿态信息分别为最大角速度和实时角速度;当检测装置为速度传感器时,相对应的,所获取的最大姿态信息和实时姿态信息分别为最大速度和实时速度;当检测装置为加速度传感器时,相对应的,所获取的最大姿态信息和实时姿态信息分别为最大加速度和实时加速度;当检测装置为位移传感器时,相对应的,所获取的最大姿态信息和实时姿态信息分别为最大位移和实时位移;当检测装置为角度传感器时,相对应的,所获取的最大姿态信息和实时姿态信息分别为最大角度和实时角度。为了便于操作,检测装置优选为角速度传感器。Wherein, the detection device may include at least one of the following: an angular velocity sensor, a velocity sensor, an acceleration sensor, a displacement sensor, and an angle sensor. When the detection device is an angular velocity sensor, correspondingly, the obtained maximum attitude information and real-time attitude information are respectively the maximum angular velocity and real-time angular velocity; when the detection device is a speed sensor, correspondingly, the obtained maximum attitude information and real-time angular velocity are The attitude information is the maximum speed and the real-time speed respectively; when the detection device is an acceleration sensor, correspondingly, the obtained maximum attitude information and real-time attitude information are the maximum acceleration and real-time acceleration respectively; when the detection device is a displacement sensor, the corresponding The obtained maximum attitude information and real-time attitude information are respectively the maximum displacement and real-time displacement; when the detection device is an angle sensor, correspondingly, the obtained maximum attitude information and real-time attitude information are respectively the maximum angle and the real-time angle. For ease of operation, the detection device is preferably an angular velocity sensor.
另外,为了便于获取最大姿态信息和实时姿态信息,并保证最大姿态信息和实时姿态信息获取的精确度,检测装置可以固定地/或可拆卸地设置于头戴显示设备的外壳上。进而,可以利用检测装置获取多个实时姿态信息。而在利用检测装置获取最大姿态信息时,可以先将头戴显示设备放置在平稳的台面上,保持头戴显示设备处于静止状态;此时,运行预先存储在头戴显示设备端的测试应用,统计静止状态下的检测装置所上报的多个姿态信息。其中,为了保证头戴显示设备处于静止状态时的最大姿态信息获取的准确可靠性,可以使得头戴显示设备静置预设时间段,其中,预设时间段可以根据本领域技术人员的应用需求进行任意设置,较为优选的,预设时间段可以为1min或者1.5mi n等等。而后在上述的预设时间段内,可以通过获取的多个头戴显示设备的姿态信息确定头戴显示设备处于静止状态时的姿态信息的浮动范围,通过对浮动范围内各个姿态信息的比较,可以获取最大姿态信息,该最大姿态信息可以用于作为头戴显示设备的状态信息是否发生变化的下限值。In addition, in order to facilitate the acquisition of maximum attitude information and real-time attitude information and ensure the accuracy of maximum attitude information and real-time attitude information acquisition, the detection device may be fixedly/or detachably provided on the casing of the head-mounted display device. Furthermore, a plurality of real-time attitude information can be acquired by using the detection device. When using the detection device to obtain the maximum attitude information, you can first place the head-mounted display device on a stable table, and keep the head-mounted display device in a static state; at this time, run the test application pre-stored on the head-mounted display device, and statistics Multiple pieces of attitude information reported by the detection device in the stationary state. Among them, in order to ensure the accuracy and reliability of the acquisition of the maximum attitude information when the head-mounted display device is in a stationary state, the head-mounted display device can be left to be stationary for a preset time period, wherein the preset time period can be based on the application requirements of those skilled in the art. Arbitrary settings can be made. Preferably, the preset time period can be 1 min or 1.5 min, and so on. Then, within the above-mentioned preset time period, the floating range of the attitude information of the head-mounted display device when the head-mounted display device is in a static state can be determined by the obtained attitude information of a plurality of head-mounted display devices, and by comparing the various attitude information in the floating range, The maximum attitude information can be obtained, and the maximum attitude information can be used as a lower limit value of whether the state information of the head mounted display device changes.
此外,可以理解的是,检测装置的具体类型并不限定于上述举例说明,本领域技术人员可以根据具体的设计需求选择其他的装置,在此不再赘述。In addition, it can be understood that the specific type of the detection device is not limited to the above-mentioned examples, and those skilled in the art can select other devices according to specific design requirements, which will not be repeated here.
S1012:若实时姿态信息大于最大姿态信息,则确定头戴显示设备的运动状态已发生变化。S1012: If the real-time attitude information is greater than the maximum attitude information, it is determined that the motion state of the head-mounted display device has changed.
其中,实时姿态信息的个数可以为一个或多个,在获取到一个或多个实时姿态信息之后,可以将所获取的实时姿态信息与最大姿态信息进行分析比较,在某一个实时姿态信息大于最大姿态信息时,则说明在与该实时姿态信息所在的时刻,头戴显示设备的运动状态已发生变化,即由静止状态变化为非静止状态。The number of real-time attitude information can be one or more. After one or more real-time attitude information is obtained, the obtained real-time attitude information can be analyzed and compared with the maximum attitude information. When a certain real-time attitude information is greater than When the maximum attitude information is present, it means that the motion state of the head-mounted display device has changed at the moment when the real-time attitude information is located, that is, from a static state to a non-static state.
S1013:若实时姿态信息小于或等于最大姿态信息,则确定头戴显示设备的运动状态未发生变化。S1013: If the real-time attitude information is less than or equal to the maximum attitude information, it is determined that the motion state of the head-mounted display device has not changed.
在获取到一个或多个实时姿态信息之后,可以将所获取的实时姿态信息与最大姿态信息进行分析比较,若所有的实时姿态信息均小于或等于最大姿态信息时,则说明头戴显示设备的运动状态未发生变化,即头戴显示设备一直处于静止状态。After obtaining one or more real-time attitude information, the obtained real-time attitude information can be analyzed and compared with the maximum attitude information. If all the real-time attitude information is less than or equal to the maximum attitude information, it means that the head-mounted display device has The motion state has not changed, that is, the head-mounted display device has been in a stationary state.
举例来说:在检测装置为角速度传感器时,最大姿态信息可以为2rad/s,第一实时姿态信息可以为1rad/s,第二实时姿态信息可以为2.1rad/s,第三实时姿态信息可以为1.5rad/s,通过比较可知,第一实时姿态信息1rad/s小于最大姿态信息2rad/s,因此,可以确定:在获取头戴显示设备的第一实时姿态信息时,头戴显示设备的运动状态未发生变化。而第二实时姿态信息2.1rad/s大于最大姿态信息2rad/s,因此,可以确定,在获取头戴显示设备的第二实时姿态信息时,头戴显示设备的运动状态已发生变化。For example: when the detection device is an angular velocity sensor, the maximum attitude information can be 2rad/s, the first real-time attitude information can be 1rad/s, the second real-time attitude information can be 2.1rad/s, and the third real-time attitude information can be It is 1.5rad/s. It can be seen from the comparison that the first real-time attitude information 1rad/s is less than the maximum attitude information 2rad/s. Therefore, it can be determined that: when acquiring the first real-time attitude information of the head-mounted display device, the The state of motion has not changed. The second real-time attitude information 2.1 rad/s is greater than the maximum attitude information 2 rad/s. Therefore, it can be determined that the motion state of the head-mounted display device has changed when the second real-time attitude information of the head-mounted display device is obtained.
S102:若头戴显示设备的运动状态已发生变化,则记录头戴显示设备所处的第一时间。S102: If the motion state of the head-mounted display device has changed, record the first time when the head-mounted display device is located.
在头戴显示设备的运动状态已发生变化时,可以通过预设的计时装置记录头戴显示设备当前所处的第一时间,其中,计时装置可以设置于头戴显示设备上。When the motion state of the head-mounted display device has changed, the first time that the head-mounted display device is currently in can be recorded by a preset timing device, wherein the timing device can be set on the head-mounted display device.
S103:检测头戴显示设备的屏幕是否发生变化。S103: Detect whether the screen of the head-mounted display device changes.
其中,对于头戴显示设备的屏幕而言,在屏幕处于初始化状态时,屏幕为黑屏状态,在每次头戴显示设备中的应用进行刷新内容时,屏幕则会用白色清除一下缓冲区,使屏幕由黑屏状态变为显示一帧白色,此时的屏幕已发生变化,其中,缓冲区中存储有用于在屏幕上进行显示的显示内容。因此,在检测头戴显示设备的屏幕是否发生变化时,可以获取头戴显示设备中屏幕上的显示内容,通过对显示内容的分析处理来判断头戴显示设备的屏幕是否发生变化。当然的,本领域技术人员还可以采用其他的方式来检测头戴显示设备的屏幕是否发生变化,只要能够准确对屏幕是否发生变化进行检测即可,在此不再赘述。Among them, for the screen of the head-mounted display device, when the screen is in the initialization state, the screen is in a black state, and every time the application in the head-mounted display device refreshes the content, the screen will clear the buffer with white to make The screen changes from a black screen state to displaying a frame of white, and the screen has changed at this time, wherein the buffer stores the display content for displaying on the screen. Therefore, when detecting whether the screen of the head-mounted display device has changed, the display content on the screen of the head-mounted display device can be obtained, and whether the screen of the head-mounted display device has changed can be determined by analyzing and processing the display content. Of course, those skilled in the art can also use other ways to detect whether the screen of the head-mounted display device changes, as long as it can accurately detect whether the screen changes, which will not be repeated here.
S104:若头戴显示设备的屏幕已发生变化,则记录头戴显示设备所处的第二时间。S104: If the screen of the head-mounted display device has changed, record the second time at which the head-mounted display device is located.
在头戴显示设备的屏幕已发生变化时,可以通过预设的计时装置记录头戴显示设备当前所处的第二时间。When the screen of the head-mounted display device has changed, a preset timing device may be used to record the second time that the head-mounted display device is currently in.
S105:根据第一时间和第二时间获取头戴显示设备的延迟时间。S105: Acquire the delay time of the head-mounted display device according to the first time and the second time.
在获取到第一时间和第二时间之后,可以将第二时间与第一时间的差值确定为头戴显示设备的延迟时间。After the first time and the second time are acquired, the difference between the second time and the first time may be determined as the delay time of the head-mounted display device.
需要说明的是,由于头戴显示设备的设计、结构等因素的限制,头戴显示设备的自身也会对延迟时间构成一定的影响,因此,为了更加准确地获取头戴显示设备的延迟时间,参考附图5所示,根据第一时间和第二时间获取头戴显示设备的延迟时间可以包括:It should be noted that due to the limitations of the design and structure of the head-mounted display device, the head-mounted display device itself will also have a certain impact on the delay time. Therefore, in order to obtain the delay time of the head-mounted display device more accurately, Referring to FIG. 5 , obtaining the delay time of the head-mounted display device according to the first time and the second time may include:
S1051:获取头戴显示设备的自身延迟时间。S1051: Obtain the self-delay time of the head-mounted display device.
其中,在头戴显示设备设计完毕后,每个头戴显示设备均会对应有一个自身延迟时间,该自身延迟时间可以与头戴显示设备的结构、型号、材料等等有关,并且,头戴显示设备与自身延迟时间之间的对应关系可以预先存储在预设的存储区域中;通过获取头戴显示设备的身份标识信息,而后利用头戴显示设备的身份标识信息、并通过访问存储区域即可获取到头戴显示设备的自身延迟时间。Among them, after the design of the head-mounted display device is completed, each head-mounted display device will correspond to a self-delay time, and the self-delay time may be related to the structure, model, material, etc. of the head-mounted display device. The correspondence between the display device and its own delay time can be stored in a preset storage area in advance; by obtaining the identification information of the head-mounted display device, and then using the identification information of the head-mounted display device, and by accessing the storage area, that is, The self-delay time of the headset can be obtained.
当然的,本领域技术人员还可以采用其他的方式来获取头戴显示设备的自身延迟时间,只要能够保证自身延迟时间获取的准确可靠性即可,在此不再赘述。Of course, those skilled in the art can also obtain the self-delay time of the head-mounted display device in other ways, as long as the accuracy and reliability of the self-delay time acquisition can be ensured, which will not be repeated here.
S1052:利用以下公式确定延迟时间:延迟时间=第二时间-第一时间-自身延迟时间。S1052: Determine the delay time using the following formula: delay time=second time-first time-self delay time.
本实施例提供的头戴显示设备的延迟检测方法,通过检测头戴显示设备的运动状态是否发生变化,若头戴显示设备的运动状态发生变化,则记录头戴显示设备所处的第一时间;而后检测头戴显示设备的屏幕是否发生变化,若头戴显示设备的屏幕发生变化,则记录头戴显示设备所处的第二时间;进而通过第一时间和第二时间来获取头戴显示设备的延迟时间,实现方式简单,成本较低,并且还有效地保证了延迟时间获取的准确可靠性,从而提高了该方法使用的稳定可靠性。The delay detection method of the head-mounted display device provided by this embodiment detects whether the motion state of the head-mounted display device changes, and if the motion state of the head-mounted display device changes, the first time the head-mounted display device is in is recorded. ; Then detect whether the screen of the head-mounted display device changes, if the screen of the head-mounted display device changes, record the second time when the head-mounted display device is located; and then obtain the head-mounted display through the first time and the second time. The delay time of the device has a simple implementation manner and low cost, and also effectively ensures the accuracy and reliability of the delay time acquisition, thereby improving the stability and reliability of the method.
图3为本发明实施例提供的检测头戴显示设备的屏幕是否发生变化的流程图;图4为本发明实施例提供的根据初始光感值和实时光感值检测头戴显示设备的屏幕是否发生变化的流程图;在上述实施例的基础上,继续参考附图3-4可知,本实施例对于检测头戴显示设备的屏幕是否发生变化的具体实现方式不做限定,本领域技术人员可以根据具体的设计需求进行设置,较为优选的,本实施例中的检测头戴显示设备的屏幕是否发生变化可以包括:FIG. 3 is a flowchart of detecting whether the screen of the head-mounted display device changes according to an embodiment of the present invention; FIG. 4 is an embodiment of the present invention to detect whether the screen of the head-mounted display device is based on an initial light sensitivity value and a real-time light sensitivity value. The flow chart of the change; on the basis of the above-mentioned embodiment, it can be seen from the accompanying drawings 3-4 that this embodiment does not limit the specific implementation of detecting whether the screen of the head-mounted display device changes, and those skilled in the art can Set according to specific design requirements. Preferably, the detection of whether the screen of the head-mounted display device has changed in this embodiment may include:
S1031:利用光照传感器获取头戴显示设备的屏幕的实时光感值、以及运动状态已发生变化的头戴显示设备的屏幕的初始光感值。S1031: Acquire a real-time light sensitivity value of the screen of the head-mounted display device and an initial light-sensing value of the screen of the head-mounted display device whose motion state has changed by using the light sensor.
其中,本实施例对于光照传感器的具体设置位置不做限定,本领域技术人员可以根据其实现的功能作用对其进行任意设置,然而,考虑到屏幕的亮度变化并不是同时发生变化的,较为常见的,屏幕亮度的变化可以由左侧到右侧进行变化,或者,屏幕亮度的变化也可以由上侧到下侧进行变化;因此,为了尽量能够获取屏幕亮度变化的平均值,较为优选的,本实施例中的光照传感器与头戴显示设备的屏幕相对,并且光照传感器可以设置于头戴显示设备的左眼光学镜片的中心处或者右眼光学镜片的中心处。Among them, this embodiment does not limit the specific setting position of the light sensor, and those skilled in the art can arbitrarily set it according to the functions and functions realized by the light sensor. However, considering that the brightness change of the screen does not change at the same time, it is more common , the change of screen brightness can be changed from left to right, or the change of screen brightness can also be changed from top to bottom; therefore, in order to obtain the average value of screen brightness changes as much as possible, it is preferable to The illumination sensor in this embodiment is opposite to the screen of the head-mounted display device, and the illumination sensor may be disposed at the center of the left-eye optical lens or the center of the right-eye optical lens of the head-mounted display device.
在确定头戴显示设备的运动状态已发生变化之后,可以利用光照传感器获取屏幕的初始光感值;而后,可以利用光照传感器获取头戴显示设备的屏幕的多个实时光感值。After it is determined that the motion state of the head-mounted display device has changed, an initial light-sensing value of the screen can be obtained by using the light sensor; then, multiple real-time light-sensing values of the screen of the head-mounted display device can be obtained by using the light sensor.
S1032:根据初始光感值和实时光感值检测头戴显示设备的屏幕是否发生变化。S1032: Detect whether the screen of the head-mounted display device changes according to the initial light sensitivity value and the real-time light sensitivity value.
具体的,根据初始光感值和实时光感值检测头戴显示设备的屏幕是否发生变化可以包括:Specifically, detecting whether the screen of the head-mounted display device changes according to the initial light-sensing value and the real-time light-sensing value may include:
S10321:获取初始光感值与实时光感值之间的光感差值;S10321: Obtain the light sensitivity difference between the initial light sensitivity value and the real-time light sensitivity value;
光感差值可以为初始光感值-实时光感值;或者,光感差值也可以为实时光感值-初始光感值,其中,该光感差值可以为大于或等于零的值。The light sensitivity difference value may be the initial light sensitivity value-real-time light sensitivity value; or, the light sensitivity difference value may also be the real-time light sensitivity value-initial light sensitivity value, wherein the light sensitivity difference value may be a value greater than or equal to zero.
S10322:若光感差值大于或等于预设的光感阈值,则确定头戴显示设备的屏幕已发生变化。S10322: If the light sensitivity difference value is greater than or equal to the preset light sensitivity threshold, it is determined that the screen of the head-mounted display device has changed.
其中,光感阈值为预先设置的,本实施例对于其具体的数值范围不做限定,本领域技术人员可以根据具体的设计需求进行设置,在此不再赘述。在光感差值大于或等于预设的光感阈值时,则说明此时头戴显示设备的屏幕亮度发生了较大变化,例如:由黑屏状态变为白色;因此,可以确定头戴显示设备的屏幕已发生变化。The light-sensing threshold is preset, and the specific numerical range thereof is not limited in this embodiment, and those skilled in the art can set it according to specific design requirements, which will not be repeated here. When the light sensitivity difference is greater than or equal to the preset light sensitivity threshold, it means that the screen brightness of the head-mounted display device has changed greatly, for example, from a black screen to white; therefore, it can be determined that the head-mounted display device screen has changed.
S10323:若光感差值小于预设的光感阈值,则确定头戴显示设备的屏幕未发生变化。S10323: If the light sensitivity difference value is smaller than the preset light sensitivity threshold, it is determined that the screen of the head-mounted display device has not changed.
在光感差值小于预设的光感阈值时,则说明此时头戴显示设备的屏幕亮度发生了较小变化,例如:一直处于黑屏状态;因此,可以确定头戴显示设备的屏幕未发生变化。When the light sensitivity difference is less than the preset light sensitivity threshold, it means that the screen brightness of the head-mounted display device has changed slightly at this time, for example, the screen is always in a black state; therefore, it can be determined that the screen of the head-mounted display device has not changed. Variety.
通过光照传感器检测头戴显示设备的屏幕的光感值,进而可以准确地判断头戴显示设备的屏幕是否发生变化,实现方式简单,并且还有效地保证了检测所述头戴显示设备的屏幕是否发生变化的准确可靠性。The light sensitivity value of the screen of the head-mounted display device is detected by the light sensor, so as to accurately determine whether the screen of the head-mounted display device has changed. Accurate reliability of changes.
图6为本发明实施例提供的确定头戴显示设备的平均延迟时间的流程图;在上述任意一个实施例的基础上,参考附图6所示,本实施例中的方法还可以包括:FIG. 6 is a flowchart of determining an average delay time of a head-mounted display device provided by an embodiment of the present invention; on the basis of any of the foregoing embodiments, referring to FIG. 6 , the method in this embodiment may further include:
S201:多次获取头戴显示设备的延迟时间。S201: Obtain the delay time of the head-mounted display device multiple times.
可以采用上述的方法多次获取头戴显示设备的延迟时间。The above method may be used to obtain the delay time of the head-mounted display device multiple times.
S202:根据多次获取的延迟时间确定头戴显示设备的平均延迟时间。S202: Determine the average delay time of the head-mounted display device according to the delay times obtained multiple times.
在多次获取到延迟时间之后,可以将多次延迟时间中的平均值确定为头戴显示设备的平均延迟时间,从而实现了对头戴显示设备的平均延迟时间的准确获取。After the delay time is acquired multiple times, the average of the multiple delay times may be determined as the average delay time of the head-mounted display device, thereby realizing accurate acquisition of the average delay time of the head-mounted display device.
具体应用时,本应用实施例提供了一种低成本可精确测量头戴显示设备的延迟的方法,为了便于说明,以VR设备作为头戴显示设备、角速度传感器作为检测装置为例进行说明。另外,需要说明的是,该方法应用到的工具可以包括:Arduino开发板(以下简称开发板)、角速度传感器、光照传感器,其中,开发板分别与角速度传感器和光照传感器相连接,用于实现通过角速度传感器检测VR设备的运动状态是否发生变化,通过光照传感器检测VR设备的屏幕是否发生变化。In a specific application, this application embodiment provides a low-cost method for accurately measuring the delay of a head-mounted display device. For the convenience of description, the VR device is used as the head-mounted display device and the angular velocity sensor is used as the detection device as an example for description. In addition, it should be noted that the tools to which this method is applied may include: an Arduino development board (hereinafter referred to as a development board), an angular velocity sensor, and a light sensor, wherein the development board is respectively connected with the angular velocity sensor and the light sensor for realizing the The angular velocity sensor detects whether the motion state of the VR device changes, and the light sensor detects whether the screen of the VR device changes.
首先,通过角速度传感器统计获得VR设备处于静止姿态时的最大姿态信息,该最大姿态信息可以作为VR设备的运动状态是否发生变化的判断标准。而后,预设的Arduino程序可以运行在开发板内,该程序可以不断读取开发板上所获取的实时角速度,通过检测实时角速度的变化,来判断VR设备的运动状态是否发生变化。若VR设备的运动状态发生变化,则记录下当前的第一时间T1和初始光感值B1。继而检测头戴显示设备的屏幕是否发生变化,即判断屏幕的亮度变化的状态,上述程序可以不断读取开发板上所获取的实时光感值B2,将实时光感值B2与初始光感值B1进行对比,若二者的差值超过了光感阀值ΔB,则认为此时的屏幕画面发生了变化,即由于VR设备运动使得屏幕刷新了一帧白色,记录下当前的第二时间T2,通过T1和T2,结合考虑到VR设备本身的延迟,即可得出VR设备当前的延迟时间,并可以周期性的统计延迟时间,进而可以获取到平均延迟时间。First, the maximum attitude information when the VR device is in a static attitude is obtained through statistics from the angular velocity sensor, and the maximum attitude information can be used as a criterion for judging whether the motion state of the VR equipment changes. Then, the preset Arduino program can run in the development board, the program can continuously read the real-time angular velocity obtained on the development board, and determine whether the motion state of the VR device has changed by detecting the change of the real-time angular velocity. If the motion state of the VR device changes, the current first time T1 and the initial light sensitivity value B1 are recorded. Then, it is detected whether the screen of the head-mounted display device has changed, that is, the state of the brightness change of the screen is determined. B1 is compared. If the difference between the two exceeds the light sensitivity threshold ΔB, it is considered that the screen image at this time has changed, that is, the screen is refreshed with a frame of white due to the movement of the VR device, and the current second time T2 is recorded. , through T1 and T2, and considering the delay of the VR device itself, the current delay time of the VR device can be obtained, and the delay time can be calculated periodically, and then the average delay time can be obtained.
具体的,在获取平均延迟时间时,可以将VR设备放在外界光线干扰较小的桌面上,待VR设备处于静止姿态且平稳后,突然转动VR设备,而后通过上述方式即可以获取VR设备基于该次动作所对应的延迟时间,并可以将该延迟时间进行打印输出。待VR设备再次处于静止姿态且平稳后,可反复测试多次,从而可以获得多次的延迟时间,通过对多次的延迟时间进行分析处理,可以获取到VR设备的平均延迟时间,而后可以将该平均延迟时间进行打印输出。Specifically, when obtaining the average delay time, the VR device can be placed on a desktop with less interference from external light. After the VR device is in a static position and is stable, the VR device is suddenly rotated, and then the VR device can be obtained through the above method. The delay time corresponding to this action can be printed out. After the VR device is in a static position and is stable again, the test can be repeated many times to obtain multiple delay times. By analyzing and processing the multiple delay times, the average delay time of the VR device can be obtained. The average delay time is printed out.
本实施例通过方法和设备来测量VR设备的延迟时间,有效地保证了所能应用到的设备与VR设备的开机节点之间的统一,从而有效地提高了延迟时间测量的精确性,并且该方法可以同时适配不同的VR设备,有效地提高了该方法使用的灵活程度。In this embodiment, the method and device are used to measure the delay time of the VR device, which effectively ensures the unification between the applicable device and the start-up node of the VR device, thereby effectively improving the accuracy of the delay time measurement, and the The method can be adapted to different VR devices at the same time, which effectively improves the flexibility of the method.
在一个可能的设计中,图7为本发明实施例提供的一种电子设备的结构示意图;参考附图7所示,本实施例提供了一种电子设备,该电子设备可以是基于AR、VR、MR或CR领域的HMD等设备。如图7所示,该电子设备可以包括:处理器21和存储器22。其中,存储器22用于存储支持电子设备执行上述图1-图6所示实施例中提供的头戴显示设备的延迟检测方法的程序,处理器21被配置为用于执行存储器22中存储的程序。In a possible design, FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention; with reference to FIG. 7 , this embodiment provides an electronic device, which may be based on AR, VR , HMD and other equipment in the field of MR or CR. As shown in FIG. 7 , the electronic device may include: a processor 21 and a memory 22 . The memory 22 is used to store a program that supports the electronic device to execute the delay detection method of the head-mounted display device provided in the embodiments shown in FIG. 1 to FIG. 6 , and the processor 21 is configured to execute the program stored in the memory 22 . .
程序包括一条或多条计算机指令,其中,一条或多条计算机指令被处理器21执行时能够实现如下步骤:The program includes one or more computer instructions, wherein, when the one or more computer instructions are executed by the processor 21, the following steps can be implemented:
检测头戴显示设备的运动状态是否发生变化;Detect whether the motion state of the head-mounted display device has changed;
若头戴显示设备的运动状态已发生变化,则记录头戴显示设备所处的第一时间;If the motion state of the head-mounted display device has changed, record the first time when the head-mounted display device is located;
检测头戴显示设备的屏幕是否发生变化;Detect whether the screen of the head-mounted display device has changed;
若头戴显示设备的屏幕已发生变化,则记录头戴显示设备所处的第二时间;If the screen of the head-mounted display device has changed, recording the second time when the head-mounted display device is located;
根据第一时间和第二时间获取头戴显示设备的延迟时间。The delay time of the head-mounted display device is acquired according to the first time and the second time.
可选地,处理器21还用于执行前述图1-图6所示实施例中的全部或部分步骤。Optionally, the processor 21 is further configured to execute all or part of the steps in the foregoing embodiments shown in FIG. 1 to FIG. 6 .
其中,电子设备的结构中还可以包括通信接口23,用于电子设备与其他设备或通信网络通信。The structure of the electronic device may further include a communication interface 23 for the electronic device to communicate with other devices or a communication network.
另外,本发明实施例提供了一种计算机存储介质,用于储存电子设备所用的计算机软件指令,其包含用于执行上述图1-图6所示方法实施例中头戴显示设备的延迟检测方法所涉及的程序。In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions used by an electronic device, which includes a delay detection method for executing the head-mounted display device in the method embodiment shown in FIG. 1 to FIG. 6 above. the procedures involved.
需要说明的是,本发明一些实施例提供的电子设备可以为外接式头戴显示设备或者一体式头戴显示设备,其中外接式头戴显示设备需要与外部处理系统(例如计算机处理系统)配合使用。It should be noted that the electronic device provided by some embodiments of the present invention may be an external head-mounted display device or an integrated head-mounted display device, wherein the external head-mounted display device needs to be used in cooperation with an external processing system (eg, a computer processing system). .
图8为本发明实施例提供的一种头戴显示设备的结构示意图。FIG. 8 is a schematic structural diagram of a head-mounted display device according to an embodiment of the present invention.
参考附图8所示,显示单元301可以包括显示面板,显示面板设置在头戴显示设备300上面向用户面部的侧表面,可以为一整块面板、或者为分别对应用户左眼和右眼的左面板和右面板。显示面板可以为电致发光(EL)元件、液晶显示器或具有类似结构的微型显示器、或者视网膜可直接显示或类似的激光扫描式显示器。Referring to FIG. 8 , the display unit 301 may include a display panel, and the display panel is disposed on the side surface of the head-mounted display device 300 facing the face of the user, and may be a whole panel or a panel corresponding to the left eye and the right eye of the user respectively. Left and right panels. The display panel may be an electroluminescent (EL) element, a liquid crystal display or a microdisplay having a similar structure, or a retinal direct display or similar laser scanning type display.
虚拟图像光学单元302以放大方式向用户展示显示单元301所显示的图像,并允许用户按放大的虚拟图像观察所显示的图像。作为输出到显示单元301上的显示图像,可以是从内容再现设备(蓝光光碟或DVD播放器)或流媒体服务器提供的虚拟场景的图像、或者使用外部相机310拍摄的现实场景的图像。一些实施例中,虚拟图像光学单元302可以包括透镜单元,例如球面透镜、非球面透镜、菲涅尔透镜等。The virtual image optical unit 302 shows the user the image displayed by the display unit 301 in an enlarged manner, and allows the user to observe the displayed image as the enlarged virtual image. As the display image output on the display unit 301 , it may be an image of a virtual scene provided from a content reproduction device (Blu-ray disc or DVD player) or a streaming server, or an image of a real scene captured using the external camera 310 . In some embodiments, the virtual image optical unit 302 may include a lens unit, such as a spherical lens, an aspherical lens, a Fresnel lens, and the like.
输入操作单元303包括至少一个用来执行输入操作的操作部件,例如按键、按钮、开关或者其他具有类似功能的部件,通过操作部件接收用户指令,并且向控制单元307输出指令。The input operation unit 303 includes at least one operation component for performing input operation, such as keys, buttons, switches or other components with similar functions, receives user instructions through the operation component, and outputs the instructions to the control unit 307 .
状态信息获取单元304用于获取穿戴头戴显示设备300的用户的状态信息。状态信息获取单元304可以包括各种类型的传感器,用于自身检测状态信息,并可以通过通信单元305从外部设备(例如智能手机、腕表和用户穿戴的其它多功能终端)获取状态信息。状态信息获取单元304可以获取用户的头部的位置信息和/或姿态信息。状态信息获取单元304可以包括陀螺仪传感器、加速度传感器、全球定位系统(GPS)传感器、地磁传感器、多普勒效应传感器、红外传感器、射频场强度传感器中的一个或者多个。此外,状态信息获取单元304获取穿戴头戴显示设备300的用户的状态信息,例如获取例如用户的操作状态(用户是否穿戴头戴显示设备300)、用户的动作状态(诸如静止、行走、跑动和诸如此类的移动状态,手或指尖的姿势、眼睛的开或闭状态、视线方向、瞳孔尺寸)、精神状态(用户是否沉浸在观察所显示的图像以及诸如此类的),甚至生理状态。The status information acquisition unit 304 is configured to acquire status information of a user wearing the head-mounted display device 300 . The status information acquisition unit 304 may include various types of sensors for detecting status information by itself, and may acquire status information from external devices (eg, smart phones, wrist watches, and other multifunctional terminals worn by users) through the communication unit 305 . The state information acquisition unit 304 may acquire position information and/or gesture information of the user's head. The state information acquisition unit 304 may include one or more of a gyroscope sensor, an acceleration sensor, a global positioning system (GPS) sensor, a geomagnetic sensor, a Doppler effect sensor, an infrared sensor, and a radio frequency field strength sensor. In addition, the state information acquiring unit 304 acquires state information of the user wearing the head-mounted display device 300, for example, acquiring, for example, the user's operation state (whether the user is wearing the head-mounted display device 300), the user's action state (such as still, walking, running) and the like, the posture of the hand or fingertips, the open or closed state of the eyes, the direction of the gaze, the pupil size), the mental state (whether the user is immersed in looking at the displayed image and whatnot), and even the physiological state.
通信单元305执行与外部装置的通信处理、调制和解调处理、以及通信信号的编码和解码处理。另外,控制单元307可以从通信单元305向外部装置发送传输数据。通信方式可以是有线或者无线形式,例如移动高清链接(MHL)或通用串行总线(USB)、高清多媒体接口(HDMI)、无线保真(Wi-Fi)、蓝牙通信或低功耗蓝牙通信,以及IEEE802.11s标准的网状网络等。另外,通信单元305可以是根据宽带码分多址(W-CDMA)、长期演进(LTE)和类似标准操作的蜂窝无线收发器。The communication unit 305 performs communication processing with external devices, modulation and demodulation processing, and encoding and decoding processing of communication signals. In addition, the control unit 307 can transmit transmission data from the communication unit 305 to an external device. The communication method can be wired or wireless, such as Mobile High Definition Link (MHL) or Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), Wireless Fidelity (Wi-Fi), Bluetooth communication or Bluetooth Low Energy communication, And IEEE802.11s standard mesh network and so on. Additionally, the communication unit 305 may be a cellular wireless transceiver operating in accordance with Wideband Code Division Multiple Access (W-CDMA), Long Term Evolution (LTE), and similar standards.
一些实施例中,头戴显示设备300还可以包括存储单元,存储单元306是配置为具有固态驱动器(SSD)等的大容量存储设备。一些实施例中,存储单元306可以存储应用程序或各种类型的数据。例如,用户使用头戴显示设备300观看的内容可以存储在存储单元306中。In some embodiments, the head mounted display device 300 may also include a storage unit, the storage unit 306 being a mass storage device configured with a solid state drive (SSD) or the like. In some embodiments, storage unit 306 may store application programs or various types of data. For example, content viewed by the user using the head mounted display device 300 may be stored in the storage unit 306 .
一些实施例中,头戴显示设备300还可以包括控制单元和存储单元(例如图所示的ROM 307A以及RAM 307B),控制单元307可以包括计算机处理单元(CPU)或者其他具有类似功能的设备。一些实施例中,控制单元307可以用于执行存储单元306存储的应用程序,或者控制单元307还可以用于执行本申请一些实施例公开的方法、功能和操作的电路。In some embodiments, the head mounted display device 300 may further include a control unit and a storage unit (such as the ROM 307A and RAM 307B shown in the figure), and the control unit 307 may include a computer processing unit (CPU) or other devices with similar functions. In some embodiments, the control unit 307 may be used to execute the application program stored in the storage unit 306, or the control unit 307 may also be used to execute the methods, functions and circuits of the operations disclosed in some embodiments of the present application.
图像处理单元108用于执行信号处理,比如与从控制单元307输出的图像信号相关的图像质量校正,以及将其分辨率转换为根据显示单元301的屏幕的分辨率。然后,显示驱动单元309依次选择显示单元301的每行像素,并逐行依次扫描显示单元301的每行像素,因而提供基于经信号处理的图像信号的像素信号。The image processing unit 108 is used to perform signal processing such as image quality correction related to the image signal output from the control unit 307 and to convert its resolution into a resolution according to the screen of the display unit 301 . Then, the display driving unit 309 sequentially selects each row of pixels of the display unit 301 and sequentially scans each row of pixels of the display unit 301 row by row, thereby providing pixel signals based on the signal-processed image signals.
一些实施例中,头戴显示设备300还可以包括外部相机。外部相机310可以设置在头戴显示设备300主体前表面,外部相机310可以为一个或者多个。外部相机310可以获取三维信息,并且也可以用作距离传感器。另外,探测来自物体的反射信号的位置灵敏探测器(PSD)或者其他类型的距离传感器可以与外部相机310一起使用。外部相机310和距离传感器可以用于检测穿戴头戴显示设备300的用户的身体位置、姿态和形状。另外,一定条件下用户可以通过外部相机310直接观看或者预览现实场景。In some embodiments, the head mounted display device 300 may also include an external camera. The external camera 310 may be disposed on the front surface of the main body of the head-mounted display device 300 , and there may be one or more external cameras 310 . The external camera 310 can acquire three-dimensional information, and can also function as a distance sensor. Additionally, a position sensitive detector (PSD) or other type of distance sensor that detects reflected signals from objects may be used with the external camera 310 . The external camera 310 and the distance sensor may be used to detect the body position, posture and shape of the user wearing the head mounted display device 300 . In addition, under certain conditions, the user can directly watch or preview the real scene through the external camera 310 .
一些实施例中,头戴显示设备300还可以包括声音处理单元,声音处理单元311可以执行从控制单元307输出的声音信号的声音质量校正或声音放大,以及输入声音信号的信号处理等。然后,声音输入/输出单元312在声音处理后向外部输出声音以及输入来自麦克风的声音。In some embodiments, the head mounted display device 300 may further include a sound processing unit, and the sound processing unit 311 may perform sound quality correction or sound amplification of the sound signal output from the control unit 307, and signal processing of the input sound signal. Then, the sound input/output unit 312 outputs sound to the outside and inputs sound from a microphone after sound processing.
需要说明的是,图8中虚线框示出的结构或部件可以独立于头戴显示设备300之外,例如可以设置在外部处理系统(例如计算机系统)中与头戴显示设备300配合使用;或者,虚线框示出的结构或部件可以设置在头戴显示设备300内部或者表面上。It should be noted that the structures or components shown by the dashed box in FIG. 8 may be independent of the head-mounted display device 300, for example, may be set in an external processing system (such as a computer system) to be used in conjunction with the head-mounted display device 300; or , the structures or components shown by the dotted box may be disposed inside or on the surface of the head-mounted display device 300 .
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment. Those of ordinary skill in the art can understand and implement it without creative effort.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助加必需的通用硬件平台的方式来实现,当然也可以通过硬件和软件结合的方式来实现。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以计算机产品的形式体现出来,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。From the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and certainly can also be implemented by combining hardware and software. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of computer products in essence or that contribute to the prior art. In the form of a computer program product embodied on a medium (including but not limited to disk storage, CD-ROM, optical storage, etc.).
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程设备的处理器以产生一个机器,使得通过计算机或其他可编程设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable device to produce a machine such that the instructions executed by the processor of the computer or other programmable device produce a process for implementing the process. Figures a process or processes and/or block diagrams of a block or devices of the functions specified in the blocks.
这些计算机程序指令也可存储在能引导计算机或其他可编程设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable device to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means that implements A function specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可装载到计算机或其他可编程设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable device such that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide Steps for implementing the function specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811573200.0A CN109739737A (en) | 2018-12-21 | 2018-12-21 | Delay detection method, device and computer storage medium for head-mounted display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811573200.0A CN109739737A (en) | 2018-12-21 | 2018-12-21 | Delay detection method, device and computer storage medium for head-mounted display device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109739737A true CN109739737A (en) | 2019-05-10 |
Family
ID=66359493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811573200.0A Pending CN109739737A (en) | 2018-12-21 | 2018-12-21 | Delay detection method, device and computer storage medium for head-mounted display device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739737A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111162859A (en) * | 2019-11-29 | 2020-05-15 | 青岛小鸟看看科技有限公司 | Time synchronization method and device of head-mounted display system and head-mounted display system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110075582A1 (en) * | 2009-09-25 | 2011-03-31 | Fujitsu Limited | Delay time measurement apparatus, storage medium storing delay time measurement program and network system |
WO2015141173A1 (en) * | 2014-03-17 | 2015-09-24 | セイコーエプソン株式会社 | Movement analysis method, movement analysis device, movement analysis system and program |
CN105807601A (en) * | 2016-03-10 | 2016-07-27 | 北京小鸟看看科技有限公司 | Method and system for testing virtual reality equipment delay |
CN106441810A (en) * | 2016-12-16 | 2017-02-22 | 捷开通讯(深圳)有限公司 | Device and method for detecting delay time of VR (virtual reality) equipment |
CN108415799A (en) * | 2018-02-11 | 2018-08-17 | 深圳创维新世界科技有限公司 | Delay measurement system |
CN108427612A (en) * | 2018-02-11 | 2018-08-21 | 深圳创维新世界科技有限公司 | Time delay measurement method |
CN108446192A (en) * | 2018-02-11 | 2018-08-24 | 深圳创维新世界科技有限公司 | Time delay measurement equipment |
-
2018
- 2018-12-21 CN CN201811573200.0A patent/CN109739737A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110075582A1 (en) * | 2009-09-25 | 2011-03-31 | Fujitsu Limited | Delay time measurement apparatus, storage medium storing delay time measurement program and network system |
WO2015141173A1 (en) * | 2014-03-17 | 2015-09-24 | セイコーエプソン株式会社 | Movement analysis method, movement analysis device, movement analysis system and program |
CN105807601A (en) * | 2016-03-10 | 2016-07-27 | 北京小鸟看看科技有限公司 | Method and system for testing virtual reality equipment delay |
CN106441810A (en) * | 2016-12-16 | 2017-02-22 | 捷开通讯(深圳)有限公司 | Device and method for detecting delay time of VR (virtual reality) equipment |
CN108415799A (en) * | 2018-02-11 | 2018-08-17 | 深圳创维新世界科技有限公司 | Delay measurement system |
CN108427612A (en) * | 2018-02-11 | 2018-08-21 | 深圳创维新世界科技有限公司 | Time delay measurement method |
CN108446192A (en) * | 2018-02-11 | 2018-08-24 | 深圳创维新世界科技有限公司 | Time delay measurement equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111162859A (en) * | 2019-11-29 | 2020-05-15 | 青岛小鸟看看科技有限公司 | Time synchronization method and device of head-mounted display system and head-mounted display system |
CN111162859B (en) * | 2019-11-29 | 2022-06-14 | 青岛小鸟看看科技有限公司 | Time synchronization method and device of head-mounted display system and head-mounted display system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11563886B2 (en) | Automated eyewear device sharing system | |
US11417052B2 (en) | Generating ground truth datasets for virtual reality experiences | |
CA2998904C (en) | Adjusting video rendering rate of virtual reality content and processing of a stereoscopic image | |
CN114531951B (en) | Automatic video capture and compositing system | |
CN109557669B (en) | Method for determining image drift amount of head-mounted display equipment and head-mounted display equipment | |
US20190244369A1 (en) | Display device and method for image processing | |
US11668937B2 (en) | Processing a media content based on device movement | |
WO2018223663A1 (en) | Vr image processing method, device, and apparatus | |
US12101557B2 (en) | Pose tracking for rolling shutter camera | |
CN111108462A (en) | Ranging and accessory tracking for head-mounted display systems | |
US20210409626A1 (en) | Patch tracking image sensor | |
WO2021073293A1 (en) | Animation file generating method and device, and storage medium | |
WO2019015249A1 (en) | Virtual-reality-based image display method and apparatus, and virtual reality helmet device | |
CN108021346A (en) | VR helmets show method, VR helmets and the system of image | |
CN109542676A (en) | Method, apparatus, equipment and the storage medium of factory reset | |
US11366318B2 (en) | Electronic device and control method thereof | |
CN109725719A (en) | Device control method, device, electronic device, and storage medium | |
CN109696959B (en) | Picture display method, equipment and storage medium | |
CN107704397B (en) | Application program testing method and device and electronic equipment | |
CN109739737A (en) | Delay detection method, device and computer storage medium for head-mounted display device | |
CN107945100A (en) | Methods of exhibiting, virtual reality device and the system of virtual reality scenario | |
CN107545595A (en) | A kind of VR scene process method and VR equipment | |
US20180150134A1 (en) | Method and apparatus for predicting eye position | |
WO2023142736A1 (en) | Touch operation response method and electronic device | |
WO2019085109A1 (en) | Image writing control method and apparatus, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20201116 Address after: 261061 north of Yuqing East Street, east of Dongming Road, Weifang High tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building) Applicant after: GoerTek Optical Technology Co.,Ltd. Address before: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong Applicant before: GOERTEK TECHNOLOGY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20221116 Address after: 266104 Room 308, North Investment Street Service Center, Laoshan District, Qingdao, Shandong. Applicant after: GOERTEK TECHNOLOGY Co.,Ltd. Address before: 261061 east of Dongming Road, north of Yuqing East Street, Weifang High tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building) Applicant before: GoerTek Optical Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190510 |