Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning, " a variety of " generally comprise at least two, but not
It excludes to include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Depending on context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determination " or " in response to detection ".Similarly, context is depended on, phrase " if it is determined that " or " such as
Fruit detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when detection (statement
Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Include, so that commodity or system including a series of elements not only include those elements, but also including not clear
The other element listed, or further include for this commodity or the intrinsic element of system.In the feelings not limited more
Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity or system for including the element also
There are other identical elements.
In addition, the step timing in following each method embodiments is only a kind of citing, rather than considered critical.
Fig. 1 is a kind of structural schematic diagram of virtual reality display control method, system provided in an embodiment of the present invention, such as Fig. 1 institute
Show, which includes: display control apparatus, virtual reality device;
The virtual reality device, for receiving the display control mode switching command of display control apparatus sending;If working as
Preceding display control mode is the second display control mode, according to the display control mode switching command received by described the
Two display control modes are switched to the first display control mode;According to the first display control signal received, adjustment display picture
Face direction;
The display control apparatus, for judging whether the touch control operation for touch control unit meets switching threshold;If full
Foot issues display control mode switching command to corresponding virtual reality device, so that the virtual reality device is switched to the
One display control mode.
In practical applications, the display control of virtual reality (Virtual Reality, VR) is realized by equipment itself
's.Adjustment for the display picture direction that virtual reality is presented, can rotate body or head realization side by user
To change realize.Specifically, gyroscope is installed in virtual reality device, when user wears virtual reality device
After on head, user carries virtual reality device while rotating body or rotation head and rotates together, and gyroscope can be examined
The change in virtual reality device direction is surveyed, the data that then will test (for example, corner degree) are sent to virtual reality device
In control unit, thus control unit control display picture direction change.But when user's body or head can not
When carrying virtual reality device rotation, since gyroscope can't detect the variation of direction or angle, control unit just can not yet
Control the change of display direction.Therefore, in order to solve in application scenes, some users are inconvenient to carry out body or head
The rotation in portion, the problem of also just cannot achieve the control shown to virtual reality, can control mode using the above scheme, it is real
The control that now virtual reality is shown.
In embodiments of the present invention, second will be known as by the control model for virtually showing equipment itself control display picture direction
The Controlling model for controlling display picture direction by display control apparatus is known as the first display control mode by display control mode.
Interactive process schematic diagram when Fig. 2 is the work of virtual reality display control program shown in Fig. 1, as shown in Fig. 2, can be with
Include the following steps:
201: whether display control apparatus judgement meets switching threshold for the touch control operation of touch control unit.
Display control apparatus mentioned here, which such as can be handle, mouse etc., to issue control to virtual reality device
The control equipment of instruction.Certainly, the communication mode between display control apparatus and virtual reality device can using wired or
The wirelessly communication mode of (for example, bluetooth etc.) belongs to the conventional communication mode of comparison, just describes herein without expansion.
Touch control unit mentioned here can be button, Trackpad, touch screen.It is controlled it is of course also possible to be realized by voice
System.Switching threshold, for example can be trigger signal, touch-control time span, touch-control number or the control instruction of voice etc..
202: if the judging result of display control apparatus is to meet switching threshold, display control apparatus issues display control
Pattern switching is instructed to corresponding virtual reality device, so that the virtual reality device is switched to the first display control mode.
It in practical applications, is one-to-one relationship between each display control apparatus and virtual reality device.Here
Described display control mode switching command can be understood as a handoff trigger signal, may include or cuts not comprising needs
The identification information for the display control mode changed to.
203: receiving the display control mode switching command that display control apparatus issues.
In practical applications, it to the control of virtual reality device, can be realized by display control apparatus, naturally it is also possible to
The control device or button configured by virtual reality device itself realizes control.
204: if current display control mode is the second display control mode, according to the display control mode received
Switching command is switched to the first display control mode by second display control mode.
If current display control mode is the first display control mode, switched according to the display control mode received
Instruction is switched to the second display control mode by first display control mode.
Current display control mode mentioned here refers to the operating mode of the current display control of virtual reality device, if empty
The current display control of quasi- real world devices be controlled by virtual reality device itself, then, current display control mode quilt
Referred to as the second display control mode.Certainly, in practical applications, in addition to the first display control mode, the second display control mode
Except, there can also be other display control modes, for example, can carry out simultaneously using display control apparatus and virtual reality device
The mode of display control is known as third display control mode.Mentioned here first, second, third is not the limit to sequence
System, and for distinguishing different display control modes.
When carrying out pattern switching, need to consider the display control mode of current device, so as to avoid being switched to
The identical mode of present mode, avoids handover failure.
205: according to the first display control signal received, adjustment display picture direction.
First display control signal mentioned here is the instruction for being switched to the first display control mode.It is receiving
To after the first display control signal, further the instruction is parsed, so as to adjust display picture according to parsing result
Face direction.Display picture direction mentioned here is the corresponding virtual direction of display picture displayed content.
Fig. 3 is the flow chart of virtual reality display control method provided in an embodiment of the present invention, virtual in the present embodiment
Real display control method can be executed by virtual reality device.As shown in figure 3, this method comprises the following steps:
301: receiving the display control mode switching command that display control apparatus issues.
In the display control mode switching command, the mark of the target display control mode in need being switched to may include
Know information.For example, user wants to be switched to the first display control mode, then can in the display control mode switching command
To include the identification information of the first display control mode.Certainly, in practical applications, any display control can not also be carried
The identification information of mode.
302: if current display control mode is the second display control mode, according to the display control mode received
Switching command is switched to the first display control mode by second display control mode;
In practical applications, before progress display control mode switching, it is also necessary to judge the aobvious of current virtual real world devices
Show control model, and switched over according to current display control mode, if to be cut be changed to target display control mode and currently show
Show that control model is identical, it can also be without switching.
303: according to the first display control signal received, adjustment display picture direction.
It include to show picture adjustment width for controlling virtual reality device in first display control signal mentioned here
The parameter of degree and adjustment direction.After being switched to the first display control mode, it can receive by display control apparatus sending
A variety of first display control signals, so as to adjust display picture direction.Display picture direction mentioned here, it is possible to understand that
For the different display contents that are presented of display picture, such as, it is assumed that the image content that the virtual reality device is presented has 360
The range of degree, when user turn to it is different towards when, the content that picture is shown is also different, and these contents are continuously to draw
Face can provide viewing experience on the spot in person for user.
In one or more embodiment of the invention, the display control mode for receiving display control apparatus and issuing
After switching command, further includes: judge current display control mode;If the current display control mode is the first display control
Mode is then switched to second by first display control mode according to the display control mode switching command received and shows
Show control model.
In order to improve switching efficiency, after receiving switching command, the current display of virtual reality device is first obtained
Control model.If the display control mode that user wants switching is identical as present mode, can be to avoid switching action, if not phase
Together, then it switches over.
Certainly, in practical applications, it can not also judge current display control mode, after receiving switching command,
Display control mode is switched to other display control modes different from current display control mode.
In one or more embodiment of the invention, the display control mode switching that the basis receives refers to
It enables and the first display control mode is switched to by second display control mode, can specifically include: described in receiving
Display control mode switching command enables the first communication interface, and switching the current display control mode is the first display control
Mode;It goes in enabled second display control mode to be used for transmission the second communication interface of the second display control signal.
In general, one of which can only be selected for the control model of the same virtual reality device, so as to keep away
Exempt from different control models and generates instruction conflict.Specifically, it determines and the first display control is switched to by the second display control mode
After mode, enable the first communication interface, can with receive display control apparatus sending information (such as, comprising: switching refer to
It enables, control instruction etc.).It is also desirable to which the second display control mode enable, specifically, can be closed
Two communication interfaces avoid the action detection device (for example, gyroscope) of virtual reality device will movement or attitude signal feedback
To control unit (for example, CPU).
In one or more embodiment of the invention, the display control mode for receiving display control apparatus and issuing
Switching command can specifically include: obtain display control mode switching command, wherein the display control mode switching command
Met by the operation of touch-control by the touch control unit in the display control apparatus and to issue after preset switching threshold.
It should be noted that the display control mould that display control apparatus can just issue after meeting preset switching threshold
Formula switching command.Switching threshold mentioned here, for example, can be time span, triggering times that user triggers touch control unit,
Or user is directed to the touch action of touch control unit.Certainly, touch control unit here can be the touch-control based on handle, mouse etc.
Button, touch screen are also possible to the unit that speech control unit etc. can be realized control function.
It is described according to first display control signal, adjustment display in one or more embodiment of the invention
Picture direction, can specifically include: according to the adjustment numerical value and adjustment direction for including in first display control signal, adjustment
Show picture direction.
According to the difference of display control apparatus, the triggering mode of the first corresponding display control signal is also different, for example,
Display control apparatus is the handle with direction key, can determine adjustment direction by direction key, be pressed the button according to user
Length of time determines adjustment numerical value;Display control apparatus can also be mouse, be determined by the mobile direction of infrared detection mouse
Adjustment direction determines adjustment numerical value by detection mouse moving distance.
In one or more embodiment of the invention, the display control apparatus includes: Trackpad;
It is described according to the adjustment numerical value and adjustment direction that include in first display control signal, adjustment display picture side
To can specifically include: according to the adjustment numerical value and adjustment direction for including in first display control signal, adjustment display picture
Face direction;Wherein, the adjustment numerical value and adjustment direction are the distance slided on the Trackpad based on user's finger and side
To.
It is assumed that display control apparatus is handle, Trackpad (alternatively, touch screen) can be set on handle.User passes through
Finger slides on the touch pad, which is able to detect that the direction of the distance that user's finger is slided on the touch pad and sliding.
Further, sliding distance numerical value and glide direction mark are sent to virtual reality device, so that virtual reality device can
Adjustment display picture direction.In practical applications, in order to meet the needs of different user, sliding distance and display angle of view turn
Corresponding relationship between dynamic angle can be adjusted, and the sensitivity of Trackpad is changed.For example, user is when rotating scene, meeting
It holds handle and is horizontally slipped on the touch pad with thumb, what the scene rotational angle of psychological expectation of customer should be slided with finger
Angle is consistent.In order to make user convenient for control scene rotational angle, and make scene actual rotation angle and psychological expectation of customer one
It causes, defines scene rotational angle are as follows: user's thumb sliding corresponding angle in " using thumb length as the circle of radius ".Its
In, the thumb length of adult is generally 5-7cm, and user's finger slides 0.5 centimetre to the left on the touch pad, corresponding display
Picture rotates 30 degree of visual angles.
Based on same thinking, as shown in figure 4, the embodiment of the present application also provides a kind of virtual reality display control method,
Applied to display control apparatus, this method specifically includes that steps are as follows:
401: whether judgement meets switching threshold for the touch control operation of touch control unit.
As can be seen from the foregoing, which can be the control equipment such as handle, mouse;Touch control unit, can be with
It is push button, Trackpad etc. on handle or mouse.After display control apparatus receives user's touch control operation, according to
Switching threshold (for example, touch-control number, touch-control time span etc.) judges whether touch control operation meets the item for issuing switching command
Part.If switching threshold is that the time span that user touches Trackpad (or button) is 2 seconds, in other words, if user touches touching
The plate time is controlled greater than 2 seconds, then meets switching condition, carries out the switching of display control mode.
402: if satisfied, and the current display control mode of virtual reality device is the second display control mode, it issues aobvious
Show control mode switch instruction to corresponding virtual reality device, so that the virtual reality device is switched to the first display control
Mode.
As it was noted above, if it is more than 2 seconds that user, which persistently touches Trackpad, so that the first communication interface of virtual reality device makes
Can, and virtual reality device is sent to by the first communication interface.
In one or more embodiment of the invention, further includes: Trackpad;
403: obtaining the distance and direction that user's finger is slided on the Trackpad, determine adjustment numerical value and adjustment side
To.
Assuming that display control apparatus is handle, and Trackpad is provided on the handle, user can exist by finger
It is slided on Trackpad, may thereby determine that virtual reality shows the adjustment numerical value and adjustment direction of picture.
404: sending the first display control signal comprising the adjustment numerical value and adjustment direction and set to the virtual reality
It is standby, so that the virtual reality device adjusts display picture direction according to first display control signal.
In practical applications, adjustment display picture direction is it needs to be determined that display picture adjustment distance and direction.Show picture
Distance is adjusted, it is related according to user's finger sliding distance, it certainly, sometimes can also be related according to user's sliding speed.Citing comes
It says, user's sliding distance is bigger, shows that the angle of the view transformation of picture is bigger;Sliding speed is faster, corresponding display picture
Visual angle velocity of rotation is faster, and rotational angle is bigger.
Based on same thinking, the embodiment of the present invention also provides a kind of virtual reality display control unit, as shown in figure 5,
The device mainly includes:
Receiving module 51, for receiving the display control mode switching command of display control apparatus sending;
Switching module 52, if current display control mode is the second display control mode, according to the display received
Control mode switch instruction is switched to the first display control mode by second display control mode;
Module 53 is adjusted, for according to the first display control signal received, adjustment display picture direction.
Further, the receiving module 51, is also used to judge current display control mode;
If the current display control mode is the first display control mode, according to the display control mould received
Formula switching command is switched to the second display control mode by first display control mode.
Further, the switching module 52, for enabling based on the display control mode switching command received
First communication interface, switching the current display control mode is the first display control mode;
It goes in enabled second display control mode to be used for transmission the second communication interface of the second display control signal.
The switching module 52, for obtaining display control mode switching command, wherein the display control mode switching
Instruction, which is met by the operation of touch-control by the touch control unit in the display control apparatus, to be issued after preset switching threshold.
Further, the adjustment module 53, for according to the adjustment numerical value for including in first display control signal
And adjustment direction, adjustment display picture direction.
Further, the display control apparatus includes: Trackpad;
The adjustment module 53, for according to the adjustment numerical value and adjustment side for including in first display control signal
To adjustment display picture direction;Wherein, the adjustment numerical value and adjustment direction are sliding on the Trackpad based on user's finger
Dynamic distance and direction.
Based on same thinking, the embodiment of the present invention also provides a kind of virtual reality display control unit, as shown in fig. 6,
The device mainly includes:
Judgment module 61, for judging whether the touch control operation for touch control unit meets switching threshold;
Sending module 62, if satisfied, and the current display control mode of virtual reality device is the second display control mode,
Display control mode switching command is issued to corresponding virtual reality device, is shown so that the virtual reality device is switched to first
Show control model.
Further, further includes: Trackpad;
Module 63 is obtained, for obtaining the distance and direction that user's finger is slided on the Trackpad, determines adjustment number
Value and adjustment direction;
Sending module 62, for sending the first display control signal comprising the adjustment numerical value and adjustment direction described in
Virtual reality device, so that the virtual reality device adjusts display picture direction according to first display control signal.
Based on the above embodiment, it is received by the touch control unit (for example, button or Trackpad) in display control apparatus
Touch command, if meeting switching threshold, is shown to judge whether the instruction meets display control mode switching threshold
Control mode switch, for example the first display control mode is switched to by the second display control mode, so as to realize by aobvious
Show that control equipment control virtual reality device shows the visual angle of picture.It cannot or be inconvenient to rotate (for example, at user in user
In sitting and lying state) virtual reality device direction when, still be able to meet user and content direction shown to virtual reality device
Control, can effectively promote user experience.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of required general hardware platform is added, naturally it is also possible to which reality is come in conjunction with by way of hardware and software
It is existing.Based on this understanding, substantially the part that contributes to existing technology can be to calculate in other words for above-mentioned technical proposal
The form of machine product embodies, and it wherein includes the meter of computer usable program code that the present invention, which can be used in one or more,
The computer journey implemented in calculation machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of sequence product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
General purpose computer, special purpose computer, Embedded Processor or other programmable coordinates are instructed to determine the processor of equipment to produce
A raw machine, so that being generated by the instruction that computer or other programmable coordinates determine that the processor of equipment executes for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable coordinates determine equipment with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions can also be loaded into computer or other programmable coordinates determine in equipment, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transi tory media), such as the data-signal and carrier wave of modulation.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.