Display control method and apparatus, augmented reality head-mounted device, and medium

By creating a canvas and virtual screen in the 3D desktop environment of an augmented reality headset, and acquiring and rendering texture information, the problem of virtual display headsets being unable to run 3D applications was solved, enabling normal display of 3D applications and multi-application interaction, thus improving the user experience.

CN115543138BActive Publication Date: 2026-11-27GEER TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211203782.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-29
Publication Date
2026-11-27
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

Existing virtual display headsets cannot enable the running of 3D applications in a 3D desktop environment.

Method used

In the 3D desktop environment of an augmented reality headset, the system receives instructions to launch 3D applications, creates a canvas and a virtual screen, and obtains texture information from the virtual screen to render onto the canvas. It manages position tracking information through different operating modes to ensure the normal display and interaction of 3D applications in the 3D desktop environment.

Benefits of technology

It enables normal display of 3D applications in a 3D desktop environment, avoiding visual confusion and display chaos, providing a good user experience, and supporting the simultaneous running and interaction of multiple 3D applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115543138B_ABST
    Figure CN115543138B_ABST
Patent Text Reader

Abstract

The present disclosure provides a display control method and device, an augmented reality head-mounted device and a medium. The display control method comprises: receiving a first starting instruction for starting a first application during running of a 3D desktop environment; in the case that the first application is a 3D application, creating a first canvas and a first virtual screen in the 3D desktop environment in response to the first starting instruction; running the first application on the first virtual screen; when the first application is in a first running mode, acquiring left half texture information or right half texture information from the first virtual screen, and rendering the left half texture information or the right half texture information acquired from the first virtual screen onto the first canvas.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of wearable device technology, and more specifically, to display control methods and apparatus, augmented reality head-mounted devices and media. Background Technology

[0002] With the continuous development of augmented reality (AR) technology, many AR products and applications have emerged. In AR headsets, users have a need to use 3D applications within a 3D desktop environment. Current virtual reality headsets cannot achieve this functionality. Summary of the Invention

[0003] One object of this disclosure is to provide a solution for running 3D applications in a 3D desktop environment.

[0004] According to a first aspect of the present disclosure, a display control method for an augmented reality head-mounted device is provided, the method comprising:

[0005] During the operation of the 3D desktop environment, the first launch command to start the first application is received;

[0006] In the case that the first application is a 3D application, in response to the first launch command, a first canvas and a first virtual screen are created in the 3D desktop environment;

[0007] Run the first application on the first virtual screen;

[0008] When the first application is in the first running mode, the left half texture information or the right half texture information is obtained from the first virtual screen, and the left half texture information or the right half texture information obtained from the first virtual screen is rendered onto the first canvas.

[0009] Optionally, the method further includes:

[0010] When the first application is in the first running mode, stop transmitting location tracking information to the first application.

[0011] Optionally, the method further includes:

[0012] When the first application is in the second running mode, the left half texture information and the right half texture information are obtained from the first virtual screen. The left half texture information obtained from the first virtual screen is loaded onto the left eye physical screen according to the size of the left eye physical screen, and the right half texture information obtained from the first virtual screen is loaded onto the right eye physical screen according to the size of the right eye physical screen.

[0013] Optionally, the method further includes:

[0014] When the first application is in the second running mode, the transmission of position tracking information to the 3D desktop environment is stopped.

[0015] Optionally, the method further includes:

[0016] When the first application is in the first running mode, if the user gazes at the first canvas for more than a preset duration, the first application will be switched to the second running mode.

[0017] Optionally, the method further includes:

[0018] During the operation of the first application, user operation commands are received;

[0019] If the 3D ray mapped by the operation command collides with the first canvas, the coordinates of the collision point in the first canvas are obtained.

[0020] Based on the coordinates of the collision point in the first canvas, determine the target pixel on the first virtual screen corresponding to the collision point;

[0021] Control the first application to trigger a touch event corresponding to the target pixel.

[0022] Optionally, the method further includes:

[0023] During the operation of the 3D desktop environment, a second launch command to launch a second application is received;

[0024] When the second application is a 3D application, in response to the second launch command, a second canvas and a second virtual screen are created in the 3D desktop environment; wherein the first canvas and the second canvas are located in different positions in the 3D desktop environment;

[0025] The second application runs on the second virtual screen, obtains the left half or right half texture information from the second virtual screen, and renders the left half or right half texture information obtained from the second virtual screen onto the second canvas.

[0026] According to a second aspect of the present disclosure, a display control device for an augmented reality head-mounted device is provided, the device comprising:

[0027] The receiving module is used to receive the first launch command to start the first application during the operation of the 3D desktop environment;

[0028] A creation module is configured to create a first canvas and a first virtual screen in the 3D desktop environment in response to the first launch command when the first application is a 3D application.

[0029] The runtime module is used to run the first application on the first virtual screen;

[0030] The rendering module is used to obtain the left half texture information or the right half texture information from the first virtual screen when the first application is in the first running mode, and render the left half texture information or the right half texture information obtained from the first virtual screen onto the first canvas.

[0031] According to a third aspect of the present disclosure, an augmented reality head-mounted device is provided, the augmented reality head-mounted device comprising:

[0032] Memory is used to store executable computer instructions;

[0033] A processor, configured to execute the display control method according to the first aspect above, under the control of the executable computer instructions.

[0034] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, perform the display control method described in the first aspect above.

[0035] One beneficial effect of this disclosure is that, in the 3D desktop environment of the augmented reality head-mounted device, when a user's command to launch a 3D application is received, a canvas and a virtual screen corresponding to the 3D application are created in the 3D desktop environment. The 3D application is launched and run on the virtual screen, and texture information is obtained from the virtual screen and rendered onto the canvas, thereby enabling the 3D application to be displayed in the 3D desktop environment.

[0036] 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

[0037] 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.

[0038] Figure 1 This is a schematic diagram of the hardware configuration of smart glasses according to an embodiment of the present disclosure;

[0039] Figure 2 This is a schematic diagram of a scenario based on an embodiment of this disclosure. Figure 1 ;

[0040] Figure 3 This is a flowchart illustrating a display control method according to an embodiment of the present disclosure;

[0041] Figure 4 This is a schematic diagram of the display control principle according to an embodiment of the present disclosure;

[0042] Figure 5 This is a schematic block diagram of a display control device according to an embodiment of the present disclosure;

[0043] Figure 6 This is a block diagram illustrating the principle of smart glasses according to an embodiment of the present disclosure. Detailed Implementation

[0044] 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.

[0045] 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.

[0046] 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.

[0047] 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.

[0048] 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.

[0049] <Hardware Configuration>

[0050] Figure 1 This is a block diagram of the hardware configuration of a smart glasses 1000 according to an embodiment of the present disclosure.

[0051] In one embodiment, such as Figure 1 As shown, the smart glasses 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, etc.

[0052] The processor 1100 may include, but is not limited to, a central processing unit (CPU) or a microprocessor (MCU). The memory 1200 includes, for example, ROM (Read-Only Memory), RAM (Random Access Memory), or non-volatile memory such as a hard disk. The interface device 1300 includes, for example, various bus interfaces, such as serial bus interfaces (including USB interfaces) and parallel bus interfaces. The communication device 1400 is capable of wired or wireless communication. The display device 1500 is, for example, a liquid crystal display (LCD), an LED display, or an OLED (Organic Light-Emitting Diode) display. The input device 1600 includes, for example, a touchscreen, a keyboard, or a gamepad. The smart glasses 1000 can output audio information via a speaker 1700 and can acquire audio information via a microphone 1800.

[0053] Those skilled in the art should understand that, although in Figure 1 The present specification shows multiple devices of the smart glasses 1000; however, the smart glasses 1000 of the embodiments described herein may involve only some of these devices or may also include other devices, which is not limited herein.

[0054] In this embodiment, the memory 1200 of the smart glasses 1000 is used to store instructions that control the processor 1100 to operate in order to implement or support the implementation of a display control method according to any embodiment. Those skilled in the art can design instructions based on the schemes disclosed in this specification. How the instructions control the processor to operate is well known in the art and will not be described in detail here.

[0055] 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.

[0056] In another embodiment, such as Figure 2 As shown, the smart glasses 1000 includes a display component 110, a frame 111, and two antennas. One antenna 112 is disposed at the first end of the frame 111, and the other antenna 113 is disposed at the second end of the frame 111. Antennas 112 and 113 are used to receive a first signal transmitted by a target object 2000. Exemplarily, antennas 112 and 113 can both be Bluetooth antennas, and the target object 2000 is capable of transmitting Bluetooth signals. Antennas 112 and 113 are used to receive the Bluetooth signals transmitted by the target object 2000. Of course, the two antennas can also be other types of antennas, which are not limited in this embodiment. The smart glasses 1000 may also include a camera device (not shown in the figure).

[0057] Figure 1The smart glasses shown are for illustrative purposes only and are by no means intended to limit this disclosure, its application, or use.

[0058] <Method Implementation>

[0059] Figure 3 An embodiment of the display control method of this disclosure is illustrated. This display control method is applied to an augmented reality head-mounted device. The display control method can be implemented by the head-mounted display device itself, or by a control device independent of the head-mounted display device and jointly implemented with the head-mounted display device, or by a cloud server and the head-mounted display device jointly implemented. The augmented reality head-mounted device can be, for example, as shown below. Figure 1 The smart glasses 1000 shown includes a display component, a frame, and two antennas, one of which is located at a first end of the frame and the other at a second end of the frame.

[0060] like Figure 3 As shown, the display control method of this embodiment may include the following steps S3100 to S3400:

[0061] In step S3100, during the operation of the 3D desktop environment, a first startup command to launch the first application is received.

[0062] In smart glasses, ARlauncher is a 3D desktop launcher. ARlauncher starts upon power-on, and the 3D desktop environment begins running. After the user puts on the smart glasses, the 3D desktop environment is displayed within the user's field of vision. The user can launch the first application within the 3D desktop environment by inputting a first launch command.

[0063] Step S3200: If the first application is a 3D application, in response to the first launch command, a first canvas and a first virtual screen are created in the 3D desktop environment.

[0064] In one embodiment, upon receiving the first launch command, it is checked whether the global configuration file of the first application contains a 3D engine tag. If not, the first application is determined to be a 2D application. If yes, the first application is determined to be a 3D application.

[0065] The 3D engine is either Unity or Unreal Engine. In 3D applications developed using Unity or Unreal Engine, the AndroidManifest contains a 3D engine tag with the "unity" or "unreal" tag. The system checks if the first application's global configuration file contains a 3D engine tag. If it does, the first application is determined to be a 3D application; otherwise, it is determined to be a 2D application.

[0066] In one embodiment, upon receiving the first launch instruction, the attribute information of the first application is obtained from the application menu provided by the 3D desktop runtime environment, and the first application is determined to be a 3D application based on the attribute information of the first application.

[0067] Since Unity or Unreal Engine can also be used to develop 2D applications, relying solely on the 3D engine tag to determine the type of the first application will lead to inaccuracies. Therefore, users can obtain pre-defined attribute information for the first application from the application menu provided by ARlauncher, and determine whether the first application is a 3D application based on this attribute information. If the first application is determined to be a 3D application, it is run on the first virtual screen.

[0068] In one embodiment, if the first application is a 3D application, a first virtual screen is created in the ARlauncher interface and labeled with a number. The first virtual screen, canvas, and first application are then bound together. The names of the first virtual screen and the corresponding first application's APK file are passed to the AAR package. The AAR package stores code and serves as a connection tool between Unity and the virtual screen; it's equivalent to a Software Development Kit (SDK) with multiple callable APIs. The Unity engine creates the first virtual screen and launches the first application via the AAR package. The Unity engine then creates the first canvas.

[0069] Step S3300: Run the first application on the first virtual screen.

[0070] In one embodiment, after receiving the first launch command, the aar package launches the first virtual screen corresponding to the aar package, and opens the corresponding first application in the first virtual screen according to the name information of the apk file passed by ARlauncher.

[0071] Step S3400: When the first application is in the first running mode, obtain the left half texture information or the right half texture information from the first virtual screen, and render the left half texture information or the right half texture information obtained from the first virtual screen onto the first canvas.

[0072] The first operating mode is a non-exclusive mode, meaning the user sees more than just the first application. In this mode, the first canvas is relatively far away, and the user's left and right eyes each see the complete first canvas. If the first canvas displays all the texture information of the virtual screen, a four-eye illusion will occur. Therefore, this embodiment obtains either the left or right half of the texture information from the first virtual screen and renders it onto the first canvas, thus eliminating the four-eye illusion problem.

[0073] The first canvas only displays the content for either the left or right eye of the 3D application. In this state, the 3D application seen by the user does not have its original 3D effect; it is equivalent to seeing a 2D image in a 3D desktop environment.

[0074] In one embodiment, when the first application is in a first operating mode, the transmission of location tracking information to the first application is stopped. The location tracking information includes 6DOF data, user movement information, or rotation information.

[0075] Users can perform three types of rotational movements in AR devices: roll, pitch, and yaw. Therefore, 6DOF equals 3 types of translational motion + 3 types of rotational motion.

[0076] 6DOF stands for six degrees of freedom, meaning it has the ability to rotate and move along the X, Y, and Z axes. AR devices with 6DOF can simulate almost all head movements. Furthermore, displacement data can be used to determine the user's height.

[0077] In 6DOF, in addition to environmental perception, the main function of augmented reality headsets is to enhance many proactive behaviors, such as micro-movements (tilting the head, hunching the neck, leaning forward halfway, etc.) and subject movement (walking, jumping, squatting, and even lying down).

[0078] In one embodiment, when the first application is in a second running mode, left half texture information and right half texture information are obtained from the first virtual screen. The left half texture information obtained from the first virtual screen is loaded onto the left eye physical screen according to the size of the left eye physical screen, and the right half texture information obtained from the first virtual screen is loaded onto the right eye physical screen according to the size of the right eye physical screen.

[0079] The second operating mode is exclusive mode / full-screen mode, in which the user only sees the first application. That is, the first application is displayed in full screen. The exclusive mode / full-screen mode mentioned in this application embodiment directly renders the texture of the virtual screen directly onto the physical screen of the augmented reality headset, and other content in the 3D desktop environment is not displayed within the user's field of vision.

[0080] In an augmented reality headset, the texture of the first virtual screen is rendered onto the first canvas, and the texture of the first canvas is rendered onto the physical screen of the augmented reality headset, completing the display process of the second operating mode.

[0081] In this embodiment, when the first application is in the second operating mode, the transmission of position tracking information to the 3D desktop environment is stopped. This avoids the 3D desktop environment and the first application having their own 6DOF data information, which could cause display confusion on the augmented reality headset. To solve the above problem, this embodiment adopts the method of stopping 6DOF data or transmitting fixed 6DOF data.

[0082] In one embodiment, when the first application is in a second running mode, the parameters of the first canvas are adjusted so that the first canvas is positioned closest to the human eye in the 3D desktop environment and simultaneously occupies the binocular field of view. Texture information of the left and right halves is obtained from the first virtual screen. The left half texture information obtained from the first virtual screen is rendered onto the left half of the first canvas, and the right half texture information obtained from the first virtual screen is rendered onto the right half of the first canvas. This avoids the problem of quadrilateral vision confusion, and the first canvas can display all the texture information of the first virtual screen.

[0083] In this embodiment of the disclosure, when the first application is in the second running mode, the left half texture information obtained from the first virtual screen is directly loaded onto the left eye physical screen according to the size of the left eye physical screen, and the right half texture information obtained from the first virtual screen is directly loaded onto the right eye physical screen according to the size of the right eye physical screen. This avoids the problem of image quality degradation caused by rendering from the canvas to the physical screen and provides a better user experience.

[0084] In this embodiment, the posture and eye movements of the user wearing the augmented reality headset will be detected by the sensors of the augmented reality headset, resulting in changes in the 6DOF data information.

[0085] When a 3D application is in its first running mode, it retains the 6DOF data information of the Luanher environment. If the 6DOF data information of the 3D application is turned off, the 3D application will not be anchored to the real world, and the content of the 3D application will not change with the 6DOF data information.

[0086] When a 3D application is in the second running mode, the 6DOF data information of the 3D application is retained, while the 6DOF data information of the Luanher environment is turned off. The Luanher desktop will not be anchored to the real world and will change according to the user's posture or gaze. When the user presses the home button of the augmented reality headset to return, the desktop startup interface can still be seen.

[0087] In this embodiment of the present disclosure, when the first application is running in the 3D desktop environment in the first running mode, the transmission of position tracking information to the first application is stopped. When the second application is running in the 3D desktop environment in the second running mode, the transmission of position tracking information to the 3D desktop environment is stopped. In this way, the effect of locking the user's head posture is achieved without causing user confusion.

[0088] In one embodiment, when the first application is in a first running mode, if the user gazes at the first canvas for more than a preset duration, the first application is switched to a second running mode.

[0089] The duration of the user's gaze at the first canvas is used as the mode switching condition. When the duration of the user's gaze at the first canvas exceeds a preset duration, the first application in the first canvas is displayed in full screen on the physical screen of the augmented reality headset.

[0090] In this embodiment, the second operating mode can be implemented in two ways:

[0091] The first method involves bringing the canvas so close that it occupies the user's entire field of view. The left half of the virtual screen's texture is rendered in the left half of the canvas, and the right half in the right half. When the canvas is close, based on the characteristics of human vision, the user's left and right eyes can only see a portion of the canvas, thus avoiding the quadrilateral vision problem.

[0092] The second method involves directly loading and displaying only the left half of the texture from the virtual screen onto the left physical screen, matching its size, and directly loading and displaying the right half of the texture onto the right physical screen, matching its size. Other content in the 3D desktop is not displayed on the physical screen. Skipping the canvas transfer step avoids the loss from rendering twice.

[0093] In this embodiment, within the Luancher environment, the 3D application's image is rendered onto a canvas. The left-eye image is then captured from the canvas and rendered to the left-eye camera component, while the right-eye image is rendered to the right-eye camera component to mimic the user's binocular gaze. This results in some image loss. This embodiment directly renders the left-eye and right-eye images of the 3D application, avoiding the loss from secondary rendering. The second operating mode of this embodiment magnifies the image to cover the Luancher environment. The left-eye image of the 3D application is rendered to the left lens of the virtual binocular camera, and the right-eye image of the 3D application is rendered to the right lens of the virtual binocular camera.

[0094] In one embodiment, the display control method further includes:

[0095] During the operation of the first application, the user's operation instructions are received, which are handle control instructions, gesture control instructions, or eye control instructions.

[0096] If the 3D ray mapped by the operation command collides with the first canvas, the coordinates of the collision point in the first canvas are obtained.

[0097] Based on the coordinates of the collision point in the first canvas, determine the target pixel on the first virtual screen corresponding to the collision point;

[0098] Control the first application to trigger a touch event corresponding to the target pixel.

[0099] In this embodiment of the disclosure, when the 3D ray mapped from the user's operation command collides with the canvas, a corresponding touch event can be triggered for the 3D application, thereby enabling the interaction between the 3D application running in the 3D desktop environment and the user.

[0100] In one embodiment, the display control method further includes:

[0101] During the operation of the 3D desktop environment, a second launch command to launch a second application is received;

[0102] When the second application is a 3D application, in response to the second launch command, a second canvas and a second virtual screen are created in the 3D desktop environment; wherein the first canvas and the second canvas are located in different positions in the 3D desktop environment;

[0103] The second application runs on the second virtual screen, obtains the left half or right half texture information from the second virtual screen, and renders the left half or right half texture information obtained from the second virtual screen onto the second canvas.

[0104] This embodiment of the disclosure enables the simultaneous running of multiple 3D applications within a 3D desktop environment by creating multiple canvases at different locations within the 3D desktop environment. Furthermore, switching between multiple 3D applications requires minimal preparation time. A beneficial effect of this embodiment is that it allows multiple 3D applications to run within the 3D desktop environment, thereby improving the versatility of user interaction.

[0105] <Example>

[0106] The following example uses a head-mounted display device as smart glasses to illustrate a display control method. (Refer to...) Figure 4 The display control method may include the following steps:

[0107] Step S701: During the operation of the 3D desktop environment, receive the first startup command to start the first application.

[0108] Step S702: Determine the application type of the first application, whereby the application type includes 2D applications and 3D applications.

[0109] Step S703: If the first application is a 3D application, in response to the first launch command, a first canvas and a first virtual screen are created in the 3D desktop environment.

[0110] Step S704: Run the first application on the first virtual screen.

[0111] Step S705: When the first application is in the first running mode, obtain the left half texture information or the right half texture information from the first virtual screen, and render the left half texture information or the right half texture information obtained from the first virtual screen onto the first canvas.

[0112] Step S706: When the first application is in the second running mode, obtain the left half texture information and the right half texture information from the first virtual screen, load the left half texture information obtained from the first virtual screen onto the left eye physical screen according to the size of the left eye physical screen, and load the right half texture information obtained from the first virtual screen onto the right eye physical screen according to the size of the right eye physical screen.

[0113] Step S707: During the running of the first application, receive the user's operation instructions.

[0114] Step S708: If the 3D ray mapped by the operation command collides with the first canvas, obtain the coordinates of the collision point in the first canvas.

[0115] Step S709: Determine the target pixel on the first virtual screen corresponding to the collision point based on the coordinates of the collision point in the first canvas.

[0116] Step S7010: Control the first application to trigger a touch event corresponding to the target pixel.

[0117] <Device Embodiment>

[0118] Figure 5 This is a schematic diagram of a display control device for an augmented reality head-mounted device according to one embodiment. The display control device is applied to smart glasses, which include a display component, a frame, and two antennas, one of which is disposed at a first end of the frame and the other at a second end of the frame. Figure 5 As shown, the display control device 500 includes a receiving module 510, a creation module 520, a running module 530, and a rendering module 540.

[0119] The receiving module 510 is used to receive the first startup command to start the first application during the operation of the 3D desktop environment;

[0120] The creation module 520 is configured to create a first canvas and a first virtual screen in the 3D desktop environment in response to the first launch command when the first application is a 3D application.

[0121] The running module 530 is used to run the first application on the first virtual screen;

[0122] The rendering module 540 is used to obtain the left half texture information or the right half texture information from the first virtual screen when the first application is in the first running mode, and render the left half texture information or the right half texture information obtained from the first virtual screen onto the first canvas.

[0123] In one embodiment, the device 500 further includes a first control module (not shown).

[0124] The first control module is used to stop transmitting location tracking information to the first application when the first application is in the first running mode.

[0125] In one embodiment, the device 500 further includes a first acquisition module and a first loading module (not shown in the figure).

[0126] The first acquisition module is used to acquire the left half texture information and the right half texture information from the first virtual screen when the first application is in the second running mode.

[0127] The first loading module is used to load the left half texture information obtained from the first virtual screen onto the left eye physical screen according to the size of the left eye physical screen, and to load the right half texture information obtained from the first virtual screen onto the right eye physical screen according to the size of the right eye physical screen.

[0128] In one embodiment, the device 500 further includes a second control module (not shown).

[0129] The second control module is used to stop transmitting position tracking information to the 3D desktop environment when the first application is in the second running mode.

[0130] In one embodiment, the device 500 further includes a first switching module (not shown).

[0131] The first switching module switches the first application to the second running mode if the user stares at the first canvas for more than a preset duration when the first application is in the first running mode.

[0132] In one embodiment, the device 500 further includes a second receiving module, a second acquiring module, a first determining module, and a third control module (not shown in the figure).

[0133] The second receiving module is used to receive user operation instructions during the running of the first application;

[0134] The second acquisition module is used to acquire the coordinates of the collision point in the first canvas when the 3D ray mapped by the operation command collides with the first canvas.

[0135] The first determining module is used to determine the target pixel point on the first virtual screen corresponding to the collision point based on the coordinate value of the collision point in the first canvas;

[0136] The third control module is used to control the first application to trigger touch events corresponding to the target pixel.

[0137] In one embodiment, the apparatus 500 further includes a third receiving module, a second creating module, and a second rendering module (not shown in the figure).

[0138] The third receiving module is used to receive a second startup command to launch the second application during the operation of the 3D desktop environment.

[0139] The second creation module is used to create a second canvas and a second virtual screen in a 3D desktop environment in response to the second launch command when the second application is a 3D application; wherein the first canvas and the second canvas are located at different positions in the 3D desktop environment;

[0140] The second rendering module is used to run the second application on the second virtual screen, obtain the left half texture information or the right half texture information from the second virtual screen, and render the left half texture information or the right half texture information obtained from the second virtual screen onto the second canvas.

[0141] According to embodiments of this disclosure, in the 3D desktop environment of an augmented reality head-mounted device, when a user's command to launch a 3D application is received, a canvas and a virtual screen corresponding to the 3D application are created in the 3D desktop environment. The 3D application is launched and run on the virtual screen, and texture information is obtained from the virtual screen and rendered onto the canvas, thereby enabling the 3D application to be displayed in the 3D desktop environment.

[0142] <Equipment Example>

[0143] Figure 6 This is a schematic diagram of the hardware structure of a head-mounted display device according to one embodiment. Figure 6As shown, the head-mounted display device 600 includes a processor 610 and a memory 620.

[0144] The memory 620 can be used to store executable computer instructions.

[0145] The processor 610 can be used to execute the display control method according to the method embodiments of this disclosure, under the control of the executable computer instructions.

[0146] The head-mounted display device 600 can be as follows: Figure 1 The head-mounted display device 1000 shown may also be a device with other hardware structures, which are not limited here.

[0147] In another embodiment, the head-mounted display device 600 may include the above-mentioned display control device 500.

[0148] In one embodiment, each module of the above-mentioned display control device 500 can be implemented by the processor 610 running computer instructions stored in the memory 620.

[0149] Computer-readable storage media

[0150] This disclosure also provides a computer-readable storage medium storing computer instructions thereon, which, when executed by a processor, perform the display control method provided in this disclosure.

[0151] 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.

[0152] 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.

[0153] 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.

[0154] 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.

[0155] 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.

[0156] 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.

[0157] 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.

[0158] 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 marked 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.

[0159] 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 display control method for an augmented reality head-mounted device, characterized in that, The method includes: During the operation of the 3D desktop environment, the first launch command to start the first application is received; If the first application is a 3D application, in response to the first launch command, a first canvas and a first virtual screen are created in the 3D desktop environment; Run the first application on the first virtual screen; When the first application is in the first running mode, the left half texture information or the right half texture information is obtained from the first virtual screen, and the left half texture information or the right half texture information obtained from the first virtual screen is rendered onto the first canvas. The first running mode is a non-exclusive mode. When the first application is in the second running mode, the left half texture information and the right half texture information are obtained from the first virtual screen. The left half texture information obtained from the first virtual screen is loaded onto the left eye physical screen according to the size of the left eye physical screen, and the right half texture information obtained from the first virtual screen is loaded onto the right eye physical screen according to the size of the right eye physical screen. The second running mode is an exclusive mode.

2. The method according to claim 1, characterized in that, The method further includes: When the first application is in the first running mode, stop transmitting location tracking information to the first application.

3. The method according to claim 1, characterized in that, The method further includes: When the first application is in the second running mode, the transmission of position tracking information to the 3D desktop environment is stopped.

4. The method according to claim 1, characterized in that, The method further includes: When the first application is in the first running mode, if the user gazes at the first canvas for more than a preset duration, the first application will be switched to the second running mode.

5. The method according to claim 1, characterized in that, The method further includes: During the operation of the first application, user operation commands are received; If the 3D ray mapped by the operation command collides with the first canvas, the coordinates of the collision point in the first canvas are obtained. Based on the coordinates of the collision point in the first canvas, determine the target pixel on the first virtual screen corresponding to the collision point; Control the first application to trigger a touch event corresponding to the target pixel.

6. The method according to claim 1, characterized in that, The method further includes: During the operation of the 3D desktop environment, a second launch command to launch a second application is received; When the second application is a 3D application, in response to the second launch command, a second canvas and a second virtual screen are created in the 3D desktop environment; wherein the first canvas and the second canvas are located in different positions in the 3D desktop environment; The second application runs on the second virtual screen, obtains the left half or right half texture information from the second virtual screen, and renders the left half or right half texture information obtained from the second virtual screen onto the second canvas.

7. A display control device for an augmented reality head-mounted device, characterized in that, The device includes: The receiving module is used to receive the first launch command to start the first application during the operation of the 3D desktop environment; A creation module is configured to create a first canvas and a first virtual screen in the 3D desktop environment in response to the first launch command when the first application is a 3D application. The runtime module is used to run the first application on the first virtual screen; The rendering module is used to obtain the left half texture information or the right half texture information from the first virtual screen when the first application is in the first running mode, and render the left half texture information or the right half texture information obtained from the first virtual screen onto the first canvas, wherein the first running mode is a non-exclusive mode. The first acquisition module is used to acquire the left half texture information and the right half texture information from the first virtual screen when the first application is in the second running mode, wherein the second running mode is an exclusive mode; The first loading module is used to load the left half texture information obtained from the first virtual screen onto the left eye physical screen according to the size of the left eye physical screen, and to load the right half texture information obtained from the first virtual screen onto the right eye physical screen according to the size of the right eye physical screen.

8. An augmented reality head-mounted device, characterized in that, The augmented reality headset includes: Memory is used to store executable computer instructions; A processor configured to execute the display control method according to any one of claims 1-6, under the control of the executable computer instructions.

9. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, perform the display control method according to any one of claims 1-6.

Citation Information

Patent Citations

  • System and method for supporting 3D application in virtual environment

    CN106020929A

  • Management method and apparatus for virtual reality interaction interfaces

    CN106125940A

  • A method and apparatus for running a 2D application in a 3D scene of virtual reality

    CN109308742A

  • Method and apparatus for providing animation in a three-dimensional computer generated virtual world using a succession of textures derived from temporally related source images

    US5696892A