Content of the invention
Method and the device of a kind of adjustment of picture display direction is embodiments provided, is applied to virtual reality and setsStandby, the display direction of the picture of virtual scene default display direction can be switched to, user can be effectively reduced using virtualThe duration of same attitude during real world devices, is maintained, improves the experience of user.
In view of this, embodiment of the present invention first aspect provides a kind of method of picture display direction adjustment, is applied toVirtual reality device, the method includes:
When user is using the virtual reality device, the virtual reality device determines presets display direction;
The virtual reality device determines scene display direction according to the picture of virtual scene;
The virtual reality device shows to the picture of virtual scene according to the scene display direction;
If receive trigger message, the virtual reality device switches to the default display direction to virtual scenePicture is shown.
In the possible realization of one kind, the virtual reality device determines presets display direction, including:
The virtual reality device is received and arranges instruction;
The virtual reality device arranges the instruction determination default display direction according to described.
In the possible realization of one kind, the virtual reality device arranges the instruction determination default display side according to describedTo, including:
The virtual reality device arranges, according to described, the orientation information that instruction obtains the face of presently described user;
Described in direction of the virtual reality device according to indicated by the orientation information of the face of presently described user determinesDefault display direction.
One kind possible realize in, when detect user to preset entity button touch action when, it is determined that receiveTo the trigger message.
In the possible realization of one kind, when the attitude for detecting the user meets preset posture, it is determined that receiveThe trigger message.
Embodiment of the present invention second aspect provides a kind of device of picture display direction adjustment, is applied to virtual reality and setsStandby, the device includes:
First determining module, for when user is using the virtual reality device, determining and presetting display direction;
Second determining module, for determining scene display direction according to the picture of virtual scene;
Display module, the picture for the scene display direction that determines according to second determining module to virtual sceneFace is shown;
Handover module, if during for receiving trigger message, switch to that first determining module determines is described pre-If display direction shows to the picture of virtual scene.
In the possible realization of one kind, first determining module, including:
Receiving unit, arranges instruction for receiving;
Determining unit, the setting instruction for being received according to the receiving unit determines the default display sideTo.
In the possible realization of one kind, it is characterised in that the determining unit, specifically for:
The orientation information of the face of presently described user is obtained according to the setting instruction that the receiving unit is received;
Direction according to indicated by the orientation information of the face of presently described user determines the default display direction.
In the possible realization of one kind, described device also includes:
3rd determining module, for when detect user to preset entity button touch action when, it is determined that receiveThe trigger message.
In the possible realization of one kind, described device also includes:
4th determining module, during for meeting preset posture when the attitude for detecting the user, it is determined that receive instituteState trigger message.
The embodiment of the present invention third aspect provides a kind of computer-readable storage medium, is stored with the computer-readable storage mediumProgram code, the program code is used for indicating to execute the method in above-mentioned first aspect.
As can be seen from the above technical solutions, in embodiments of the present invention, when user is using the virtual reality device,The virtual reality device determines presets display direction;According to the picture of virtual scene, the virtual reality device determines that scene showsShow direction;The virtual reality device shows to the picture of virtual scene according to the scene display direction;If receivingDuring trigger message, the virtual reality device switches to the default display direction to show the picture of virtual scene.I.e.The direction of the picture of virtual reality can be switched to default display direction by the embodiment of the present invention, i.e. display side set in advanceTo when the display direction of the picture of some virtual scenes causes overlong time of the user in certain posture state, by touchingPhotos and sending messages, virtual reality device can switch to the default display direction to show the picture of virtual scene, Ke YiyouThe duration of same attitude when effect reduces user using virtual reality device, is maintained, improves the experience of user.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, "Four " etc. (if present) be for distinguishing similar object, without for describing specific order or precedence.Should manageThe data that solution is so used can be exchanged in the appropriate case, can be with except illustrating here so as to the embodiments described hereinOr the order beyond the content of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended thatCovering is non-exclusive to be included, and for example, the process, method, system, product or the equipment that contain series of steps or unit need not be limitedIn those steps that clearly lists or unit, but may include clearly not list or for these processes, method, productOther intrinsic steps of product or equipment or unit.
The embodiment of the present invention is applied in virtual reality device, for the ease of understanding and narration, below first to reality of the present inventionThe virtual reality device for applying example application does a simple description:
Virtual reality device applied in the embodiment of the present invention refers to virtual reality head-mounted display apparatus, and abbreviation VRHead is aobvious, and in general, VR head is aobvious to be divided three classes:Circumscribed head is aobvious, the aobvious and mobile phone box head of integral type head is aobvious, wherein, mobile phoneThe aobvious VR head for referring to using mobile phone as display of box head is aobvious (also known as VR glasses).Those skilled in the art are it is recognised that oneAs for, complete virtual reality device is processed comprising virtual environment, the virtual environment with high-performance computer as coreDevice, display system, audition tracing system, based on azimuth tracker, data glove data clothing body dimension attitude withTrack system, and functional unit or the module such as the sense of taste, olfactory sensation, tactile and force feedback system.
It should be noted that the above-mentioned description to virtual reality device, not to the virtual reality in the embodiment of the present inventionEquipment is constituted and is limited, and can be included more functions or module, specifically not limited herein.
Described from aforementioned background art, due to virtual reality technology interactivity and the property immersed, work as userWhen entering virtual scene using virtual reality device, the picture of user's virtual scene at the moment can with user to seeing up and down, leftThe view direction such as the right side is seen, rotary head is seen and movement, i.e. user often need to change the attitudes such as body, head and participate in interaction, to obtainSense and feeling of immersion must be interacted, in interaction, with the change of specific virtual reality applications scene, the picture of virtual sceneThe display direction in face usually can also change, and the display direction of the picture of some virtual scenes may be such that user is inThe overlong time of certain posture state, the overlong time for being chronically at same attitude can cause user to produce discomfort, and user makesPoor with experiencing.Therefore, in embodiments of the present invention, there is provided a kind of adjustment side of the display direction of the picture of virtual sceneThe display direction of the picture of virtual scene can be switched to default display direction by method, can effectively reduce user using virtualThe duration of same attitude during real world devices, is maintained, improves the experience of user.
, wherein it is desired to illustrate, virtual reality applications mentioned above can be, but be not limited to reality-virtualizing gameClass application, virtual reality movie theatre class application, virtual reality social activity class application, virtual reality simulation shopping class application, virtual realityEducational application, virtual reality sport category application etc., or virtual reality applications out backward newly developed, specifically herein notLimit.The embodiment of the present invention will be described in detail below.
Fig. 1, Fig. 1 are referred to for a kind of one embodiment flow process of the method for picture display direction adjustment of the embodiment of the present inventionSchematic diagram, is applied to virtual reality device, and the method includes:
101st, when user is using the virtual reality device, the virtual reality device determines presets display direction.
Wherein, user includes two kinds of situations using the virtual reality device, and the first is that user wears virtual realityEquipment simultaneously starts the virtual reality device, but is introduced in virtual reality applications.Refer to that user wears for second virtual existingReal equipment simultaneously starts the virtual reality device, and enters in virtual reality applications.Virtual reality in the embodiment of the present invention setsFor determining default display direction in above-mentioned two situations, it is virtual that the default display direction refers to that virtual reality device showsThe display direction during picture of scene, that is, the display direction that gives tacit consent to.In general, picture shows in user face dead ahead and behavesThe more comfortable attitude of body, as shown in Fig. 2 explanation can be needed using the direction of facial orientation X-axis as default display directionIt is merely just to illustrate, but the embodiment of the present invention is not constituted and limit, virtual reality device can be according to practical situationConfigure to presetting display direction, tool is not limited herein.
102nd, the virtual reality device determines scene display direction according to the picture of virtual scene.
It should be understood that when user enters virtual reality applications using virtual reality device, virtual reality applications are supplied to useFamily is virtual environment, is presented to the user for the picture of virtual scene, during user is interacted with virtual Environment Implementation,The content of the picture of virtual scene can be corresponded to the view direction of user and be changed, the picture of specific virtual sceneContent is determined by specific virtual reality applications, and the content is presented by the picture of each virtual scene has in virtual environmentThe spatial relation for determining, from from the point of view of user, the content of different virtual scene pictures corresponds to different directions,In interaction, when the picture of the virtual scene corresponding to the view direction for determining active user, can be according to the virtualityThe picture of scene determines the display direction of the picture of scene display direction, i.e. virtual scene.
103rd, the virtual reality device shows to the picture of virtual scene according to the scene display direction.
In embodiments of the present invention, after the scene display direction of the picture for determining virtual scene, the virtual realityEquipment shows to the picture of virtual scene according to the scene display direction.
If 104 when receiving trigger message, the virtual reality device switches to the default display direction to virtual fieldThe picture of scape is shown.
I.e. in embodiments of the present invention, when trigger message is received, the virtual reality device can be by current virtualThe display direction of the picture of scene is adjusted to the default display direction.
As can be seen from the above technical solutions, when user is using the virtual reality device, the virtual reality deviceDetermine and preset display direction;The virtual reality device determines scene display direction according to the picture of virtual scene;The virtualityReal world devices show to the picture of virtual scene according to the scene display direction;If receive trigger message, describedVirtual reality device switches to the default display direction to show the picture of virtual scene.I.e. the embodiment of the present invention is permissibleThe direction of the picture of virtual reality is switched to default display direction, i.e. display direction set in advance, when some virtual scenesPicture display direction cause user in certain posture state overlong time when, by trigger message, virtual reality setsFor the default display direction can be switched to show the picture of virtual scene, can effectively reduce user using virtualThe duration of same attitude during real world devices, is maintained, improves the experience of user.
Alternatively, the virtual reality device determines default display direction, including:
The virtual reality device is received and arranges instruction;The virtual reality device is arranged described in instruction determination according to describedDefault display direction.
Wherein it is possible to there is various ways that such scheme is realized, carry out having a talk about below by citing bright, for example, open in userDuring dynamic virtual reality device, show virtual initialization menu in the picture of virtual scene, the virtuality initialization menu is comprising pre-If display direction setting options, by initializing the setting instruction of menu receiving user's input.Or by being pre-configured in voidIntending the button in real world devices, instruction being arranged to the pressing receiving user's input of the button by user, it should be noted that removingOutside mode mentioned above, specifically can not limit herein in the way of other receptions arrange instruction, as long as causing describedVirtual reality device can determine default display direction according to instruction is arranged.As can be seen here, in embodiments of the present invention, in advanceIf display direction is to determine by arranging instruction, the exploitativeness of scheme is improve.
Alternatively, the virtual reality device arranges the instruction determination default display direction according to described, including:
The virtual reality device arranges, according to described, the orientation information that instruction obtains the face of presently described user;DescribedDirection of the virtual reality device according to indicated by the orientation information of the face of presently described user determines the default display direction.
Wherein, virtual reality device can be tracked by the activity of the head to user, so as to obtain the face of userPortion's orientation information, is not specifically limited herein, for example, can track the head of user by sensors such as gyro meter, magnetometersActivity, obtain the orientation information of the face of presently described user, specifically here is omitted.
In embodiments of the present invention, the mode of triggering virtual reality device virtual reality device switching display direction includes manyKind, two kinds of optimized modes presented below:
1st, when detect user to preset entity button touch action when, it is determined that receive the trigger message.
Wherein, default entity button is to configure button, or the virtual reality device in virtual reality deviceButton on additional controls, such as game paddle, is not specifically limited herein.I.e. in embodiments of the present invention, giveA kind of receive trigger message mode, i.e., by preset entity button touch action when, then the virtual reality device is cutIt is changed to the default display direction to show the picture of virtual scene, increased the exploitativeness of scheme.Need exist forBright, except in addition to configuring by way of default entity button, there are ways to realize triggering, for example, can lead toConfiguration touch pad is crossed, when user being detected to the touch of touch pad, it is determined that receive trigger message.Or by acoustic controlMode, such as by the password for sending of detection user, when password meets prerequisite, it is determined that receive trigger message,Specifically do not limit herein.
2nd, when the attitude for detecting the user meets preset posture, it is determined that receive the trigger message.
In embodiments of the present invention, the attitude of real-time detection user can also be passed through, when the attitude of user meets default appearanceDuring state, then the virtual reality device switches to the default display direction to show the picture of virtual scene.Wherein, instituteThe concrete attitude for stating preset posture can be configured, and specifically not limit herein.
As can be seen here, there can be diversified mode to determine whether trigger message is received, enhance many of schemeSample.
Name a practical application scene to illustrate, for example, after user wears virtual reality device, user adjustsThe attitude of oneself is in a kind of pleasant attitude, such as the user shown in Fig. 2 towards attitude, virtual now by clicking onButton in real world devices, then virtual reality device can record current direction as default display direction, so when user byInteraction in the picture of virtual scene cause in a certain attitude overlong time when, user can be by preset operation, such as pointButton etc. is hit, the display direction of the picture of current virtual scene is adjusted to default display direction, that is, revert to originally, but useFamily is in pleasant state, can bring reasonable experience to user.
A kind of method of picture display direction adjustment for being provided based on the embodiments of the present invention, corresponding reality of the present inventionApply the device that example additionally provides a kind of adjustment of picture display direction.
Refer to Fig. 3, Fig. 3 to show for a kind of device one embodiment structure of picture display direction adjustment of the embodiment of the present inventionIt is intended to, the device is applied to virtual reality device, the device includes the first determining module 301, the second determining module 302, showsModule 303 and handover module 304.
First determining module 301, for when user is using the virtual reality device, determining and presetting display direction;
Second determining module 302 is used for determining scene display direction according to the picture of virtual scene;
Display module 303 is for the scene display direction according to second determining module 302 determination to virtual fieldThe picture of scape is shown;
If handover module 304 is used for receiving trigger message, the institute for switching to first determining module 301 to determineState default display direction to show the picture of virtual scene.
Based on Fig. 3, Fig. 4 is referred to, first determining module 301, including:
Receiving unit 3011, arranges instruction for receiving;
Determining unit 3012, the setting instruction for being received according to the receiving unit 3011 determines described defaultDisplay direction.
Based on Fig. 4, Fig. 5 is referred to, described device also includes the 3rd determining module 305.
3rd determining module 305, for when detect user to preset entity button touch action when, it is determined that receiveTo the trigger message.
Based on Fig. 5, Fig. 6 is referred to, described device also includes the 4th module 306.
4th determining module 306 is used for when the attitude for detecting the user meets preset posture, it is determined that receiveTo the trigger message.
In some embodiments of the invention, the determining unit 3012, specifically for:
The orientation information of the face of presently described user is obtained according to the setting instruction that the receiving unit is received;
Direction according to indicated by the orientation information of the face of presently described user determines the default display direction.
Can be seen that when user is using the virtual reality device from apparatus above embodiment, default aobvious by determiningShow direction;Picture according to virtual scene determines scene display direction;According to picture of the scene display direction to virtual sceneFace is shown;If receive trigger message, the default display direction is switched to show the picture of virtual sceneShow.I.e. the direction of the picture of virtual reality can be switched to default display direction by the embodiment of the present invention, i.e., set in advance aobviousShow direction, when the display direction of the picture of some virtual scenes causes overlong time of the user in certain posture state, lead toTrigger message is crossed, virtual reality device can switch to the default display direction to show the picture of virtual scene, canDuring effectively reducing user using virtual reality device, the duration of same attitude, improves the experience of user.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,The specific work process and more details of device and unit, may be referred to the corresponding process in preceding method embodiment,This repeats no more.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method are permissibleRealize by another way.For example, device embodiment described above is only schematic, for example, the unitDivide, only a kind of division of logic function, can have other dividing mode, such as multiple units or component when actually realizingCan in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown orThe coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfacesClose or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unitThe part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multipleOn NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible toIt is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated listUnit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unitWhen, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantiallyThe part in other words prior art being contributed or all or part of the technical scheme can be in the form of software productsEmbody, the computer software product is stored in a storage medium, use so that a computer including some instructionsEquipment (can be personal computer, server, or network equipment etc.) executes the complete of each embodiment methods described of the present inventionPortion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (Read-Only Memory,ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. are various can be with storage programThe medium of code.
The above, above example only in order to technical scheme to be described, rather than a limitation;Although with reference to frontState embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to frontState the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And theseModification or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.