[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115904069A - Input mode determination method, head-mounted display device, and computer-readable medium - Google Patents

Input mode determination method, head-mounted display device, and computer-readable medium Download PDF

Info

Publication number
CN115904069A
CN115904069A CN202211396733.2A CN202211396733A CN115904069A CN 115904069 A CN115904069 A CN 115904069A CN 202211396733 A CN202211396733 A CN 202211396733A CN 115904069 A CN115904069 A CN 115904069A
Authority
CN
China
Prior art keywords
application
input mode
input
head
mounted display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211396733.2A
Other languages
Chinese (zh)
Inventor
杨佐勇
石文峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Companion Technology Co ltd
Original Assignee
Hangzhou Companion Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Companion Technology Co ltd filed Critical Hangzhou Companion Technology Co ltd
Priority to CN202211396733.2A priority Critical patent/CN115904069A/en
Publication of CN115904069A publication Critical patent/CN115904069A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present disclosure disclose an input mode determination method, a head-mounted display device, and a computer-readable medium. One embodiment of the method comprises: acquiring application attribute information of a target application; determining an application scene type of the target application according to the application attribute information, wherein the application scene type corresponds to an input mode; and determining an input mode corresponding to the application scene type as an input mode of an input device in communication connection with the head-mounted display device. The implementation mode can automatically switch the input mode of the input equipment in communication connection with the head-mounted display equipment, simplifies the operation steps and improves the convenience of operation.

Description

Input mode determination method, head-mounted display device, and computer-readable medium
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to an input mode determination method, a head-mounted display device, and a computer-readable medium.
Background
Head-mounted display devices, such as AR (Augmented Reality) glasses or MR (Mixed Reality), provide a way for users to view virtual scenes in real scenes. Meanwhile, the head-mounted display device can be in communication connection with the input device. At present, when the input device is in communication connection with the head-mounted display device, the interaction mode generally adopted is as follows: and the user manually switches the input mode on the input equipment according to the application scene.
However, when the above-mentioned manner is adopted for interaction, the following technical problems often exist: the user needs to learn the function difference between different modes, and when switching application scenes each time, the user needs to confirm whether the current input mode needs to be changed, and when the user switches the input mode on the input device, the user needs to pay attention to the virtual display screen in the head-mounted display device and the screen of the input device at the same time, so that the operation steps are complicated, and the operation convenience is poor.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose an input mode determination method, a head-mounted display device, and a computer-readable medium to solve one or more of the technical problems mentioned in the above background section.
In a first aspect, some embodiments of the present disclosure provide an input mode determining method applied to a head-mounted display device, the method including: acquiring application attribute information of a target application; determining an application scene type of the target application according to the application attribute information, wherein the application scene type corresponds to an input mode; and determining the input mode corresponding to the application scene type as the input mode of the input device in communication connection with the head-mounted display device.
Optionally, the determining the application scene type of the target application according to the application attribute information includes: determining whether the application attribute information meets any preset three-dimensional condition in a preset three-dimensional condition set corresponding to a three-dimensional application scene; and in response to determining that the application attribute information meets the any preset three-dimensional condition, determining the three-dimensional application scene as the application scene type of the target application.
Optionally, in response to determining that the application attribute information does not satisfy each preset three-dimensional condition in the preset three-dimensional condition set, determining a two-dimensional application scene as an application scene type of the target application.
Optionally, the determining the input mode corresponding to the application scene type as the input mode of the input device communicatively connected to the head-mounted display device includes: acquiring a current input mode of an input device in communication connection with the head-mounted display device; determining whether the current input mode is the same as the input mode corresponding to the application scene type; and in response to determining that the current input mode is different from the input mode corresponding to the application scene type, switching the current input mode to the input mode corresponding to the application scene type.
Optionally, the input mode of the three-dimensional application scene is a ray input mode; and the method further comprises: and in response to detecting that the input operation information acting on the input device is recorded and the input mode of the input device is the ray input mode, displaying a three-dimensional ray in the display screen of the head-mounted display device.
Optionally, the input mode corresponding to the two-dimensional application scenario is a pointer input mode; and the above method further comprises: in response to detecting that the input operation information record acted on the input device is input by the pointer, determining the position corresponding to the input operation information record in the display screen of the head-mounted display device as an operation position; and displaying a pointer icon at the operation position.
Optionally, the obtaining of the application attribute information of the target application includes: in response to the detection of the application starting information, determining the application corresponding to the application starting information as a target application; and acquiring the application attribute information of the target application.
In a second aspect, some embodiments of the present disclosure provide a head-mounted display device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a third aspect, some embodiments of the disclosure provide a computer-readable medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method described in any implementation manner of the first aspect.
The above embodiments of the present disclosure have the following advantages: by the input mode determining method of some embodiments of the disclosure, operation steps are simplified, and convenience of operation is improved. Particularly, cause the operating procedure comparatively loaded down with trivial details, the relatively poor reason of the convenience of operation lies in: the user needs to learn the function difference between different modes, and when switching application scenes each time, the user needs to confirm whether the current input mode needs to be changed, and when the user switches the input mode on the input device, the user needs to pay attention to the virtual display screen in the head-mounted display device and the screen of the input device at the same time, so that the operation steps are complicated, and the operation convenience is poor. Based on this, the input mode determination method of some embodiments of the present disclosure first obtains application attribute information of a target application. Therefore, the attribute information of the application operated by the user can be obtained, and the attribute information can be used for judging the current application scene type. And secondly, determining the application scene type of the target application according to the application attribute information. The application scene type corresponds to an input mode. Therefore, the current application scene type can be obtained, and the input mode corresponding to the current application scene type can be obtained. And finally, determining the input mode corresponding to the application scene type as the input mode of the input device in communication connection with the head-mounted display device. Therefore, the input mode of the input device in the current scene can be automatically determined, so that the user does not need to manually confirm the input mode. And the input mode of the input equipment in the current scene can be automatically determined, and the user does not need to manually confirm the input mode, so that the operation steps are simplified, and the convenience of operation is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is an architectural diagram of an exemplary system in which some embodiments of the present disclosure may be applied;
FIG. 2 is a flow diagram of some embodiments of an input mode determination method according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of an input mode determination method according to some embodiments of the present disclosure;
FIG. 4 is a schematic illustration of another application scenario of an input mode determination method according to some embodiments of the present disclosure;
FIG. 5 is a flow diagram of further embodiments of an input mode determination method according to the present disclosure;
FIG. 6 is a hardware architecture diagram of a head mounted display device suitable for use to implement some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 that may be applied to embodiments of the input mode determination method of the present disclosure.
As shown in fig. 1, an exemplary system architecture 100 may include a head mounted display device 11 and an input device 12.
The head mounted display device 11 may include one or two display screens 111. The display screen is used for displaying a virtual interface. In addition, head mounted display device 11 also includes a frame 112. In some embodiments, the processing unit, memory, and battery of head mounted display device 11 may be placed inside frame 112. In some alternative implementations of some implementations, one or more of the processing unit, memory, and battery components may also be integrated into another separate accessory (not shown) that is connected to the frame 112 via a data cable.
Input device 12 may include a touch screen 121, and in some embodiments, head mounted display device 11 and input device 12 may communicate via a wireless connection. In some optional implementations of some embodiments, the head mounted display device 11 and the input device 12 may also be connected by a data line (not shown).
It should be understood that the number of head mounted display devices and input devices in FIG. 1 is merely illustrative. There may be any suitable number of head mounted display devices and input devices, as desired for implementation.
With continued reference to fig. 2, a flow 200 of some embodiments of an input mode determination method according to the present disclosure is shown. The input mode determining method is applied to head-mounted display equipment and comprises the following steps:
step 201, obtaining application attribute information of a target application.
In some embodiments, an execution subject of the input mode determination method (e.g., the head-mounted display device 11 shown in fig. 1) may acquire application attribute information of the target application. The target application may be an application that a user is operating. The application attribute information may characterize attributes of the target application. The application attribute information may include, but is not limited to, at least one of the following: application type, initiator type, and tag information. The application type may represent whether the target application is an application that is associated with the head-mounted display device. The above application type may be, but is not limited to, one of the following: matched application and non-matched application. The companion application may characterize the target application as an application that is companion to the head-mounted display device. The non-companion application may characterize the target application as an application that is not companion to the head-mounted display device. The initiator type may be an application type of an application that initiates the target application. The tag information may be an application tag in a software development kit corresponding to the target application. The application tag may be, but is not limited to, one of the following: two-dimensional labels and three-dimensional labels. In practice, first, the execution main body may determine, in response to detecting the task stack update information, an application corresponding to a first task in a task queue included in the updated task stack as a target application. The task stack update information may be information for updating a task stack. For example, the task stack update information may be "the task stack is updated" or "the task queue in the task stack is changed". And then, the application attribute information of the target application can be acquired from the server side in a wired connection mode or a wireless connection mode. It is noted that the wireless connection means may include, but is not limited to, a 3G/4G connection, a WiFi connection, a bluetooth connection, a WiMAX connection, a Zigbee connection, a UWB (ultra wideband) connection, and other wireless connection means now known or developed in the future.
In some optional implementations of some embodiments, the execution subject may obtain the application attribute information of the target application by:
the method comprises the first step of determining an application corresponding to application starting information as a target application in response to the detection of the application starting information. The application start information may be information for starting an application. The application start information may be a combination of a preset character string and an application identifier. The above combination may be character concatenation. The preset character string may be a preset character string. For example, the predetermined character string may be "activated" or "activated". The application identifier may uniquely identify the application. The application start information may be preset information. For example, the application start information may be "start application".
And secondly, acquiring the application attribute information of the target application. In practice, the execution main body may obtain the application attribute information of the target application from the server in a wired connection manner or a wireless connection manner.
Thus, the attribute information of the application being operated by the user can be acquired at the time of application startup.
Step 202, determining the application scene type of the target application according to the application attribute information.
In some embodiments, the execution subject may determine the application scene type of the target application according to the application attribute information. The application scene type corresponds to an input mode. The correspondence between the application scene type and the input mode may be one-to-one. The input mode may be a mode of an input device displaying a user operation position. The application scene type may characterize a scene of an application. The application scene type may be, but is not limited to, one of the following: two-dimensional application scenarios, three-dimensional application scenarios. The two-dimensional application scene can represent that the application scene is a two-dimensional scene. The three-dimensional application scene can represent that the applied scene is a three-dimensional scene. In practice, the execution subject may determine the three-dimensional application scene as the application scene type of the target application in response to determining that the application attribute information indicates that the target application is an application supporting the head-mounted display device.
In some optional implementation manners of some embodiments, the execution main body may further determine, according to the application attribute information, an application scene type of the target application by:
the method comprises the steps of firstly, determining whether the application attribute information meets any preset three-dimensional condition in a preset three-dimensional condition set corresponding to a three-dimensional application scene. Wherein, the preset three-dimensional condition set may include, but is not limited to, at least one preset three-dimensional condition of: the application attribute information indicates that the target application is an application that is configured with the head-mounted display device, the application attribute information indicates that the target application is started by an application that is configured with the head-mounted display device, and the application attribute information includes a three-dimensional tag.
And secondly, in response to the fact that the application attribute information meets the any preset three-dimensional condition, determining the three-dimensional application scene as the application scene type of the target application.
Therefore, whether the application scene type corresponding to the application currently operated by the user is a three-dimensional application scene or not can be determined, and the method can be used for determining the input mode of the input device.
Optionally, the execution main body may further determine, in response to determining that the application attribute information does not satisfy each preset three-dimensional condition in the preset three-dimensional condition set, a two-dimensional application scene as the application scene type of the target application. Therefore, when the application scene type corresponding to the application currently operated by the user is not the three-dimensional application scene, the application scene type corresponding to the application currently operated by the user can be determined to be the two-dimensional application scene, and the method can be used for determining the input mode of the input device.
And step 203, determining an input mode corresponding to the application scene type as an input mode of an input device in communication connection with the head-mounted display device.
In some embodiments, the execution subject may determine an input mode corresponding to the application scene type as an input mode of an input device communicatively connected to the head-mounted display device. The input device may be a touch screen or a mobile terminal. For example, the mobile terminal may be a mobile phone, a tablet computer, or the like. In practice, first, the execution main body may acquire a current input mode of an input device communicatively connected to the head-mounted display device from the head-mounted display device. And secondly, determining whether the current input mode is the same as the input mode corresponding to the application scene type. Then, in response to determining that the current input mode is the same as the input mode corresponding to the application scene type, determining that the current input mode is the input mode of the input device in communication connection with the head-mounted display device.
Alternatively, the input mode corresponding to the three-dimensional application scenario may be a ray input mode. The ray input mode may be an input mode in which a position operated by a user is displayed by a three-dimensional ray. The three-dimensional ray may be a ray having a preset position as a starting point and a position of an operation displayed on the virtual space interface of the head-mounted display device as an ending point. The execution body may further display a three-dimensional ray in a display screen of the head-mounted display device in response to detecting that an input operation information record acting on the input device and an input mode of the input device is the ray input mode. The input operation information record may be a record for recording input operation information. The input operation information may characterize an input operation applied to the input device. The input operation may include, but is not limited to, at least one of the following: click, slide, and drag. The input operation information may include, but is not limited to, input operation position coordinates. The first input operation position coordinates may be position coordinates of an input operation performed by a user on the input device on a screen of the input device. The coordinate system corresponding to the input operation position coordinate may be a coordinate system with the upper left corner of the input device as an origin and the display screen of the input device as a plane. The end position of the displayed three-dimensional ray is obtained by performing coordinate conversion on the input operation position coordinate. The coordinate conversion may be from two-dimensional coordinates to three-dimensional coordinates. Thus, the position where the user is operating can be displayed in the display screen of the head-mounted display device by three-dimensional rays.
As an example, as shown in fig. 3, when the user clicks an operation of the interface 122 displayed in the touch screen 121, a three-dimensional ray may be displayed at a target operation position in the virtual space interface 112 of the head-mounted display device 11. The target operation position may be a position corresponding to a click operation of the user on the touch screen 121.
Alternatively, the input mode corresponding to the above-described two-dimensional application scenario may be a pointer input mode. The pointer input mode may be an input mode in which a position operated by a user is displayed by a pointer-like icon. The pointer type icon may be an icon with an indication. For example, the pointer-like icon may be an arrow-shaped pointer icon or a finger-shaped pointer icon. The execution main body may further perform the following steps:
the method comprises the steps of responding to the detection of an input operation information record acting on the input equipment, wherein the input mode of the input equipment is the pointer input mode, and determining the position corresponding to the input operation information record in the display screen of the head-mounted display equipment as an operation position. The position recorded corresponding to the input operation information may be obtained by performing coordinate conversion on the input operation position coordinates. The coordinate conversion may be from two-dimensional coordinates to three-dimensional coordinates.
And secondly, displaying a pointer icon at the operation position.
As an example, as shown in fig. 4, when an operation of the user clicking on the application 123 in the touch screen 121 included in the input device 12 is detected, a pointer icon may be displayed at a target position in the virtual space interface 112 of the head-mounted display device 11 described above. The target position may be a position corresponding to a click operation of the user on the touch screen 121.
It should be understood that the number of head mounted display devices and input devices in FIG. 4 is merely illustrative. There may be any number of head mounted display devices and target devices, as desired for an implementation.
Thus, when an input operation by the user at the input device is detected, the position where the user is operating can be displayed in the display screen of the head-mounted display device by the pointer-type icon.
The above embodiments of the present disclosure have the following advantages: by the input mode determining method of some embodiments of the disclosure, operation steps are simplified, and convenience of operation is improved. Particularly, cause the operating procedure comparatively loaded down with trivial details, the relatively poor reason of the convenience of operation lies in: the user needs to learn the function difference between different modes, and when switching application scenes each time, the user needs to confirm whether the current input mode needs to be changed, and when the user switches the input mode on the input device, the user needs to pay attention to the virtual display screen in the head-mounted display device and the screen of the input device at the same time, so that the operation steps are complicated, and the operation convenience is poor. Based on this, the input mode determination method of some embodiments of the present disclosure first obtains application attribute information of a target application. Therefore, the attribute information of the application operated by the user can be obtained, and the attribute information can be used for judging the current application scene type. And secondly, determining the application scene type of the target application according to the application attribute information. The application scene type corresponds to an input mode. Therefore, the current application scene type can be obtained, and the input mode corresponding to the current application scene type can be obtained. And finally, determining the input mode corresponding to the application scene type as the input mode of the input device in communication connection with the head-mounted display device. Therefore, the input mode of the input device in the current scene can be automatically determined, so that the user does not need to manually confirm the input mode. And the input mode of the input equipment in the current scene can be automatically determined, and the user does not need to manually confirm the input mode, so that the operation steps are simplified, and the convenience of operation is improved.
With further reference to fig. 5, a flow 500 of further embodiments of an input mode determination method is illustrated. The input mode determining method is applied to head-mounted display equipment and comprises the following steps:
step 501, obtaining application attribute information of a target application.
Step 502, determining the application scene type of the target application according to the application attribute information.
In some embodiments, specific implementation of steps 501 to 502 and technical effects brought by the implementation may refer to steps 201 to 202 in those embodiments corresponding to fig. 4, and are not described herein again.
Step 503, acquiring a current input mode of an input device in communication connection with the head-mounted display device.
In some embodiments, the execution subject (e.g., the head-mounted display device 11 in fig. 1) may obtain a current input mode of an input device communicatively connected to the head-mounted display device. The current input mode may be a current input mode. In practice, the execution main body may acquire a current input mode of an input device communicatively connected to the head-mounted display device from the head-mounted display device through a wired connection or a wireless connection.
Step 504, determining whether the current input mode is the same as the input mode corresponding to the application scene type.
In some embodiments, the execution subject may determine whether the current input mode is the same as an input mode corresponding to the application scene type.
And 505, in response to determining that the current input mode is different from the input mode corresponding to the application scene type, switching the current input mode to the input mode corresponding to the application scene type.
In some embodiments, the execution main body may switch the current input mode to an input mode corresponding to the application scene type in response to determining that the current input mode is different from the input mode corresponding to the application scene type.
For example, when the current input mode is a pointer input mode and the input mode corresponding to the application scene type is a ray input mode, the execution subject may switch the current input mode from the pointer input mode to the ray input mode.
As can be seen from fig. 5, compared with the description of some embodiments corresponding to fig. 2, the flow 500 of the input mode determination method in some embodiments corresponding to fig. 5 embodies the step of switching the current input mode. Therefore, when the current input mode of the input equipment is inconsistent with the application scene type corresponding to the application operated by the user, the input mode of the input equipment can be automatically switched, so that the user does not need to manually switch the input equipment, and the convenience of operation is further improved.
Referring now to FIG. 6, a hardware architecture diagram of a head mounted display device 600 (e.g., head mounted display device 11 of FIG. 1) suitable for use to implement some embodiments of the present disclosure is shown. The head mounted display device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the head-mounted display apparatus 600 may include a processing device 601 (e.g., a central processing unit, a graphics processor, etc.), a memory 602, an input unit 603, and an output unit 604. Wherein the processing means 601, the memory 602, the input unit 603 and the output unit 604 are connected to each other via a bus 605. Here, the method according to an embodiment of the present disclosure may be implemented as a computer program and stored in the memory 602. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. The processing means 601 in the head-mounted display device embodies the input mode determination method of the present disclosure by calling the above-described computer program stored in the memory 602. In some implementations, the output unit 604 can include a display screen.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the head-mounted display apparatus; or may exist separately and not be incorporated into the head-mounted display device. The computer readable medium carries one or more programs which, when executed by the head mounted display device, cause the head mounted display device to: acquiring application attribute information of a target application; determining an application scene type of the target application according to the application attribute information, wherein the application scene type corresponds to an input mode; and determining the input mode corresponding to the application scene type as the input mode of the input device in communication connection with the head-mounted display device.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (9)

1. An input mode determination method applied to a head-mounted display device includes:
acquiring application attribute information of a target application;
determining an application scene type of the target application according to the application attribute information, wherein the application scene type corresponds to an input mode;
and determining an input mode corresponding to the application scene type as an input mode of an input device in communication connection with the head-mounted display device.
2. The method of claim 1, wherein the determining an application scene type of the target application according to the application attribute information comprises:
determining whether the application attribute information meets any preset three-dimensional condition in a preset three-dimensional condition set corresponding to a three-dimensional application scene;
and in response to determining that the application attribute information meets the any preset three-dimensional condition, determining the three-dimensional application scene as the application scene type of the target application.
3. The method of claim 2, wherein the method further comprises:
and in response to determining that the application attribute information does not satisfy each preset three-dimensional condition in the preset three-dimensional condition set, determining a two-dimensional application scene as the application scene type of the target application.
4. The method of claim 1, wherein the determining the input mode corresponding to the application scene type as the input mode of the input device communicatively connected to the head-mounted display device comprises:
acquiring a current input mode of an input device in communication connection with the head-mounted display device;
determining whether the current input mode is the same as the input mode corresponding to the application scene type;
in response to determining that the current input mode is different from the input mode corresponding to the application scene type, switching the current input mode to the input mode corresponding to the application scene type.
5. The method of claim 2, wherein the input mode corresponding to the three-dimensional application scenario is a ray input mode; and
the method further comprises the following steps:
in response to detecting that the input operation information acting on the input device is recorded and the input mode of the input device is the ray input mode, displaying a three-dimensional ray in a display screen of the head-mounted display device.
6. The method of claim 3, wherein the input mode corresponding to the two-dimensional application scenario is a pointer input mode; and
the method further comprises the following steps:
in response to detecting an input operation information record acting on the input device, and the input mode of the input device is the pointer input mode, determining a position in a display screen of the head-mounted display device corresponding to the input operation information record as an operation position;
and displaying a pointer icon at the operation position.
7. The method of claim 1, wherein the obtaining application attribute information of the target application comprises:
in response to the detection of the application starting information, determining an application corresponding to the application starting information as a target application;
and acquiring the application attribute information of the target application.
8. A head-mounted display device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
9. A computer-readable medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202211396733.2A 2022-11-09 2022-11-09 Input mode determination method, head-mounted display device, and computer-readable medium Pending CN115904069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211396733.2A CN115904069A (en) 2022-11-09 2022-11-09 Input mode determination method, head-mounted display device, and computer-readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211396733.2A CN115904069A (en) 2022-11-09 2022-11-09 Input mode determination method, head-mounted display device, and computer-readable medium

Publications (1)

Publication Number Publication Date
CN115904069A true CN115904069A (en) 2023-04-04

Family

ID=86490679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211396733.2A Pending CN115904069A (en) 2022-11-09 2022-11-09 Input mode determination method, head-mounted display device, and computer-readable medium

Country Status (1)

Country Link
CN (1) CN115904069A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118151809A (en) * 2024-05-13 2024-06-07 杭州灵伴科技有限公司 Three-dimensional operation pointer configuration method, head-mounted display device, and readable medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118151809A (en) * 2024-05-13 2024-06-07 杭州灵伴科技有限公司 Three-dimensional operation pointer configuration method, head-mounted display device, and readable medium

Similar Documents

Publication Publication Date Title
WO2020207085A1 (en) Method and device for information sharing, electronic device, and storage medium
US20220094758A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN110209315B (en) Method and device for displaying characters in user interface, electronic equipment and storage medium
WO2021135626A1 (en) Method and apparatus for selecting menu items, readable medium and electronic device
CN109408481B (en) Log collection rule updating method and device, electronic equipment and readable medium
CN111291244B (en) House source information display method, device, terminal and storage medium
CN111784712B (en) Image processing method, device, equipment and computer readable medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN111427647A (en) Application page display method, device, storage medium and electronic device
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
CN110619100A (en) Method and apparatus for acquiring data
CN113315924A (en) Image special effect processing method and device
CN112150490A (en) Image detection method, image detection device, electronic equipment and computer readable medium
CN112307375A (en) Page display method and device, electronic equipment and computer readable medium
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN115600629B (en) Vehicle information two-dimensional code generation method, electronic device and computer readable medium
CN111309416B (en) Information display method, device and equipment of application interface and readable medium
CN110069186B (en) Method and device for displaying operation interface of application
CN115904069A (en) Input mode determination method, head-mounted display device, and computer-readable medium
CN112464039B (en) Tree-structured data display method and device, electronic equipment and medium
EP4451143A1 (en) Template selection method and apparatus, and electronic device and storage medium
CN115113787B (en) Message processing method, device, equipment and medium
US20250055954A1 (en) Video effect packet generation method and apparatus, device, and storage medium
CN110619028A (en) Map display method, device, terminal equipment and medium for house source detail page
CN110807114B (en) Method, device, terminal and storage medium for picture display

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination