Control method and device, head-mounted display device, and medium
By creating multiple virtual screens in the display area of AR glasses and controlling virtual icons using the rotation angle threshold of a second device and the user's gaze information, the problem of insufficient interaction methods in AR glasses is solved, achieving higher operational accuracy and stability.
Patent Information
- Application Number
- CN202311361610.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-19
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-10-19
AI Technical Summary
The lack of effective interaction methods during the use of AR glasses leads to ray jitter and reduces the accuracy of application operation.
By creating multiple virtual screens in the display area of AR glasses and utilizing the rotation angle threshold of a second device and the user's gaze information, the stability of the virtual sign is controlled to avoid jitter and achieve precise control.
It improves the user's precise control over the application, avoids the jitter of virtual icons, and enhances the interactive stability of AR glasses.
Smart Images

Figure CN117555419B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of wearable device technology, and more specifically, to a control method, a control device, a head-mounted display device, and a computer-readable storage medium. Background Technology
[0002] With the development of augmented reality technology, AR products such as AR glasses have seen more and more application scenarios, such as enabling multiple applications to run in AR glasses. Specifically, this involves opening multiple applications on multiple virtual screens of the AR glasses and rendering the texture information of each virtual screen on the corresponding canvas of the AR Launcher.
[0003] However, AR glasses currently lack interactive methods, and controlling the AR glasses' ray based on the phone's posture information is one solution. However, in actual use, since it is usually difficult for the human hand to maintain a stable position, this will cause the ray to jitter, reducing the accuracy of operation. Summary of the Invention
[0004] The purpose of this disclosure is to provide a control method, apparatus, head-mounted display device, and medium.
[0005] According to a first aspect of the present disclosure, a control method is provided, the method comprising:
[0006] Multiple virtual screens are created in the display area of the first device; each of the multiple virtual screens runs a corresponding application.
[0007] During the process of controlling the virtual icon through the second device, if it is detected that the rotation angle of the second device is lower than the rotation angle threshold within a preset time period, the second device is controlled to stop controlling the virtual icon so that the virtual icon is in a stable state; wherein, the virtual icon points to the display area;
[0008] If the virtual icon collides with one of the multiple virtual screens while the virtual icon is in a stable state, the virtual icon is controlled according to the user's current gaze information.
[0009] Optionally, the method further includes:
[0010] When the virtual identifier is in a stable state, if the virtual identifier collides with the graphical user interface control of the rendering engine, the virtual identifier is controlled to point to the center position of the graphical user interface control.
[0011] Optionally, the current gaze information includes the current gaze region.
[0012] When the virtual identifier is in a stable state, if the virtual identifier collides with one of the plurality of virtual screens, the virtual identifier is controlled according to the user's current gaze information, including:
[0013] When the virtual identifier is in a stable state, if the virtual identifier collides with one of the multiple virtual screens, the first edge of the display screen of the first device closest to the current gaze area is determined based on the user's current gaze area.
[0014] Obtain the first distance between the current gaze region and the first edge;
[0015] The virtual identifier is controlled based on the first distance.
[0016] Optionally, controlling the virtual identifier based on the first distance includes:
[0017] Based on the first distance, the virtual identifier is controlled to rotate along the first direction by the rotation angle threshold.
[0018] Optionally, the method further includes controlling the virtual identifier via a second device.
[0019] The control of the virtual identifier via the second device includes:
[0020] Receive the rotation matrix transmitted by the second device;
[0021] The orientation of the virtual identifier is obtained by transforming the rotation matrix.
[0022] According to a second aspect of the present disclosure, a control device is provided, the device comprising:
[0023] A creation module is used to create multiple virtual screens in the display area of a first device; wherein each of the multiple virtual screens runs a corresponding application;
[0024] The first control module is configured to, during the process of controlling the virtual identifier through the second device, if it is detected that the rotation angle of the second device is lower than a rotation angle threshold within a preset time period, control the second device to stop controlling the virtual identifier so that the virtual identifier is in a stable state; wherein the virtual identifier points to the display area;
[0025] The second control module is used to control the virtual icon based on the user's current gaze information if the virtual icon collides with one of the multiple virtual screens when the virtual icon is in a stable state.
[0026] Optionally, the device further includes a third control module for:
[0027] When the virtual identifier is in a stable state, if the virtual identifier collides with the graphical user interface control of the rendering engine, the virtual identifier is controlled to point to the center position of the graphical user interface control.
[0028] Optionally, the current gaze information includes the current gaze region.
[0029] The second control module is specifically configured to, when the virtual identifier is in a stable state, if the virtual identifier collides with one of the plurality of virtual screens, determine the first edge of the display screen of the first device closest to the current gaze area based on the user's current gaze area; obtain the first distance between the current gaze area and the first edge; and control the virtual identifier based on the first distance.
[0030] According to a third aspect of the present disclosure, a head-mounted display device is provided, the head-mounted display device comprising:
[0031] Memory is used to store executable computer instructions;
[0032] A processor configured to execute the control method described in the first aspect above, under the control of the executable computer instructions.
[0033] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided having computer instructions stored thereon, which, when executed by a processor, perform the control method described in the first aspect above.
[0034] One beneficial effect of this embodiment is that, while enabling multiple applications to run simultaneously, the first device controls the virtual identifier via a second device. During this control process, if the rotation angle of the second device is detected to be lower than a rotation angle threshold within a preset time period, the second device stops controlling the virtual identifier to stabilize it. If the virtual identifier collides with one of the multiple virtual screens while in a stable state, control is applied to the virtual identifier based on the user's current gaze information. In other words, by fusing the gaze information of the first device and the user, virtual identifier jitter is avoided, improving the user's precise control over the application based on the virtual identifier.
[0035] Other features and advantages of this specification will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0036] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of this specification and, together with their description, serve to explain the principles of this specification.
[0037] Figure 1 This is a schematic diagram of the hardware configuration of the control system according to an embodiment of the present disclosure;
[0038] Figure 2 This is a flowchart illustrating a control method according to an embodiment of the present disclosure;
[0039] Figure 3 This is a schematic diagram of the display screen of a first device according to an embodiment of the present disclosure;
[0040] Figure 4 This is a schematic block diagram of a control device according to an embodiment of the present disclosure;
[0041] Figure 5 This is a schematic block diagram of a head-mounted display device according to an embodiment of the present disclosure. Detailed Implementation
[0042] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the embodiments of the present disclosure.
[0043] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.
[0044] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0045] In all the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0046] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0047] <Hardware Configuration>
[0048] Figure 1 This is a schematic diagram of the hardware configuration of a control system that can be used to implement a control method in one embodiment. Figure 1A first device 100, a second device 200, and a network 300 are shown. The first device 100 can connect to the network 300 and can also connect to the second device 200 via a communication method such as Bluetooth. In one embodiment, the first device 100 connects to the second device 200 only via a communication method such as Bluetooth. Multiple servers 301 and 302 can be configured in the network 300. The network 300 can be a wireless communication network or a wired communication network. The network 300 can be a local area network (LAN) or a wide area network (WAN). The network 300 can be for short-range communication or long-range communication.
[0049] In one embodiment, such as Figure 1 As shown, the first device 100 may include a processor 101 and a memory 102. The first device 100 also includes a communication device 103, a display device 104, a user interface 105, a camera device 106, an audio / video interface 107, and a sensor 108, etc. Furthermore, the first device 100 may also include a power management chip 109 and a battery 110, etc.
[0050] The processor 101 can be any type of processor. The memory 102 can store the underlying software, system software, application software, data, etc., required for the operation of the first device 100. The memory 102 can include various forms of memory, such as ROM, RAM, Flash, etc. The communication device 103 can include, for example, a WiFi communication device, a Bluetooth communication device, a 3G, 4G, or 5G communication device. Through the communication device 103, the first device 100 can be deployed in a network. The display device 104 can be a liquid crystal display, an OLED display, etc. In one example, the display device 104 can be a touchscreen. Users can perform input operations through the display device 104. Furthermore, users can also perform fingerprint recognition, etc., through the touchscreen. The user interface 105 can include a USB interface, a Lightning interface, a keyboard, etc. The camera device 106 can be a single camera or multiple cameras. The audio / video interface 107 can include, for example, a speaker interface, a microphone interface, a video transmission interface such as HDMI, etc. The sensor 108 can include, for example, a gyroscope, an accelerometer, a temperature sensor, a humidity sensor, a pressure sensor, etc. For example, the sensor can determine the attitude information of the first device. The power management chip 109 can be used to manage the power input to the first device 100, and can also manage the battery 110 to ensure maximum utilization efficiency. The battery 110 is, for example, a lithium-ion battery.
[0051] The first device 100 may be a head-mounted display device. For example, AR (Augmented Reality) glasses and MR (Mixed Reality) glasses, etc., but this disclosure does not limit the scope of the embodiments. Figure 1 The components shown are merely illustrative. The first device 100 may include... Figure 1 One or more of the components shown, but not necessarily including Figure 1 All components in it. Figure 1 The first device 100 shown is merely illustrative and is by no means intended to limit the embodiments, applications, or uses herein.
[0052] In this embodiment, the memory 102 of the first device 100 is used to store program instructions that control the processor 101 to perform operations to execute the control method. Those skilled in the art can design the instructions according to the scheme disclosed in this invention. How the instructions control the processor to perform operations is well known in the art and will not be described in detail here.
[0053] In one embodiment, such as Figure 1 As shown, the second device 200 may include a processor 201 and a memory 202. The second device 200 also includes a communication device 203, a display device 204, a user interface 205, a camera device 206, an audio / video interface 207, and a sensor 208, etc. Furthermore, the second device 200 may also include a power management chip 209 and a battery 210, etc.
[0054] The second device 200 may be a mobile phone, a portable computer, a tablet computer, a handheld computer, a wearable device, etc., and this disclosure does not limit it. Figure 1 The components shown are merely illustrative. The second device 200 may include... Figure 1 One or more of the components shown, but not necessarily including Figure 1 All components in it. Figure 1 The second device 200 shown is merely illustrative and is by no means intended to limit the embodiments, applications, or uses herein.
[0055] It should be understood that, despite Figure 1 Only one first device 100 and one second device 200 are shown, but this does not mean that the number of each is limited. The control system may contain multiple first devices 100 and multiple second devices 200.
[0056] In the above description, those skilled in the art can design instructions based on the solutions provided in this disclosure. How the instructions control the processor to operate is well known in the art, and therefore will not be described in detail here.
[0057] <Method Implementation>
[0058] Figure 2 This disclosure illustrates a control method according to an embodiment of the present disclosure, which can be implemented by... Figure 1 The first device shown is implemented as follows: Figure 2As shown, the control method of this embodiment may include the following steps S2100 to S2300:
[0059] Step S2100: Create multiple virtual screens in the display area of the first device.
[0060] Each of the plurality of virtual screens runs a corresponding application.
[0061] In this embodiment, the desktop launcher of the first device is referred to as the AR Launcher. The AR Launcher automatically starts when the first device is powered on, and the desktop environment of the first device begins to run. After the user wears the first device, the first device displays this desktop environment in the display area. It is understood that this desktop environment is typically a 3D desktop environment, and the display area is located within the user's field of vision.
[0062] In this embodiment, during the operation of the 3D desktop environment, multiple virtual screens and multiple canvases are created, and a correspondence is established between the virtual screens and the canvases. Typically, after creating multiple virtual screens, the first device specifies the application running on each virtual screen. For example, if virtual screen 1 runs a game application, the first device will render and display the texture information of virtual screen 1 on canvas 1; if virtual screen 2 runs a cloud office application, the first device will render and display the texture information of virtual screen 2 on canvas 2; and if virtual screen 3 runs a video application, the first device will render and display the texture information of virtual screen 3 on canvas 3.
[0063] After performing the above steps S2100 to create multiple virtual screens in the display area of the first device, proceed to:
[0064] In step S2200, during the process of controlling the virtual identifier through the second device, if it is detected that the rotation angle of the second device is lower than the rotation angle threshold within a preset time period, the second device is controlled to stop controlling the virtual identifier so that the virtual identifier is in a stable state.
[0065] The virtual identifier points to the display area of the first device, and can represent the current posture of the second device. The user can control the first device based on the virtual identifier. For example, the virtual identifier can be a virtual ray. This virtual ray can be a straight line, but this embodiment does not limit its application.
[0066] Before introducing step S2200, let's first describe how the second device controls the first device based on the virtual identifier. In an optional embodiment, the control method of this disclosure further includes: receiving a rotation matrix transmitted by the second device; and converting the rotation matrix to obtain the orientation of the virtual identifier.
[0067] The rotation matrix is used to represent the attitude change information of the second device. Specifically, the rotation matrix can represent the attitude change information of the second device within a preset time period. The preset time period can be a value set according to the actual application and scenario. The preset time period can be 1 second, but it can also be other values. This embodiment does not limit this.
[0068] Specifically, when a user controls a virtual identifier via a second device to interact with the first device, the second device can acquire IMU data collected by its internal Inertial Measurement Unit (IMU), and based on this IMU data, obtain a rotation matrix for the second device and send it to the first device. Furthermore, since the second device's display screen is typically horizontal while the first device's display screen is typically vertical, the first device, upon receiving the rotation matrix from the second device, needs to perform a transformation process to obtain the orientation of the virtual identifier.
[0069] After receiving the rotation matrix transmitted by the first device, the second device can obtain the rotation angle of the second device based on the rotation matrix.
[0070] The rotation angle threshold can be a value set according to human hand operating habits, and the rotation angle threshold can be 5 degrees. For example, if the rotation angle of the second device is less than 5 degrees within 1 second, it indicates that the user's wrist is slightly shaking within that 1 second. However, slight shaking of the user's wrist will cause slight shaking of the virtual icon, reducing the operating accuracy of the application.
[0071] Specifically, if the first device detects that the rotation angle of the second device is less than 5 degrees within 1 second, it will stop controlling the virtual sign according to the received rotation matrix of the second device to ensure that the virtual sign is in a stable state and to prevent the virtual sign from shaking due to slight wrist tremors.
[0072] It should be noted that, while the first device will cease controlling the virtual identifier based on the received rotation matrix from the second device to maintain stability, it's crucial to emphasize that even in a stable state, the first device will still determine the rotation angle of the second device based on the received rotation matrix and continuously monitor whether this angle falls below a threshold within a preset time period. If the rotation angle exceeds the threshold, the first device will continue controlling the virtual identifier based on the received rotation matrix, thus continuing to control the virtual identifier through the second device to bring it out of the stable state. Conversely, if the rotation angle falls below the threshold within the preset time period, the first device will continuously cease controlling the virtual identifier based on the received rotation matrix to maintain a stable state.
[0073] During the execution of step S2200 above, when controlling the virtual identifier via the second device, if it is detected that the rotation angle of the second device is lower than a rotation angle threshold within a preset time period, the second device is controlled to stop controlling the virtual identifier. After the virtual identifier reaches a stable state, the process proceeds to:
[0074] Step S2300: If the virtual icon collides with one of the multiple virtual screens when the virtual icon is in a stable state, the virtual icon is controlled according to the user's current gaze information.
[0075] It should be noted that a collision between a virtual icon and one of the multiple virtual screens can also be understood as the virtual icon intersecting with the canvas corresponding to one of the multiple virtual screens; that is, the virtual icon intersects with the canvas corresponding to any one of the virtual screens.
[0076] In this embodiment, when the virtual identifier is in a stable state, if the virtual identifier collides with one of the multiple virtual screens, Eyetracing will intervene to control the virtual identifier, thereby achieving precise control.
[0077] The current gaze information includes at least the current gaze area, and may also include the current gaze direction. Specifically, the current gaze information can be obtained by capturing the wearer's eye movements through a camera module in the first device.
[0078] In an optional embodiment, if the virtual identifier collides with one of the plurality of virtual screens when the virtual identifier is in a stable state, controlling the virtual identifier based on the user's current gaze information may further include the following steps S2310 to S2330:
[0079] Step S2310: If the virtual icon collides with one of the multiple virtual screens when the virtual icon is in a stable state, determine the first edge of the display screen of the first device that is closest to the current gaze area based on the user's current gaze area.
[0080] The first edge of the display screen of the first device closest to the current viewing area can be one of the top edge, bottom edge, left edge, or right edge of the display screen. Typically, referring to... Figure 3 The coordinate system of the first device can be based on the center of the display screen as the origin O, with the X-axis and Y-axis established on the plane where the display screen is located, and the Z-axis perpendicular to the display screen of the first device. In this way, the top and bottom edges of the display screen are parallel to the X-axis, and the left and right edges of the display screen are parallel to the Y-axis.
[0081] Example 1, taking the virtual ray as an example, when the virtual ray is in a stable state, if the virtual ray collides with the virtual screen 3, that is, when the virtual ray intersects with the canvas 3, the first device will record the wearer's current gaze area when the virtual ray enters a stable state, and determine that the current gaze area is closest to the bottom edge of the display screen. In other words, the user's line of sight is towards the bottom edge of the display screen.
[0082] Example 2, taking the virtual ray as an example, when the virtual ray is in a stable state, if the virtual ray collides with the virtual screen 3, that is, when the virtual ray intersects with the canvas 3, the first device will record the wearer's current gaze area when the virtual ray enters a stable state, and determine that the current gaze area is closest to the top edge of the display screen, that is, the user's gaze is directed towards the top edge of the display screen.
[0083] Example 3, taking the virtual ray as an example, when the virtual ray is in a stable state, if the virtual ray collides with the virtual screen 3, that is, when the virtual ray intersects with the canvas 3, the first device will record the wearer's current gaze area when the virtual ray enters a stable state, and determine that the current gaze area is closest to the left edge of the display screen, that is, the user's gaze is directed towards the left edge of the display screen.
[0084] Example 4, taking the virtual ray as an example, when the virtual ray is in a stable state, if the virtual ray collides with the virtual screen 3, that is, when the virtual ray intersects with the canvas 3, the first device will record the wearer's current gaze area when the virtual ray enters a stable state, and determine that the current gaze area is closest to the right edge of the display screen, that is, the user's gaze is directed towards the right edge of the display screen.
[0085] Step S2320: Obtain the first distance between the current gaze region and the first edge.
[0086] Continuing with Example 1 above, the first device determines that the current gaze area is 200 pixels away from the bottom edge of the display screen.
[0087] Continuing with Example 2 above, the first device determines that the current gaze area is 300 pixels away from the top edge of the display screen.
[0088] Continuing with Example 3 above, the first device determines that the current gaze area is 200 pixels away from the left edge of the display screen.
[0089] Continuing with Example 4 above, the first device determines that the current gaze area is 300 pixels away from the right edge of the display screen.
[0090] Step S2330: Control the virtual identifier according to the first distance.
[0091] Optionally, step S2330, which controls the virtual identifier based on the first distance, may further include: controlling the virtual identifier to rotate along a first direction by the rotation angle threshold based on the first distance.
[0092] It should be noted that eye-tracking movement on the Y-axis is usually mapped to the rotation of the virtual icon on the X-axis, and vice versa.
[0093] Continuing with Example 1 above, since the first device determines that the current viewing area is 200 pixels away from the bottom edge of the display screen, that is, the user's gaze has moved 200 pixels in the direction of the bottom edge of the display screen, the first device can then map the 200 pixels of the current viewing area away from the bottom edge of the display screen as a virtual identifier rotated 5 degrees in the negative X-axis direction.
[0094] Continuing with Example 2 above, since the first device determines that the current viewing area is 300 pixels away from the top edge of the display screen, which means that the user's gaze has moved 300 pixels away from the top edge of the display screen, the first device can then map the 300 pixels of the current viewing area away from the top edge of the display screen as a virtual identifier rotated 5 degrees along the positive X-axis.
[0095] Continuing with Example 3 above, since the first device determines that the current gaze area is 200 pixels away from the left edge of the display screen, that is, the user's gaze has moved 200 pixels away from the left edge of the display screen, the first device can then map the 200 pixels of the current gaze area away from the left edge of the display screen as a virtual identifier rotated 5 degrees in the negative Y-axis direction.
[0096] Continuing with Example 4 above, since the first device determines that the current gaze area is 300 pixels away from the right edge of the display screen, that is, the user's gaze has moved 300 pixels in the direction of the right edge of the display screen, the first device can then map the 300 pixels of the current gaze area away from the right edge of the display screen as a virtual identifier rotated 5 degrees along the positive Y-axis.
[0097] According to embodiments of this disclosure, the first device, while enabling multiple applications to run simultaneously, controls the virtual identifier via a second device. During this control process, if the rotation angle of the second device is detected to be below a preset time threshold, the second device is stopped from controlling the virtual identifier to stabilize it. If the virtual identifier collides with one of the multiple virtual screens while in a stable state, control is applied based on the user's current gaze information. In other words, by fusing the gaze information of the first device and the user, virtual identifier jitter is avoided, improving the user's precise control over the application based on the virtual identifier.
[0098] In one embodiment, the control method of this disclosure further includes: when the virtual identifier is in a stable state, if the virtual identifier collides with the graphical user interface (GUI) control of the rendering engine, controlling the virtual identifier to point to the center position of the GUI control.
[0099] The rendering engine is usually the Unity engine.
[0100] For example, taking a virtual marker as a virtual ray, if the virtual ray collides with a button in the Unity engine when the virtual marker is in a stable state, the virtual ray will automatically move to the center of the button to achieve the effect of the virtual ray adhering to the button.
[0101] According to this embodiment, when implementing multiple applications, it can avoid virtual identifier jitter and achieve precise control over GUI controls in the scene and applications in the virtual screen.
[0102] <Device Embodiment>
[0103] Figure 4 This is a schematic diagram of a control device according to one embodiment, with reference to... Figure 4 As shown, the control device 400 includes a creation module 410, a first control module 420, a second control module, and a second control module 430.
[0104] A creation module 410 is used to create multiple virtual screens in the display area of the first device; wherein each of the multiple virtual screens runs a corresponding application;
[0105] The first control module 420 is configured to, during the process of controlling the virtual identifier through the second device, if it is detected that the rotation angle of the second device is lower than the rotation angle threshold within a preset time period, control the second device to stop controlling the virtual identifier so that the virtual identifier is in a stable state; wherein the virtual identifier points to the display area;
[0106] The second control module 430 is used to control the virtual icon based on the user's current gaze information if the virtual icon collides with one of the multiple virtual screens when the virtual icon is in a stable state.
[0107] In one embodiment, the device further includes a third control module (not shown in the figure), configured to: when the virtual identifier is in a stable state, if the virtual identifier collides with the graphical user interface control of the rendering engine, control the virtual identifier to point to the center position of the graphical user interface control.
[0108] In one embodiment, the current gaze information includes the current gaze region.
[0109] The second control module 430 is specifically configured to, when the virtual identifier is in a stable state, if the virtual identifier collides with one of the plurality of virtual screens, determine the first edge of the display screen of the first device closest to the current gaze area based on the user's current gaze area; obtain the first distance between the current gaze area and the first edge; and control the virtual identifier based on the first distance.
[0110] In one embodiment, the second control module 430 is specifically used to control the virtual identifier to rotate along the first direction by the rotation angle threshold according to the first distance.
[0111] In one embodiment, the first control module 420 is further configured to receive a rotation matrix transmitted by the second device; and to convert the rotation matrix to obtain the orientation of the virtual identifier.
[0112] According to embodiments of this disclosure, the first device, while enabling multiple applications to run simultaneously, controls the virtual identifier via a second device. During this control process, if the rotation angle of the second device is detected to be below a preset time threshold, the second device is stopped from controlling the virtual identifier to stabilize it. If the virtual identifier collides with one of the multiple virtual screens while in a stable state, control is applied based on the user's current gaze information. In other words, by fusing the gaze information of the first device and the user, virtual identifier jitter is avoided, improving the user's precise control over the application based on the virtual identifier.
[0113] <Equipment Example>
[0114] Figure 5 This is a schematic diagram of the hardware structure of a head-mounted display device according to one embodiment. Figure 5 As shown, the head-mounted display device 500 includes a processor 510 and a memory 520.
[0115] The memory 520 can be used to store executable computer instructions.
[0116] The processor 510 can be used to execute the control method according to the method embodiments of this disclosure, under the control of the executable computer instructions.
[0117] The head-mounted display device 500 can be as follows: Figure 1 The first device 100 shown may also be a device with other hardware structures, which are not limited here.
[0118] In another embodiment, the head-mounted display device 500 may include the control device 500 described above.
[0119] In one embodiment, each module of the control device 400 can be implemented by the processor 510 running computer instructions stored in the memory 520.
[0120] Computer-readable storage media
[0121] This disclosure also provides a computer-readable storage medium storing computer instructions thereon, which, when executed by a processor, perform the control method provided in this disclosure.
[0122] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.
[0123] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination thereof. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0124] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0125] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.
[0126] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0127] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0128] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0129] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It will be known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are equivalent.
[0130] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.
Claims
1. A control method, characterized in that, The method includes: Multiple virtual screens are created in the display area of the first device; each of the multiple virtual screens runs a corresponding application. During the process of controlling the virtual icon through the second device, if it is detected that the rotation angle of the second device is lower than the rotation angle threshold within a preset time period, the second device is controlled to stop controlling the virtual icon so that the virtual icon is in a stable state; wherein, the virtual icon points to the display area; When the virtual icon is in a stable state, if the virtual icon collides with one of the multiple virtual screens, the virtual icon is controlled according to the user's current gaze information; The current gaze information includes the current gaze region, and controlling the virtual icon based on the user's current gaze information includes: determining the first edge of the display screen of the first device closest to the current gaze region based on the user's current gaze region; obtaining a first distance between the current gaze region and the first edge; and controlling the virtual icon to rotate the rotation angle threshold along a first direction based on the first distance. The first edge includes one of the top edge, bottom edge, left edge, and right edge of the display screen. An X-axis and a Y-axis are established with the plane where the display screen is located. The top edge and bottom edge of the display screen are parallel to the X-axis, and the left edge and right edge of the display screen are parallel to the Y-axis. The first direction includes the positive direction of the X-axis, the negative direction of the X-axis, the positive direction of the Y-axis, and the negative direction of the Y-axis.
2. The method according to claim 1, characterized in that, The method further includes: When the virtual identifier is in a stable state, if the virtual identifier collides with the graphical user interface control of the rendering engine, the virtual identifier is controlled to point to the center position of the graphical user interface control.
3. The method according to claim 1, characterized in that, The method also includes controlling the virtual identifier via a second device. The control of the virtual identifier via the second device includes: Receive the rotation matrix transmitted by the second device; The orientation of the virtual identifier is obtained by transforming the rotation matrix.
4. A control device, characterized in that, The device includes: A creation module is used to create multiple virtual screens in the display area of a first device; wherein each of the multiple virtual screens runs a corresponding application; The first control module is configured to, during the process of controlling the virtual identifier through the second device, if it is detected that the rotation angle of the second device is lower than a rotation angle threshold within a preset time period, control the second device to stop controlling the virtual identifier so that the virtual identifier is in a stable state; wherein the virtual identifier points to the display area; The second control module is used to control the virtual icon based on the user's current gaze information if the virtual icon collides with one of the multiple virtual screens when the virtual icon is in a stable state. The current gaze information includes the current gaze region. The second control module is used to determine the first edge of the display screen of the first device closest to the current gaze region based on the user's current gaze region; obtain the first distance between the current gaze region and the first edge; and control the virtual icon to rotate the rotation angle threshold along the first direction based on the first distance. The first edge includes one of the top edge, bottom edge, left edge, and right edge of the display screen. An X-axis and a Y-axis are established with the plane where the display screen is located. The top edge and bottom edge of the display screen are parallel to the X-axis, and the left edge and right edge of the display screen are parallel to the Y-axis. The first direction includes the positive direction of the X-axis, the negative direction of the X-axis, the positive direction of the Y-axis, and the negative direction of the Y-axis.
5. A head-mounted display device, characterized in that, The head-mounted display device includes: Memory is used to store executable computer instructions; A processor configured to execute the control method according to any one of claims 1-3, under the control of the executable computer instructions.
6. A computer-readable storage medium having computer instructions stored thereon, the computer instructions being executed by a processor to perform the control method according to any one of claims 1-3.
Citation Information
Patent Citations
Display processing method of virtual reality scene and virtual reality equipment
CN115509345A
Interaction control method and device, head-mounted display equipment and medium
CN116360906A
