A three-dimensional interface control method and terminal
By dynamically segmenting and moving the three-dimensional interface in the virtual environment through user operations, the problem of the distance between the interface and the user in the existing technology is solved, and the user experience and operation efficiency are improved.
Patent Information
- Application Number
- CN202210067505.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-19
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-06-19
AI Technical Summary
When the user moves in the existing separated three-dimensional user interface, the sub-interface corresponding to the control area may be far away from the user, resulting in poor user experience.
By obtaining the user's operation information, such as voice or gestures, the interface in the virtual environment is dynamically divided, allowing the user to divide the interface according to needs, improving the flexibility of the interface display, and providing dividing lines and multiple movement methods to enhance the user experience.
The flexibility of interface segmentation and movement is achieved, ensuring that sub-interfaces are kept close to users, improving user experience and operating efficiency.
Smart Images

Figure CN114564101B_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202010565198.3, and the original application date is June 19, 2020. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of virtual reality technology, and in particular to a control method and terminal for a three-dimensional interface. Background Art
[0003] In scenarios such as virtual reality (VR), augmented reality (AR) or mixed reality (MR), the terminal provides users with an interactive and immersive experience by building a virtual environment. In the virtual environment, the terminal and the user interact or exchange information through a three-dimensional user interface (3D UI). A three-dimensional user interface (3D UI) refers to a medium for direct interaction or information exchange between the system and the user in a three-dimensional environment. With the development of virtual reality technology, 3D UI is widely used in VR, AR and MR products, covering many fields such as office, audio and video, entertainment, and industry.
[0004] A separated interface refers to a separate sub-interface formed by dividing different functional areas in the same application in space. There is a certain gap between different sub-interfaces. The separated interface is a common design and layout method in 3D UI. It can make full use of the unlimited display space in the virtual environment, and at the same time help the application distinguish functional areas according to the user's operating habits, such as display area or operation area.
[0005] However, the existing separated interface is based on a preset layout, and each sub-interface is displayed at a fixed position. When the user moves, the sub-interface corresponding to the control area may be far away from the user, resulting in a poor user experience. Summary of the invention
[0006] The embodiment of the present application provides an interface control method, which can divide the interface into sub-interfaces for display according to the user's operation, thereby improving the flexibility of the interface display and enhancing the user experience.
[0007] A first aspect of an embodiment of the present application provides an interface control method, including: a terminal obtains a first operation of a user on a first interface displayed in a virtual environment; if the first interface includes at least two divisible components, the terminal obtains preset split position information in the first interface, and the split position information indicates a boundary between two adjacent divisible components in the first interface; if the first operation satisfies a preset condition, the terminal displays a first sub-interface and a second sub-interface obtained by splitting the first interface in the virtual environment according to the first operation and the position information of the splitting line, the first sub-interface including a first divisible component of the at least two divisible components, and the second sub-interface including a second divisible component adjacent to the first divisible component.
[0008] The interface control method is used for VR, AR or MR products. For an interface displayed in a virtual environment, if the interface includes at least two divisible components, the split position information between the divisible components can be preset, and the terminal obtains a first operation on the first interface displayed in the virtual environment. In response to the first operation, based on the preset split position information, the terminal can split the interface into at least two sub-interfaces for display and control respectively. Based on the interface control method, users can split the interface including divisible components according to their needs, which improves the flexibility of interface display and enhances user experience.
[0009] In a possible implementation manner of the first aspect, the first operation includes first voice information acquired by the terminal through a voice collection device, or a first gesture acquired by the terminal through a sensor system.
[0010] In this method, the user operation can be voice information or gestures, that is, the user divides the interface through voice or gestures, which is convenient to operate.
[0011] In a possible implementation of the first aspect, the first gesture includes: the first gesture includes: with five fingers together and the palm in a flat state, moving a preset distance along a first direction extending from the plane where the palm is located, and the direction extending from the plane where the palm is located in the first direction is parallel to the boundary.
[0012] The method provides a specific segmentation gesture, which provides the terminal with information on the segmentation method desired by the user by moving the hand along the plane where the palm is located. The gesture is simple and conforms to user habits, and can improve operation efficiency.
[0013] In a possible implementation manner of the first aspect, the method further includes: the terminal displaying a partition line at a boundary between the first partitionable component and the second partitionable component.
[0014] In this method, the terminal displays a dividing line at the dividing position of the interface, which can provide a dividing guide for the user and improve operation efficiency.
[0015] In a possible implementation of the first aspect, in response to the first operation, the terminal displays, in the virtual environment, according to the split position information, a first sub-interface and a second sub-interface obtained by splitting the first interface, specifically comprising:
[0016] The terminal displays the first sub-interface at a first position and displays the second sub-interface at a second position; the first position is the same as the first initial position, the second position is in a direction away from the first initial position and the distance between the second position and the second initial position is a first preset value, the first initial position is the position of the first sub-interface in the first interface when the terminal obtains the first instruction, and the second initial position is the position of the second sub-interface in the first interface when the terminal obtains the first instruction; or, the second position is the same as the second initial position, the first position is in a direction away from the second initial position and the distance between the first initial position and the first initial position is a second preset value; or, the first position is in a direction away from the second initial position and the distance between the first initial position and the first initial position is a third preset value, and the second position is in a direction away from the first initial position and the distance between the second initial position and the second initial position is a fourth preset value.
[0017] The method provides a variety of display positions after the interface is divided into sub-interfaces, which can be partial sub-interfaces moving or sub-interfaces moving away from each other, providing a variety of separation forms and improving the flexibility of the solution implementation. In addition, the relative distance between the divided sub-interfaces increases, and the information that the division is completed can be fed back to the user, which is convenient for the user to subsequently operate the sub-interfaces separately, which can improve the user experience.
[0018] In a possible implementation of the first aspect, the method further includes: the method further includes: in response to a second operation on the first sub-interface, the terminal moves the first sub-interface. Optionally, the second operation may include one gesture or multiple gestures. Optionally, the multiple gestures include a gesture that enables the terminal to determine that the first sub-interface is selected and a gesture that causes the first sub-interface to move accordingly.
[0019] This method provides a method for moving a sub-interface according to user operations. Since the sub-interface can move independently according to user operations, when the user moves, the sub-interface can continue to maintain a close distance with the user, which can improve the user experience.
[0020] In a possible implementation of the first aspect, the second operation includes: a pinching gesture pointing to the first sub-interface, the pinching gesture including a hand state of a thumb approaching at least one of four fingers, and maintaining the pinching gesture and moving; or, maintaining touch on the first sub-interface and moving; or, maintaining a spreading hand gesture and moving, the spreading hand gesture including a hand state of five fingers together and palms facing up.
[0021] The method provides a variety of specific ways for users to move sub-interfaces through gestures, including moving with pinch gestures, moving with touch gestures, or moving with spread-hand gestures. Since the display space in the virtual environment is huge, when the user moves the interface over a short distance, gestures such as pinching or touching can be used; for scenarios where the interface is moved over a long distance, it is difficult to maintain the pinching or touching state of the interface. In this scenario, the spread-hand gesture can be used to follow the movement. Since there is no limit on the distance between the user's gesture and the interface during the follow-up movement, the operation is more convenient. This method provides a variety of ways to move the interface, with high flexibility.
[0022] In a possible implementation of the first aspect, the method also includes: the terminal moves the first sub-interface; if the distance between the first sub-interface and the second sub-interface is less than a first threshold, the terminal displays a second interface in a virtual environment in which the first sub-interface and the second sub-interface are merged, and the layout of the second interface is the same as or different from that of the first interface.
[0023] This method provides a method for merging and restoring the sub-interfaces after segmentation, which improves the completeness of the solution implementation. In this method, the terminal can restore the original interface layout when merging and restoring based on the position information of the sub-interfaces in the first interface before they were segmented. In addition, the merged interface can also be different from the layout of the first interface before segmentation, that is, the layout of the second interface is determined according to the way the sub-interfaces are close to each other when the user merges the sub-interfaces, which increases the diversity of the interface layout.
[0024] In a possible implementation of the first aspect, the method also includes: the terminal displays a third interface in a virtual environment, the first interface is the interface of a first application, and the third interface is the interface of a second application; the terminal moves the first sub-interface and / or the third interface; if the distance between the first sub-interface and the third interface is less than a second threshold, the terminal displays a fourth interface obtained by combining the first sub-interface and the third interface in the virtual environment.
[0025] This method provides a cross-application interface combination display mode. In some application scenarios, users can combine the sub-interface of the first application with the interface of the second application for display. For example, users can combine the lyrics display interface of the music application with the MV playback screen of the video application for display, so that users can experience the functions of multiple applications at the same time.
[0026] In a possible implementation of the first aspect, the method also includes: the terminal displays a third sub-interface and a fourth sub-interface in a virtual environment, the third sub-interface and the fourth sub-interface are obtained by dividing the third interface, the first interface is the interface of the first application, and the third interface is the interface of the second application; the terminal moves the first sub-interface and / or the third sub-interface; if the distance between the first sub-interface and the third sub-interface is less than a third threshold, the terminal displays a fifth sub-interface obtained by combining the first sub-interface and the third sub-interface in the virtual environment.
[0027] The method provides a combined display mode across interfaces. In some application scenarios, the user can combine the sub-interface of the first application and the sub-interface of the second application for display, specifically by moving the two sub-interfaces, and when the distance between them is less than a threshold, they are combined into one sub-interface. Optionally, the control interface of the first application and the control interface of the second application are combined into one sub-interface, and only one icon corresponding to the same control function in the control interface of the first application and the control interface of the second application is retained, and the icon of the control function in the control interface of the first application that is unique to the control interface of the second application is retained in the combined sub-interface.
[0028] In a possible implementation of the first aspect, the first sub-interface includes a first icon for controlling a first function of the first application; the third sub-interface includes a second icon for controlling a second function of the second application, wherein the first function is the same as the second function; the fifth sub-interface includes a third icon, and the third icon is used to implement control of the first function of the first application and control of the second function of the second application.
[0029] This method specifically introduces a method for combining sub-interfaces of different applications and merging icons with the same function for display, which can save the display interface of the virtual environment and avoid repeated display of icons with the same function of multiple applications.
[0030] In a possible implementation of the first aspect, the first sub-interface is the input interface of the first application, the second sub-interface is the output interface of the first application; the third sub-interface is the input interface of the second application, and the fourth sub-interface is the output interface of the second application, and the method further includes: the terminal displays an indicator mark at the edge of the fifth sub-interface, and the indicator mark is used to determine the application currently controlled by the fifth sub-interface; when the indicator mark points to the second sub-interface, the terminal controls the first application according to the input operation of the fifth sub-interface; when the indicator mark points to the fourth sub-interface, the terminal controls the second application according to the input operation of the fifth sub-interface. The input interface is an interface for the terminal to obtain user input, and the output interface is an interface for the terminal to output information to the user. Optionally, the input interface includes a control interface, and the output interface includes a video screen display interface or a lyrics display interface.
[0031] This solution provides a method for controlling multiple applications. The fifth sub-interface obtained by combining the input sub-interfaces of the first application and the second application can control the two applications separately by aiming, thereby improving the utilization efficiency of the input control area and avoiding the need for users to switch input interfaces to control the applications separately when using multiple applications at the same time. The operation is convenient and the user experience is good.
[0032] A second aspect of an embodiment of the present application provides a terminal, comprising: an acquisition unit, for acquiring a first operation on a first interface displayed in a virtual environment, the first interface comprising at least two divisible components; a display unit, for displaying in the virtual environment, in response to the first operation, a first sub-interface and a second sub-interface obtained by dividing the first interface according to division position information, the first sub-interface comprising a first divisible component of the at least two divisible components, the second sub-interface comprising a second divisible component adjacent to the first divisible component, and the division position information comprising a boundary between the first divisible component and the second divisible component.
[0033] In a possible implementation manner of the second aspect, the first operation includes first voice information acquired by the terminal through a voice collection device, or a first gesture acquired by the terminal through a sensor system.
[0034] In a possible implementation of the second aspect, the first gesture includes: with five fingers together and the palm in a flat state, moving a preset distance along a first direction extending from the plane where the palm is located, and the direction where the plane where the palm is located in the first direction extending is parallel to the boundary.
[0035] In a possible implementation manner of the second aspect, the display unit is further configured to: display a partition line at a boundary between the first partitionable component and the second partitionable component.
[0036] In a possible implementation manner of the second aspect, the display unit is specifically configured to:
[0037] Display the first sub-interface at a first position, and display the second sub-interface at a second position;
[0038] The first position is the same as the first initial position, the second position is in a direction away from the first initial position and the distance between the second position and the second initial position is a first preset value, the first initial position is the position of the first sub-interface in the first interface when the terminal obtains the first instruction, and the second initial position is the position of the second sub-interface in the first interface when the terminal obtains the first instruction;
[0039] Alternatively, the second position is the same as the second initial position, and the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a second preset value;
[0040] Alternatively, the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a third preset value, and the second position is in a direction away from the first initial position and the distance between the second initial position and the second initial position is a fourth preset value.
[0041] In a possible implementation manner of the second aspect, the terminal further includes:
[0042] The processing unit is configured to move the first sub-interface in response to a second operation on the first sub-interface.
[0043] In a possible implementation manner of the second aspect, the second operation includes: a pinch gesture directed to the first sub-interface, the pinch gesture including a hand state of a thumb approaching at least one of four fingers, and maintaining the pinch gesture and moving;
[0044] Alternatively, keep touching the first sub-interface and move;
[0045] Alternatively, the hand-spreading gesture is maintained and moved, wherein the hand-spreading gesture includes a hand state with five fingers together and the palm facing upward.
[0046] In a possible implementation manner of the second aspect, the terminal further includes:
[0047] A processing unit, configured to move the first sub-interface;
[0048] The display unit is also used to, if the distance between the first sub-interface and the second sub-interface is less than a first threshold, cause the terminal to display a second interface in a virtual environment that is a combination of the first sub-interface and the second sub-interface, where the layout of the second interface is the same as or different from that of the first interface.
[0049] In a possible implementation manner of the second aspect, the terminal further includes:
[0050] The display unit is further used to display a third interface in the virtual environment, the first interface is an interface of the first application, and the third interface is an interface of the second application;
[0051] The processing unit is further used to move the first sub-interface and / or the third interface;
[0052] The display unit is further configured to display a fourth interface obtained by combining the first sub-interface and the third interface in the virtual environment if the distance between the first sub-interface and the third interface is less than a second threshold.
[0053] In a possible implementation manner of the second aspect,
[0054] The display unit is further used to display a third sub-interface and a fourth sub-interface in the virtual environment, wherein the third sub-interface and the fourth sub-interface are obtained by dividing the third interface, the first interface is an interface of the first application, and the third interface is an interface of the second application;
[0055] The processing unit is further used to move the first sub-interface and / or the third sub-interface;
[0056] The display unit is further configured to display a fifth sub-interface obtained by combining the first sub-interface and the third sub-interface in the virtual environment if the distance between the first sub-interface and the third sub-interface is less than a third threshold.
[0057] In a possible implementation manner of the second aspect, the first sub-interface includes a first icon for controlling a first function of the first application; the third sub-interface includes a second icon for controlling a second function of the second application, wherein the first function is the same as the second function;
[0058] The fifth sub-interface includes a third icon, and the third icon is used to control the first function of the first application and the second function of the second application.
[0059] In a possible implementation manner of the second aspect, the first sub-interface is an input interface of the first application, and the second sub-interface is an output interface of the first application; the third sub-interface is an input interface of the second application, and the fourth sub-interface is an output interface of the second application;
[0060] The display unit is further used to display an indication mark at the edge of the fifth sub-interface, where the indication mark is used to determine the application currently controlled by the fifth sub-interface;
[0061] The terminal further includes:
[0062] a control unit, configured to control the first application according to an input operation on the fifth sub-interface when the indication mark points to the second sub-interface;
[0063] The control unit is further configured to, when the indication mark points to the fourth sub-interface, cause the terminal to control the second application according to an input operation on the fifth sub-interface.
[0064] A third aspect of an embodiment of the present application provides a terminal, comprising: one or more processors and a memory; wherein the memory stores computer-readable instructions; the one or more processors read the computer-readable instructions in the memory to enable the terminal to implement a method as described in the first aspect above and any one of various possible implementation methods.
[0065] In a possible implementation manner of the third aspect, the terminal includes a virtual reality device, an augmented reality device, or a mixed reality device.
[0066] In a possible implementation manner of the third aspect, the terminal includes a head-mounted display device.
[0067] A fourth aspect of an embodiment of the present application provides a computer program product comprising instructions, characterized in that when the computer program product is run on a computer, the computer is enabled to execute a method as described in the first aspect and any one of various possible implementations.
[0068] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, comprising instructions, characterized in that when the instructions are executed on a computer, the computer executes a method as described in the first aspect above and any one of various possible implementation methods.
[0069] A sixth aspect of an embodiment of the present application provides a chip, comprising a processor. The processor is used to read and execute a computer program stored in a memory to execute a method in any possible implementation of any of the above aspects. Optionally, the chip includes a memory, and the memory is connected to the processor through a circuit or wire. Further optionally, the chip also includes a communication interface, and the processor is connected to the communication interface. The communication interface is used to receive data and / or information to be processed, the processor obtains the data and / or information from the communication interface, processes the data and / or information, and outputs the processing results through the communication interface. The communication interface can be an input and output interface.
[0070] Among them, the technical effects brought about by any implementation method in the second to sixth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0071] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages: the interface control method provided by the embodiments of the present application, for an interface displayed in a virtual environment, if the interface contains at least two divisible components, the terminal presets the split position information between the divisible components, and in response to the user's first operation, the terminal can split the interface into at least two sub-interfaces based on the preset split position information for separate display and control. Based on the interface control method, the user can split the interface containing divisible components according to the needs of different application scenarios, thereby improving the flexibility of interface display and enhancing the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 This is a system architecture diagram of an embodiment of the present application;
[0073] Figure 2 A schematic diagram of a separated three-dimensional interface in an embodiment of the present application;
[0074] Figure 3 A schematic diagram of the system architecture of the three-dimensional interface control method in an embodiment of the present application;
[0075] Figure 4a A schematic diagram of an embodiment of a three-dimensional interface segmentation method in an embodiment of the present application;
[0076] Figure 4b This is another schematic diagram of an embodiment of the three-dimensional interface segmentation method in the embodiment of the present application;
[0077] Figure 5a A schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0078] Figure 5b Another schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0079] Figure 5c Another schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0080] Figure 5d Another schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0081] Figure 5e Another schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0082] Figure 5f Another schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0083] Figure 5g Another schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0084] Figure 5h Another schematic diagram of segmentation of a three-dimensional interface in an embodiment of the present application;
[0085] Figure 6 A schematic diagram of an embodiment of a three-dimensional interface movement method in an embodiment of the present application;
[0086] Figure 7a A schematic diagram of the movement of a three-dimensional interface in an embodiment of the present application;
[0087] Figure 7b Another schematic diagram of the movement of the three-dimensional interface in the embodiment of the present application;
[0088] Figure 7c Another schematic diagram of the movement of the three-dimensional interface in the embodiment of the present application;
[0089] Figure 7d Another schematic diagram of the movement of the three-dimensional interface in the embodiment of the present application;
[0090] Figure 7e Another schematic diagram of the movement of the three-dimensional interface in the embodiment of the present application;
[0091] Figure 8 A schematic diagram of an embodiment of a method for merging three-dimensional interfaces in an embodiment of the present application;
[0092] Figure 9a A schematic diagram of the merging of three-dimensional interfaces in an embodiment of the present application;
[0093] Figure 9b Another schematic diagram of the merging of three-dimensional interfaces in an embodiment of the present application;
[0094] Fig.10 A schematic diagram of an embodiment of a method for combining multiple application sub-3D interfaces in an embodiment of the present application;
[0095] Fig.11a A schematic diagram of a combination of three-dimensional interfaces in an embodiment of the present application;
[0096] Fig.11b Another schematic diagram of the combination of three-dimensional interfaces in the embodiment of the present application;
[0097] Fig.11c Another schematic diagram of the combination of three-dimensional interfaces in the embodiment of the present application;
[0098] Fig.11d Another schematic diagram of the combination of three-dimensional interfaces in the embodiment of the present application;
[0099] Fig.11e Another schematic diagram of the combination of three-dimensional interfaces in the embodiment of the present application;
[0100] Fig.11f Another schematic diagram of the combination of three-dimensional interfaces in the embodiment of the present application;
[0101] Figure 11g Another schematic diagram of the combination of three-dimensional interfaces in the embodiment of the present application;
[0102] Fig.11h Another schematic diagram of the combination of three-dimensional interfaces in the embodiment of the present application;
[0103] Fig.12 This is a schematic diagram of an embodiment of a terminal in an embodiment of the present application;
[0104] Fig.13 This is another schematic diagram of a terminal in an embodiment of the present application;
[0105] Fig.14 A schematic diagram of an HMD device according to an embodiment of the present application;
[0106] Fig.15 A software structure block diagram of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0107] An embodiment of the present application provides an interface control method for realizing flexible control of a three-dimensional interface.
[0108] The following describes the embodiments of the present application in conjunction with the accompanying drawings. Obviously, the described embodiments are only embodiments of a part of the present application, rather than all embodiments. It is known to those skilled in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0109] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products or devices. The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The process steps that have been named or numbered can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
[0110] First, some technical terms involved in the embodiments of the present application are briefly introduced:
[0111] 1. Virtual reality (VR) technology uses computers to generate a simulated environment, allowing users to immerse themselves in the virtual environment. Virtual reality technology uses real-life data, electronic signals generated by computer technology, and combines them with various output devices to transform them into phenomena that people can feel. These phenomena can be real objects in reality, or substances that are invisible to our naked eyes, expressed through three-dimensional models. Because these phenomena are not what we can see directly, but the real world simulated by computer technology, they are called virtual reality.
[0112] 2. Augmented reality (AR) technology is a technology that cleverly integrates virtual information with the real world. It widely uses a variety of technical means such as multimedia, three-dimensional modeling, real-time tracking and registration, intelligent interaction, and sensing. It simulates computer-generated virtual information such as text, images, three-dimensional models, music, and videos, and applies them to the real world. The two types of information complement each other, thereby achieving "enhancement" of the real world.
[0113] 3. Mixed reality (MR) is a further development of VR and AR technologies. By introducing real scene information into the virtual environment, a bridge of interactive feedback information is built between the virtual world, the real world and the user, thereby enhancing the realism of the user experience. Mixed reality generally uses optical perspective technology to superimpose virtual images on the human eyeball.
[0114] 4. Mediated reality.
[0115] VR technology displays pure virtual digital images, mixed reality including AR is virtual digital images + naked eye reality, and mediated reality is digital reality + virtual digital images.
[0116] In scenes such as VR, AR or MR, whether it is the real world simulated by computer technology or the simulation of virtual information such as computer-generated text, images, three-dimensional models, music, and videos, digital virtual scenes are involved. Virtual scenes are usually implemented through VR devices, AR devices, or MR devices. In order to provide users with an interactive immersive experience, physical hardware such as handles and touchpads, or head aiming, gesture operation, and other systems can be used to control the interface as user input for the device. In the specific implementation process of interface control through gesture operation, the user's gesture operation (including gestures and gesture position information) is obtained through the device's sensor system. In general, the user's gestures and gesture position information are real-time and variable. By mapping the gestures obtained by the sensor system in the viewing field of the device, the gesture operation in the real world can be mapped to the state and position movement of the operation icon (such as hand shape, arrow, etc.) in the virtual scene, and displayed in real time on the display interface of the device, so that the user can clearly perceive the real-time operation of the three-dimensional interface in the virtual scene. The position mapping between the real world and the virtual scene is an existing technology and will not be repeated here.
[0117] This application is mainly applied to VR devices, AR devices or MR devices, such as head-mounted displays (HMD). Devices usually support multiple applications, such as word processing applications, telephone applications, email applications, instant messaging applications, photo management applications, web browsing applications, digital music player applications, and / or digital video player applications, which are referred to as applications in subsequent embodiments, and the specific types of applications are not limited. The interface of the application displayed in the virtual environment is a three-dimensional interface, which is referred to as the interface in the embodiments of this application.
[0118] In the existing 3D interface segmentation method, the sub-interface is displayed based on a preset layout. Since the separately displayed sub-interface takes up more space, usually only one separated interface application can be displayed within the user's visual area, which limits the user's multi-application and multi-tasking usage scenarios. For example, when the user wants to use a separated music interface and a separated modeling application interface at the same time, the two application interfaces cannot be displayed in the same visual area at the same time. If they appear in the same visual area, the function areas of different applications will overlap, causing the user to be unable to distinguish which specific function area belongs to which interface. In addition, the separated control area is displayed in a fixed position. When the user moves, the sub-interface corresponding to the control area may be far away from the user, resulting in a poor user experience.
[0119] The interface control method provided in the embodiment of the present application can be applied to terminal devices such as VR devices, AR devices or MR devices, and can display the three-dimensional interface of the application through an unlimited virtual environment.
[0120] See also Figure 1 , which is a system architecture diagram of a three-dimensional interface control method provided in an embodiment of the present application;
[0121] Users control applications based on a three-dimensional user interface through terminal devices such as AR or VR glasses. 3D UI refers to a medium for direct interaction or information exchange between the system and the user in a three-dimensional environment. It is an overall design based on human-computer interaction, operational logic, and beautiful interface. Although the display range of the virtual environment is wider, the distance between the interface and the user becomes farther, resulting in the user needing to operate intuitively at a long distance, which reduces efficiency. The control method of the three-dimensional interface provided in the embodiment of the present application is used to realize the segmentation, movement, merging and control of the three-dimensional interface displayed in the virtual environment, which can improve the convenience of user operation.
[0122] See also Figure 2 , is a schematic diagram of an embodiment of a separate interface in the present application embodiment, Figure 2 The 3D interface of a drawing application is shown, including three separated sub-3D interfaces: A, B and C. Separated interface refers to the separation of different functional areas in the same application in space, and there is usually a certain gap between different sub-3D interfaces. It is a common design and layout method in the 3D interface of VR, AR or MR. This design can make full use of the unlimited space in the virtual environment, and at the same time help the application to distinguish different functional areas, such as display area or operation area, according to the user's operating habits. In the embodiment of the present application, the functional area that can be displayed independently in the 3D interface is called a separable component.
[0123] See also Figure 3 , which is an architecture diagram of a three-dimensional interface control method provided in an embodiment of the present application;
[0124] This method provides a method for dividing a 3D interface in a virtual environment into sub-3D interfaces, that is, realizing interface separation display 300. For the sub-interfaces obtained by dividing a single 3D interface, the display control can be performed separately, and the movement of the separated components 310 or the merging of multiple separated components 320 can be realized. In addition, the 3D interfaces of multiple applications displayed in the virtual environment can be divided separately for each application. For the separated components with the same functions in different applications, the separated components between multiple applications can be combined and controlled 330. For example, the controllers of different applications can be merged into a multi-functional controller for realizing the control of multiple applications.
[0125] The following is a detailed description of different embodiments:
[0126] 1. The interface is displayed separately.
[0127] The terminal can divide the first three-dimensional interface into sub-interfaces according to user operations, and display them separately in the virtual environment. The user operations include voice or gestures. The following are introduced respectively:
[0128] 1. Segment the interface based on the user's voice. Figure 4a , is a schematic diagram of an embodiment of a method for controlling a three-dimensional interface in an embodiment of the present application;
[0129] 411. Determine a first interface according to a first voice of a user;
[0130] The terminal determines the first interface by acquiring a first voice uttered by a user through a voice collection device;
[0131] The first interface is the interface of the first application, and the first voice may be a voice for invoking the first application, for example, voice such as "music player" or "WeChat". If the first voice matches a voice in a preset first voice database of the first application, the terminal determines the first interface;
[0132] 412. If the second voice of the user meets the first preset condition, the terminal determines whether the first interface includes at least two divisible components;
[0133] The terminal obtains the second voice uttered by the user through the voice collection device, and the first preset condition may be that the second voice matches the voice in the preset second voice database. If the second voice matches the voice in the preset second voice database, and the second voice corresponds to a segmentation instruction, such as a voice such as "segment" or "separate", the terminal determines whether the first interface includes at least two separable components.
[0134] 413. If the first interface includes at least two divisible components, the terminal displays a first sub-interface and a second sub-interface obtained by dividing the first interface in the virtual environment;
[0135] If the first interface includes at least two divisible components, the terminal obtains the preset segmentation position information of the first interface. According to the segmentation position information, the first sub-interface and the second sub-interface obtained by segmenting the first interface are displayed in the virtual environment respectively. It is understandable that the first interface may include more than two divisible components, and in this step, the terminal may display more than two divisible components.
[0136] 2. Interface segmentation based on user gestures:
[0137] See also Figure 4b , is a schematic diagram of another embodiment of the method for controlling a three-dimensional interface in an embodiment of the present application;
[0138] 421. The terminal determines a first interface according to a first gesture of the user;
[0139] The terminal displays the 3D interface of the application in the virtual environment. The 3D interface includes a divisible 3D interface or an indivisible 3D interface. A divisible 3D interface usually includes multiple relatively independent components, such as a display component or a control component. Whether the interface is divisible can be marked by the developer when developing the program, and the specific method is not repeated here.
[0140] The terminal determines a first interface according to a first operation of a user.
[0141] The first gesture includes a user's gesture acquired by the terminal through an image acquisition device. The first gesture may be, for example, a movement of a user's gesture. If the first gesture matches a gesture in a preset first gesture database, the gesture match means that the first gesture is the same as the gesture in the preset first gesture database, or the difference is less than a preset threshold. Then the terminal determines the first interface, for example, the first gesture is a user's gesture approaching the first interface until the distance from the first interface is less than a preset threshold; or the first gesture is a gesture pointing to the first interface.
[0142] For example, Figure 5a As shown, the first interface is an interface 100 of a video (movie) player application, which includes two separable components, namely a video player component 120 and a video control component 110. The control component generally refers to a component for operating and controlling an application, such as playing or pausing; or scaling, moving or rotating a three-dimensional element. For example, Figure 5a The video control component 110 shown includes operation components such as play, pause, and video progress bar.
[0143] 422. The terminal determines whether the second operation of the user meets the preset condition; if so, execute step 423; if not, execute step 426.
[0144] The terminal obtains the second operation of the user on the first interface through the sensor system, and the second gesture is the gesture of the user obtained by the terminal through the image acquisition device. For example, Figure 5b Gesture 510 is shown.
[0145] The first preset condition includes that the second gesture matches a gesture in a preset second gesture database. The terminal can determine whether the second gesture matches a gesture in a preset second gesture database, which means that the second gesture is the same as the gesture in the preset second gesture database, or the difference is less than a preset threshold. The gestures in the second gesture database are pre-stored "cutting gestures" and may include one or more to indicate interface segmentation. Exemplarily, the gestures in the first gesture database include: a hand state with five fingers together and a flat palm. If the user's second operation on the first interface meets the first preset condition, the terminal determines whether the first interface is a divisible interface. Whether the interface is divisible can be marked by the developer during program development and stored in the terminal.
[0146] 423. If the second gesture satisfies the second preset condition, the terminal determines whether the first interface is a divisible interface;
[0147] If the second operation satisfies the first preset condition, the terminal determines whether the first interface is a divisible interface, that is, whether it includes at least two divisible interfaces. A divisible interface includes at least two divisible components, and the division boundary is marked by the developer during program development. The terminal determines whether the first interface is a divisible interface.
[0148] Optionally, step 423 may be performed at step 421, when the terminal determines whether the first interface is a divisible interface after determining the first interface.
[0149] 424. If the first interface includes at least two divisible components, the terminal determines location information of a boundary between the divisible components;
[0150] If the first interface includes at least two divisible components, that is, the first interface is a divisible interface, the terminal determines the position information of the boundary between the divisible components.
[0151] Optionally, the first interface includes two, three or four divisible components, and the specific number is not limited. The position information of the boundaries between the divisible components includes the boundaries between any two adjacent divisible components in the first interface. The boundaries between the divisible components can be horizontal or vertical, or both horizontal and vertical, and even include irregular boundaries, which are not limited here.
[0152] Optionally, a dividing line is displayed at the boundary between the divisible components of the first interface, and the dividing line includes the boundary between any two divisible components in the first interface. Figure 5c Partition line 700 is shown.
[0153] Optionally, the divisible component is highlighted to indicate that the interface of this area can be divided;
[0154] Optionally, a feedback box is displayed at the boundary of the splittable component. The feedback box is a solid line displayed at the interface outline and is used to limit the size of the split interface range. For example, Figure 5b As shown, the feedback box 920 of the video playback component 120 and the feedback box 910 of the video manipulation component 110 .
[0155] 425. If the first interface includes at least two divisible components and the second gesture satisfies a second preset condition, the terminal displays a first sub-interface and a second sub-interface obtained by dividing the first interface respectively;
[0156] The second preset condition includes that the movement mode of the second gesture coincides with the dividing line, or that the distance between the second gesture and the dividing line is less than a preset threshold and is parallel to the dividing line. It is understandable that both the coincidence and the parallelism here may contain a certain error. Exemplarily, the second gesture includes: a hand state with five fingers together and the palm in a plane, moving a preset distance along the extension direction of the plane where the palm is located, and the movement direction is parallel to the boundary between the divisible components of the first interface. It should be noted that, depending on the different position information of the boundary between the divisible components, the movement trajectory that the gesture needs to satisfy is also different. If the position information of the boundary is horizontal, the gesture movement trajectory is also horizontal; if the position information of the boundary is vertical, the gesture movement trajectory is also vertical; if the position information of the boundary is an irregular curve, the movement trajectory of the gesture also needs to match the irregular curve, which can be similar within a certain error range.
[0157] Optionally, the terminal detects the distance moved by the user's gesture, and based on the recognition that the direction of the user's gesture movement is parallel to the cutting line and the distance is less than a preset threshold, the cutting line is highlighted. Optionally, as the gesture movement distance changes, the cutting line can feedback the gesture movement distance through color changes to indicate the current cutting progress.
[0158] like Figure 5d As shown, for example, see Figure 5d , the user gesture moves from position 511 to position 512, and the color of the cutting line 710 corresponding to the cut part changes (in the figure, the dashed line spacing of the cutting line 720 corresponding to the uncut part is smaller, and the dashed line spacing of the cutting line 710 corresponding to the cut part is larger, and the different dashed line spacings are used to represent the color change of the cut part 710 of the cutting line).
[0159] If the first interface is a divisible interface and the second operation satisfies a second preset condition, the terminal displays a first sub-interface and a second sub-interface obtained by dividing the first interface in a virtual environment.
[0160] For example, Figure 5e As shown, after the terminal recognizes that the user maintains the cutting gesture in the air from one end point of the dividing line, namely position 511, to the other end point, namely position 513, the system confirms that the cutting action is completed.
[0161] There are many ways for the terminal to display the first sub-interface and the second sub-interface obtained by dividing the first interface in the virtual environment. Figure 5f-5h .
[0162] The initial position of the first sub-interface before segmentation is the first initial position, and the position after segmentation is the first position; the initial position of the second sub-interface before segmentation is the second initial position, and the position after segmentation is the second position.
[0163] Optionally, the first position is the same as the first initial position, and the second position is in a direction away from the first initial position and the distance between the second initial position and the second initial position is a first preset value. Figure 5f As shown, the first sub-interface is the video playback component 120, and the second sub-interface is the video control component 110. The position of the video playback component 120 remains unchanged, and the video control component 110 is moved downward by a preset distance from position 111 to position 112. At this time, the video playback area and the video control area are two independent display interfaces.
[0164] Optionally, the second position is the same as the second initial position, and the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a second preset value. For example, Figure 5g As shown, the position of the video control component 110 remains unchanged, and the video playback component 120 is moved upward by a preset distance from position 121 to position 122; thus, a distance is separated between the video playback component 120 and the video control component 110, and they are displayed as two independent interfaces.
[0165] Optionally, the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a third preset value, and the second position is in a direction away from the first initial position and the distance between the second initial position and the second initial position is a fourth preset value. Figure 5h As shown, the video playback component 120 is moved upward from position 121 to position 122 by a preset distance; the video control component 110 is moved downward from position 111 to position 112 by a preset distance, thereby, the video playback component 120 and the video control component 110 are separated by a distance and displayed as two independent interfaces.
[0166] Optionally, when the first interface is divided into at least two sub-interfaces, there are multiple layout modes, which may be a combination of one or more of up and down movement, left and right movement, or front and back movement, which is not specifically limited here.
[0167] Optionally, when recording cutting, the position information of the first sub-interface in the first interface and the position information of the second sub-interface in the first interface, the position information is, for example, coordinate data, which can be used to determine the relative position between the first sub-interface and the second sub-interface when the first sub-interface and the second sub-interface are subsequently merged.
[0168] The first sub-interface and the second sub-interface obtained by dividing the first interface can be displayed and controlled separately, and the control includes adjusting the interface size, moving, rotating, merging and operating the functional components in the interface, etc., which are not limited here.
[0169] 2. Movement of Separated Components
[0170] The following is an introduction to the method of moving the sub-interface. Figure 6 , is a schematic diagram of an embodiment of the sub-interface control method in the embodiment of the present application;
[0171] 601. The terminal determines a first sub-interface at a third position according to a third operation of the user;
[0172] The terminal may determine the first sub-interface according to a third operation of the user, and the position of the first sub-interface is the third position.
[0173] Optionally, the distance between the third gesture operation and the first sub-interface is less than a preset threshold, and the first sub-interface is determined;
[0174] Optionally, after the terminal determines the first sub-interface, a feedback indicator may be displayed, such as Figure 7a As shown, a feedback mark appears at the outline of the detachable component, and the feedback mark includes a feedback box, which can indicate the size range of the selected interface, or highlight the component to provide feedback to the user that the interface is selected.
[0175] See also Figure 7a , the distance between the position 514 where the user's gesture is located and the first sub-interface is less than a preset threshold, thereby determining the video control component 110, and a feedback mark 910 appears at the outline of the video control component 110.
[0176] 602. The terminal moves the first sub-interface according to a fourth operation of the user;
[0177] Optionally, the fourth gesture includes maintaining a “pinch” gesture and moving, the “pinch” gesture being a gesture in which the thumb and index finger change from being separated to being in a touching state, and the “pinch” gesture requires that the distance between the user’s gesture and the first sub-interface is less than or equal to a preset threshold;
[0178] Optionally, the fourth gesture includes maintaining and moving the "spreading hands" gesture, where the "spreading hands" gesture is a hand state with five fingers together and the palm facing up. It should be noted that during the movement of the "spreading hands" gesture, there is no limit on the distance between the user gesture and the first sub-interface, and the first sub-interface follows the movement.
[0179] The terminal recognizes the first sub-interface selected by the user using the "pinch" gesture, records the relative displacement of the hand (such as the initial position of the hand (x1, y1, z1), the first position is (x2, y2, z2), and uses the relationship between the initial position and the first position to describe the relative displacement, such as moving 1 cm in the positive direction of the x-axis, 1 cm in the positive direction of the y-axis, and 1 cm in the positive direction of the z-axis), and displays the position of the component according to a preset proportional relationship for relative displacement. The display effect is that the first sub-interface moves as the position of the gesture changes.
[0180] 603. The terminal displays the first sub-interface located at the fourth position;
[0181] The terminal stops moving the first sub-interface according to the fifth operation of the user, and the first sub-interface stops moving. The position of the first interface during the fifth operation is the fourth position.
[0182] The terminal stops moving the first sub-interface according to the user's fifth operation. Optionally, the fifth operation includes releasing the fourth operation, which may be that the gesture of the fourth operation changes, or the distance between the user gesture and the mobile interface is greater than or equal to a preset threshold, which is not limited here.
[0183] Optionally, if the first sub-interface is moved by a “pinch” gesture, the first sub-interface can be stopped from being moved by releasing the “pinch” gesture, and the first sub-interface stays displayed at the position where the first sub-interface was when the terminal released the “pinch” gesture;
[0184] Optionally, if the first sub-interface is moved by a "spreading hand" gesture, the movement of the first sub-interface can be stopped by releasing the "spreading hand" gesture, and the first sub-interface stays displayed at the position where the first sub-interface was when the terminal released the "spreading hand" gesture.
[0185] Example 1: Please refer to Figure 7b and Figure 7c ,like Figure 7b As shown, the “pinch” gesture moves from position 514 to position 515, and the video manipulation component 110 moves from position 113 to position 114. If the user releases the “pinch” gesture, the video manipulation component 110 stops moving. Figure 7c As shown, the video manipulation component 110 is stopped at position 114 .
[0186] Example 2: Please refer to Figure 7d and Figure 7e, considering that in some application scenarios, users need to move the interface a long distance, it is difficult to maintain the "pinch" gesture to move, such as Figure 7d As shown, the interface can follow the movement through the "spreading hands" gesture 530. During the movement, there is no limit on the distance between the user gesture and the interface, and the interface moves along with the "spreading hands" gesture. Figure 7e As shown, the video manipulation component 110 moves from position 113 to position 115 .
[0187] See also Figure 8 , is a schematic diagram of an embodiment of merging multiple sub-interfaces in an embodiment of the present application;
[0188] 801. The terminal moves to the first sub-interface and / or the second sub-interface;
[0189] The terminal moves to the first sub-interface or the second sub-interface;
[0190] Optionally, the terminal moves the first sub-interface and the second sub-interface simultaneously.
[0191] 802. If the distance between the first sub-interface and the second sub-interface is less than or equal to the threshold, the terminal merges the first sub-interface and the second sub-interface into a second interface;
[0192] Exemplarily, based on the gesture of the user "pinching" the first sub-interface and the second sub-interface with both hands and moving them, the terminal merges the first sub-interface and the second sub-interface into the second interface when it is determined that the distance between the first sub-interface and the second sub-interface is less than or equal to a preset threshold. Optionally, the layout of the second interface can be the same as or different from that of the first interface. Based on the position information of the first sub-interface and the second sub-interface before the segmentation recorded by the terminal, such as the coordinate value, the relocation is completed so that the merged second interface is the same as the first interface before the segmentation.
[0193] Optionally, the relative positions of the first sub-interface and the second sub-interface in the second interface are determined according to the position information of the first sub-interface and the second sub-interface in the first interface when the first interface is divided.
[0194] Optionally, if the distance between the first sub-interface and the second sub-interface is less than or equal to a preset threshold, a boundary box is displayed at the interface outline, or the first sub-interface and the second sub-interface are highlighted at the same time.
[0195] For example, see Figure 9a The terminal determines the video manipulation component 110 according to the first “pinch” gesture 550, and determines the video playback component 120 according to the second “pinch” gesture 540. The video manipulation component 110 and the video playback component 120 are moved closer to each other through the “pinch” gesture.
[0196] like Figure 9bAs shown, when the distance between the video manipulation component 110 and the video playback component 120 is less than or equal to a preset threshold, the first sub-interface and the second sub-interface are merged into the second interface for display. Optionally, although not shown in the figure, when the distance between the video manipulation component 110 and the video playback component 120 is less than or equal to a preset threshold, a boundary box can also be displayed at the outline of the first sub-interface and the second sub-interface to feedback information that the user interfaces will be merged.
[0197] 4. Combination and control of separated components among multiple applications;
[0198] See also Fig.10 , is a schematic diagram of a method for combining sub-interfaces of multiple applications in an embodiment of the present application;
[0199] 1001. The terminal displays sub-interfaces of multiple applications in a virtual environment;
[0200] The terminal can display interfaces of two or more applications, including a first sub-interface and a second sub-interface obtained by splitting a first interface of a first application, and a third sub-interface and a fourth sub-interface obtained by splitting a second interface of a second application.
[0201] For example, Fig.11a As shown,
[0202] The terminal displays a separated video player display interface and music playback interface, wherein the video player display interface is divided into a video control component 110 and a video playback component 120, and the music playback interface is divided into a music control component 210 and a music playback component 220. Specifically, the video playback component 120 contains information about the video playback content, and the music playback component 220 contains information about the music playback content. The video control component 110 includes play, pause, progress bar and brightness components, and the music control component 210 includes play, pause and progress bar components.
[0203] 1002. The terminal moves to the first sub-interface or the third sub-interface;
[0204] The terminal may move the first sub-interface and the third sub-interface according to a user operation. Optionally, the terminal moves the first sub-interface and the third sub-interface at the same time.
[0205] For example, see Fig.11bThe system detects and recognizes the first “pinch” gesture 550 to determine the video playback controller 110, and the video playback controller 110 moves with the movement of the first “pinch” gesture 550. At the same time, the second gesture 560 determines the music playback controller 210, and the music playback controller 210 moves with the movement of the second gesture 560. Optionally, a feedback mark is displayed at the outline of the video playback controller 110 and the music playback controller 210, which can be a feedback box or a highlight display component.
[0206] 1003. If the distance between the first sub-interface and the third sub-interface is less than or equal to the threshold, the terminal displays the first sub-interface and the third sub-interface in combination;
[0207] If the distance between the first sub-interface and the third sub-interface is less than or equal to a preset threshold, and the first sub-interface and the third sub-interface meet preset conditions, the first sub-interface and the third sub-interface are combined into a fifth sub-interface and displayed.
[0208] The preset conditions include: the first sub-interface and the third sub-interface contain components of the same type.
[0209] For example, Fig.11c As shown, the first sub-interface is the video playback controller 110, and the third sub-interface is the music playback controller 210. By moving the two sub-interfaces closer together, the two controllers are combined into a fifth sub-interface, namely, a multi-function controller 300. The combined display interface is as shown in FIG. Fig.11d shown.
[0210] The system recognizes that the user releases both hands and "pinch" at the same time, and combines and merges the two controllers. Determine the functions of the two controllers to be merged, retain one of the same functions, and merge the different functions for display. In this embodiment, the functions of the video playback controller and the music playback controller are consistent, including play, previous song, next song, progress bar and other functions, so after the combination is completed, one of the controllers can be retained as a multi-task control combination control. If the functions of the two controllers are inconsistent, such as a video player and a 3D modeling controller (rotation, zoom, rotation, etc.), all functional components in the two controllers are de-duplicated and merged to form a new combination control.
[0211] The terminal can control the combined fifth sub-interface according to the user's operation. Optionally, the terminal can also display the first sub-interface and the third sub-interface in combination according to the user's voice. For example, when the user makes a gesture of "pinching" the video playback controller and the music playback controller respectively and issues a voice command of "merge controllers", the video playback controller and the music playback controller can be displayed in combination.
[0212] 1004. The terminal displays an indication mark according to the user operation;
[0213] Step 340, after completing the control combination of 330,
[0214] Since the fifth sub-interface can be used to control the first application and the second application, in order to distinguish the controlled objects, after the terminal determines that the fifth sub-interface is selected according to the user operation, an indicator mark can be displayed, and the indicator mark is used to determine the interface currently associated with the fifth sub-interface. Optionally, the indicator mark is displayed on the edge of the fifth sub-interface. Optionally, the indicator mark is an arrow displayed above the fifth sub-interface, and the arrow is perpendicular to the upper boundary of the fifth sub-interface and points away from the fifth sub-interface.
[0215] Optionally, according to the user's "pinch" gesture on the fifth sub-interface, the fifth sub-interface is determined, and an indication mark is displayed;
[0216] For example, Fig.11e As shown, according to the "pinch" gesture of the multi-function controller 300, an indicator mark, namely, arrow 310, is displayed at the center of the upper boundary of the multi-function controller 300 along the vertical upper boundary and outward. The direction indicated by the arrow 310 is used to determine the interface currently controlled by the multi-function controller 300.
[0217] 1005. If the indication mark points to the second sub-interface, the terminal controls the first application according to the user's operation on the fifth sub-interface;
[0218] The terminal can move the fifth sub-interface according to the user operation, and the indicator of the fifth sub-interface moves with the fifth sub-interface. If the indicator points to the second sub-interface, the terminal determines that the control object of the fifth sub-interface is the first application corresponding to the second sub-interface.
[0219] For example, see Fig.11f , according to gesture 570, the multi-function controller 300 is moved. If the arrow 310 is aimed at the direction of the video playback component 120, specifically, the extended line of the arrow overlaps with the video playback component 120, then the multi-function controller 300 is used to control the application corresponding to the video playback component 120, that is, the video application. Figure 11g As shown, the video application is controlled by the control components in the multi-function controller 300 .
[0220] Optionally, the targeted video playback task interface displays recognition feedback, which includes a feedback box indicating the area where the second sub-interface is controlled; or, the recognition feedback is highlighting the second sub-interface, etc.
[0221] 1006. If the indicator points to the fourth sub-interface, the terminal controls the second application according to the user's operation on the fifth sub-interface;
[0222] Similarly, if the indication mark points to the fourth sub-interface, the terminal determines that the control object of the fifth sub-interface is the second application corresponding to the fourth sub-interface.
[0223] For example, Fig.11h As shown, the multi-function controller 300 is moved according to the gesture 570. If the arrow 310 is aimed at the direction of the music playing component 220, the multi-function controller 300 is used to control the application corresponding to the music playing component 220, that is, the music application. It can be understood that when there are more than two control components that can be combined, the selection instruction of the control components to be combined in the voice instruction can also be further identified, such as "combine the video and music controllers".
[0224] Optionally, the fifth sub-interface can also be controlled by voice control. The voice command needs to include specific control actions (such as play, pause, etc.) and the target application to be controlled (such as a video application). If the user issues a "play video" command, the steps of aiming and clicking in the virtual interface can be omitted. Since the main purpose of step 340 and step 350 is to select the target control component and select the control function, in addition to the voice method, the line of sight or brain wave detection method can also be used. If the user looks at the video playback interface first, and then looks at the play button of the control component, the video playback interface can be played.
[0225] The above describes the interface control method provided by the present application. The following describes the terminal that implements the interface control method. Fig.12 , is a schematic diagram of an embodiment of a terminal in an embodiment of the present application.
[0226] Fig.12 One or more of the modules in the system may be implemented by software, hardware, firmware or a combination thereof. The software or firmware includes but is not limited to computer program instructions or codes, and may be executed by a hardware processor. The hardware includes but is not limited to various integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC).
[0227] The terminal includes:
[0228] The method comprises: an acquisition unit 1201, configured to acquire a first operation on a first interface displayed in a virtual environment, wherein the first interface comprises at least two separable components;
[0229] Display unit 1202 is used to respond to the first operation and display a first sub-interface and a second sub-interface obtained by splitting the first interface in the virtual environment according to split position information, wherein the first sub-interface includes a first divisible component of the at least two divisible components, and the second sub-interface includes a second divisible component adjacent to the first divisible component, and the split position information includes a boundary between the first divisible component and the second divisible component.
[0230] Optionally, the first operation includes first voice information acquired by the terminal through a voice collection device, or a first gesture acquired by the terminal through a sensor system.
[0231] Optionally, the first gesture includes: with five fingers together and the palm in a flat state, moving a preset distance along a first direction in which the plane where the palm is located extends, and the direction in which the plane where the palm is located in the first direction extends is parallel to the boundary.
[0232] Optionally, the display unit 1202 is further configured to: display a partition line at a boundary between the first partitionable component and the second partitionable component.
[0233] Optionally, the display unit 1202 is specifically used for:
[0234] Display the first sub-interface at a first position, and display the second sub-interface at a second position;
[0235] The first position is the same as the first initial position, the second position is in a direction away from the first initial position and the distance between the second position and the second initial position is a first preset value, the first initial position is the position of the first sub-interface in the first interface when the terminal obtains the first instruction, and the second initial position is the position of the second sub-interface in the first interface when the terminal obtains the first instruction;
[0236] Alternatively, the second position is the same as the second initial position, and the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a second preset value;
[0237] Alternatively, the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a third preset value, and the second position is in a direction away from the first initial position and the distance between the second initial position and the second initial position is a fourth preset value.
[0238] Optionally, the terminal further includes:
[0239] The processing unit 1203 is configured to move the first sub-interface in response to a second operation on the first sub-interface.
[0240] Optionally, the second operation includes: a pinching gesture pointing to the first sub-interface, the pinching gesture including a hand state of a thumb approaching at least one of four fingers, and maintaining the pinching gesture and moving;
[0241] Alternatively, keep touching the first sub-interface and move;
[0242] Alternatively, the hand-spreading gesture is maintained and moved, wherein the hand-spreading gesture includes a hand state with five fingers together and the palm facing upward.
[0243] Optionally, the terminal further includes:
[0244] The processing unit 1203 is configured to move the first sub-interface;
[0245] The display unit 1202 is also used to, if the distance between the first sub-interface and the second sub-interface is less than a first threshold, cause the terminal to display a second interface in a virtual environment in which the first sub-interface and the second sub-interface are merged, and the layout of the displayed second interface is the same as or different from that of the first interface.
[0246] Optionally, the terminal further includes:
[0247] The display unit 1202 is further configured to display a third interface in the virtual environment, wherein the first interface is an interface of the first application, and the third interface is an interface of the second application;
[0248] The processing unit 1203 is further configured to move the first sub-interface and / or the third interface;
[0249] The display unit 1202 is further configured to display a fourth interface obtained by combining the first sub-interface and the third interface in the virtual environment if the distance between the first sub-interface and the third interface is less than a second threshold.
[0250] Optionally,
[0251] The display unit 1202 is further used to display a third sub-interface and a fourth sub-interface in the virtual environment, wherein the third sub-interface and the fourth sub-interface are obtained by dividing the third interface, the first interface is an interface of the first application, and the third interface is an interface of the second application;
[0252] The processing unit 1203 is further configured to move the first sub-interface and / or the third sub-interface;
[0253] The display unit 1202 is further configured to display a fifth sub-interface obtained by combining the first sub-interface and the third sub-interface in the virtual environment if the distance between the first sub-interface and the third sub-interface is less than a third threshold.
[0254] Optionally, the first sub-interface includes a first icon for controlling a first function of the first application; the third sub-interface includes a second icon for controlling a second function of the second application, wherein the first function is the same as the second function;
[0255] The fifth sub-interface includes a third icon, and the third icon is used to control the first function of the first application and the second function of the second application.
[0256] Optionally, the first sub-interface is the input interface of the first application, and the second sub-interface is the output interface of the first application; the third sub-interface is the input interface of the second application, and the fourth sub-interface is the output interface of the second application;
[0257] The display unit 1202 is further configured to display an indication mark at the edge of the fifth sub-interface, where the indication mark is used to determine the application currently controlled by the fifth sub-interface;
[0258] The terminal further includes:
[0259] A control unit 1204, configured to control the first application according to an input operation on the fifth sub-interface when the indication mark points to the second sub-interface;
[0260] The control unit 1204 is further configured to, when the indication mark points to the fourth sub-interface, cause the terminal to control the second application according to an input operation on the fifth sub-interface.
[0261] See also Fig.13 , is a schematic diagram of another embodiment of the terminal in the embodiments of the present application.
[0262] For ease of understanding, the structure of the terminal 100 provided in the embodiment of the present application is described below by way of example. Fig.13 , Fig.13 It is a schematic diagram of the structure of the terminal provided in the embodiment of the present application.
[0263] like Fig.13As shown, the terminal 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0264] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal 100. In other embodiments of the present application, the terminal 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0265] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0266] The controller may be the nerve center and command center of the terminal 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0267] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0268] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (IC) interface, an inter-integrated circuit sound (IS) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0269] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal 100. In other embodiments of the present application, the terminal 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0270] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
[0271] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
[0272] The wireless communication function of the terminal 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0273] In some feasible implementations, the terminal 100 can use the wireless communication function to communicate with other devices. For example, the terminal 100 can communicate with the second electronic device 200, the terminal 100 establishes a screen projection connection with the second electronic device 200, and the terminal 100 outputs the projection data to the second electronic device 200. The projection data output by the terminal 100 may be audio and video data.
[0274] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0275] The mobile communication module 150 can provide solutions for wireless communications including 1G / 3G / 4G / 5G applied to the terminal 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 2. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0276] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0277] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 1, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through antenna 2.
[0278] In some embodiments, the antenna 1 of the terminal 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0279] The terminal 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0280] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0281] In some feasible implementations, the display screen 194 may be used to display various interfaces output by the system of the terminal 100. For various interfaces output by the terminal 100, reference may be made to the relevant descriptions of the subsequent embodiments.
[0282] The terminal 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
[0283] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0284] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0285] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals.
[0286] Video codecs are used to compress or decompress digital videos. Terminal 100 may support one or more video codecs. Thus, terminal 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG1, MPEG3, MPEG4, etc.
[0287] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the terminal 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0288] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0289] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the terminal 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0290] The terminal 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor, etc. For example, music playing, recording, etc. In some feasible implementations, the audio module 170 can be used to play the sound corresponding to the video. For example, when the display screen 194 displays the video playing screen, the audio module 170 outputs the sound of the video playing.
[0291] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals.
[0292] The speaker 170A, also called a "horn", is used to convert audio electrical signals into sound signals.
[0293] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.
[0294] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0295] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0296] The pressure sensor 180A is used to sense pressure signals and can convert pressure signals into electrical signals. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. The gyroscope sensor 180B can be used to determine the motion posture of the terminal 100. The air pressure sensor 180C is used to measure air pressure.
[0297] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal 100 in all directions (including three axes or six axes). When the terminal 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the terminal posture and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0298] The distance sensor 180F is used to measure the distance.
[0299] The ambient light sensor 180L is used to sense the brightness of ambient light.
[0300] The fingerprint sensor 180H is used to collect fingerprints.
[0301] The temperature sensor 180J is used to detect the temperature.
[0302] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be arranged on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be arranged on the surface of the terminal 100, which is different from the position of the display screen 194.
[0303] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal 100 may receive key input and generate key signal input related to user settings and function control of the terminal 100.
[0304] Motor 191 can generate vibration prompts.
[0305] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0306] The SIM card interface 195 is used to connect a SIM card.
[0307] See also Fig.14 , is a schematic diagram of an HMD device according to an embodiment of the present application;
[0308] The present application is based on an HMD device such as Fig.14 As shown, the HMD device includes:
[0309] Processor 1401 is used to generate corresponding operation control signals, send them to corresponding components in the device, read and process data in the software, especially read and process data and programs in the memory, so that each functional module in the device performs corresponding functions, thereby controlling the corresponding components to act according to the requirements of the instructions. For example, it is used for various media processing algorithms, including human-computer interaction, motion tracking / prediction, rendering display, audio processing, etc.
[0310] Sensor system 1402: used to collect, obtain or send information, including image information and distance information, such as the information of the user's gesture in this application. The sensor system of this application may include a 3-axis or 6-axis sensor to obtain the motion information of the HMD device, such as angular velocity and linear acceleration; at the same time, the hand movement is located, tracked and identified, and the identified hand movement is presented on the display screen of the VR device; the sensor system also obtains the static and dynamic features of the hand. Static feature information, such as fingertip fixed point, palm center of mass, hand joint, etc. Such features are generally obtained using single-frame data. Dynamic feature information, such as displacement vector, motion speed, etc. Such feature information is usually obtained through multi-pin data. Since it is a mature prior art, it is not discussed in detail in this application document. Compared with the prior art, the sensor system of this application contains a depth sensor; there are two ways to contain a depth sensor, one is to include a dedicated sensor hardware for detecting depth, and the other is to include a functional software module for detecting depth in the sensor system to obtain the depth information of the hand and integrate it into the interaction between the user and the interface. As a sensor system, some specific program instructions can also be stored therein. The memory 1405 is used to store programs and various data, mainly storing software units such as operating systems, applications and functional instructions, or their subsets, or their extensions. It can also include non-volatile random access memory to provide the processor 1401 with hardware, software and data resources including management computing and processing equipment, and support control software and applications. It is also used for the storage of multimedia files, and the storage of running programs and applications.
[0311] Display element 1403: usually includes a display screen and supporting optical devices, used for content display; usually the display interface is presented on the display screen for human-computer interaction and file browsing.
[0312] Acoustic element 1404: such as microphone, speaker, earphone, etc., used to output sound.
[0313] Physical hardware 1406: physical function keys such as a power button, a volume button, and a mechanical control button.
[0314] The device may also include some other components 1407 in addition to the above components 1401-1405, so as to make the functions and appearance of the device more abundant and beautiful.
[0315] The above hardware 1401 - 1407 can be electrically connected via a bus 1408 to achieve coupled communication.
[0316] See also Fig.15 , which is a software structure block diagram of the terminal of an embodiment of the present application.
[0317] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
[0318] The application layer can include a series of application packages.
[0319] like Fig.15 As shown, the application package may include applications such as phone, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, VR glasses application, etc. Among them, the VR glasses application includes a 3D background drawing module, a gesture information management module, an application icon loading module, a virtual screen management module, and a virtual screen content acquisition module.
[0320] Among them, the 3D background drawing module is used to complete the drawing of the background picture displayed in the 3D virtual environment, so that the user can get the feeling as if he is in a real scene.
[0321] The gesture information management module is used to obtain the user's gesture information so that the user can control the controls in the display interface of the virtual environment through gestures.
[0322] The application icon loading module is used to load and display icons of several applications on the terminal (such as WeChat, Weibo, Douyin, etc.) in the virtual environment of VR glasses.
[0323] The virtual screen management module is used to create a virtual screen when the user clicks the application icon to start the application, and to destroy the virtual screen when the user closes the application.
[0324] The virtual screen content acquisition module is used to acquire the content in the application when the user clicks to start the application, and render the content in the application through distortion to display it in the virtual environment.
[0325] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0326] like Fig.15 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0327] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0328] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0329] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0330] The phone manager is used to provide the communication functions of the terminal, such as the management of call status (including answering, hanging up, etc.).
[0331] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0332] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal vibrates, the indicator light flashes, etc.
[0333] In an embodiment of the present application, the activity manager service (Activity Manager Service, AMS), the window management service (Window Manager Service, WMS) and the download management service (Download Manager Service, DMS) in the application framework layer may also include an application keep-alive module, an event injection module, and a virtual screen management module.
[0334] Among them, the application keep-alive module is used to control the terminal to enter the VR multi-screen display mode after the application with the multi-screen display mode function is started. In this mode, the terminal can run multiple applications at the same time and support each application to be active at the same time.
[0335] The event injection module is used to obtain the events corresponding to the user's operations in the multi-screen display mode, and distribute the events to the virtual screen corresponding to the application.
[0336] The virtual screen management module is used to provide the terminal with the ability to create and destroy virtual screens.
[0337] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0338] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0339] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0340] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0341] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0342] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0343] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0344] A 2D graphics engine is a drawing engine for 2D drawings.
[0345] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0346] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0347] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0348] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0349] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0350] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0351] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An interface control method, It is characterized in that include: The terminal obtains a first operation on a first interface displayed in a virtual environment, where the first interface includes at least two separable components; In response to the first operation, the terminal displays, in the virtual environment, a first sub-interface and a second sub-interface obtained by dividing the first interface according to the division position information, wherein the first sub-interface includes a first divisible component of the at least two divisible components, and the second sub-interface includes a second divisible component adjacent to the first divisible component, and the division position information includes a boundary between the first divisible component and the second divisible component, wherein the boundary between the first divisible component and the second divisible component displays a division line; The first operation includes first voice information acquired by the terminal through a voice collection device, or a first gesture acquired by the terminal through a sensor system; When the first operation includes the first gesture, the terminal highlights the dividing line upon recognizing that the direction of movement of the first gesture is parallel to the dividing line and the moving distance of the first gesture is less than a preset threshold, and indicates the current cutting progress by changing the color of the dividing line as the moving distance of the first gesture changes; In response to a second operation on the first sub-interface, the terminal moves the first sub-interface.
2. The method according to claim 1, It is characterized in that The first gesture includes: with five fingers together and the palm in a flat state, moving a preset distance along a first direction extending from the plane where the palm is located, and the direction where the plane where the palm is located in the first direction extending is parallel to the boundary.
3. The method according to claim 1, It is characterized in that In response to the first operation, the terminal displays, in the virtual environment, according to the split position information, the first sub-interface and the second sub-interface obtained by splitting the first interface, specifically comprising: The terminal displays the first sub-interface at a first position and displays the second sub-interface at a second position; The first position is the same as the first initial position, the second position is in a direction away from the first initial position and the distance between the second position and the second initial position is a first preset value, the first initial position is the position of the first sub-interface in the first interface when the terminal obtains the first instruction, and the second initial position is the position of the second sub-interface in the first interface when the terminal obtains the first instruction; Alternatively, the second position is the same as the second initial position, and the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a second preset value; Alternatively, the first position is in a direction away from the second initial position and the distance between the first position and the first initial position is a third preset value, and the second position is in a direction away from the first initial position and the distance between the second initial position and the second initial position is a fourth preset value.
4. The method according to claim 1, It is characterized in that The second operation includes: a pinching gesture directed to the first sub-interface, the pinching gesture including a hand state where the thumb is brought closer to at least one of four fingers, and maintaining the pinching gesture and moving; Alternatively, keep touching the first sub-interface and move; Alternatively, the hand-spreading gesture is maintained and moved, wherein the hand-spreading gesture includes a hand state with five fingers together and the palm facing upward.
5. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: The terminal moves the first sub-interface; If the distance between the first sub-interface and the second sub-interface is less than a first threshold, the terminal displays a second interface in the virtual environment that is a combination of the first sub-interface and the second sub-interface, where the layout of the second interface is the same as or different from that of the first interface.
6. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: The terminal displays a third interface in the virtual environment, where the first interface is an interface of a first application, and the third interface is an interface of a second application; The terminal moves the first sub-interface and / or the third interface; If the distance between the first sub-interface and the third interface is less than a second threshold, the terminal displays a fourth interface obtained by combining the first sub-interface and the third interface in the virtual environment.
7. The method according to any one of claims 1 to 4, It is characterized in that The method further comprises: The terminal displays a third sub-interface and a fourth sub-interface in the virtual environment, wherein the third sub-interface and the fourth sub-interface are obtained by dividing the third interface, the first interface is an interface of the first application, and the third interface is an interface of the second application; The terminal moves the first sub-interface and / or the third sub-interface; If the distance between the first sub-interface and the third sub-interface is less than a third threshold, the terminal displays a fifth sub-interface obtained by combining the first sub-interface and the third sub-interface in the virtual environment.
8. The method according to claim 7, It is characterized in that The first sub-interface includes a first icon for controlling a first function of the first application; the third sub-interface includes a second icon for controlling a second function of the second application, wherein the first function is the same as the second function; The fifth sub-interface includes a third icon, and the third icon is used to control the first function of the first application and the second function of the second application.
9. The method according to claim 7, It is characterized in that The first sub-interface is an input interface of the first application, the second sub-interface is an output interface of the first application; the third sub-interface is an input interface of the second application, and the fourth sub-interface is an output interface of the second application, and the method further includes: The terminal displays an indication mark at the edge of the fifth sub-interface, where the indication mark is used to determine the application currently controlled by the fifth sub-interface; When the indication mark points to the second sub-interface, the terminal controls the first application according to the input operation on the fifth sub-interface; When the indication mark points to the fourth sub-interface, the terminal controls the second application according to the input operation on the fifth sub-interface.
10. A terminal, It is characterized in that include: One or more processors and memory; wherein, The memory stores computer-readable instructions; The one or more processors read the computer-readable instructions to cause the terminal to implement the method according to any one of claims 1 to 9.
11. The terminal according to claim 10, It is characterized in that The terminal includes a virtual reality device, an augmented reality device or a mixed reality device.
12. The terminal according to claim 10, It is characterized in that The terminal includes a head-mounted display device.
13. A computer program product, It is characterized in that The method comprises computer-readable instructions, and when the computer-readable instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 9.
14. A computer-readable storage medium, It is characterized in that The method comprises computer-readable instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 9.
