A kind of control method and system of virtual reality device
Technical field
The present embodiments relate to the control method of virtual reality technology more particularly to a kind of virtual reality device and it is
System.
Background technique
With the development of virtual reality technology, the virtual reality devices such as virtual implementing helmet are widely used in city rule
It draws, indoor design, industrial simulation, historic site recovery, bridge highway layout, real estate sale, Tourism teaching, hydraulic and electric engineering, geology
The various fields such as disaster, educational training, Entertainment.
The control method of existing virtual implementing helmet is the control of the display virtual real helmet in the terminals such as smart phone
Interface processed, after user selects in control interface, terminal virtual implementing helmet carries out communication and realizes corresponding function.For example,
When waking up the intelligent helmet of suspend mode, since user can not see terminal screen when wearing intelligent helmet, it is therefore desirable to
User removes virtual implementing helmet, then wakes up intelligent helmet by the control interface in terminal, finally wears the intelligence of wake-up
The helmet.
As it can be seen that needing the wearing and excision virtual implementing helmet of user repeatedly by terminal control virtual implementing helmet, call out
Low efficiency of waking up and poor user experience.
Summary of the invention
The present invention provides the control method and system of a kind of virtual reality device, to realize that fast wake-up virtual reality is set
It is standby, improve user experience.
In a first aspect, the embodiment of the invention provides a kind of control methods of virtual reality device, comprising:
When the virtual reality device in a dormant state when obtain infrared signal;
Determine whether to wake up according to the infrared signal of acquisition;
If it is determined that waking up, then the dormant state is exited.
Second aspect, the embodiment of the invention also provides a kind of control system of virtual reality device, the Virtual Realization
Equipment includes first processor, and the first processor is respectively infrared transmitter and infrared remote receiver power supply;
The infrared transmitter be used for when the Virtual Realization equipment in a dormant state when emit infrared light;
The first processor be used for when the Virtual Realization equipment in a dormant state when infrared connect by described first
It receives device and obtains infrared signal;
The first processor is also used to, and determines whether to wake up according to the infrared signal of acquisition;If it is determined that wake up,
It then closes the infrared remote receiver and exits the dormant state.
The embodiment of the present invention can virtual reality device in a dormant state when, be according to the determination of the infrared signal of acquisition
No wake-up virtual reality device.After finger is insinuated into virtual reality device by user, infrared signal is sent out after encountering user's finger
Raw reflection generates interruption according to the infrared signal of reflection, and then exits dormant state, wakes up virtual reality device.The prior art
It is waken up after needing user to take virtual reality device by terminal control virtual reality device, complicated for operation and user experience
Difference.The embodiment of the present invention can be determined according to the infrared signal got and be waken up, use when user wears virtual reality device
Family can wake up virtual reality device in the state of wearing virtual reality device, without extracing, improve virtual reality device
Efficiency of remodeling improves user experience.
Detailed description of the invention
Fig. 1 is the flow chart of the control method of the virtual reality device in the embodiment of the present invention one;
Fig. 2 is the opposite position view of the infrared transmitter and infrared remote receiver in the embodiment of the present invention one;
Fig. 3 is the position view in the same direction of the infrared transmitter and infrared remote receiver in the embodiment of the present invention one;
Fig. 4 is the flow chart of the control method of the virtual reality device in the embodiment of the present invention two;
Fig. 5 is the flow chart of the control method of the virtual reality device in the embodiment of the present invention three;
Fig. 6 is the flow chart of the control method of the virtual reality device in the embodiment of the present invention four;
Fig. 7 is the structural schematic diagram of the control system of a virtual reality device in the embodiment of the present invention five;
Fig. 8 is the structural schematic diagram of the control system of another virtual reality device in the embodiment of the present invention five.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of the control method for the virtual reality device that the embodiment of the present invention one provides, and the present embodiment can fit
The case where for waking up when wearing virtual reality device to virtual reality device, this method can be held by virtual reality device
Row, specifically comprises the following steps:
Step 110, when virtual reality device in a dormant state when obtain infrared signal.
Virtual reality device can be virtual implementing helmet etc..Virtual implementing helmet is provided with infrared transmitter and infrared connects
Device is received, and is that infrared transmitter and infrared remote receiver are powered by first processor.Furthermore first processor is also used to control red
External transmitter emits infrared light, and control infrared remote receiver receives infrared signal.Optionally, first processor is micro-control unit
(Microcontroller Unit, MCU), also known as SensorHub.Since the power consumption of micro-control unit is less than virtual implementing helmet
Power consumption, thus using MCU can virtual implementing helmet in a dormant state when complete power and infrared signal processing function,
It can reduce power consumption again, save electric energy.The transmitting range that infrared transmitter can be set is less than or equal to 10cm.
Optionally, infrared transmitter and infrared remote receiver can mode as shown in Figure 2 configured.Infrared emission in Fig. 2
Device is arranged oppositely with infrared remote receiver, and the infrared light that infrared transmitter issues is projected directly in infrared remote receiver.At this point, red
The distance between external transmitter and infrared remote receiver can be 5-10cm, probe into finger for user.
Optionally, infrared transmitter and infrared remote receiver can mode as shown in Figure 3 configured.Infrared emission in Fig. 3
Device is arranged in the same direction with infrared remote receiver, and the infrared light that infrared transmitter issues can not be projected directly in infrared remote receiver.This
When, the distance between infrared transmitter and infrared remote receiver are 1-5cm, infrared transmitter (or infrared remote receiver) and opposite side inner wall
The distance between can be 5-10cm, inner wall be virtual reality device inner wall.
Step 120 determines whether to wake up according to the infrared signal of acquisition.
It is red when user's finger is insinuated between infrared transmitter and infrared remote receiver for set-up mode shown in Fig. 2
The infrared signal remitted its fury that outer receiver receives.When being attenuated to default infrared signal intensity, determines and wake up;Otherwise it determines
Continue dormant state.Illustratively, infrared transmitter issues the infrared light that signal strength is 3, and default infrared signal intensity is
2, when the intensity for the infrared signal that infrared remote receiver receives is less than or equal to 2, determination is waken up.
For set-up mode shown in Fig. 3, when user's finger is insinuated into infrared transmitter (or infrared remote receiver) and inner wall
Between when, handle the infrared signal enhanced strength that digital reflex infrared remote receiver receives.When enhancing to default infrared signal intensity
When, it determines and wakes up;Otherwise it determines and continues dormant state.Illustratively, infrared transmitter issues the infrared light that signal strength is 3
Line, presetting infrared signal intensity is 1, when the intensity for the infrared signal that infrared remote receiver receives is more than or equal to 1, determines and carries out
It wakes up.
Step 130, if it is determined that wake up, then exit dormant state.
When exiting suspend mode, MCU wakes up the processor (also known as second processor) of virtual reality device, and then realizes and call out
It wakes up.Optionally, second processor is application processor (Application Processor, AP).
Further, in order to reduce energy consumption, infrared remote receiver is closed after waking up second processor.
The present embodiment can virtual reality device in a dormant state when, determine whether to call out according to the infrared signal of acquisition
Awake virtual reality device.After finger is insinuated into virtual reality device by user, infrared signal occurs instead after encountering user's finger
It penetrates, interruption is generated according to the infrared signal of reflection, and then exit dormant state, wake up virtual reality device.The prior art needs
User is waken up after taking virtual reality device by terminal control virtual reality device, complicated for operation and poor user experience.
The present embodiment can determine according to the infrared signal got and wake up, allow user when user wears virtual reality device
Virtual reality device is waken up in the state of wearing virtual reality device, without extracing, improves the effect of remodeling of virtual reality device
Rate improves user experience.
Embodiment two
Fig. 4 is the flow chart of the control method of virtual reality device provided by Embodiment 2 of the present invention, as to embodiment
One further explanation, step 120 determine whether to wake up according to the infrared signal of acquisition, can be implemented by following manner:
Step 121 judges whether the infrared signal obtained is human vein signal.
When infrared illumination is mapped to finger, the infrared signal that infrared remote receiver is got is the vein distribution map of finger.It is quiet
The texture of arteries and veins distribution map can distinguish finger and other objects (such as club).Due to everyone vein distribution map
It is all different, but vein distribution map all contains the features such as blood vessel, therefore can pass through histogram or the side of image characteristics extraction
Formula determines whether for vein distribution map, and then determines whether for human vein signal.
Step 122, if it is human vein signal, it is determined that wake up.
The present embodiment determines whether by the way that whether the infrared signal for judging acquisition is human vein signal for user's triggering
Wake-up, rather than other objects infrared signal that accidentally touching generates and then avoids accidentally touching, improves the accuracy of wake-up.
Step 123, if not human vein signal, then export the first prompt information.
First prompt information can be audio prompt information, and such as alarm sound or a Duan Yuyin, which can be
" non-human triggering please check " etc..
Embodiment three
Fig. 5 is the flow chart of the control method for the virtual reality device that the embodiment of the present invention three provides, as to above-mentioned reality
The further explanation of example is applied, dormant state is exited in step 130, specifically includes:
Step 131 carries out hand vein recognition to target user according to human vein signal.
Target user is the current user for wearing virtual reality device.Hand vein recognition belongs to biological identification technology.It can refer to
Existing hand vein recognition algorithm is identified.Such as: in computer systems by the digital picture storage of vein, realize characteristic value
Storage.When vein compares, vein figure is taken in real time, digital picture is mentioned with advanced filtering, image binaryzation, refinement means
Feature is taken, matching is compared with the vein pattern value prestored using matching algorithm, to carry out identity authentication to individual, confirms body
Part.The vein pattern value prestored is the vein pattern value of the user with virtual reality device operating right, and each user can be right
Answer 1-10 vein pattern value.
If the success of step 132, hand vein recognition, exits dormant state.
Optionally, hand vein recognition is realized using MCU.When MCU after hand vein recognition determine user have operating right, then
MCU triggering is interrupted, and is waken up second processor (processor of virtual reality device).
If step 133, hand vein recognition fail, the second prompt information is exported.
Second prompt information can be audio prompt information, and such as alarm sound or a Duan Yuyin, which can be
" hand vein recognition please unsuccessfully retry " etc..
The present embodiment can be authenticated based on identity of the vein distribution map to user, and then realize the mirror to target user
Power improves the controllability of virtual reality device access right.User can be used finger quick registration to the control of virtual reality device
Operating efficiency and user experience are improved in interface processed.
Example IV
Fig. 6 is the flow chart of the control method for the virtual reality device that the embodiment of the present invention four provides, as to above-mentioned reality
The further explanation for applying example, in step 130, exit dormant state after, further includes:
Step 140, the iris image for obtaining target user.
Since the treating capacity of iris recognition is larger, it is therefore desirable to after releasing dormant state, pass through virtual reality device
Processor (second processor) Lai Zhihang.Iris image is obtained by the camera (camera) of virtual reality device, by infrared hair
Emitter emits infrared light as light source.The iris image that camera will acquire, which is sent in second processor, to be identified.
Step 150 carries out iris recognition to target user according to iris image.
So that it is met the needs of extracting iris feature: 1, Iris Location firstly, carrying out subordinate's processing to iris image: determining
The position of inner circle, outer circle and conic section in the picture.Wherein, inner circle is the boundary of iris and pupil, and outer circle is iris and consolidates
The boundary of film, conic section are the boundary of iris and upper lower eyelid.2, iris image normalizes: by the iris size in image,
It is adjusted to the fixed dimension of identifying system setting.3, image enhancement: for the image after normalization, carry out brightness, contrast and
The processing such as smoothness, improves the discrimination of iris information in image.Secondly, being extracted needed for iris recognition from iris image
Characteristic point, and it is encoded.Finally, the iris image feature in feature coding and database that feature extraction is obtained is compiled
Code matches one by one, identical iris is judged whether it is, to achieve the purpose that identification.
The present embodiment can realize more accurate identification, iris by iris recognition technology on virtual reality device
Identification has higher anti-counterfeiting and reliability compared to hand vein recognition, therefore can greatly improve recognition efficiency.Meanwhile user
Without mobile finger, and then simplify user's operation, improves user experience.
Embodiment five
The structural schematic diagram of the control system 1 for the virtual reality device that Fig. 7 provides for the embodiment of the present invention five, including first
Processor 11, the first processor 11 are respectively that infrared transmitter 12 and infrared remote receiver 13 are powered;
The first processor 11 be used for when the Virtual Realization equipment in a dormant state when control the infrared emission
Device 12 emits infrared light;
The first processor 11 be used for when the Virtual Realization equipment in a dormant state when by described first infrared
Receiver 13 obtains infrared signal;
The first processor 11 is also used to, and determines whether to wake up according to the infrared signal of acquisition;If it is determined that calling out
It wakes up, then exits the dormant state.
Further, if it is determined that wake up, then close the infrared remote receiver 13 and exit the dormant state.
Further, the first processor 11 is specifically used for:
Whether the infrared signal for judging that the infrared remote receiver 13 obtains is human vein signal;
If it is human vein signal, it is determined that wake up.
Further, the first processor 11 is specifically used for:
Hand vein recognition is carried out to target user according to the human vein signal that the infrared remote receiver 13 obtains;
If hand vein recognition success, exits the dormant state.
Further, as shown in figure 8, further including camera 14 and second processor 15;
The first processor 11 is also used to wake up the second processor 15 and described when exiting the dormant state
Camera 14;
The camera 14 is used to obtain the iris image of target user;
The iris image that the second processor 15 is used to be obtained according to the camera 14 is to the target user
Carry out iris recognition.
Further, the second processor 15 is application processor.
Further, the first processor 11 is micro-control unit.
The embodiment of the present invention one can be performed to method provided by example IV in above system, has and executes above method phase
The functional module and beneficial effect answered.The not technical detail of detailed description in the present embodiment, reference can be made to the embodiment of the present invention one
To method provided by example IV.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.