CN107229465B - Method and device for waking up head-mounted display of VR (virtual reality) host and VR host - Google Patents

Method and device for waking up head-mounted display of VR (virtual reality) host and VR host Download PDF

Info

Publication number
CN107229465B
CN107229465B CN201710267374.3A CN201710267374A CN107229465B CN 107229465 B CN107229465 B CN 107229465B CN 201710267374 A CN201710267374 A CN 201710267374A CN 107229465 B CN107229465 B CN 107229465B
Authority
CN
China
Prior art keywords
host
external equipment
type
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.)
Active
Application number
CN201710267374.3A
Other languages
Chinese (zh)
Other versions
CN107229465A (en
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.)
Beijing Pico Technology Co Ltd
Original Assignee
Beijing Pico 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 Beijing Pico Technology Co Ltd filed Critical Beijing Pico Technology Co Ltd
Priority to CN201710267374.3A priority Critical patent/CN107229465B/en
Publication of CN107229465A publication Critical patent/CN107229465A/en
Application granted granted Critical
Publication of CN107229465B publication Critical patent/CN107229465B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Abstract

The invention discloses a method and a device for waking up a head-mounted display of a VR (virtual reality) host and the VR host, wherein the method comprises the following steps: whether an external device is connected to the VR host is detected, if so, then: acquiring current parameters corresponding to the type of the external equipment; judging whether the type of the external equipment is a head-mounted display according to the current parameters, if so, then: detecting whether the screen state of the external equipment is closed, if so, then: and supplying power to the external equipment. Therefore, the method can solve the problem that the screen of the head-mounted display is not bright when the head-mounted display is connected to the VR host under certain specific operations, ensures that the head-mounted display is automatically bright when connected to the VR host, does not need a user to wake up, simplifies the operation process of the user, and improves the user experience.

Description

Method and device for waking up head-mounted display of VR (virtual reality) host and VR host
Technical Field
The invention relates to the technical field of awakening of a head-mounted display, in particular to a method and a device for awakening the head-mounted display of a VR (virtual reality) host and the VR host.
Background
The VR host is a mobile VR device. The USB interface on the VR host can be connected with the head-mounted display through the corresponding USB data line, and the VR host is equivalent to a professional game machine.
When the host computer detects that the head-mounted display is connected with the host computer through the USB data line, the helmet can be awakened, so that the helmet can be automatically lightened.
However, such a wake-up scheme may in some cases result in a situation where the connection state of the corresponding device cannot be changed after the device insertion is detected. This results in the device having a USB interface connection and a head mounted display interface connection, which in certain circumstances can lead to the situation where the inserted head mounted cannot wake up the system.
Disclosure of Invention
It is an object of the present invention to provide a new solution that ensures that the head-mounted display is woken up.
According to a first aspect of the invention, there is provided a method of waking up a head mounted display for a VR host, comprising:
whether an external device is connected to the VR host is detected, if so, then:
acquiring current parameters corresponding to the type of the external equipment;
judging whether the type of the external equipment is a head-mounted display according to the current parameters, if so, then:
detecting whether the screen state of the external equipment is closed, if so, then:
and supplying power to the external equipment.
Optionally, the method for obtaining the current parameter corresponding to the type of the external device includes:
and searching a pre-stored comparison table reflecting the corresponding relation between the type of the equipment and the parameters, and determining the parameters corresponding to the type of the external equipment as the current parameters.
Optionally, the connection mode between the external device and the VR host includes USB connection, HDMI connection, or radio wave connection.
Optionally, the determining, according to the current parameter, whether the type of the external device is a head-mounted display includes:
and judging whether the current parameters are the same as the parameters corresponding to the head-mounted display, if so, judging that the type of the external equipment is the head-mounted display.
Optionally, the method for detecting whether the screen state of the external device is closed specifically includes:
and detecting whether the host supplies power to the external equipment.
According to a second aspect of the invention, there is provided an apparatus for waking up a head mounted display of a VR host, comprising:
the device detection module is used for detecting whether an external device is connected to the VR host;
the parameter acquisition module is used for acquiring the current parameters corresponding to the type of the external equipment under the condition that the detection result of the equipment detection module is positive;
the type detection module is used for judging whether the type of the external equipment is a head-mounted display or not according to the current parameters;
the screen detection module is used for detecting whether the screen state of the external equipment is closed or not;
and the power supply module is used for supplying power to the external equipment under the condition that the detection result of the screen detection module is positive.
Optionally, the parameter obtaining module is specifically configured to:
and searching a pre-stored comparison table reflecting the corresponding relation between the type of the equipment and the parameters, and determining the parameters corresponding to the type of the external equipment as the current parameters.
Optionally, the type detecting module includes:
the judging unit is used for judging whether the current parameters are the same as the parameters corresponding to the head-mounted display or not;
and the type judging unit is used for judging that the type of the external equipment is the head-mounted display under the condition that the judgment result of the judging unit is yes.
Optionally, the connection mode between the external device and the VR host includes USB connection, HDMI connection, or radio wave connection.
Optionally, the screen detecting module is specifically configured to:
and detecting whether the host supplies power to the external equipment.
According to a third aspect of the present invention there is provided a host comprising an apparatus according to the second aspect of the present invention.
According to a fourth aspect of the present invention there is provided a host comprising a memory and a processor, the memory being arranged to store instructions for controlling the processor to operate to perform the method according to the first aspect of the present invention.
The method has the advantages that the problem that the screen of the head-mounted display is not bright when the head-mounted display is connected to the VR host under certain specific operations can be solved, the head-mounted display is ensured to be automatically bright when connected to the VR host, a user does not need to wake up the head-mounted display, the operation process of the user is simplified, and the user experience is improved.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram of one embodiment of a method for waking up a head mounted display for a VR host in accordance with the present invention;
FIG. 2 is a block diagram of an implementation structure of an apparatus for waking up a head mounted display of a VR host according to the present invention;
fig. 3 is a block schematic diagram of an implementation structure of a VR host according to the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The existing VR split type machine is not provided with a switch on a head-mounted display, the head-mounted display can be awakened only through a host, and the awakened head-mounted display can be supplied with power to the head-mounted display through the host.
In order to solve the problem that the screen of a head-mounted device may not be bright when the head-mounted device is inserted under certain specific operations in the prior art, a method for waking up the head-mounted display for a VR host is provided. The specific operations may be operations in which the user plugs the head-mounted display into the host, pulls the head-mounted display out of the host in a short time, and closes the screen of the head-mounted display, and then plugs the head-mounted display into the host again. The method of the invention can be a supplementary scheme based on the existing scheme, and can also realize the awakening operation of the head-mounted display only by the method of the invention.
Fig. 1 is a flow diagram of one embodiment of a method for waking up a head mounted display for a VR host in accordance with the present invention.
According to fig. 1, the method comprises:
step S110, detecting whether an external device is connected to the VR host, if so, performing step S120, and if not, continuing to perform step S110.
The external device is specifically a device which is just connected to the VR host, and the external device is not initially connected to the VR host.
Specifically, the specific manner of establishing the connection between the external device and the VR host may be a wired connection established through a USB interface on the VR host, an HDMI interface, or the like, or a wireless connection established through radio waves or the like.
Step S120, obtaining a current parameter corresponding to the type of the external device.
In an embodiment of the present invention, as shown in fig. 2, the method for implementing step S120 may be:
and searching a pre-stored comparison table reflecting the corresponding relation between the type of the external equipment and the parameters, and determining the parameters corresponding to the type of the external equipment as the current parameters.
Specifically, when each external device is connected to the VR host by the first pass, the VR host may generate a parameter corresponding to the type of the device, and store the type of the device and the parameter thereof in the comparison table, so that when the external device is connected to the VR host again, the parameter corresponding to the type of the external device may be found by looking up the comparison table as the current parameter.
For the same type of device, e.g., two head mounted displays of the same model, the first parameter is generated when the first head mounted display first establishes a connection with the VR host, in which case if the second head mounted display first establishes a connection with the VR host, the VR host will not generate new parameters, but will instead associate the second head mounted display with the first parameter, i.e., the same type of device will correspond to the same parameter in the lookup table.
Wherein the lookup table may be implemented in a driver layer of the VR host system and sends the current parameters to the JNI layer. The JNI is specifically a Java Native Interface (Java Native Interface). The awakening process is in the application program framework layer, the driver layer is written by C + + voice, and the application program framework layer is written by Java voice, so the driver layer must inform the application program framework layer of the message inserted by the external device through the JNI layer, and the JNI layer can be used for filtering the external device just inserted, namely judging whether the type of the external device is the head-mounted display.
Step S130, determining whether the type of the external device is a head-mounted display according to the current parameters, if so, performing step S140, and if not, continuing to perform step S110.
In an embodiment of the present invention, as shown in fig. 2, the method for performing step S130 may be:
judging whether the current parameters are the same as the parameters corresponding to the head-mounted display, if so, judging that the type of the external equipment is the head-mounted display, and executing the step S140; if not, the type of the external device is determined not to be the head-mounted display, and the step S110 may be continued.
Specifically, the function of the corresponding interface in the JNI layer may be called; executing the function according to the current parameters to obtain an execution result; and judging whether the type of the external equipment is a head-mounted display or not according to the execution result.
Further, a function of a corresponding USB interface in the JNI Layer may be called through a relay HAL Layer (Hardware Abstraction Layer). The function is executed according to the current parameter, specifically, whether the current parameter is the same as the parameter corresponding to the head mounted display is compared, in the same case, the obtained execution result may be yes or 1, and in different cases, the obtained execution result may be no or 0. If the execution result is yes or 1, it may be determined that the type of the external device is the head-mounted display, and step S140 is executed; if the execution result is no or 0, it may be determined that the type of the external device is not the head-mounted display, and step S110 is executed.
Step S140, detecting whether the screen status of the external device is off, if so, performing step S150, and if not, continuing to perform step S110.
Specifically, the specific method for performing step S150 may be implemented by detecting whether the host supplies power to the external device.
In one embodiment of the present invention, the step S140 may include:
calling a screen state detection method in an application program framework layer; executing the screen detection method to obtain a return value; and judging whether the screen state of the external equipment is closed or not according to the return value.
The method for detecting the screen state may specifically be that a return value identical to a value of a variable in the method is obtained by reading the value of the variable. The screen detection method can be stored in a power management class, and when the host supplies power to the head-mounted display, the screen state of the head-mounted display is started; when the power supply of the host computer does not supply power to the head-mounted display, the screen of the head-mounted display is in a state of being closed. When the state of the host supplying power to the head-mounted display changes, the value of the variable is changed at the same time, for example, when the power supply of the host supplies power to the head-mounted display, the value of the variable is "true"; when the power supply of the host does not supply power to the head-mounted display, the value of this variable is "false". Then, when the screen of the head mounted display is in the on state, the resulting return value is "true"; when the screen of the head mount display is in the off state, the resultant return value is "false". In this way, the screen state of the head mounted display can be determined from the return value.
And step S150, supplying power to the external equipment.
Specifically, the specific method for supplying power to the external device may be implemented by calling a wake-up procedure in the application framework layer, as in the prior art. The host computer executes the awakening process to ensure that the head-mounted display connected with the host computer is awakened, namely, the host computer is ensured to supply power to the head-mounted display, so that the screen state of the head-mounted display is started.
Therefore, on the basis that the existing method cannot wake up the head-mounted display, the method disclosed by the invention is used for executing the wake-up process, so that the problem that the screen of the head-mounted display is not bright when the head-mounted display is connected to the VR host under certain specific operations can be solved, the head-mounted display is ensured to be automatically bright when being connected to the VR host, the user does not need to do the wake-up process, the user operation process is simplified, and the user experience is improved.
Corresponding to the method, the invention also comprises a device for waking up the head-mounted display of the VR host. Fig. 2 is a block schematic diagram of one implementation structure of a device for waking up a head mounted display of a VR host in accordance with the present invention.
According to fig. 2, the apparatus 200 includes a device detection module 210, a parameter acquisition module 220, a type detection module 230, a screen detection module 240, and a power supply module 250.
The device detection module 210 is configured to detect whether an external device is connected to the VR host.
The parameter obtaining module 220 is configured to obtain a current parameter corresponding to the type of the external device if the detection result of the device detecting module 210 is yes.
The type detection module 230 is configured to determine whether the type of the external device is a head-mounted display according to the current parameter.
The screen detecting module 240 is configured to detect whether a screen state of the external device is off.
The power supply module 250 is configured to supply power to the external device if the detection result of the screen detection module 240 is yes.
Specifically, the parameter obtaining module 220 is specifically configured to: and searching a pre-stored comparison table reflecting the corresponding relation between the equipment type and the parameters, and determining the parameters corresponding to the type of the external equipment as the current parameters.
Further, the type detection module 230 includes a determination unit and a type determination unit, where the determination unit is configured to determine whether the current parameter is the same as the parameter corresponding to the head-mounted display; the type judging unit is used for judging the type of the external equipment to be the head-mounted display under the condition that the judging result of the judging unit is yes.
On this basis, the screen detecting module 240 is specifically configured to detect whether the host supplies power to the external device.
The invention also provides a VR host comprising an apparatus 200 for waking up a head mounted display of a VR host according to an aspect of the invention.
Fig. 3 is a block schematic diagram of an implementation structure of the VR host according to another aspect of the present invention.
As shown in fig. 3, the VR host 300 includes a memory 301 and a processor 302, where the memory 301 is configured to store instructions for controlling the processor 302 to operate to perform the above-described method for waking up a head mounted display for the VR host.
In addition, as shown in fig. 3, the VR host 300 further includes an interface device 303, an input device 304, a display device 305, a communication device 306, a speaker 307, a microphone 308, and the like. Although multiple devices are shown in fig. 3, the VR host of the present invention may only refer to a portion of the devices, e.g., processor 301, memory 302, interface device 303, etc.
The communication device 306 can perform wired or wireless communication, for example.
The interface device 303 includes, for example, a USB interface.
The input device 304 may include, for example, a touch screen, a key, and the like.
The display device 305 is, for example, a liquid crystal display panel, a touch panel, or the like.
The above embodiments mainly focus on differences from other embodiments, but it should be clear to those skilled in the art that the above embodiments can be used alone or in combination with each other as needed.
The embodiments in the present disclosure are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments, but it should be clear to those skilled in the art that the embodiments described above can be used alone or in combination with each other as needed. In addition, for the device embodiment, since it corresponds to the method embodiment, the description is relatively simple, and for relevant points, refer to the description of the corresponding parts of the method embodiment. The system embodiments described above are merely illustrative, in that modules illustrated as separate components may or may not be physically separate.
The present invention may be an apparatus, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions 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). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
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 invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (8)

1. A method for waking up a head mounted display of a VR host, comprising:
whether an external device is connected to the VR host is detected, if so, then:
if the external equipment is not connected with the VR host for the first time, current parameters corresponding to the type of the external equipment are obtained through a driving layer;
judging whether the type of the external equipment is a head-mounted display according to the current parameters, if so, then:
detecting whether the screen state of the external equipment is closed, if so, then:
supplying power to the external equipment;
the judging whether the type of the external equipment is a head-mounted display according to the current parameters comprises:
calling a function of a corresponding interface in the JNI layer;
executing the function according to the current parameter to obtain an execution result;
judging whether the type of the external equipment is a head-mounted display or not according to the execution result;
the detecting whether the screen state of the external device is closed comprises:
calling a screen state monitoring method in an application program framework layer;
executing the screen monitoring method to obtain a return value;
judging whether the screen state of the external equipment is closed or not according to the return value;
the method for acquiring the current parameters corresponding to the type of the external equipment comprises the following steps:
searching a pre-stored comparison table reflecting the corresponding relation between the type of the external equipment and the parameters, and determining the parameters corresponding to the type of the external equipment as the current parameters;
wherein the method further comprises: and when each external device is connected to the VR host for the first time, generating a parameter corresponding to the type of the external device, and correspondingly storing the type of the external device and the parameter in the comparison table.
2. The method of claim 1, wherein the external device is connected to the VR host by a USB connection, an HDMI connection, or a radio wave connection.
3. The method according to claim 1, wherein the method for detecting whether the screen status of the external device is off specifically comprises:
and detecting whether the host supplies power to the external equipment.
4. An apparatus for waking up a head mounted display for a VR host, comprising:
the device detection module is used for detecting whether an external device is connected to the VR host;
the parameter acquisition module is used for acquiring current parameters corresponding to the type of the external equipment through a driving layer if the external equipment is not connected with the VR host for the first time under the condition that the detection result of the equipment detection module is positive;
the type detection module is used for judging whether the type of the external equipment is a head-mounted display or not according to the current parameters;
the screen detection module is used for detecting whether the screen state of the external equipment is closed or not;
the power supply module is used for supplying power to the external equipment under the condition that the detection result of the screen detection module is positive;
the judging whether the type of the external equipment is a head-mounted display according to the current parameters comprises:
calling a function of a corresponding interface in the JNI layer;
executing the function according to the current parameter to obtain an execution result;
judging whether the type of the external equipment is a head-mounted display or not according to the execution result;
the detecting whether the screen state of the external device is closed comprises:
calling a screen state monitoring method in an application program framework layer;
executing the screen monitoring method to obtain a return value;
judging whether the screen state of the external equipment is closed or not according to the return value;
the parameter acquisition module is specifically configured to:
searching a pre-stored comparison table reflecting the corresponding relation between the type of the external equipment and the parameters, and determining the parameters corresponding to the type of the external equipment as the current parameters;
the device further comprises a module, wherein the module is used for generating a parameter corresponding to the type of the external device when each external device is connected to the VR host for the first time, and correspondingly storing the type of the external device and the parameter in the comparison table.
5. The apparatus of claim 4, wherein the external device is connected to the VR host by a USB connection, an HDMI connection, or a radio wave connection.
6. The apparatus of claim 4, wherein the screen detection module is specifically configured to:
and detecting whether the host supplies power to the external equipment.
7. A VR host comprising the apparatus of any of claims 4-6.
8. A VR host comprising a memory and a processor, the memory to store instructions to control the processor to operate to perform the method of any of claims 1-3.
CN201710267374.3A 2017-04-21 2017-04-21 Method and device for waking up head-mounted display of VR (virtual reality) host and VR host Active CN107229465B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710267374.3A CN107229465B (en) 2017-04-21 2017-04-21 Method and device for waking up head-mounted display of VR (virtual reality) host and VR host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710267374.3A CN107229465B (en) 2017-04-21 2017-04-21 Method and device for waking up head-mounted display of VR (virtual reality) host and VR host

Publications (2)

Publication Number Publication Date
CN107229465A CN107229465A (en) 2017-10-03
CN107229465B true CN107229465B (en) 2021-02-05

Family

ID=59933092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710267374.3A Active CN107229465B (en) 2017-04-21 2017-04-21 Method and device for waking up head-mounted display of VR (virtual reality) host and VR host

Country Status (1)

Country Link
CN (1) CN107229465B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114815256B (en) * 2022-04-15 2023-10-03 青岛虚拟现实研究院有限公司 Screen parameter adjustment method, device and storage medium of virtual reality head-mounted device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115296A1 (en) * 2008-10-31 2010-05-06 Kabushiki Kaisha Toshiba Information processor
US20100205467A1 (en) * 2009-02-06 2010-08-12 Samsung Electronics Co., Ltd. Low-power system-on-chip
CN102082969A (en) * 2010-10-29 2011-06-01 广东星海数字家庭产业技术研究院有限公司 External Bluetooth equipment driving system for set-top box
CN105159675A (en) * 2015-08-31 2015-12-16 小米科技有限责任公司 Electronic equipment, wakeup method and device of electronic equipment
CN105204801A (en) * 2015-08-31 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
CN106325453A (en) * 2015-07-09 2017-01-11 中兴通讯股份有限公司 Configuration method of output current and terminal
CN106354677A (en) * 2016-08-25 2017-01-25 广州御银自动柜员机科技有限公司 Usb hub
CN106569339A (en) * 2016-11-08 2017-04-19 歌尔科技有限公司 VR headset and VR headset control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100115296A1 (en) * 2008-10-31 2010-05-06 Kabushiki Kaisha Toshiba Information processor
US20100205467A1 (en) * 2009-02-06 2010-08-12 Samsung Electronics Co., Ltd. Low-power system-on-chip
CN102082969A (en) * 2010-10-29 2011-06-01 广东星海数字家庭产业技术研究院有限公司 External Bluetooth equipment driving system for set-top box
CN106325453A (en) * 2015-07-09 2017-01-11 中兴通讯股份有限公司 Configuration method of output current and terminal
CN105159675A (en) * 2015-08-31 2015-12-16 小米科技有限责任公司 Electronic equipment, wakeup method and device of electronic equipment
CN105204801A (en) * 2015-08-31 2015-12-30 联想(北京)有限公司 Information processing method and electronic equipment
CN106354677A (en) * 2016-08-25 2017-01-25 广州御银自动柜员机科技有限公司 Usb hub
CN106569339A (en) * 2016-11-08 2017-04-19 歌尔科技有限公司 VR headset and VR headset control method

Also Published As

Publication number Publication date
CN107229465A (en) 2017-10-03

Similar Documents

Publication Publication Date Title
JP2018525751A (en) Interactive control method and apparatus for voice and video calls
CN105933546B (en) message notification method, device and terminal
CN105282346A (en) Screen power saving method and device and mobile terminal
CN111666056A (en) Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN112016068A (en) Account control method, device, equipment and computer readable storage medium
WO2020134566A1 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN110688169A (en) Application program acceleration method and device, storage medium and electronic equipment
US10897512B2 (en) Generating push notifications
CN107835984B (en) Thermal mitigation user experience
EP3242207A1 (en) Method, device and terminal for switching operating system
CN111695166A (en) Disk encryption protection method and device
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
US11100715B2 (en) Establishment of positional timers in an augmented reality environment
CN105653007A (en) Method and device for saving electric quantity and electronic equipment
CN107229465B (en) Method and device for waking up head-mounted display of VR (virtual reality) host and VR host
CN113971277A (en) Multi-user login method and device
CN111930565B (en) Process fault self-healing method, device and equipment for components in distributed management system
CN111615171B (en) Access method and device of wireless local area network
US10241669B2 (en) Touchscreen device
CN111124781A (en) Display card testing method and device, electronic equipment and storage medium
KR102554916B1 (en) Speech interaction method, speech interaction device and electronic device
CN112752323B (en) Method and device for changing hot spot access state
CN112770415B (en) Information processing method and device for wireless hotspots
CN111162960B (en) Method and server for starting debugging panel
KR20130108952A (en) Implementation method of pip by using separate application package on android platform

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
GR01 Patent grant
GR01 Patent grant