WO2023273638A1 - 显示内容的方法、装置、设备、存储介质及程序产品 - Google Patents

显示内容的方法、装置、设备、存储介质及程序产品 Download PDF

Info

Publication number
WO2023273638A1
WO2023273638A1 PCT/CN2022/092760 CN2022092760W WO2023273638A1 WO 2023273638 A1 WO2023273638 A1 WO 2023273638A1 CN 2022092760 W CN2022092760 W CN 2022092760W WO 2023273638 A1 WO2023273638 A1 WO 2023273638A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
sliding
parent
display area
parent interface
Prior art date
Application number
PCT/CN2022/092760
Other languages
English (en)
French (fr)
Inventor
林鼎豪
陈碧莹
李由
刘章奇
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023273638A1 publication Critical patent/WO2023273638A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/01Head-up displays
    • G02B27/017Head mounted
    • G02B2027/0178Eyeglass type

Definitions

  • the embodiments of the present application relate to the field of display technology, and in particular, to a method, device, device, storage medium, and program product for displaying content.
  • a head-mounted display device as a display device worn in front of the user's eyes, has also developed rapidly.
  • the head-mounted display device usually displays icons of various applications in tiles. And the head-mounted display device is equipped with a handle. When the user needs to select an icon displayed on the head-mounted display device, the user needs to select the icon by operating the handle. For example, the lever in the handle is moved to select different icons displayed on the head-mounted display device.
  • Embodiments of the present application provide a method, device, device, storage medium, and program product for displaying content. Described technical scheme is as follows:
  • a method for displaying content is provided, the method is executed by a head-mounted display device, and the method includes:
  • the level of the second parent interface is the same as that of the first parent interface
  • the second sliding direction is perpendicular to the first sliding direction
  • the first sub-interface is a sub-interface of the first parent interface.
  • a device for displaying content includes a display area, and the device includes:
  • a display module configured to display the first parent interface in the display area of the head-mounted display device
  • the first sliding module is configured to, in response to a first sliding operation, slide the first parent interface out of the display area based on the first sliding direction indicated by the first sliding operation, and slide the second parent interface
  • the interface slides into the display area, and the level of the second parent interface is the same as that of the first parent interface;
  • the second sliding module is configured to, in response to a second sliding operation, slide the first parent interface out of the display area based on the second sliding direction indicated by the second sliding operation, and slide the first child interface An interface slides into the display area, the second sliding direction is perpendicular to the first sliding direction, and the first sub-interface is a sub-interface of the first parent interface.
  • a head-mounted display device includes a processor, a memory connected to the processor, and program instructions stored in the memory.
  • the processor The method for displaying content as provided by various aspects of the present application is implemented when the program instructions are executed.
  • a terminal includes a processor and a memory, at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the Methods for displaying content provided by various aspects.
  • a computer-readable storage medium wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to realize the display content provided by various aspects of the present application Methods.
  • a computer program product comprising computer instructions stored in a computer readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for displaying content provided in the above various optional implementation manners.
  • FIG. 1 is a schematic diagram of a head-mounted display device provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of the internal composition of a head-mounted display device provided by an embodiment of the present application
  • Fig. 3 is a flowchart of a method for displaying content provided by an exemplary embodiment of the present application
  • Fig. 4 is a schematic diagram of a first parent interface provided based on the embodiment shown in Fig. 3;
  • Fig. 5 is a schematic diagram of a two-level interface provided based on the embodiment shown in Fig. 3;
  • Figures 6 to 8 each show a schematic plan view of another two-level interface
  • Fig. 9 is a schematic diagram of the spatial distribution of a two-level interface provided based on the embodiment shown in Fig. 3;
  • Fig. 10 is a schematic diagram of spatial expansion of an interface provided by an embodiment of the present application.
  • Fig. 11 is a schematic diagram of a horizontal arrangement of an interface provided by an embodiment of the present application.
  • Fig. 12 is a schematic diagram of a display content provided based on the embodiment shown in Fig. 3;
  • Fig. 13 is a schematic diagram of another display content provided based on the embodiment shown in Fig. 3;
  • Fig. 14 is a flowchart of a method for displaying content provided by another exemplary embodiment of the present application.
  • Fig. 15 is a flowchart of a method for displaying content provided by the present application.
  • Fig. 16 is a schematic diagram of a reduced interface provided based on the embodiment shown in Fig. 15;
  • Fig. 17 is a schematic diagram of an interface reduction and enlargement process based on the embodiment shown in Fig. 15;
  • Fig. 18 is a structural block diagram of an apparatus for displaying content provided by an exemplary embodiment of the present application.
  • personally identifiable information is subject to privacy policies and practices that are recognized as meeting or exceeding industry or government requirements for maintaining user privacy.
  • personally identifiable information should be managed and processed to clearly explain the nature of authorized use to users, so as to minimize the risk of inadvertent or unauthorized access or use.
  • the method for displaying content provided by this application can be applied in a head-mounted display device.
  • the head-mounted display device may be a virtual reality (Virtual Reality, VR) playback terminal, an augmented reality (Augmented Reality, AR) playback terminal or smart glasses.
  • the head-mounted display device may also be a near-eye display device (Near-Eye Display, NED).
  • FIG. 1 is a schematic diagram of a head-mounted display device provided by an embodiment of the present application.
  • the form of the head-mounted display device in FIG. 1 is a VR playback terminal or an AR playback terminal.
  • the head-mounted display device 100 includes a display area 110 and temples.
  • the display area 110 may include only one of the left and right lenses, or may include both the left and right lenses.
  • the display area 110 may only exist on the inside of the left lens 111 , or may only exist on the inside of the right lens 112 , or may exist on both the inside of the left lens 111 and the inside of the right lens 112 .
  • the temples include a left temple 121 and a right temple 122 .
  • the temple includes a touch sensing area.
  • the touch sensing area only exists in one of the two temples, and can also exist in the two temples at the same time.
  • This application takes the left temple 121 as an example for illustration, and the touch-sensitive area 121 a exists outside the left temple 121 , so that the user can touch it with a finger when wearing the head-mounted display device 100 .
  • the head-mounted display device 100 may also include a camera, a speaker and a microphone.
  • the shooting direction of the camera may be the same as the viewing direction of the user's eyes.
  • the loudspeaker can be arranged at the rear end of the temple, so that the user can hear the sound more easily.
  • Microphones can be placed near the lenses of the glasses to pick up sounds from the environment. In a possible manner, the microphones may be arranged in the form of an array.
  • the head-mounted display device 100 can also be provided with a noise reduction microphone, so that the collected sound can raise environmental noise.
  • FIG. 2 is a schematic diagram of an internal composition of a head-mounted display device provided by an embodiment of the present application.
  • the interior of the head-mounted display device 100 may further include a processor 210 , a memory 220 and a communication component.
  • at least one instruction is stored in the memory 220, and the instruction is loaded and executed by the processor 210 to implement the method for displaying content as described in each method embodiment of the present application.
  • the head-mounted display device 100 can display the first parent interface in the display area; in response to the first sliding operation, based on the first sliding direction indicated by the first sliding operation, the first parent interface is slid out display area, and sliding the second parent interface into the display area, the level of the second parent interface is the same as that of the first parent interface; in response to the second sliding operation, based on the second sliding direction indicated by the second sliding operation, Slide the first parent interface out of the display area, and slide the first child interface into the display area, the second sliding direction is perpendicular to the first sliding direction, and the first child interface is a sub-interface of the first parent interface.
  • Processor 210 may include one or more processing cores.
  • the processor 210 uses various interfaces and lines to connect the various parts of the whole head-mounted display device 100, by running or executing instructions, programs, code sets or instruction sets stored in the memory 220, and calling the stored in the memory 220 Data, execute various functions of the head-mounted display device 100 and process data.
  • the processor 210 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 210 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used to render and draw the content that needs to be displayed on the display screen
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 210, but may be realized by a single chip.
  • the memory 220 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory, ROM).
  • the memory 220 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
  • the memory 220 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 220 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data and the like involved in the following method embodiments.
  • the method for displaying content shown in this application can also be applied to other forms of head-mounted display devices, such as devices in the form of a single lens or a device in the form of a helmet, which is not limited in this embodiment of the application.
  • the second sliding direction is perpendicular to the second sliding direction A sliding direction, the first sub-interface is a sub-interface of the first parent interface.
  • sliding the first parent interface out of the display area and sliding the second parent interface into the display area based on the first sliding direction indicated by the first sliding operation includes:
  • the first parent interface is the parent interface sorted at the i-th position among the n parent-level interfaces
  • the i-th position slides out of the display area, and slides the parent interface at position i+1 into the display area, where i is an integer less than n;
  • the first parent interface is the parent interface sorted at the nth position among the n parent interfaces, in response to the first sliding operation, based on the first sliding direction indicated by the first sliding operation, the nth position slide out of the display area, and slide the parent interface of the first position into the display area;
  • the sorting direction of the n parent interfaces is the same as the first sliding direction.
  • the method also includes:
  • sliding the first parent interface out of the display area and sliding the third parent interface into the display area based on the third sliding direction indicated by the third sliding operation includes:
  • the first parent interface is the parent interface sorted at the first position among the n parent interfaces, slide out the parent interface at the first position in response to the third sliding direction indicated by the third sliding operation
  • the display area, and sliding the parent interface at the nth position into the display area; the third sliding direction and the first sliding direction are opposite to each other;
  • the first parent interface is the parent interface sorted at the i-th position among the n parent-level interfaces
  • the i-th position in response to the third sliding operation, based on the third sliding direction indicated by the third sliding operation, the i-th position
  • the first parent interface and the m-1 child interfaces are sorted from the first position to the mth position according to the second sliding direction, where m is a positive integer;
  • sliding the first parent interface out of the display area and sliding the first child interface into the display area includes:
  • the method also includes:
  • the first sub-level interface at the mth position is slid out of the display area, And slide the first parent interface at the first position into the display area.
  • the method also includes:
  • the first parent interface at the first position is slid out of the display area, and the second child interface at the mth position is Slide into the display area, including:
  • the method also includes:
  • the second parent interface is in a reduced display state in the display area, and the application icon of the second parent interface is highlighted;
  • Methods also include:
  • the second parent interface is switched from the zoomed-out display state to the full-screen display state in the display area, and the respective application icons of the n parent interfaces are canceled in the display area.
  • the head-mounted display device includes temples provided with a touch sensing area, and the method further includes:
  • Fig. 3 is a flowchart of a method for displaying content provided by an exemplary embodiment of the present application.
  • the method for displaying content can be applied in the head-mounted display device shown in FIG. 1 .
  • the methods for displaying content include:
  • Step 310 displaying the first parent interface in the display area of the head-mounted display device.
  • the head-mounted display device can display the first parent interface in the entire display area, or display the first parent interface in a part of the display area.
  • the head-mounted display device includes an inner side of a left lens and an inner side of a right lens.
  • the head-mounted display device can be displayed in the form of VR, that is, the first parent interface is displayed on the inside of the two lenses, and the user feels that the first parent interface can be viewed in a stereoscopic view.
  • the head-mounted display device displays the first parent interface in the entire display area.
  • the head-mounted display device includes an inner side of a left lens and an inner side of a right lens.
  • the head-mounted display device may only display the first parent interface on the inner side of the lens on one side. In this display mode, the head-mounted display device displays the first parent interface in a part of the display area.
  • the head-mounted display device includes the inner side of the left lens or the inner side of the right lens. In this scenario, the head-mounted display device will display the first parent interface in the entire display area.
  • the head-mounted display device may display the first parent interface in the display area when a predetermined condition is met.
  • the predetermined condition may be that the head-mounted display device is detected to be worn by the user.
  • the predetermined condition may also be that the head-mounted display device receives a screen brightening operation.
  • the screen brightening operation may be one of a touch operation, a physical button operation, a tapping operation or an eye movement operation.
  • a touch sensing area may be set in the head-mounted display device.
  • the touch operation may be one of a long press operation, a slide operation, a light press operation, a heavy press operation, a small-area press or a large-area press.
  • the long press operation means that the time length of pressing the touch sensing area exceeds the first time length
  • the short press operation means that the time length of pressing the touch sensing area is equal to or equal to the first time length.
  • the first duration can be a duration scenario of 1 second, 1.5 seconds or 2 seconds, and the designer can design according to actual needs, and does not limit the specific value of the first duration.
  • a swipe is a swipe within a touch-aware area.
  • the light press operation is an operation in which the pressing pressure value is less than or equal to the pressure threshold
  • the heavy pressing operation is an operation in which the pressure value is greater than the pressure threshold.
  • the pressure threshold may be a constant value preset by the designer.
  • the small-area pressing operation is an operation in which the area of the pressing signal generated is smaller than or equal to the area threshold.
  • the large-area pressing operation is an operation in which the area of the pressing signal generated is larger than the area threshold.
  • the area threshold may be a numerical value such as 0.5 square centimeter, 0.8 square centimeter or 1 square centimeter.
  • the physical key operation may be pressing a certain key or multiple keys in the head-mounted display device, which is not limited in this embodiment of the present application.
  • the tap operation is an operation by tapping the head-mounted display device.
  • the eye movement operation includes the operation of eyeball rotation.
  • the head-mounted display device is equipped with a camera for shooting eyeball movement, which can recognize the rotation of the eyeball in a certain direction. Corresponding eye movements. For example, when the user's eyeballs turn to the left and stay for more than 2 seconds, an instruction corresponding to the left-turning eye movement operation is generated in the head-mounted display device.
  • the second duration may be 0.8 seconds, 1 second, 1.2 seconds or 1.5 seconds, and the present application does not limit the specific value of the second duration.
  • the head-mounted display device can be detected by a built-in acceleration sensor, and when the head-mounted display device is tapped, the built-in acceleration sensor will generate a relatively large acceleration in a short time slice. Based on this principle, the head-mounted display device can determine the tap operation through the acceleration sensor.
  • the head-mounted display device can display the first parent interface in full screen in the display area.
  • FIG. 4 is a schematic diagram of a first parent interface provided based on the embodiment shown in FIG. 3 .
  • the display area inside the right lens will display the first parent interface 4a in full screen.
  • FIG. 5 is a schematic diagram of a two-level interface provided based on the embodiment shown in FIG. 3 .
  • the first child-level interface 4a1 and the second child-level interface 4a2 are respectively displayed on the upper and lower sides of the first parent-level interface 4a.
  • a total of two sub-level interfaces is taken as an example for illustration, and the number of sub-level interfaces can be adjusted freely according to needs.
  • the two sub-level interfaces when there are two sub-level interfaces in total, the two sub-level interfaces can be evenly distributed on the upper side of the first parent-level interface 4a to become the first sub-level interface 4a1, or can be evenly distributed on the upper side of the first parent-level interface 4a.
  • the lower side of the first parent interface 4a becomes the second child interface 4a2, which is not limited in this embodiment of the present application.
  • the second parent interface 4b and the third parent interface 4c are distributed on the left and right sides of the first parent interface 4a. It should be noted that the number of parent interfaces can also be adjusted as needed, and this application does not limit it.
  • the location of the first parent interface 4a represents the display area of the head-mounted display device.
  • This application uses the flattest information architecture to display the content, reducing the cognitive burden brought by the multi-level structure to the user, and preventing the user from finding the content to be displayed due to forgetting the hierarchical relationship during the operation.
  • FIG. 6 A schematic diagram of the planar spread of a two-level interface similar to that shown in Figure 5.
  • the solution shown in this application can also be set through the interface plane relationship shown in FIG. 6 to FIG. 8 .
  • the interface identifiers involved in FIG. 6 to FIG. 8 are the same as those in FIG. 5 , and will not be repeated here.
  • FIG. 9 is a schematic diagram of the spatial distribution of a two-level interface provided based on the embodiment shown in FIG. 3 .
  • the parent interface is distributed around the user along the circular track 6A in the horizontal direction
  • the child interface is distributed around the user along the circular track 6B in the vertical direction.
  • the parent interface is represented by a first parent interface 4a, a second parent interface 4b and a third parent interface 4c.
  • the sub-level interfaces are represented by a first sub-level interface 4a1 and a second sub-level interface 4a2.
  • the above interface is displayed around the eyes 600 of the user.
  • the spatial ring structure is conducive to the wrapping feeling of information presentation, leaving room for expansion in the design of the interactive interface of the head-mounted display device in the future, and improving the scalability of the interactive interface of the head-mounted display device.
  • FIG. 10 is a schematic diagram of spatial expansion of an interface provided by an embodiment of the present application.
  • the first parent interface 4a is a main interface of a fitness application.
  • the first sub-interface 4a1 is a sit-up sub-interface in the fitness interface.
  • the second sub-interface 4a2 is a body parameter sub-interface in the fitness interface.
  • the first third parent interface 4c1 is an interface of a map application, and the second third parent interface 4c2 is an interface of a music application.
  • the first second parent interface 4b1 is the interface of the message application, and the second second parent interface 4b2 is the interface of the translation application.
  • animation effects for switching between interfaces may include animation effects such as push, depth of field, push, box, rotation, flip, page turning, or windmill, which are not limited in this embodiment of the present application.
  • FIG. 11 is a schematic diagram of a horizontal arrangement of an interface provided by an embodiment of the present application.
  • the first parent interface 4a is the currently displayed interface
  • the second parent interface 4b, the first third parent interface 4c1 and the second third parent interface 4c2 are not currently displayed interfaces.
  • step 310 the present application will choose to execute step 320 or execute step 330 according to the received sliding operation.
  • step 320 will be executed; when the head-mounted display device receives the second sliding operation, step 330 will be executed.
  • Step 320 in response to the first sliding operation, based on the first sliding direction indicated by the first sliding operation, slide the first parent interface out of the display area, and slide the second parent interface into the display area, the second parent interface The interface is at the same level as the first-parent interface.
  • the head-mounted display device can receive the first sliding operation.
  • a touch-sensitive area may be set in a head-mounted display device at a position that is easy for the user to touch.
  • a touch sensor is arranged in the touch sensing area, which can receive a user's touch operation.
  • the principle of the touch sensing area sensing the touch operation may be capacitive touch, resistive touch, infrared touch or optical touch, which is not limited in this embodiment of the present application.
  • the process in which the user slides the finger along the first sliding direction in the touch sensing area is the first sliding operation. Therefore, the head-mounted display device can determine the corresponding first sliding direction based on the first sliding operation. It should be noted that when sliding the first parent interface out of the display area based on the first sliding direction, the first sliding direction needs to be mapped to the display area. Furthermore, the first parent interface is slid out of the display area, and the second parent interface is slid into the display area according to the direction mapped to the display area by the first sliding direction. Wherein, the first parent interface and the second parent interface belong to the same parent interface. In a possible implementation manner, the first parent interface is the main interface of the first application, and the second parent interface is the main interface of the second application, which is not limited in this embodiment of the present application.
  • the first sliding operation may be a sliding operation on the temple, or a sliding operation on a handle used in conjunction with the head-mounted display device or an operation of toggling a lever on the handle.
  • the first sliding operation may be that the user slides from back to front along the temples.
  • the first parent interface in the display area slides out from the left, and the second parent interface enters from the right of the display area.
  • FIG. 12 is a schematic diagram of display content provided based on the embodiment shown in FIG. 3 .
  • the head-mounted display device 100 is used as a display area inside the right lens to display the first parent interface 710 .
  • the display area may display the first parent interface 710 sliding out from the left edge of the display area and the second parent interface 720 sliding in from the right edge of the display area the process of.
  • the head-mounted display device may determine whether to fully display the second parent interface 720 according to the sliding distance of the user on the temple.
  • the head-mounted display device will slide the first parent interface 710 completely.
  • the display area is displayed, and the second parent interface 720 is displayed in the display area.
  • the head-mounted display device slides the second parent interface 720 from the left edge of the display area, and continues the third parent interface on the right side of the second parent interface 720. slide in.
  • Step 330 in response to the second sliding operation, based on the second sliding direction indicated by the second sliding operation, sliding the first parent interface out of the display area, and sliding the first child interface into the display area, the second sliding direction Perpendicular to the first sliding direction, the first sub-interface is a sub-interface of the first parent interface.
  • the head-mounted display device when the head-mounted display device displays an interface such as the first parent interface in the display area, the head-mounted display device can receive the second sliding operation and respond to the second sliding operation, based on the first In the second sliding direction of the second sliding operation, the first parent interface is slid out of the display area, and the first self-directed interface is slid into the display area.
  • the second sliding direction is perpendicular to the first sliding direction.
  • FIG. 13 is a schematic diagram of another display content provided based on the embodiment shown in FIG. 3 .
  • the head-mounted display device 100 is used as a display area inside the right lens to display the first parent interface 710 .
  • the display area may display the first parent interface 710 sliding out from the upper edge of the display area and the first child interface 711 sliding in from the lower edge of the display area the process of.
  • the head-mounted display device may determine whether to fully display the first sub-level interface 711 according to the sliding distance of the user on the temple. For example, if the preset distance for switching a sub-level interface is 0.5 cm, then when the user slides 0.5 cm from bottom to top (along the second sliding direction) on the right temple, the head-mounted display device will first The parent interface 710 slides out of the display area completely, and the first child interface 711 is displayed in the display area. When the user continues to slide in the second sliding direction, the head-mounted display device slides the first sub-level interface 711 out from the upper edge of the display area, and slides the second sub-level interface in from the lower side of the display area.
  • first sliding direction is perpendicular to the second sliding direction.
  • first sliding operation or the second sliding operation is performed by the user.
  • this application first displays the first parent interface in the display area of the head-mounted display device, and under the action of the first sliding operation, replaces the currently displayed first parent interface along the first sliding direction with The second parent interface, or, under the action of the second sliding operation, replace the currently displayed first parent interface with the first child interface along the second sliding direction.
  • the above two sliding directions are perpendicular to each other, and the level of the second parent interface is the same as that of the first parent interface, and the first sub interface is a sub interface of the first parent interface. Since the present application can respectively realize the switching of different application programs and the switching between different sub-interfaces within the application through two sliding directions perpendicular to each other. Therefore, the present application can reduce the levels of the interactive interface in the head-mounted display device, flatten the interactive interface, and improve the efficiency of switching the interactive interface.
  • the terminal can also design various interfaces for switching in a ring shape, please refer to the following embodiment.
  • FIG. 14 is a flowchart of a method for displaying content provided by another exemplary embodiment of the present application.
  • the method for displaying content can be applied to the head-mounted display device shown in FIG. 1 above.
  • the method for displaying content includes:
  • Step 910 displaying the first parent interface in the display area of the head-mounted display device.
  • step 910 is the same as the execution process of step 210, and will not be repeated here.
  • Step 921 in the case that the first parent interface is the parent interface sorted at the i-th position among the n parent interfaces, in response to the first sliding operation, based on the first sliding direction indicated by the first sliding operation, the The parent interface at position i slides out of the display area, and the parent interface at position i+1 slides into the display area.
  • i is an integer smaller than n.
  • All the head-mounted display devices can switch the parent interface in the display area in response to the first sliding operation according to a predetermined rule. For example, when the first parent interface is the i-th position in the parent interface with a total of n, then in response to the first sliding operation, the first parent interface will be slid out of the display interface and the position is the i+1-th parent The interface slides into the display area. It should be noted that the value of i cannot be equal to n, and i is a positive integer smaller than n.
  • the head-mounted display device will execute step 922 to switch between parent interfaces.
  • Step 922 in the case that the first parent interface is the parent interface sorted at the nth position among the n parent interfaces, in response to the first sliding operation, based on the first sliding direction indicated by the first sliding operation, the The parent interface at position n slides out of the display area, and the parent interface at position 1 slides into the display area.
  • the sorting direction of the n parent interfaces is the same as the first sliding direction.
  • the head-mounted display device when the first parent interface is the parent interface at the nth position among the n parent interfaces, the head-mounted display device can re-select the parent interface at the first position in response to the first sliding operation.
  • the level interface slides into the display area, and the parent interface at the nth position slides out of the display area.
  • the head-mounted display device displays four parent interfaces side by side
  • the application names corresponding to the four parent interfaces are shown in Table 1.
  • the head-mounted display device when the first parent page is a fitness homepage, a music homepage or a dictionary homepage, the head-mounted display device will switch to display the parent interface at the latter location. For example, when the first parent page is a fitness homepage, the head-mounted display device responds to the first sliding operation and switches the display area to display a music homepage. When the first parent page is the music homepage, the head-mounted display device responds to the first sliding operation and switches the display area to display the dictionary homepage. When the first parent page is the dictionary homepage, the head-mounted display device responds to the first sliding operation, and switches the display area to display the social homepage.
  • the head-mounted display device responds to the first sliding operation and switches the display area to display the fitness home page at the first position .
  • the n parent interfaces displayed on the head-mounted display device can realize end-to-end ring switching.
  • the terminal can realize the effect of sliding out of a parent interface and sliding into a parent interface shown in step 921 or step 922 by performing the following step (a).
  • Step (a) in response to the third sliding operation, based on the third sliding direction indicated by the third sliding operation, sliding the first parent interface out of the display area, and sliding the third parent interface into the display area.
  • the level of the third parent interface is the same as that of the first parent interface.
  • the third sliding direction is opposite to the first sliding direction.
  • the third sliding operation and the first sliding operation operate on the same touch sensing area.
  • the left temple of the head-mounted display device includes the first touch-sensing area
  • the right temple includes the second touch-sensing area. Then the first sliding operation and the third sliding operation shown in this application both act on the first touch sensing area, or, the first sliding operation and the third sliding operation shown in this application both act on the first touch sensing area. 2. Operation of the touch sensing area.
  • the head-mounted display device When the head-mounted display device responds to the third sliding operation, it can slide the first parent interface out of the display area based on the opposite direction of the first sliding direction (the third sliding direction), and slide the third parent interface into the display area. area.
  • Step 931 in the case that the first parent interface is the parent interface sorted at the first position among the n parent interfaces, in response to the third sliding direction indicated by the third sliding operation, move the parent interface at the first position to The interface slides out of the display area, and the parent interface at the nth position slides into the display area.
  • the third sliding direction and the first sliding direction are mutually opposite directions.
  • the direction in which the head-mounted display device controls the slide-out of the first parent interface under the third slide operation is opposite to the direction in which the head-mounted display device controls the slide-out direction of the first parent interface under the first slide operation .
  • the parent interface at the nth position among the n parent interfaces will slide into the display area.
  • Step 932 in the case that the first parent interface is the parent interface sorted at the i-th position among the n parent interfaces, in response to the third sliding operation, based on the third sliding direction indicated by the third sliding operation, the The parent interface at position i slides out of the display area, and the parent interface at position i-1 slides into the display area, where i is an integer greater than 1.
  • the parent interface at position i when the parent interface at position i slides out, the parent interface at position i-1 will slide into the display area.
  • the head-mounted display device when the first parent page is the music home page, dictionary home page and social home page, the head-mounted display device will switch to display the previous parent interface. For example, when the first parent page is the music home page, the head-mounted display device responds to the third sliding operation and switches the display area to display the fitness home page. When the first parent page is the dictionary homepage, the head-mounted display device responds to the third sliding operation and switches the display area to display the music homepage. When the first parent page is a social homepage, the head-mounted display device responds to the first sliding operation and switches the display area to display a dictionary homepage.
  • the head-mounted display device responds to the third sliding operation, and switches the display area to display the social homepage at the fourth location .
  • the n parent interfaces displayed on the head-mounted display device can realize end-to-end ring switching.
  • Step 941 In the case that the currently displayed interface is the first parent interface at the first position, in response to the second sliding operation, based on the second sliding direction indicated by the second sliding operation, move the first parent interface at the first position to The level interface slides out of the display area, and the first sub-level interface at the second position slides into the display area.
  • the sorting direction of the first parent interface and the m child interfaces is the same as the second sliding direction.
  • the first parent interface and the m-1 child interfaces are sorted from the first position to the m-th position according to the second sliding direction, and m is a positive integer.
  • the second sliding operation is used to switch the first parent interface and multiple sub-interfaces to which it belongs.
  • the multiple sub-interfaces to which it belongs may include a sit-up sub-interface and a physiological parameter sub-interface.
  • the head-mounted display device slides the main fitness page out of the display area according to the second sliding direction, and slides the first sub-level interface at the second position into the display area. If the physiological parameter sub-interface is the first sub-interface, the head-mounted display device slides the physiological parameter sub-interface into the display area.
  • Step 942 when the first sub-level interface is sorted at the jth position, in response to the second sliding operation, based on the second sliding direction indicated by the second sliding operation, slide out the first sub-level interface at the jth position the display area, and slide the sub-level interface at position j+1 into the display area.
  • j is an integer less than m and greater than 1.
  • the head-mounted display device can slide out the first sub-level interface at the j-th position under the action of the second sliding operation. area, and slide the child interface at position j+1 into it.
  • Step 943 when the first sub-level interface is sorted at the mth position, in response to the second sliding operation, slide out the first sub-level interface at the mth position based on the second sliding direction indicated by the second sliding operation display area, and slide the first parent interface at position 1 into the display area.
  • the head-mounted display device slides the first sub-level interface at the mth position out of the display area under the action of the second sliding operation, Slide in the first parent interface at position 1.
  • Step 951 in response to the fourth sliding operation, based on the fourth sliding direction indicated by the fourth sliding operation, slide the first parent interface at the first position out of the display area, and slide the second child interface at the mth position to into the display area.
  • the fourth sliding direction and the second sliding direction are mutually opposite directions.
  • the head-mounted display device when the head-mounted display device is affected by the fourth sliding direction that is opposite to the second sliding direction, the head-mounted display device is affected by the fourth sliding operation, and will use the second sliding direction. Swipe out of the interface in the opposite direction of sliding out during operation.
  • Step 952 when the second sub-level interface is sorted at the jth position, in response to the fourth sliding operation, based on the second sliding direction indicated by the fourth sliding operation, slide out the second sub-level interface at the jth position The display area, and sliding the sub-level interface at position j-1 into the display area.
  • j is an integer less than m and greater than 1.
  • Step 953 when the second sub-level interface is sorted at the second position, in response to the fourth sliding operation, based on the second sliding direction indicated by the fourth sliding operation, slide out the second sub-level interface at the second position display area, and slide the first parent interface at position 1 into the display area.
  • the currently displayed interface can be slid out in different sliding directions, and a new interface can be slid in according to the direction of the sliding operation. Since this application provides two directions perpendicular to each other, one of the directions is used for switching between parent interfaces of the same level, and the other direction is used for switching between a parent interface and multiple sub-interfaces subordinate to it. switch. And through the circular arrangement, it provides the efficiency for users to quickly switch to the interface they need, avoiding the cumbersome steps of the user's current interface at the front position, requiring multiple operations from front to back to switch to the desired interface .
  • the present application can make the interface required by each user smoother, which is beneficial for the user to quickly understand the logic of each interface switching. For example, if the user is currently on the parent interface of application A, the user knows that the interface can be switched to other parent interfaces by sliding in the first sliding direction or in the opposite direction of the first sliding direction (ie, the third sliding direction). Moreover, it is possible to switch to each sub-level interface in the A application under the sliding operation of the second sliding direction perpendicular to the first sliding direction, which reduces the learning cost for the user to become familiar with this operation.
  • the embodiment of the present application also provides a method for displaying content, which can be displayed in groups when there are many parent-level interfaces, and can also display the icons corresponding to each parent-level interface, which is convenient for users Determine the parent interface you need to find. Please refer to the following examples.
  • FIG. 15 is a flow chart of a method for displaying content provided by the present application, which can be applied in the head-mounted display device shown in FIG. 1 .
  • the method includes:
  • Step 1001 displaying a first parent interface in a display area of a head-mounted display device.
  • step 1001 may refer to the execution process of step 210, which will not be repeated here.
  • Step 1002 in response to the interface shrinking operation, change the first parent interface from the full-screen display state to the reduced display state in the display area, and display the respective applications of the n parent interface in the blank area that appears after shrinking in the display area icon, and the app icon of the first parent interface is highlighted.
  • FIG. 16 is a schematic diagram of a reduced interface provided based on the embodiment shown in FIG. 15 .
  • the display area 11A displays the first parent interface 1111 in full screen before the head-mounted display device receives the interface shrinking operation.
  • the reduced first parent interface 1111 is displayed in the display area 11A, and the corresponding n parent interfaces are displayed in the blank area generated after the first parent interface 1111 is reduced.
  • app icons In FIG. 16, n is 4 as an example.
  • the display area 11A will display four application icons side by side with the reduced first parent interface 1111 , namely a fitness application icon 1121 , a social application icon 1122 , a music application icon 1123 and a translation application 1124 .
  • the fitness application icon 1121 is highlighted.
  • FIG. 17 is a schematic diagram of an interface reduction and enlargement process based on the embodiment shown in FIG. 15 .
  • the head-mounted display device first displays the first parent interface 710 in full screen in the display area, and then shrinks the first parent interface 710 and displays the application icons of the four parent interfaces when receiving the interface shrinking operation. .
  • the application icon of the first parent interface 710 is highlighted.
  • the highlighting method is displayed with a bold frame around the periphery.
  • the user can still switch the interface displayed in the display area, and the interface can be either a parent interface or a child interface.
  • the interface is introduced by taking the parent interface as an example.
  • the head-mounted display device can respond to the interface zoom-in operation, and display the second parent interface in the display area Switch from the reduced display state to the full screen display state, as shown in FIG. 17 , the second parent interface 720 is displayed in full screen.
  • Step 1003 in response to sensing horizontal sliding on the temple, confirming that the first sliding operation is received.
  • the head-mounted display device includes temples provided with a touch sensing area.
  • Step 1004 in response to the first sliding operation, based on the first sliding direction indicated by the first sliding operation, slide the first parent interface out of the display area, and slide the second parent interface into the display area.
  • the level of the second parent interface is the same as that of the first parent interface.
  • the execution process of step 1004 may refer to the execution process of step 220, which will not be repeated here.
  • Step 1005 when the second parent interface is in the reduced display state in the display area, and the application icon of the second parent interface is highlighted, in response to the interface zoom-in operation, move the second parent interface from The reduced display state is switched to the full-screen display state, and the respective application icons of the n parent interfaces are canceled in the display area.
  • the second parent interface may be the same parent interface as the first parent interface; the second parent interface may also be a different parent interface from the first parent interface.
  • the interface shrinking operation may be at least one of a touch operation, a tap operation, or a physical button operation, which is not limited in this embodiment of the present application.
  • Step 1006 in response to sensing vertical sliding on the temple, confirming that the second sliding operation is received.
  • Step 1007 in response to the second sliding operation, based on the second sliding direction indicated by the second sliding operation, sliding the first parent interface out of the display area, and sliding the first child interface into the display area, the second sliding direction perpendicular to the first sliding direction.
  • the first sub-level interface is a sub-interface of the first parent-level interface.
  • step 1007 may refer to the execution process of step 230, which will not be repeated here.
  • the upper limit of the number of parent interfaces displayed side by side can be set in the head-mounted display device, that is, the value of n is limited. For example, set the upper limit of n to 5. If there are more than 5 applications running on the head-mounted display device, they should be classified into other groups.
  • [n/q]+1 sets of parent-level interfaces are run on the head-mounted display device .
  • [n/q] means that the value n/q is rounded.
  • the value of n/q is 2.2, then the value of [n/q] is 2.
  • the first group includes the first parent interface to the fifth parent interface; the second group includes the sixth parent interface to the ninth parent interface.
  • the head-mounted display device When the head-mounted display device is currently displaying the first set of parent interfaces, and the user wants to view the second set of parent interfaces, the user needs to switch the first set of parent interfaces to the second set of parent interfaces .
  • the present application provides the following switching method, and an acceleration sensor is included in the head-mounted display device to which the switching method is applied.
  • the head-mounted display device monitors the motion events of the head-mounted display device through the acceleration sensor; when the head-mounted display device is on the bright screen display, in response to a single forward rolling motion event generated by the head-mounted display device, the head-mounted display device
  • the display device may perform branch one or branch two.
  • the single forward rolling motion event may be an event that the head-mounted display device returns to an initial posture after the forward rolling angle exceeds a specified angle within a specified time period.
  • the single forward rolling motion event may also be an event triggered when the forward rolling speed of the head-mounted display device exceeds a threshold.
  • Branch one replace q fourth parent-level interfaces among n parent-level interfaces with n-q fifth parent-level interfaces. Wherein, n is less than or equal to 2q.
  • Branch 2 Replace q fourth parent-level interfaces among n parent-level interfaces with q fifth parent-level interfaces. Wherein, n is greater than 2q.
  • the user can take off the head-mounted display device and quickly lean forward, or wear the head-mounted display device and nod forward quickly to complete a single forward rolling motion event.
  • the method for displaying content provided by this embodiment can prompt the user to move to his/her own by displaying the application icon corresponding to the parent interface when the user is not familiar with the switching sequence of the parent interface or there are many parent interfaces.
  • the required parent interface or child interface improves the efficiency for the user to switch interfaces in the head-mounted display device.
  • FIG. 18 is a structural block diagram of an apparatus for displaying content provided by an exemplary embodiment of the present application.
  • the apparatus for displaying content may be implemented as all or a part of the head-mounted display device through software, hardware or a combination of the two.
  • the means of displaying content include:
  • a display module 1310 configured to display the first parent interface in the display area of the head-mounted display device
  • the first sliding module 1320 is configured to, in response to a first sliding operation, slide the first parent interface out of the display area based on the first sliding direction indicated by the first sliding operation, and slide the second parent interface
  • the level interface slides into the display area, and the level of the second parent interface is the same as that of the first parent interface;
  • the second sliding module 1330 is configured to, in response to a second sliding operation, slide the first parent interface out of the display area based on the second sliding direction indicated by the second sliding operation, and slide the first child interface A super-level interface slides into the display area, the second sliding direction is perpendicular to the first sliding direction, and the first sub-level interface is a sub-interface of the first parent-level interface.
  • the first sliding module 1320 is configured to respond to the The first sliding operation, based on the first sliding direction indicated by the first sliding operation, slide the parent interface at the i-th position out of the display area, and slide the parent interface at the i+1-th position Enter the display area, i is an integer less than n; in the case that the first parent interface is the parent interface sorted at the nth position among the n parent interfaces, in response to the first sliding Operation, based on the first sliding direction indicated by the first sliding operation, sliding the parent interface at the nth position out of the display area, and sliding the parent interface at the first position into the display area; Wherein, the sorting direction of the n parent interfaces is the same as the first sliding direction.
  • the device further includes a third sliding module, configured to, in response to a third sliding operation, based on a third sliding direction indicated by the third sliding operation, move the first parent
  • the interface slides out of the display area, and slides a third parent interface into the display area, the level of the third parent interface is the same as that of the first parent interface, and the third sliding direction is the same as that of the first parent interface.
  • the first sliding directions are opposite to each other; in the case that the first parent interface is the parent interface sorted at the first position among the n parent interfaces, in response to the indicated by the third sliding operation
  • the third sliding direction is to slide the parent interface at the first position out of the display area, and slide the parent interface at the nth position into the display area; the third sliding direction and the first sliding The directions are opposite to each other; in the case where the first parent interface is the parent interface sorted at the i-th position among the n parent interfaces, in response to the third sliding operation, based on the third sliding operation
  • the third sliding direction indicated is to slide the parent interface at the i-th position out of the display area, and slide the parent interface at the i-1th position into the display area, where i is greater than 1 integer.
  • the second sliding module 1330 is configured to, in response to a second sliding operation, based on the second sliding direction indicated by the second sliding operation, move the The first parent-level interface slides out of the display area, and slides the first child-level interface at the second position into the display area; wherein, the sorting directions of the first parent-level interface and the m child-level interfaces and The second sliding directions are the same; the first parent interface and the m-1 child interfaces are sorted from the first position to the mth position according to the second sliding direction, and m is a positive integer.
  • the device further includes a fourth sliding module, configured to respond to the second sliding operation based on the The second sliding direction indicated by the second sliding operation is to slide the first sub-level interface at the jth position out of the display area, and slide the j+1th sub-level interface into the display area , j is an integer less than m and greater than 1; in the case where the first sub-level interface is sorted at the mth position, in response to the second sliding operation, based on the second sliding operation indicated by the second Two sliding directions, sliding the first child interface at the mth position out of the display area, and sliding the first parent interface at the first position into the display area.
  • a fourth sliding module configured to respond to the second sliding operation based on the The second sliding direction indicated by the second sliding operation is to slide the first sub-level interface at the jth position out of the display area, and slide the j+1th sub-level interface into the display area , j is an integer less than m and greater than 1; in the case where the first sub-level interface is sorted at
  • the device further includes a fifth sliding module, configured to, in response to a fourth sliding operation, based on a fourth sliding direction indicated by the fourth sliding operation, move the The first parent interface slides out of the display area, and the second child interface at the mth position slides into the display area; the fourth sliding direction and the second sliding direction are opposite to each other direction; when the second sub-level interface is sorted at the jth position, in response to the fourth sliding operation, based on the second sliding direction indicated by the fourth sliding operation, the jth position The second sub-level interface slides out of the display area, and slides the j-1th sub-level interface into the display area, j is an integer less than m and greater than 1; in the second sub-level interface In the case of sorting at the second position, in response to the fourth sliding operation, based on the second sliding direction indicated by the fourth sliding operation, sliding the second sub-level interface at the second position out of the display area, and slide the first parent interface at the first position into the display area.
  • a fifth sliding module configured to, in response
  • the device further includes an interface shrinking module, configured to change the first parent interface from the full-screen display state to a reduced display in the display area in response to an interface shrinking operation state, and display n respective application icons of the parent interface in the blank area that appears after zooming out in the display area, and the application icon of the first parent interface is highlighted.
  • an interface shrinking module configured to change the first parent interface from the full-screen display state to a reduced display in the display area in response to an interface shrinking operation state, and display n respective application icons of the parent interface in the blank area that appears after zooming out in the display area, and the application icon of the first parent interface is highlighted.
  • the device further includes an interface zoom-in module, configured to reduce the display state of the second parent interface in the display area, and the application icon of the second parent interface In the case of highlighting, in response to an interface zoom-in operation, switch the second parent interface from the zoomed-out display state to the full-screen display state in the display area, and cancel the display of all Describe the respective application icons of the n parent interfaces.
  • an interface zoom-in module configured to reduce the display state of the second parent interface in the display area, and the application icon of the second parent interface.
  • the head-mounted display device includes temples provided with a touch sensing area, and the device further includes a first receiving module and a second receiving module.
  • the first receiving module is configured to determine that the first sliding operation is received in response to the horizontal sliding on the temple.
  • the second receiving module is configured to determine that the second sliding operation is received in response to the vertical sliding on the temple.
  • the embodiment of the present application also provides a computer-readable medium, the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to realize the display content as described in the above embodiments. method.
  • the device for displaying content provided by the above-mentioned embodiments executes the method for displaying content
  • the division of the above-mentioned functional modules is used as an example for illustration.
  • the above-mentioned functions can be assigned to different functions according to needs
  • Module completion means that the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the device for displaying content provided by the above embodiment and the embodiment of the method for displaying content belong to the same idea, and its specific implementation process can be found in the method embodiment, and will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例公开了一种显示内容的方法、装置、设备、存储介质及程序产品,属于显示技术领域。本申请在头戴式显示设备的显示区域中先显示第一父级界面,在第一滑动操作的作用下,沿第一滑动方向将当前显示的第一父级界面替换为第二父级界面,或者,在第二滑动操作的作用下,沿第二滑动方向将当前显示的第一父级界面替换为第一子级界面。由于两个滑动方向互相垂直,第二父级界面和第一父级界面的级别相同,第一子级界面是第一父级界面的子界面。可见本申请通过互相垂直的两个滑动方向来分别实现不同应用程序的切换,以及,应用内不同的子界面之间的切换。减少了头戴式显示设备中的交互界面的层级,令交互界面扁平化,提高了切换交互界面的效率。

Description

显示内容的方法、装置、设备、存储介质及程序产品
本申请要求于2021年06月30日提交的申请号为202110738172.9、发明名称为“显示内容的方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及显示技术领域,特别涉及一种显示内容的方法、装置、设备、存储介质及程序产品。
背景技术
随着可穿戴设备技术的快速发展,头戴式显示设备作为一种佩戴在用户眼前的显示设备也得到了快速发展。
相关技术中,头戴式显示设备通常平铺显示各个应用的图标。并且头戴式显示设备配合有手柄。在用户需要选择头戴式显示设备中显示的图标时,用户需要通过操作手柄来选中图标。比如,拨动手柄中的拨杆,来选择头戴式显示设备中显示的不同图标。
发明内容
本申请实施例提供了一种显示内容的方法、装置、设备、存储介质及程序产品。所述技术方案如下:
根据本申请的一方面内容,提供了一种显示内容的方法,所述方法由头戴式显示设备执行,所述方法包括:
在所述头戴式显示设备的显示区域显示第一父级界面;
响应于第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第一父级界面滑出所述显示区域,以及将第二父级界面滑入所述显示区域,所述第二父级界面和所述第一父级界面的级别相同;
响应于第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第一父级界面滑出所述显示区域,以及将第一子级界面滑入所述显示区域,所述第二滑动方向垂直于所述第一滑动方向,所述第一子级界面是所述第一父级界面的子界面。
根据本申请的另一方面内容,提供了一种显示内容的装置,所述头戴式显示设备包括显示区域,所述装置包括:
显示模块,用于在头戴式显示设备的显示区域显示第一父级界面;
第一滑动模块,用于响应于第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第一父级界面滑出所述显示区域,以及将第二父级界面滑入所述显示区域,所述第二父级界面和所述第一父级界面的级别相同;
第二滑动模块,用于响应于第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第一父级界面滑出所述显示区域,以及将第一子级界面滑入所述显示区域,所述第二滑动方向垂直于所述第一滑动方向,所述第一子级界面是所述第一父级界面的子界面。
根据本申请的另一方面内容,提供了一种头戴式显示设备,所述头戴式显示设备包括处理器、与处理器相连的存储器,以及存储在存储器上的程序指令,所述处理器执行所述程序指令时实现如本申请各个方面提供的显示内容的方法。
根据本申请的另一方面内容,提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述指令由所述处理器加载并执行以实现如本申请各个方面提供的显示内容的方法。
根据本申请的另一方面内容,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如本申请各个方面提供的显示内容的方法。
根据本申请的一个方面,提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述各种可选实现方式中提供的显示内容的方法。
附图说明
图1是本申请实施例提供的一种头戴式显示设备的示意图;
图2是本申请实施例提供的一种头戴式显示设备的内部组成示意图;
图3是本申请一个示例性实施例提供的一种显示内容的方法的流程图;
图4是基于图3所示实施例提供的一种第一父级界面的示意图;
图5是基于图3所示实施例提供的一种两级界面的平面铺展示意图;
图6至图8各自示出了另一种两级界面的平面铺展示意图;
图9是基于图3所示实施例提供的一种两级界面的空间分布示意图;
图10是本申请实施例提供的一种界面的空间展开示意图;
图11是本申请实施例提供的一种界面的水平排列示意图;
图12是基于图3所示实施例提供的一种显示内容的示意图;
图13是基于图3所示实施例提供的另一种显示内容的示意图;
图14是本申请另一个示例性实施例提供的一种显示内容的方法流程图;
图15是本申请提供的一种显示内容的方法的流程图;
图16是基于图15所示实施例提供的一种界面缩小的示意图;
图17是是基于图15所示实施例提供的一种界面缩小和放大的过程示意图;
图18是本申请一个示例性实施例提供的一种显示内容的装置的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
需要说明的是,使用个人可识别信息应遵循公认为满足或超过维护用户隐私的行业或政府要求的隐私政策和做法。具体地,个人可识别信息在管理和处理的过程中应当向用户明确说明授权使用的性质,以使无意或未经授权的访问或使用的风险最小化。
示意性的,本申请提供的显示内容的方法能够应用在头戴式显示设备中。其中,头戴式显示设备可以是虚拟现实(Virtual Reality,VR)播放终端、增强现实(Augmented Reality,AR)播放终端或者智能眼镜。在另一种分类方法中,头戴式显示设备还可以是近眼显示设备(Near-Eye Display,NED)。
图1是本申请实施例提供的一种头戴式显示设备的示意图。图1中的头戴式显示设备的形态是VR播放终端或者AR播放终端。其中,头戴式显示设备100包括显示区域110和镜腿。
可选地,显示区域110既可以只包括左右两个镜片中一个镜片,也可以同时包括左侧镜片和右侧镜片。在图1中,显示区域110可以仅存在左侧镜片111的内侧,或者可以仅存在右侧镜片112的内侧,或者,同时存在于左侧镜片111的内侧和右侧镜片112的内侧。
可选地,镜腿包括左侧镜腿121和右侧镜腿122。在本申请实施例中,镜腿中包括触摸感知区域。其中,触摸感知区域仅存在于两个镜腿中的一个,也可以同时存在与两个镜腿中。本申请以左侧镜腿121为例说明,触摸感知区域121a存在与左侧镜腿121的外侧,以便用户在佩戴头戴式显示设备100时通过手指触控。
可选地,头戴式显示设备100还可以包括摄像头、扬声器和麦克风。其中,摄像头的拍摄方向可以用户的眼睛观看方向相同。扬声器可以设置在眼镜腿的后端,以便用户能够较为容易听到声音。麦克风可以设置在眼镜片附近,以便采集环境中的声音。一种可能的方式中,麦克风可以设置成阵列的形式。同时,头戴式显示设备100还可以设置降噪麦克风,使得采集到的声音能够提出环境噪音。
请参见图2,图2是本申请实施例提供的一种头戴式显示设备的内部组成示意图。在图2中,头戴式显示设备100的内部还可以包括处理器210、存储器220和通信组件。其中,所述存储器220中存储有至少一条指令,所述指令由所述处理器210加载并执行以实现如本申请各个方法实施例所述的显示内容的方法。
在本申请中,头戴式显示设备100能够在显示区域显示第一父级界面;响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第一父级界面滑出显示区域,以及将第二父级界面滑入显示区域,第二父级界面和第一父级界面的级别相同;响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第一父级界面滑出显示区域,以及将第一子级界面滑入显示区域,第二滑动方向垂直于第一滑动方向,第一子级界面是第一父级界面的子界面。
处理器210可以包括一个或者多个处理核心。处理器210利用各种接口和线路连接整个头戴式显示设备100内的各个部分,通过运行或执行存储在存储器220内的指令、程序、代码集或指令集,以及调用存储在存储器220内的数据,执行头戴式显示设备100的各种功能和处理数据。可选的,处理器210可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器210可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing  Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器210中,单独通过一块芯片进行实现。
存储器220可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选的,该存储器220包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器220可用于存储指令、程序、代码、代码集或指令集。存储器220可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储下面各个方法实施例中涉及到的数据等。
需要说明的是,本申请所示的显示内容的方法还能够应用在其它形态的头戴式显示设备,例如单镜片形态的设备或头盔形态的设备,本申请实施例对此不作限定。
本申请实施例提供的用于头戴式显示设备的显示内容的方法包括:
在头戴式显示设备的显示区域显示第一父级界面;
响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第一父级界面滑出显示区域,以及将第二父级界面滑入显示区域,第二父级界面和第一父级界面的级别相同;
响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第一父级界面滑出显示区域,以及将第一子级界面滑入显示区域,第二滑动方向垂直于第一滑动方向,第一子级界面是第一父级界面的子界面。
可选的,响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第一父级界面滑出显示区域,以及将第二父级界面滑入显示区域,包括:
在第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第i位置的父级界面滑出显示区域,以及将第i+1位置的父级界面滑入显示区域,i为小于n的整数;
在第一父级界面是n个父级界面中排序在第n位置的父级界面的情况下,响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第n位置的父级界面滑出显示区域,以及将第1位置的父级界面滑入显示区域;
其中,n个父级界面的排序方向和第一滑动方向相同。
可选的,方法还包括:
响应于第三滑动操作,基于第三滑动操作所指示的第三滑动方向,将第一父级界面滑出显示区域,以及将第三父级界面滑入显示区域,第三父级界面和第一父级界面的级别相同,第三滑动方向和第一滑动方向互为反方向。
可选的,响应于第三滑动操作,基于第三滑动操作所指示的第三滑动方向,将第一父级界面滑出显示区域,以及将第三父级界面滑入显示区域,包括:
在第一父级界面是n个父级界面中排序在第1位置的父级界面的情况下,响应于第三滑动操作所指示的第三滑动方向,将第1位置的父级界面滑出显示区域,以及将第n位置的父级界面滑入显示区域;第三滑动方向和第一滑动方向互为反方向;
在第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于第三滑动操作,基于第三滑动操作所指示的第三滑动方向,将第i位置的父级界面滑出显示区域,以及将第i-1位置的父级界面滑入显示区域,i为大于1的整数。
可选的,第一父级界面和m-1个子级界面按照第二滑动方向排序在第1位置至第m位置,m为正整数;
响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第一父级界面滑出显示区域,以及将第一子级界面滑入显示区域,包括:
响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第1位置的第一父级界面滑出显示区域,以及将第2位置的第一子级界面滑入显示区域。
可选的,方法还包括:
在第一子级界面排序在第j位置的情况下,响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第j位置的第一子级界面滑出显示区域,以及将第j+1位置的子级界面滑入显示区域,j为小于m且大于1的整数;
在第一子级界面排序在第m位置的情况下,响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第m位置的第一子级界面滑出显示区域,以及将第1位置的第一父级界面滑入显示区 域。
可选的,方法还包括:
响应于第四滑动操作,基于第四滑动操作所指示的第四滑动方向,将第1位置的第一父级界面滑出显示区域,以及将第m位置的第二子级界面滑入显示区域;第四滑动方向和第二滑动方向互为反方向。
可选的,响应于第四滑动操作,基于第四滑动操作所指示的第四滑动方向,将第1位置的第一父级界面滑出显示区域,以及将第m位置的第二子级界面滑入显示区域,包括:
在第二子级界面排序在第j位置的情况下,响应于第四滑动操作,基于第四滑动操作所指示的第二滑动方向,将第j位置的第二子级界面滑出显示区域,以及将第j-1位置的子级界面滑入显示区域,j为小于m且大于1的整数;
在第二子级界面排序在第2位置的情况下,响应于第四滑动操作,基于第四滑动操作所指示的第二滑动方向,将第2位置的第二子级界面滑出显示区域,以及将第1位置的第一父级界面滑入显示区域。
可选的,方法还包括:
响应于界面缩小操作,在显示区域中将第一父级界面从全屏显示状态转变为缩小显示状态,并在显示区域中缩小后出现的空白区域中显示n个父级界面各自的应用图标,且突出显示第一父级界面的应用图标。
可选的,第二父级界面在显示区域中处于缩小显示状态,且第二父级界面的应用图标突出显示;
方法还包括:
响应于界面放大操作,在显示区域中将第二父级界面从缩小显示状态切换为全屏显示状态,并在显示区域中取消显示n个父级界面各自的应用图标。
可选的,头戴式显示设备包括设置有触摸感知区域的镜腿,方法还包括:
响应于镜腿上感知到水平方向滑动,确定接收到第一滑动操作;
或,
响应于镜腿上感知到竖直方向滑动,确定接收到第二滑动操作。
图3是本申请一个示例性实施例提供的一种显示内容的方法的流程图。该显示内容的方法可以应用在图1所示的头戴式显示设备中。在图3中,显示内容的方法包括:
步骤310,在头戴式显示设备的显示区域显示第一父级界面。
在本申请实施例中,头戴式显示设备能够在全部显示区域中显示第一父级界面,或者在部分显示区域中显示第一父级界面。
在一种可能的方式中,头戴式显示设备包括左侧镜片内侧和右侧镜片内侧。头戴式显示设备既可以以VR的形式显示,也即两个镜片内侧均显示第一父级界面,在用户的视觉中,感觉能够以立体视觉观看到第一父级界面。在该场景中,头戴式显示设备在全部显示区域中显示第一父级界面。
在另一种可能的方式中,头戴式显示设备包括左侧镜片内侧和右侧镜片内侧。头戴式显示设备可以仅在其中一侧的镜片内侧显示第一父级界面。在该显示方式中,头戴式显示设备在部分显示区域中显示第一父级界面。
在又一种可能的方式中,头戴式显示设备包括左侧镜片内侧或右侧镜片内侧。在该场景中,头戴式显示设备将在全部显示区域中显示第一父级界面。
需要说明的是,头戴式显示设备可以在满足预定条件下,在显示区域显示第一父级界面。预定条件可以是头戴式显示设备检测到被用户佩戴。或者,预定条件也可以是头戴式显示设备接收到亮屏操作。其中,亮屏操作可以是触控操作、实体按键操作、敲击操作或眼动操作中的一种。
需要说明的是,头戴式显示设备中可以设置触摸感知区域。触控操作可以是长按操作、滑动操作、轻压操作、重按操作、小面积按压或大面积按压中的一种。需要说明的是,长按操作是指按压触摸感知区域的时间长度超过第一时长,短按操作是指按压触摸感知区域的时间长度等于或者等于第一时长。其中,第一时长可以是1秒、1.5秒或者2秒的时长场景,设计者可以根据实际需求进行设计,不对第一时长具体的数值进行限定。滑动操作是在触摸感知区域内的滑动操作。轻压操作是按压压力值小于或等于压力阈值的操作,重按操作是大于压力阈值的操作。其中,压力阈值可以是设计者预先设定的常数值。小面积按压操作是产生按压信号的面积小于或者等于面积阈值的操作。大面积按压操作是产生按压信号的面积大于面积阈值的操作。其中,面积阈值可以是0.5平方厘米、0.8平方厘米或者1平方厘米等数值。
示意性的,实体按键操作可以是按压头戴式显示设备中的某一按键或者多个按键,本申请实施例对此不作限定。敲击操作是通过敲击头戴式显示设备的操作。眼动操作包括眼球转动操作,头戴式显示设备中设置有拍摄眼球运动的摄像头,能够识别眼球朝向某一方向的转动,当眼球转向某一方向且停留时 长超过第二时长时,确认接收到对应的眼动操作。例如,当用户的眼球转向左侧且停留时长超过2秒时,头戴式显示设备中生成左转眼动操作对应的指令。其中,第二时长可以是0.8秒、1秒、1.2秒或者1.5秒,本申请不对第二时长的具体的数值进行限定。
需要说明的是,头戴式显示设备可以通过内置的加速度传感器检测,当头戴式显示设备被敲击时,内置的加速度传感器将会在一个较短的时间片中产生较大的加速度。基于该原理,头戴式显示设备即可通过加速度传感器判断出敲击操作。
示意性的,头戴式显示设备可以在显示区域中全屏显示第一父级界面。请参见图4,图4是基于图3所示实施例提供的一种第一父级界面的示意图。在图4中,右侧镜片内侧的显示区域将全屏显示第一父级界面4a。
请参见图5,图5是基于图3所示实施例提供的一种两级界面的平面铺展示意图。在图5中,第一父级界面4a的上下两侧分别显示第一子级界面4a1和第二子级界面4a2。需要说明的是,本申请中以子级界面一共是两个为例进行说明,子级界面的数量可以根据需要自由调整。在子级界面的排列方式中,当子级界面一共是两个时,该两个子级界面可以均分布在第一父级界面4a的上侧成为第一子级界面4a1,也可以均分布在第一父级界面4a的下侧成为第二子级界面4a2,本申请实施例对此不作限定。
在图5中,第二父级界面4b和第三父级界面4c分布在第一父级界面4a的左右两侧。需要说明的是,父级界面的数量同样能够按照需要调整,本申请不对其进行限定。
在图5中,第一父级界面4a所在的位置表示头戴式显示设备的显示区域。本申请通过最扁平化的信息架构进行内容展示,减少多层级结构对用户带来的认知负担,避免用户在操作过程中因忘记层级关系而难以找到需要显示的内容。
类似于图5所示的两级界面的平面铺展示意图。本申请所示的方案还可以通过图6至图8所示的界面平面关系设置。其中,图6至图8中所涉及的界面标识和图5相同,此处不再赘述。
请参见图9,图9是基于图3所示实施例提供的一种两级界面的空间分布示意图。在图9中,父级界面沿水平方向的环形轨道6A环绕用户分布,子级界面沿竖直方向的环形轨道6B环绕用户分布。其中,父级界面以第一父级界面4a、第二父级界面4b和第三父级界面4c示意。子级界面以第一子级界面4a1和第二子级界面4a2示意。上述界面围绕用户的眼睛600显示。
在本申请中,空间环状结构有利于信息呈现的包裹感,为今后头戴式显示设备的交互界面设计留下了拓展空间,提高了头戴式显示设备的交互界面的扩展性。
请参见图10,图10是本申请实施例提供的一种界面的空间展开示意图。其中,第一父级界面4a是一个健身应用的主界面。第一子级界面4a1是健身界面中的仰卧起坐子级界面。第二子级界面4a2是健身界面中的身体参数子级界面。第一个第三父级界面4c1是地图应用的界面,第二个第三父级界面4c2是音乐应用的界面。第一个第二父级界面4b1是消息应用的界面,第二个第二父级界面4b2是翻译应用的界面。
需要说明的是,各个界面之间切换的动画效果可以包括推出、景深、推压、方盒、旋转、翻转、翻页或风车等动画效果,本申请实施例对此不作限定。
请参见图11,图11是本申请实施例提供的一种界面的水平排列示意图。其中,第一父级界面4a是当前显示的界面,第二父级界面4b、第一个第三父级界面4c1和第二个第三父级界面4c2均是当前不显示的界面。
需要说明的是,本申请在执行完成步骤310后,将根据所接收到的滑动操作来选择执行步骤320或者执行步骤330。当头戴式显示设备接收到第一滑动操作后,将执行步骤320;当头戴式显示设备接收到第二滑动操作后,将执行步骤330。
步骤320,响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第一父级界面滑出显示区域,以及将第二父级界面滑入显示区域,第二父级界面和第一父级界面的级别相同。
在本申请实施例中,头戴式显示设备能够接收第一滑动操作。在本申请中,头戴式显示设备中可以在用户容易触控的位置设置触摸感知区域。其中,该触摸感知区域中设置有触摸传感器,能够接收用户的触控操作。可选的,触摸感知区域感知触摸操作的原理可以是电容式触控、电阻式触控、红外式触控或光学触控,本申请实施例对此不作限定。
其中,用户在触摸感知区域中进行沿第一滑动方向滑动手指的过程是第一滑动操作。因此,头戴式显示设备能够基于第一滑动操作确定出对应的第一滑动方向。需要说明的是,基于第一滑动方向将第一父级界面滑出显示区域时,需要将第一滑动方向映射至显示区域。进而,按照第一滑动方向映射到显示区域中的方向,将第一父级界面滑出显示区域,并将第二父级界面滑入显示区域。其中,第一父级界面和第二父级界面同属父级界面。在一种可能的实现方式中,第一父级界面是第一应用的主界面,第二父级界面是第二应用的主界面,本申请实施例对此不作限定。
其中,第一滑动操作既可以是在镜腿上的滑动操作,也可以是在与头戴式显示设备配合使用的手柄上的滑动操作或者是拨动该手柄上的拨杆的操作。
例如,在一种可能的控制方式中,若头戴式显示设备的外形是眼镜,则第一滑动操作可以是用户沿着镜腿从后向前滑动。在此情况下,显示区域中的第一父级界面从左侧滑出,第二父级界面从显示区域的右侧进入。
请参见图12,图12是基于图3所示实施例提供的一种显示内容的示意图。在图12中,头戴式显示设备100在右侧镜片的内侧作为显示区域,用来显示第一父级界面710。此时,若用户在右侧镜腿从后向前沿镜腿滑动,则智能眼镜视为自身接收到第一滑动操作。可选地,在接收用户的第一滑动操作的过程中,显示区域中可以播放第一父级界面710从显示区域左侧边缘滑出且第二父级界面720从显示区域右侧边缘滑入的过程。可选地,头戴式显示设备可以根据用户在镜腿上的滑动距离来确定是否完全显示第二父级界面720。例如,预先设置完成一个父级界面切换的距离是1厘米,则当用户在右侧镜腿上沿第一滑动方向滑动了1厘米时,头戴式显示设备将第一父级界面710完全滑出显示区域,并在显示区域中显示第二父级界面720。当用户继续沿第一滑动方向滑动时,头戴式显示设备将第二父级界面720从显示区域的左侧边缘滑出,并将第二父级界面720右侧的第三父级界面继续滑入。
可选地,在图12所示的场景中,当用户在左侧镜腿从前向后沿镜腿滑动,也能够实现将第一父级界面710从显示区域左侧边缘滑出且第二父级界面720从显示区域右侧边缘滑入。
步骤330,响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第一父级界面滑出显示区域,以及将第一子级界面滑入显示区域,第二滑动方向垂直于第一滑动方向,第一子级界面是第一父级界面的子界面。
在本申请实施例中,当头戴式显示设备在显示区域中显示的如第一父级界面的界面时,头戴式显示设备能够接收第二滑动操作,并响应第二滑动操作,基于第二滑动操作的第二滑动方向,将第一父级界面滑出显示区域,并将第一自寄界面滑入显示区域。其中,第二滑动方向垂直于第一滑动方向。
请参考图13,图13是基于图3所示实施例提供的另一种显示内容的示意图。在图13中,头戴式显示设备100在右侧镜片的内侧作为显示区域,用来显示第一父级界面710。此时,若用户在右侧镜腿从下侧边缘朝上侧边缘滑动,则智能眼镜视为自身接收到第二滑动操作。可选地,在接收用户的第二滑动操作的过程中,显示区域中可以播放第一父级界面710从显示区域上侧边缘滑出且第一子级界面711从显示区域下侧边缘滑入的过程。可选的,头戴式显示设备可以根据用户在镜腿上的滑动距离来确定是否完全显示第一子级界面711。例如,预先设置完成一个子级界面切换的距离是0.5厘米,则当用户在右侧镜腿上从下向上(沿第二滑动方向)方向滑动了0.5厘米时,头戴式显示设备将第一父级界面710完全滑出显示区域,并在显示区域中显示第一子级界面711。当用户继续沿第二滑动方向滑动时,头戴式显示设备将第一子级界面711从显示区域的上侧边缘滑出,并将第二子级界面从显示区域的下侧变化滑入。
需要说明的是,上述第一滑动方向和第二滑动方向垂直。在头戴式显示设备上能够被操作的空间有限的情况下,能够便于用户明确分辨自身作出的是第一滑动操作还是第二滑动操作。
综上所述,本申请在头戴式显示设备的显示区域中先显示第一父级界面,在第一滑动操作的作用下,沿第一滑动方向将当前显示的第一父级界面替换为第二父级界面,或者,在第二滑动操作的作用下,沿第二滑动方向将当前显示的第一父级界面替换为第一子级界面。其中,上述两个滑动方向互相垂直,且第二父级界面和第一父级界面的级别相同,第一子级界面是第一父级界面的子界面。由于本申请能够通过互相垂直的两个滑动方向来分别实现不同应用程序的切换,以及,应用内不同的子界面之间的切换。因此,本申请能够减少头戴式显示设备中的交互界面的层级,令交互界面扁平化,提高切换交互界面的效率。
基于上一个实施例所公开的方案,终端还能够将用于切换的各个界面设计成环形,请参考如下实施例。
请参见图14,图14是本申请另一个示例性实施例提供的一种显示内容的方法流程图。该显示内容方法可以应用在上述图1所示的头戴式显示设备中。在图14中,该显示内容的方法包括:
步骤910,在头戴式显示设备的显示区域显示第一父级界面。
在本申请中,步骤910的执行过程和步骤210的执行过程相同,此处不再赘述。
步骤921,在第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第i位置的父级界面滑出显示区域,以及将第i+1位置的父级界面滑入显示区域。
其中,i为小于n的整数。
在本申请中,无论当前显示的父级界面是n个父级界面中的哪一个位置的父级界面。头戴式显示设备均可以按照既定规则,来响应第一滑动操作来切换显示区域中的父级界面。比如,当第一父级界面是总数为n的父级界面中的第i位置,则响应第一滑动操作,将第一父级界面滑出显示界面并将位置是第i+1的父级界面滑入显示区域。需要说明的是,i的取值不能等于n,i是小于n的正整数。
若第一父级界面是n个父级界面中的最后一个位置(即第n位置)的父级界面,头戴式显示设备将执行步骤922以实现父级界面之间的切换。
步骤922,在第一父级界面是n个父级界面中排序在第n位置的父级界面的情况下,响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第n位置的父级界面滑出显示区域,以及将第1位置的父级界面滑入显示区域。
在本申请实施例中,n个父级界面的排序方向和第一滑动方向相同。
在本申请实施例中,头戴式显示设备能够在第一父级界面是n个父级界面中的第n位置的父级界面时,响应于第一滑动操作,重新将第1位置的父级界面滑入显示区域,并将第n位置的父级界面滑出显示区域。
例如,当头戴式显示设备并列显示4个父级界面,例如,4个父级界面对应的应用名称如表一所示。
表一
父级界面 健身主页 音乐主页 词典主页 社交主页
应用名称 健身应用 音乐应用 词典应用 社交应用
位置 第1位置 第2位置 第3位置 第4位置
需要说明的是,第一父级页面是健身主页、音乐主页或词典主页时,头戴式显示设备将在切换显示至后一位置的父级界面。例如,在第一父级页面是健身主页时,头戴式显示设备响应第一滑动操作,将显示区域切换显示为音乐主页。在第一父级页面是音乐主页时,头戴式显示设备响应第一滑动操作,将显示区域切换显示为词典主页。在第一父级页面是词典主页时,头戴式显示设备响应第一滑动操作,将显示区域切换显示为社交主页。
在本申请提供的另一种可能的方式中,若第一父级页面是第4位置的社交主页,头戴式显示设备响应第一滑动操作,将显示区域切换显示为第1位置的健身主页。由此可见,头戴式显示设备中显示的n个父级界面能够实现首尾相接的环状切换。
在一种落地的实现方式中,终端能够通过执行下列步骤(a),来实现步骤921或步骤922所示的滑出一个父级界面并滑入一个父级界面的效果。
步骤(a),响应于第三滑动操作,基于第三滑动操作所指示的第三滑动方向,将第一父级界面滑出显示区域,以及将第三父级界面滑入显示区域。
其中,第三父级界面和第一父级界面的级别相同。第三滑动方向和第一滑动方向互为反方向。
需要说明的是,第三滑动操作和第一滑动操作所作用的触摸感知区域是同一个触摸感知区域。例如,当头戴式显示设备的左侧镜腿中包括第一触摸感知区域,同时右侧镜腿中包括第二触摸感知区域。则本申请中所示的第一滑动操作和第三滑动操作均是作用于第一触摸感知区域的操作,或者,本申请中所示的第一滑动操作和第三滑动操作均是作用于第二触摸感知区域的操作。
当头戴式显示设备响应于第三滑动操作,能够基于第一滑动方向的反方向(第三滑动方向),将第一父级界面滑出显示区域,并将第三父级界面滑入显示区域。
步骤931,在第一父级界面是n个父级界面中排序在第1位置的父级界面的情况下,响应于第三滑动操作所指示的第三滑动方向,将第1位置的父级界面滑出显示区域,以及将第n位置的父级界面滑入显示区域。
其中,第三滑动方向和第一滑动方向互为反方向。
在该场景中,头戴式显示设备在第三滑动操作下控制第一父级界面滑出的方向,和头戴式显示设备在第一滑动操作下控制第一父级界面滑出的方向相反。
需要说明的是,当第一父级界面在第1位置时,该第一父级界面滑出后,n个父级界面中的第n位置的父级界面将滑入显示区域。
步骤932,在第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于第三滑动操作,基于第三滑动操作所指示的第三滑动方向,将第i位置的父级界面滑出显示区域,以及将第i-1位置的父级界面滑入显示区域,i为大于1的整数。
在本例中,若第一父级界面是处理第1位置的父级界面时,该第i位置的父级界面滑出时,显示区域中将滑入第i-1位置的父级界面。
以表二所示各个父级界面、应用名称和位置的对应关系为例。
表二
父级界面 健身主页 音乐主页 词典主页 社交主页
应用名称 健身应用 音乐应用 词典应用 社交应用
位置 第1位置 第2位置 第3位置 第4位置
需要说明的是,第一父级页面是音乐主页、词典主页和社交主页时,头戴式显示设备将在切换显示至前一位置的父级界面。例如,在第一父级页面是音乐主页时,头戴式显示设备响应第三滑动操作,将显示区域切换显示为健身主页。在第一父级页面是词典主页时,头戴式显示设备响应第三滑动操作,将显示区域切换显示为音乐主页。在第一父级页面是社交主页时,头戴式显示设备响应第一滑动操作,将显示区域切换显示为词典主页。
在本申请提供的另一种可能的方式中,若第一父级页面是第1位置的健身主页,头戴式显示设备响应第三滑动操作,将显示区域切换显示为第4位置的社交主页。由此可见,头戴式显示设备中显示的n个父级界面能够实现首尾相接的环状切换。
步骤941,在当前显示的界面是第1位置的第一父级界面的情况下,响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第1位置的第一父级界面滑出显示区域,以及将第2位置的第一子级界面滑入显示区域。
其中,第一父级界面和m个子级界面的排序方向和第二滑动方向相同。
其中,第一父级界面和m-1个子级界面按照第二滑动方向排序在第1位置至第m位置,m为正整数。
需要说明的是,第二滑动操作用于切换第一父级界面和其所从属的多个子级界面。在本申请实施例中,例如第一父级界面是健身应用,则其所从属的多个子级界面可以包括仰卧起坐子界面和生理参数子界面。头戴式显示设备根据第二滑动方向将健身主页面滑出显示区域,并将第2位置的第一子级界面滑入显示区域。若生理参数子界面是第一子级界面,则头戴式显示设备将生理参数子界面滑入显示区域。
步骤942,在第一子级界面排序在第j位置的情况下,响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第j位置的第一子级界面滑出显示区域,以及将第j+1位置的子级界面滑入显示区域。
其中,j为小于m且大于1的整数。
在本例中,头戴式显示设备可以在第一子级界面排序的第j位置不是第m位置时,在第二滑动操作的作用下,将第j位置的第一子级界面滑出显示区域,并将第j+1位置的子级界面滑入。
步骤943,在第一子级界面排序在第m位置的情况下,响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第m位置的第一子级界面滑出显示区域,以及将第1位置的第一父级界面滑入显示区域。
在一种特殊的场景下,当第一子级界面排序在第m位置时,头戴式显示设备在第二滑动操作的作用下,将第m位置的第一子级界面滑出显示区域,将第1位置的第一父级界面滑入。
步骤951,响应于第四滑动操作,基于第四滑动操作所指示的第四滑动方向,将第1位置的第一父级界面滑出显示区域,以及将第m位置的第二子级界面滑入显示区域。
其中,第四滑动方向和第二滑动方向互为反方向。
在本例中,当头戴式显示设备受到与第二滑动方向互为反方向的第四滑动方向的作用时,头戴式显示设备受到第四滑动操作的作用,将采用与受到第二滑动操作时相反的滑出方向滑出界面。
步骤952,在第二子级界面排序在第j位置的情况下,响应于第四滑动操作,基于第四滑动操作所指示的第二滑动方向,将第j位置的第二子级界面滑出显示区域,以及将第j-1位置的子级界面滑入显示区域。
其中,j为小于m且大于1的整数。
步骤953,在第二子级界面排序在第2位置的情况下,响应于第四滑动操作,基于第四滑动操作所指示的第二滑动方向,将第2位置的第二子级界面滑出显示区域,以及将第1位置的第一父级界面滑入显示区域。
综上所述,本实施例能够根据用户在头戴式显示设备上的滑动操作的不同,而采用不同的滑出方向滑出当前显示的界面,并按照滑动操作的方向滑入新的界面。由于本申请提供了两个互相垂直的方向,且其中一个方向用于同一级别的父级界面之间的切换,另一个方向用于将一个父级界面和其从属的多个子级界面之间的切换。并且通过环形排列的方式,提供了用户快速切换至自身需要的界面的效率,避免了用户当前在靠前位置的界面,需要从前到后的多次操作才能够切换至所需的界面的繁琐步骤。
可选的,由于本申请为头戴式显示设备提供了十字型界面的切换结构,因此,本申请能够令各个用户所需的界面并平滑,利于用户的快速了解各个界面切换的逻辑。比如用户当前处于A应用的父级界 面,则用户了解该界面既可以在第一滑动方向或者第一滑动方向的反方向(即第三滑动方向)的滑动操作下,切换至其它父级界面,并且能够通过与第一滑动方向垂直的第二滑动方向的滑动操作下,切换至A应用中的各个子级界面,降低了用户熟悉该操作的学习成本。
基于上述实施例所示的方法,本申请实施例还提供一种显示内容的方法,能够在父级界面较多的情况下分组显示,并且还能够显示每个父级界面对应的图标,便于用户确定自身需要查找的父级界面。请参考如下实施例。
请参考图15,图15是本申请提供的一种显示内容的方法的流程图,可以应用在图1所示的头戴式显示设备中。在图15中,所述方法包括:
步骤1001,在头戴式显示设备的显示区域显示第一父级界面。
在本例中,步骤1001的执行过程可以分别参照步骤210的执行过程,此处不再赘述。
步骤1002,响应于界面缩小操作,在显示区域中将第一父级界面从全屏显示状态转变为缩小显示状态,并在显示区域中缩小后出现的空白区域中显示n个父级界面各自的应用图标,且第一父级界面的应用图标突出显示。
请参见图16,图16是基于图15所示实施例提供的一种界面缩小的示意图。在图16中,显示区域11A在头戴式显示设备接收界面缩小操作之前全屏显示第一父级界面1111。在头戴式显示设备接收到界面缩小操作之后,显示区域11A中显示缩小的第一父级界面1111,并在第一父级界面1111缩小后产生的空白区域中显示n个父级界面各自对应的应用图标。在图16中,以n是4为例。显示区域11A将与缩小后的第一父级界面1111并列显示4个应用图标,分别是健身应用图标1121、社交应用图标1122、音乐应用图标1123和翻译应用1124。
其中,由于第一父级界面1111是健身应用的父级界面,因此,健身应用图标1121突出显示。
请参考图17,图17是是基于图15所示实施例提供的一种界面缩小和放大的过程示意图。在图17中,头戴式显示设备先在显示区域全屏显示第一父级界面710,然后在接收到界面缩小操作时,缩小第一父级界面710并显示4个父级界面各自的应用图标。其中,第一父级界面710的应用图标突出显示。在图17中,该突出显示的方式是外围加粗框线显示。在缩小状态下,用户依然还能够切换显示区域中显示的界面,该界面既可以是父级界面,也可以是子级界面。在图17中,该界面以父级界面为例进行介绍。当第二父级界面在显示区域中处于缩小显示状态,且第二父级界面的应用图标突出显示时,头戴式显示设备能响应于界面放大操作,在显示区域中将第二父级界面从缩小显示状态切换为全屏显示状态,如图17中全屏显示的是第二父级界面720。
步骤1003,响应于镜腿上感知到水平方向滑动,确认接收到第一滑动操作。
其中,头戴式显示设备包括设置有触摸感知区域的镜腿。
步骤1004,响应于第一滑动操作,基于第一滑动操作所指示的第一滑动方向,将第一父级界面滑出显示区域,以及将第二父级界面滑入显示区域。
其中,第二父级界面和第一父级界面的级别相同。
在本例中,步骤1004的执行过程可以分别参照步骤220的执行过程,此处不再赘述。
步骤1005,在第二父级界面在显示区域中处于缩小显示状态,且第二父级界面的应用图标突出显示的情况下,响应于界面放大操作,在显示区域中将第二父级界面从缩小显示状态切换为全屏显示状态,并在显示区域中取消显示n个父级界面各自的应用图标。
需要说明的是,第二父级界面可以与第一父级界面是同一个父级界面;第二父级界面也可以与第一父级界面是不同的父级界面。
在本例中,界面缩小操作可以是触控操作、敲击操作或者实体按钮操作中的至少一种,本申请实施例对此不作限定。
步骤1006,响应于镜腿上感知到竖直方向滑动,确认接收到第二滑动操作。
步骤1007,响应于第二滑动操作,基于第二滑动操作所指示的第二滑动方向,将第一父级界面滑出显示区域,以及将第一子级界面滑入显示区域,第二滑动方向垂直于第一滑动方向。
其中,第一子级界面是第一父级界面的子界面。
在本例中,步骤1007的执行过程可以分别参照步骤230的执行过程,此处不再赘述。
可选地,为了提高用户使用头戴式显示设备切换父级界面的效率。头戴式显示设备中可以设置并列显示的父级界面数量的上限,也即对n的数值进行限定。例如,将n的上限设为5。若头戴式显示设备中运行的应用多于5个时,将其编入其它组。
举例而言,若头戴式显示设备中运行有n个父级界面,且一组父级界面的上限是q个,则头戴式显示设备中运行[n/q]+1组父级界面。需要说明是,[n/q]表示对数值n/q取整。比如,n/q的数值2.2,则 [n/q]的值是2。
比如,头戴式显示设备中运行有9个父级界面,且一组父级界面的上限是5个,则头戴式显示设备中运行2组父级界面。其中,第一组包括第1父级界面至第5父级界面;第二组包括第6父级界面至第9父级界面。
当头戴式显示设备当前显示的是第一组父级界面时,且用户想要查看第二组中的父级界面,则需要用户将第一组父级界面切换至第二组父级界面。
本申请提供以下切换方式,在应用该切换方式的头戴式显示设备中包括加速度传感器。头戴式显示设备通过加速度传感器监测头戴式显示设备的运动事件;在头戴式显示设备处于亮屏显示的情况下,响应于头戴式显示设备产生单次前滚运动事件,头戴式显示设备可以执行分支一或者执行分支二。其中,单次前滚运动事件可以是头戴式显示设备在指定时长内前滚角度超过指定角度后恢复至初始姿态的事件。或者,单次前滚运动事件还可以是头戴式显示设备向前滚动的速度超过阈值时触发的事件。
分支一:将n个父级界面中的q个第四父级界面替换为n-q个第五父级界面。其中,n小于或者等于2q。
分支二:将n个父级界面中的q个第四父级界面替换为q个第五父级界面。其中,n大于2q。
在实际操作中,用户可将头戴式显示设备摘下并快速前倾一下,或者佩戴该头戴式显示设备时向前快速点头一下来完成单次前滚运动事件。
综上所述,本实施例提供的显示内容的方法,能够在用户还不熟悉父级界面切换顺序或者父级界面较多时,通过显示父级界面对应的应用图标来提示用户的移动至自己所需要的父级界面或者子级界面,提高了用户切换头戴式显示设备中的界面的效率。
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。
请参考图18,图18是本申请一个示例性实施例提供的一种显示内容的装置的结构框图。该显示内容的装置可以通过软件、硬件或者两者的结合实现成为头戴式显示设备的全部或一部分。该显示内容的装置包括:
显示模块1310,用于在头戴式显示设备的显示区域显示第一父级界面;
第一滑动模块1320,用于响应于第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第一父级界面滑出所述显示区域,以及将第二父级界面滑入所述显示区域,所述第二父级界面和所述第一父级界面的级别相同;
第二滑动模块1330,用于响应于第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第一父级界面滑出所述显示区域,以及将第一子级界面滑入所述显示区域,所述第二滑动方向垂直于所述第一滑动方向,所述第一子级界面是所述第一父级界面的子界面。
在一个可选的实施例中,所述第一滑动模块1320,用于在所述第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于所述第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第i位置的父级界面滑出所述显示区域,以及将第i+1位置的父级界面滑入所述显示区域,i为小于n的整数;在所述第一父级界面是所述n个父级界面中排序在第n位置的父级界面的情况下,响应于所述第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第n位置的父级界面滑出所述显示区域,以及将第1位置的父级界面滑入所述显示区域;其中,所述n个父级界面的排序方向和所述第一滑动方向相同。
在一个可选的实施例中,所述装置还包括第三滑动模块,用于响应于第三滑动操作,基于所述第三滑动操作所指示的第三滑动方向,将所述第一父级界面滑出所述显示区域,以及将第三父级界面滑入所述显示区域,所述第三父级界面和所述第一父级界面的级别相同,所述第三滑动方向和所述第一滑动方向互为反方向;在所述第一父级界面是所述n个父级界面中排序在第1位置的父级界面的情况下,响应于所述第三滑动操作所指示的第三滑动方向,将所述第1位置的父级界面滑出所述显示区域,以及将第n位置的父级界面滑入所述显示区域;所述第三滑动方向和所述第一滑动方向互为反方向;在所述第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于所述第三滑动操作,基于所述第三滑动操作所指示的所述第三滑动方向,将所述第i位置的父级界面滑出所述显示区域,以及将第i-1位置的父级界面滑入所述显示区域,i为大于1的整数。
在一个可选的实施例中,所述第二滑动模块1330,用于响应于第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第1位置的所述第一父级界面滑出所述显示区域,以及将第2位置的所述第一子级界面滑入所述显示区域;其中,所述第一父级界面和m个子级界面的排序方向和所述第二滑动方向相同;所述第一父级界面和m-1个子级界面按照所述第二滑动方向排序在第1位置至第 m位置,m为正整数。
在一个可选的实施例中,所述装置还包括第四滑动模块,用于在所述第一子级界面排序在第j位置的情况下,响应于所述第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第j位置的所述第一子级界面滑出所述显示区域,以及将第j+1位置的子级界面滑入所述显示区域,j为小于m且大于1的整数;在所述第一子级界面排序在第m位置的情况下,响应于所述第二滑动操作,基于所述第二滑动操作所指示的所述第二滑动方向,将所述第m位置的所述第一子级界面滑出所述显示区域,以及将第1位置的所述第一父级界面滑入所述显示区域。
在一个可选的实施例中,所述装置还包括第五滑动模块,用于响应于第四滑动操作,基于所述第四滑动操作所指示的第四滑动方向,将所述第1位置的所述第一父级界面滑出所述显示区域,以及将第m位置的所述第二子级界面滑入所述显示区域;所述第四滑动方向和所述第二滑动方向互为反方向;在所述第二子级界面排序在第j位置的情况下,响应于所述第四滑动操作,基于所述第四滑动操作所指示的第二滑动方向,将所述第j位置的所述第二子级界面滑出所述显示区域,以及将第j-1位置的子级界面滑入所述显示区域,j为小于m且大于1的整数;在所述第二子级界面排序在第2位置的情况下,响应于所述第四滑动操作,基于所述第四滑动操作所指示的所述第二滑动方向,将所述第2位置的所述第二子级界面滑出所述显示区域,以及将第1位置的所述第一父级界面滑入所述显示区域。
在一个可选的实施例中,所述装置还包括界面缩小模块,用于响应于界面缩小操作,在所述显示区域中将所述第一父级界面从所述全屏显示状态转变为缩小显示状态,并在所述显示区域中缩小后出现的空白区域中显示n个所述父级界面各自的应用图标,且所述第一父级界面的应用图标突出显示。
在一个可选的实施例中,所述装置还包括界面放大模块,用于在所述第二父级界面在所述显示区域中处于缩小显示状态,且所述第二父级界面的应用图标突出显示的情况下,响应于界面放大操作,在所述显示区域中将所述第二父级界面从所述缩小显示状态切换为所述全屏显示状态,并在所述显示区域中取消显示所述n个父级界面各自的应用图标。
在一个可选的实施例中,头戴式显示设备包括设置有触摸感知区域的镜腿,所述装置还包括第一接收模块和第二接收模块。其中,所述第一接收模块,用于响应于所述镜腿上的水平方向滑动,确定接收到所述第一滑动操作。所述第二接收模块,用于响应于所述镜腿上的竖直方向滑动,确定接收到所述第二滑动操作。
本申请所提供的装置的实现过程以及有益效果可以参照前述方法实施例,本申请对此不再赘述。
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的显示内容的方法。
需要说明的是:上述实施例提供的显示内容的装置在执行显示内容的方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的显示内容的装置与显示内容的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的能够实现的示例性的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种显示内容的方法,所述方法由头戴式显示设备执行,所述方法包括:
    在所述头戴式显示设备的显示区域显示第一父级界面;
    响应于第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第一父级界面滑出所述显示区域,以及将第二父级界面滑入所述显示区域,所述第二父级界面和所述第一父级界面的级别相同;
    响应于第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第一父级界面滑出所述显示区域,以及将第一子级界面滑入所述显示区域,所述第二滑动方向垂直于所述第一滑动方向,所述第一子级界面是所述第一父级界面的子界面。
  2. 根据权利要求1所述的方法,所述响应于第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第一父级界面滑出所述显示区域,以及将第二父级界面滑入所述显示区域,包括:
    在所述第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于所述第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第i位置的父级界面滑出所述显示区域,以及将第i+1位置的父级界面滑入所述显示区域,i为小于n的整数;
    在所述第一父级界面是所述n个父级界面中排序在第n位置的父级界面的情况下,响应于所述第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第n位置的父级界面滑出所述显示区域,以及将第1位置的父级界面滑入所述显示区域;
    其中,所述n个父级界面的排序方向和所述第一滑动方向相同。
  3. 根据权利要求2所述的方法,所述方法还包括:
    响应于第三滑动操作,基于所述第三滑动操作所指示的第三滑动方向,将所述第一父级界面滑出所述显示区域,以及将第三父级界面滑入所述显示区域,所述第三父级界面和所述第一父级界面的级别相同,所述第三滑动方向和所述第一滑动方向互为反方向。
  4. 根据权利要求3所述的方法,所述响应于第三滑动操作,基于所述第三滑动操作所指示的第三滑动方向,将所述第一父级界面滑出所述显示区域,以及将第三父级界面滑入所述显示区域,包括:
    在所述第一父级界面是所述n个父级界面中排序在第1位置的父级界面的情况下,响应于所述第三滑动操作所指示的第三滑动方向,将所述第1位置的父级界面滑出所述显示区域,以及将第n位置的父级界面滑入所述显示区域;所述第三滑动方向和所述第一滑动方向互为反方向;
    在所述第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于所述第三滑动操作,基于所述第三滑动操作所指示的所述第三滑动方向,将所述第i位置的父级界面滑出所述显示区域,以及将第i-1位置的父级界面滑入所述显示区域,i为大于1的整数。
  5. 根据权利要求1所述的方法,所述第一父级界面和m-1个子级界面按照所述第二滑动方向排序在第1位置至第m位置,m为正整数;
    所述响应于第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第一父级界面滑出所述显示区域,以及将第一子级界面滑入所述显示区域,包括:
    响应于所述第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第1位置的所述第一父级界面滑出所述显示区域,以及将第2位置的所述第一子级界面滑入所述显示区域。
  6. 根据权利要求5所述的方法,所述方法还包括:
    在所述第一子级界面排序在第j位置的情况下,响应于所述第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第j位置的所述第一子级界面滑出所述显示区域,以及将第j+1位置的子级界面滑入所述显示区域,j为小于m且大于1的整数;
    在所述第一子级界面排序在第m位置的情况下,响应于所述第二滑动操作,基于所述第二滑动操作所指示的所述第二滑动方向,将所述第m位置的所述第一子级界面滑出所述显示区域,以及将第1位置的所述第一父级界面滑入所述显示区域。
  7. 根据权利要求5所述的方法,所述方法还包括:
    响应于第四滑动操作,基于所述第四滑动操作所指示的第四滑动方向,将所述第1位置的所述第一父级界面滑出所述显示区域,以及将第m位置的所述第二子级界面滑入所述显示区域;所述第四滑动方向和所述第二滑动方向互为反方向。
  8. 根据权利要求7所述的方法,所述响应于第四滑动操作,基于所述第四滑动操作所指示的第四滑动方向,将所述第1位置的所述第一父级界面滑出所述显示区域,以及将第m位置的所述第二子级界 面滑入所述显示区域,包括:
    在所述第二子级界面排序在第j位置的情况下,响应于所述第四滑动操作,基于所述第四滑动操作所指示的第二滑动方向,将所述第j位置的所述第二子级界面滑出所述显示区域,以及将第j-1位置的子级界面滑入所述显示区域,j为小于m且大于1的整数;
    在所述第二子级界面排序在第2位置的情况下,响应于所述第四滑动操作,基于所述第四滑动操作所指示的所述第二滑动方向,将所述第2位置的所述第二子级界面滑出所述显示区域,以及将第1位置的所述第一父级界面滑入所述显示区域。
  9. 根据权利要求1至8任一所述的方法,所述方法还包括:
    响应于界面缩小操作,在所述显示区域中将所述第一父级界面从所述全屏显示状态转变为缩小显示状态,并在所述显示区域中缩小后出现的空白区域中显示n个所述父级界面各自的应用图标,且所述第一父级界面的应用图标突出显示。
  10. 根据权利要求9所述的方法,所述第二父级界面在所述显示区域中处于缩小显示状态,且所述第二父级界面的应用图标突出显示;
    所述方法还包括:
    响应于界面放大操作,在所述显示区域中将所述第二父级界面从所述缩小显示状态切换为所述全屏显示状态,并在所述显示区域中取消显示所述n个父级界面各自的应用图标。
  11. 根据权利要求1至8任一所述的方法,所述头戴式显示设备包括设置有触摸感知区域的镜腿,所述方法还包括:
    响应于所述镜腿上感知到水平方向滑动,确定接收到所述第一滑动操作;
    或,
    响应于所述镜腿上感知到竖直方向滑动,确定接收到所述第二滑动操作。
  12. 一种显示内容的装置,所述装置包括:
    显示模块,用于在所述头戴式显示设备的显示区域显示第一父级界面;
    第一滑动模块,用于响应于第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第一父级界面滑出所述显示区域,以及将第二父级界面滑入所述显示区域,所述第二父级界面和所述第一父级界面的级别相同;
    第二滑动模块,用于响应于第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第一父级界面滑出所述显示区域,以及将第一子级界面滑入所述显示区域,所述第二滑动方向垂直于所述第一滑动方向,所述第一子级界面是所述第一父级界面的子界面。
  13. 根据权利要求12所述的装置,所述第一滑动模块,用于,
    在所述第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于所述第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第i位置的父级界面滑出所述显示区域,以及将第i+1位置的父级界面滑入所述显示区域,i为小于n的整数;在所述第一父级界面是所述n个父级界面中排序在第n位置的父级界面的情况下,响应于所述第一滑动操作,基于所述第一滑动操作所指示的第一滑动方向,将所述第n位置的父级界面滑出所述显示区域,以及将第1位置的父级界面滑入所述显示区域;其中,所述n个父级界面的排序方向和所述第一滑动方向相同。
  14. 根据权利要求13所述的装置,所述装置还包括:
    第三滑动模块,用于响应于第三滑动操作,基于所述第三滑动操作所指示的第三滑动方向,将所述第一父级界面滑出所述显示区域,以及将第三父级界面滑入所述显示区域,所述第三父级界面和所述第一父级界面的级别相同,所述第三滑动方向和所述第一滑动方向互为反方向。
  15. 根据权利要求14所述的装置,所述第三滑动模块,还用于:
    在所述第一父级界面是所述n个父级界面中排序在第1位置的父级界面的情况下,响应于所述第三滑动操作所指示的第三滑动方向,将所述第1位置的父级界面滑出所述显示区域,以及将第n位置的父级界面滑入所述显示区域;所述第三滑动方向和所述第一滑动方向互为反方向;在所述第一父级界面是n个父级界面中排序在第i位置的父级界面的情况下,响应于所述第三滑动操作,基于所述第三滑动操作所指示的所述第三滑动方向,将所述第i位置的父级界面滑出所述显示区域,以及将第i-1位置的父级界面滑入所述显示区域,i为大于1的整数。
  16. 根据权利要求12所述的装置,所述第一父级界面和m-1个子级界面按照所述第二滑动方向排序在第1位置至第m位置,m为正整数;
    所述第二滑动模块,用于:
    响应于所述第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第1位置的所述第一父级界面滑出所述显示区域,以及将第2位置的所述第一子级界面滑入所述显示区域。
  17. 根据权利要求16所述的装置,所述装置还包括:
    第四滑动模块,用于在所述第一子级界面排序在第j位置的情况下,响应于所述第二滑动操作,基于所述第二滑动操作所指示的第二滑动方向,将所述第j位置的所述第一子级界面滑出所述显示区域,以及将第j+1位置的子级界面滑入所述显示区域,j为小于m且大于1的整数;在所述第一子级界面排序在第m位置的情况下,响应于所述第二滑动操作,基于所述第二滑动操作所指示的所述第二滑动方向,将所述第m位置的所述第一子级界面滑出所述显示区域,以及将第1位置的所述第一父级界面滑入所述显示区域。
  18. 一种头戴式显示设备,所述头戴式显示设备包括处理器、和与所述处理器相连的存储器,以及存储在所述存储器上的程序指令,所述处理器执行所述程序指令时实现如权利要求1至11任一所述的显示内容的方法。
  19. 一种计算机可读存储介质,所述存储介质中存储有程序指令,所述程序指令被处理器执行时实现如权利要求1至11任一所述的显示内容的方法。
  20. 一种计算机程序产品,所述计算机程序产品包括程序指令,所述程序指令被处理器执行时实现如权利要求1至11任一所述的显示内容的方法。
PCT/CN2022/092760 2021-06-30 2022-05-13 显示内容的方法、装置、设备、存储介质及程序产品 WO2023273638A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110738172.9 2021-06-30
CN202110738172.9A CN113467658A (zh) 2021-06-30 2021-06-30 显示内容的方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2023273638A1 true WO2023273638A1 (zh) 2023-01-05

Family

ID=77876593

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092760 WO2023273638A1 (zh) 2021-06-30 2022-05-13 显示内容的方法、装置、设备、存储介质及程序产品

Country Status (2)

Country Link
CN (1) CN113467658A (zh)
WO (1) WO2023273638A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467658A (zh) * 2021-06-30 2021-10-01 Oppo广东移动通信有限公司 显示内容的方法、装置、终端及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095429A (zh) * 2015-07-22 2015-11-25 深圳智眸信息技术有限公司 一种基于智能眼镜的卡片快速查找方法
US20160018982A1 (en) * 2014-07-17 2016-01-21 Facebook, Inc. Touch-Based Gesture Recognition and Application Navigation
CN105843491A (zh) * 2016-03-18 2016-08-10 华为技术有限公司 页面快速导航切换方法、装置及终端
CN109844707A (zh) * 2017-06-27 2019-06-04 微软技术许可有限责任公司 桌面启动器中的页面导航
CN110275653A (zh) * 2019-05-30 2019-09-24 北京小米移动软件有限公司 页面显示方法、装置、终端及存储介质
CN113467658A (zh) * 2021-06-30 2021-10-01 Oppo广东移动通信有限公司 显示内容的方法、装置、终端及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106873995B (zh) * 2017-02-10 2021-08-17 联想(北京)有限公司 一种显示方法以及头戴式电子设备
CN109189357A (zh) * 2018-08-30 2019-01-11 Oppo广东移动通信有限公司 信息显示方法、装置、智能眼镜及存储介质
CN109240498B (zh) * 2018-08-30 2021-08-20 Oppo广东移动通信有限公司 交互方法、装置、穿戴式设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160018982A1 (en) * 2014-07-17 2016-01-21 Facebook, Inc. Touch-Based Gesture Recognition and Application Navigation
CN105095429A (zh) * 2015-07-22 2015-11-25 深圳智眸信息技术有限公司 一种基于智能眼镜的卡片快速查找方法
CN105843491A (zh) * 2016-03-18 2016-08-10 华为技术有限公司 页面快速导航切换方法、装置及终端
CN109844707A (zh) * 2017-06-27 2019-06-04 微软技术许可有限责任公司 桌面启动器中的页面导航
CN110275653A (zh) * 2019-05-30 2019-09-24 北京小米移动软件有限公司 页面显示方法、装置、终端及存储介质
CN113467658A (zh) * 2021-06-30 2021-10-01 Oppo广东移动通信有限公司 显示内容的方法、装置、终端及存储介质

Also Published As

Publication number Publication date
CN113467658A (zh) 2021-10-01

Similar Documents

Publication Publication Date Title
US11714592B2 (en) Gaze-based user interactions
US11557102B2 (en) Methods for manipulating objects in an environment
US11829524B2 (en) Moving content between a virtual display and an extended reality environment
US9746928B2 (en) Display device and control method thereof
CN113711175A (zh) 呈现计算机生成现实环境的可穿戴电子设备
US11314396B2 (en) Selecting a text input field using eye gaze
US11954245B2 (en) Displaying physical input devices as virtual objects
KR20210136116A (ko) 가상 객체들 제어
US20220262080A1 (en) Interfaces for presenting avatars in three-dimensional environments
WO2023273638A1 (zh) 显示内容的方法、装置、设备、存储介质及程序产品
US20210209840A1 (en) Generating a 3D Model of a Fingertip for Visual Touch Detection
US20230316634A1 (en) Methods for displaying and repositioning objects in an environment
US20230221833A1 (en) Methods for displaying user interface elements relative to media content
US20240103682A1 (en) Devices, Methods, and Graphical User Interfaces for Interacting with Window Controls in Three-Dimensional Environments
US20240152245A1 (en) Devices, Methods, and Graphical User Interfaces for Interacting with Window Controls in Three-Dimensional Environments
US20240104871A1 (en) User interfaces for capturing media and manipulating virtual objects
US20230334765A1 (en) Techniques for resizing virtual objects
US20240077986A1 (en) Opportunistic adaptive tangible user interfaces for use in extended reality environments
US20240152256A1 (en) Devices, Methods, and Graphical User Interfaces for Tabbed Browsing in Three-Dimensional Environments
US20230152935A1 (en) Devices, methods, and graphical user interfaces for presenting virtual objects in virtual environments
US20230334724A1 (en) Transposing Virtual Objects Between Viewing Arrangements
US20230334808A1 (en) Methods for displaying, selecting and moving objects and containers in an environment
WO2022103741A1 (en) Method and device for processing user input for multiple devices
WO2023049248A1 (en) Method and device for facilitating interactions with a peripheral device

Legal Events

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

Ref document number: 22831465

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22831465

Country of ref document: EP

Kind code of ref document: A1