The content of the invention
The many aspects of the present invention provide the method and device that a kind of HMD device shows content, to more convenient, fast
Ground shows the content of normal viewing visual angle to user, rotates body, head or HMD device to adjust viewing visual angle without user,
Improve the viewing efficiency and viewing experience of user.
The present invention provides a kind of method that HMD device shows content, including:
Detect whether to wear the event of the HMD device;
When detecting the event for wearing HMD device generation, obtained from alternating content corresponding to standard viewing angle
Content, the standard viewing angle refers to the visual angle for meeting viewing custom;
Content of the displaying corresponding to the standard viewing angle.
In an optional embodiment, the content obtained from alternating content corresponding to standard viewing angle, including:
The gyroscope of the HMD device is controlled to reset;
The anglec of rotation that the gyroscope is exported after the reset is obtained, first anglec of rotation is used as;
From the alternating content, the HMD device is read from when giving tacit consent to original position rotation first anglec of rotation
Corresponding content, is used as the content corresponding to standard viewing angle.
In an optional embodiment, after content of the displaying corresponding to the standard viewing angle, methods described also includes:
The anglec of rotation that the gyroscope is exported after HMD device rotation is obtained, second anglec of rotation is used as;
From the alternating content, the HMD device is read from when giving tacit consent to original position rotation second anglec of rotation
Corresponding content;
Content corresponding to the standard viewing angle is replaced with into the HMD device from acquiescence original position rotation described second
Corresponding content during the anglec of rotation.
In an optional embodiment, the content obtained from alternating content corresponding to standard viewing angle, including:
The anglec of rotation that the gyroscope of the HMD device is exported when the HMD device is worn is obtained, the 3rd rotation is used as
Gyration;
Using the 3rd anglec of rotation as anglec of rotation offset, using the anglec of rotation offset by the described 3rd
The anglec of rotation is modified to the corresponding standard anglec of rotation of the standard viewing angle;
From the alternating content, the HMD device is read from when giving tacit consent to the original position rotation standard anglec of rotation
Corresponding content, is used as the content corresponding to the standard viewing angle.
In an optional embodiment, after content of the displaying corresponding to the standard viewing angle, methods described also includes:
The anglec of rotation that the gyroscope is exported after HMD device rotation is obtained, the 4th anglec of rotation is used as;
Using the 4th anglec of rotation described in the anglec of rotation offset correction, to obtain the 5th anglec of rotation;
From the alternating content, the HMD device is read from when giving tacit consent to original position rotation five anglec of rotation
Corresponding content;
Content corresponding to the standard viewing angle is replaced with into the HMD device from acquiescence original position rotation the described 5th
Corresponding content during the anglec of rotation.
It is described to utilize the 4th anglec of rotation described in the anglec of rotation offset correction in an optional embodiment, with
The 5th anglec of rotation is obtained, including:
When the standard anglec of rotation is 0 degree, obtain the anglec of rotation offset and the 4th anglec of rotation it
The absolute value of difference, is used as the 5th anglec of rotation;Or
When the standard anglec of rotation is 180 degree, by the difference of 180 degree and the anglec of rotation offset and described the
Four anglecs of rotation are added, to obtain the 5th anglec of rotation.
In an optional embodiment, before the content corresponding to standard viewing angle is obtained from alternating content, the side
Method also includes:
Judge whether the HMD device is in broadcast state;
In judged result for when being, execution obtains the operation of the content corresponding to standard viewing angle from alternating content.
The present invention also provides a kind of device for showing content, and applied to HMD device, described device includes:
Detection module, for detecting whether wearing the event of the HMD device;
Acquisition module, for when the detection module detects the event generation for wearing the HMD device, out of candidate
The content corresponding to standard viewing angle is obtained in appearance, the standard viewing angle refers to the visual angle for meeting viewing custom;
Display module, for showing the content corresponding to the standard viewing angle.
In an optional embodiment, the acquisition module specifically for:
The gyroscope of the HMD device is controlled to reset;
The anglec of rotation that the gyroscope is exported after the reset is obtained, first anglec of rotation is used as;
From the alternating content, the HMD device is read from when giving tacit consent to original position rotation first anglec of rotation
Corresponding content, is used as the content corresponding to standard viewing angle.
In an optional embodiment, the acquisition module is additionally operable to:The gyroscope is obtained to rotate in the HMD device
The anglec of rotation exported afterwards, as second anglec of rotation, and from the alternating content, reads the HMD device from acquiescence
Corresponding content during beginning position rotation second anglec of rotation;The display module is additionally operable to:It will be regarded corresponding to the standard
The content at angle replaces with the HMD device from corresponding content when giving tacit consent to original position rotation second anglec of rotation.
In an optional embodiment, the acquisition module specifically for:
The anglec of rotation that the gyroscope of the HMD device is exported when the HMD device is worn is obtained, the 3rd rotation is used as
Gyration;
Using the 3rd anglec of rotation as anglec of rotation offset, using the anglec of rotation offset by the described 3rd
The anglec of rotation is modified to the corresponding standard anglec of rotation of the standard viewing angle;
From the alternating content, the HMD device is read from when giving tacit consent to the original position rotation standard anglec of rotation
Corresponding content, is used as the content corresponding to the standard viewing angle.
In an optional embodiment, the acquisition module is additionally operable to:The gyroscope is obtained to rotate in the HMD device
The anglec of rotation exported afterwards, is used as the 4th anglec of rotation;Using the 4th anglec of rotation described in the anglec of rotation offset correction,
To obtain the 5th anglec of rotation;And from the alternating content, read the HMD device described from original position rotation is given tacit consent to
Corresponding content during five anglecs of rotation;
The display module is additionally operable to:Content corresponding to the standard viewing angle is replaced with into the HMD device from acquiescence
Corresponding content when original position rotates five anglec of rotation.
In an optional embodiment, the acquisition module specifically for:
When the standard anglec of rotation is 0 degree, obtain the anglec of rotation offset and the 4th anglec of rotation it
The absolute value of difference, is used as the 5th anglec of rotation;Or
When the standard anglec of rotation is 180 degree, by the difference of 180 degree and the anglec of rotation offset and described the
Four anglecs of rotation are added, to obtain the 5th anglec of rotation.
In an optional embodiment, described device also includes:Judge module, for judging whether the HMD device is located
In broadcast state;And correspond to standard in judged result when being, to trigger the acquisition module and performing to obtain from alternating content
The operation of the content at visual angle.
In the present invention, when detecting the event for wearing HMD device generation, obtained from alternating content and correspond to standard
The content at visual angle, content of the displaying corresponding to the standard viewing angle.So, no matter direction when user wears HMD device
The content of normal viewing angle will be seen, rotate body, head or HMD device to adjust viewing visual angle without user, can be more
The content of normal viewing angle is quickly and easily shown to user, the viewing efficiency and viewing experience of user is improved.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and
Technical solution of the present invention is clearly and completely described corresponding accompanying drawing.Obviously, described embodiment is only the present invention one
Section Example, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing
Go out the every other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
In various embodiments of the present invention, HMD device can be applied to the fields such as AR, VR, MR.HMD device can be to wearing HMD
The user of equipment shows in various contents, such as 360 degree of panorama the perhaps content of non-360 degree.These contents can be video,
Picture or game picture etc..HMD device can provide the user the comprehensive sense organ simulation on vision, the sense of hearing, tactile, allow use
Family ground complete new experience for being brought by AR, VR or MR scene of vivid sense as on the spot in person.
The technical problem that HMD device can not see the content of normal viewing visual angle is worn to solve user, the present invention is implemented
Example provides a solution, and cardinal principle is:After HMD device is worn, obtain and regarded corresponding to standard from alternating content
The content at angle, content of the displaying corresponding to the standard viewing angle.So, no matter direction when user wears HMD device,
The content of normal viewing visual angle can all be seen by wearing after HMD device, can be more quickly and easily to the normal viewing of user's displaying
The content at visual angle, rotates body, head or HMD device without user and adjusts viewing visual angle, improve user viewing efficiency and
Viewing experience.
Fig. 1 shows the method flow schematic diagram of content for the HMD device that one embodiment of the invention is provided.As shown in figure 1, institute
The method of stating includes:
101st, detect whether occur the event that user wears HMD device.
102nd, when detecting the event for wearing HMD device generation, obtained from alternating content corresponding to standard viewing angle
Content, the standard viewing angle refers to the visual angle for meeting viewing custom.
103rd, content of the displaying corresponding to the standard viewing angle.
In the present embodiment, HMD device carries proximity sensor (Proximity Sensor).Proximity sensor is
Refer to can with the sensor of detection object degree of closeness, degree of closeness can represent object arriving, it is close, occur, leave away or disappear
Deng.In the present embodiment, the proximity sensor on HMD device can detect whether occur the event that user wears HMD device.Example
Such as, proximity sensor can detect HMD device in whether have user's face patch close or remote from action, so as to know HMD device
It is to be worn or be removed.In general, can when proximity sensor, which is detected in HMD device, has user's face to press close to
To determine to occur the event that user wears HMD device.
In the present embodiment, if detecting the event generation that user wears HMD device, i.e., HMD device is worn by the user,
It is not that the content displaying matched with HMD device present rotation angel degree is directly obtained from alternating content to user, but from time
Select and the content displaying corresponding to standard viewing angle is obtained in content to user.Here alternating content can be in any type of
Hold, such as can be with 360 degree of panoramic video or picture or game picture, or can also be non-360 degree video or picture or
Game picture etc..Here standard viewing angle refers to the visual angle for meeting user's viewing custom.In general, standard viewing angle refers to be located at
Visual angle immediately ahead of user, but not limited to this.In actual applications, standard viewing angle can be defined according to application demand adaptability.
In the present embodiment, after HMD device is worn, the content corresponding to standard viewing angle is obtained from alternating content,
Content of the displaying corresponding to the standard viewing angle.So, no matter direction when user wears HMD device, it can all see just
The content of normal viewing visual angle, and also can all see same view angle when different user wears the HMD device same content of viewing
Content, rotates body, head or HMD device to adjust viewing visual angle without user, can be more quickly and easily to user's exhibition
Show the content of normal viewing visual angle, improve the viewing efficiency and viewing experience of user.
Wherein, the content corresponding to standard viewing angle is obtained from alternating content, there can be a variety of implementations.For example, can
With during the HMD device display content links realize.Below by specific embodiment, to two of which implementation
Illustrate.
Fig. 2 a show the method flow schematic diagram of content for the HMD device that another embodiment of the present invention is provided.Such as Fig. 2 a institutes
Show, methods described includes:
201st, the proximity sensor based on HMD device, detects whether to wear the event of the HMD device.
202nd, when detecting the event for wearing HMD device generation, the gyroscope of control HMD device resets.
203rd, the anglec of rotation that gyroscope is exported after the reset is obtained, is used as first anglec of rotation.
204th, from alternating content, the HMD device is read corresponding when original position rotates first anglec of rotation from giving tacit consent to
Content, be used as the content corresponding to standard viewing angle.
205th, content of the displaying corresponding to the standard viewing angle.
In the present embodiment, the acquiescence original position of HMD device is set, and using the acquiescence original position of HMD device as base
Plinth, sets up corresponding relation between the anglec of rotation of HMD device and content.In addition, the present embodiment presets gyroscope and existed
The anglec of rotation of original state output is corresponding with standard viewing angle.Based on this, if detecting the event hair that user wears HMD device
Raw, i.e., HMD device is worn by the user, and the gyroscope of HMD device is resetted, i.e., gyroscope restPoses.It is alternatively possible to
Reseting controling signal is sent to gyroscope, so that gyroscope automatically resets to original state.The rotation that gyroscope is exported after resetting
Angle is the anglec of rotation of correspondence standard viewing angle.It is alternatively possible to preset the anglec of rotation that gyroscope is exported in original state
Degree is 0 degree or 180 degree, but not limited to this.Based on this, the anglec of rotation that gyroscope is exported after the reset can be obtained, for ease of
Distinguish and describe, the anglec of rotation that gyroscope is exported after the reset is designated as first anglec of rotation.Wherein, the first anglec of rotation phase
When the angle rotated in HMD device from acquiescence original position.Then, from alternating content, read HMD device and give tacit consent to start bit certainly
Corresponding content when putting first anglec of rotation of rotation, is used as the content corresponding to standard viewing angle.Finally, standard viewing angle will be corresponded to
Content displaying to user.
By the way that the gyroscope on HMD device is resetted, the anglec of rotation exported after the reset based on gyroscope is out of candidate
The content at corresponding visual angle is read in appearance, the effect for reading the corresponding content of standard viewing angle can be reached.
For example, be seated face-to-face in user A and user B, when user A wears HMD device viewing content, the top of HMD device
Spiral shell instrument resets, it is assumed that the anglec of rotation that gyroscope is exported after resetting is 0 degree, then user A can be appreciated that 0 degree of corresponding content.Afterwards,
HMD device is passed user B and wears the same content of viewing by user B by user A.Now, HMD device have rotated 180 degree, gyro
The anglec of rotation that instrument is normally exported ought to be 180 degree, still, in the present embodiment, can reset gyroscope, and then gyroscope is answered
The anglec of rotation exported behind position is 0 degree, and user B also can be appreciated that 0 degree of corresponding content.As can be seen here, without user B turn round to
User A is equidirectional can to see the content of same view angle with user A.
In another example, in the scene that multiple users share a HMD device, when different user wears HMD device, if different
The direction of user's direction is different, and the gyroscope of HMD device ought to export the different anglecs of rotation, and different user can be appreciated that difference is regarded
The content at angle.But, because in the present embodiment, gyroscope can be resetted, for different user, after wearing HMD device, top
The anglec of rotation of spiral shell instrument output is the anglec of rotation after resetting, all same, even if therefore different user direction it is different, it is each to use
Family is not being adjusted each in the case of it can also be seen that the content of same view angle.
On the basis of Fig. 2 a illustrated embodiments, after the corresponding content of standard viewing angle is shown to user, user may be used also
Select to watch the content at other visual angles to rotate head.Based on this, as shown in Figure 2 b, after step 205, in addition to:
206th, the anglec of rotation that the gyroscope is exported after HMD device rotation is obtained, second anglec of rotation is used as.
207th, from the alternating content, HMD device is read from when giving tacit consent to original position rotation second anglec of rotation
Corresponding content.
208th, the content corresponding to the standard viewing angle is replaced with into HMD device from acquiescence original position rotation described second
Corresponding content during the anglec of rotation.
In the present embodiment, user can rotate head, to select during the corresponding content of viewing standard viewing angle
Watch the content at other visual angles.When user rotates head, HMD device can follow user's head to rotate and rotate, and gyroscope is defeated
The anglec of rotation gone out can change, now, can directly read gyroscope defeated after HMD device rotates (i.e. user's head is rotated)
The anglec of rotation gone out.For ease of describing and distinguishing, the anglec of rotation that gyroscope is exported after HMD device rotation is designated as the second rotation
Gyration.Wherein, second anglec of rotation is equivalent to the angle that HMD device rotates from acquiescence original position.Then, from alternating content
In, read HMD device and give tacit consent to corresponding content when original position rotates second anglec of rotation, and corresponding to current presentation certainly
The content of standard viewing angle replaces with HMD device from corresponding content when giving tacit consent to original position second anglec of rotation of rotation, so as to
User shows the content at other visual angles.
Fig. 3 a show the method flow schematic diagram of content for the HMD device that further embodiment of this invention is provided.Such as Fig. 3 a institutes
Show, methods described includes:
301st, the proximity sensor based on HMD device, detects whether to wear the event of the HMD device.
302nd, when detecting the event for wearing HMD device generation, the gyroscope of HMD device is obtained in the HMD device
The anglec of rotation exported when being worn, is used as the 3rd anglec of rotation.
303rd, the 3rd anglec of rotation is rotated as anglec of rotation offset using the anglec of rotation offset by the 3rd
Angle modification is the corresponding standard anglec of rotation of standard viewing angle.
304th, from alternating content, HMD device is read corresponding interior when original position rotates the standard anglec of rotation from giving tacit consent to
Hold, be used as the content corresponding to the standard viewing angle.
305th, content of the displaying corresponding to the standard viewing angle.
In the present embodiment, the acquiescence original position of HMD device is set, and using the acquiescence original position of HMD device as base
Plinth, sets up corresponding relation between the anglec of rotation of HMD device and content.In addition, the present embodiment presets standard viewing angle
The corresponding anglec of rotation, referred to as the standard anglec of rotation, for example, can be 0 degree or 180 degree, but not limited to this.If detecting use
The event that HMD device is worn at family occurs, i.e., HMD device is worn by the user, and the gyroscope for reading HMD device is worn in HMD device
The anglec of rotation exported when wearing, the anglec of rotation is the actual anglec of rotation after HMD device is worn by the user.For ease of description and
Distinguish, the anglec of rotation is referred to as the 3rd anglec of rotation.Then, using the 3rd anglec of rotation as anglec of rotation offset, utilize
3rd anglec of rotation is modified to the corresponding standard anglec of rotation of the standard viewing angle by the anglec of rotation offset.Its
In, the standard anglec of rotation obtained by amendment is equivalent to the angle that HMD device rotates from acquiescence original position.Afterwards, from time
Select in content, read HMD device from corresponding content when original position rotates the standard anglec of rotation is given tacit consent to, as correspond to
The content of the standard viewing angle.
For example, it is assumed that the standard anglec of rotation is 0 degree, then can be by the anglec of rotation offset and the 3rd anglec of rotation
Degree subtracts each other, to obtain the standard anglec of rotation.Because anglec of rotation offset is the 3rd anglec of rotation, the rotation
Offset is 0 degree, i.e. the standard anglec of rotation with the result that the 3rd anglec of rotation is subtracted each other.
In another example, it is assumed that the standard anglec of rotation is 180 degree, then can be by 180 degree and the difference of the anglec of rotation offset
Value is added with the 3rd anglec of rotation, to obtain the standard anglec of rotation.Because anglec of rotation offset is the 3rd rotation
Gyration, so 180 degree is 180 with the result that the difference of the anglec of rotation offset is added with the 3rd anglec of rotation
Degree, i.e. the standard anglec of rotation.
Certainly, the standard anglec of rotation can also be other number of degrees, and principle is similar, will not enumerate herein.
On the basis of Fig. 3 a illustrated embodiments, after the corresponding content of displaying standard viewing angle, user can also rotate
Head selects to watch the content at other visual angles.Based on this, as shown in Figure 3 b, after step 305, in addition to:
306th, the anglec of rotation that the gyroscope is exported after HMD device rotation is obtained, the 4th anglec of rotation is used as.
307th, using the 4th anglec of rotation described in the anglec of rotation offset correction, to obtain the 5th anglec of rotation.
308th, from alternating content, HMD device is read corresponding when original position rotates five anglec of rotation from giving tacit consent to
Content.
309th, the content corresponding to the standard viewing angle is replaced with into HMD device from acquiescence original position rotation the described 5th
Corresponding content during the anglec of rotation.
Alternatively, if the standard anglec of rotation is 0 degree, the difference of anglec of rotation offset and the 4th anglec of rotation can be obtained
Absolute value, be used as the 5th anglec of rotation.
Alternatively, if the standard anglec of rotation is 180 degree, the difference of 180 degree and the anglec of rotation offset can be obtained
Value is added with the 3rd anglec of rotation, and addition result is used as the 5th anglec of rotation.
Assuming that user have rotated head during the corresponding content of HMD device viewing standard viewing angle is worn, now HMD
Equipment can follow user's head to rotate and rotate, the anglec of rotation that gyroscope is exported after user's head rotation, i.e., the 4th
The anglec of rotation is 100 degree, and the anglec of rotation of gyroscope output before the user's head is rotated, i.e. the 3rd anglec of rotation is 80
Degree.Then anglec of rotation offset is 80 degree, if the standard anglec of rotation is 0 degree, | 80 degree of -100 degree | it is 20 degree, i.e., the 5th
The anglec of rotation is 20 degree, and 20 degree here have rotated 20 degree equivalent to HMD device from original position is given tacit consent to, and can then obtain
HMD device corresponding content and shows user from giving tacit consent to when original position rotates 20 degree.As can be seen here, user can be with rotary head
The image at other visual angles is watched in portion.
Further, when showing content by HMD device, the use state of HMD device can be combined.As shown in figure 4, this
The method for inventing the HMD device displaying content that another embodiment is provided, comprises the following steps:
401st, the proximity sensor based on HMD device, detects whether to wear the event of the HMD device;If sentencing
Disconnected result is yes, that is, detects the event generation for wearing HMD device, then perform step 402,;Conversely, terminating this time to operate.
402nd, judge whether HMD device is in broadcast state;If the determination result is YES, step 403 is performed;If judged result
It is no, terminates this time to operate.
403rd, the content corresponding to standard viewing angle is obtained from alternating content, the standard viewing angle refers to meet viewing custom
Visual angle.
404th, content of the displaying corresponding to the standard viewing angle.
HMD device refers to that HMD device is in the states such as video playback, picture playing state in broadcast state, but does not limit
In this.When each user wears HMD device, the content of correspondence standard viewing angle in video or picture that HMD device is being played
Show user because standard viewing angle meet user viewing custom, be conducive to user in time, easily watch normal viewing visual angle
In the range of content.
It should be noted that the executive agent that above-described embodiment provides each step of method may each be same equipment,
Or, this method is also used as executive agent by distinct device.Such as, the executive agent of step 101 to step 103 can be equipment
A;Again such as, step 101 and 102 executive agent can be device A, and the executive agent of step 103 can be equipment B;Etc..
The apparatus structure schematic diagram for the displaying content that Fig. 5 provides for further embodiment of this invention.As shown in figure 5, device bag
Include:Detection module 51, acquisition module 52 and display module 53.
Detection module 51, for detecting whether wearing the event of HMD device.
Acquisition module 52, for when detection module 51 detects the event generation for wearing HMD device, from alternating content
The content corresponding to standard viewing angle is obtained, the standard viewing angle refers to the visual angle for meeting viewing custom.
Display module 53, for showing the content corresponding to the standard viewing angle.
In an optional embodiment, acquisition module 52 is particularly used in:The gyroscope of the HMD device is controlled to reset;
The anglec of rotation that the gyroscope is exported after the reset is obtained, first anglec of rotation is used as;From the alternating content, read
HMD device corresponds to standard viewing angle from corresponding content when original position rotates first anglec of rotation is given tacit consent to, as described
Content.
Further, acquisition module 52 is additionally operable to:Obtain the anglec of rotation that the gyroscope is exported after HMD device rotation
Degree, as second anglec of rotation, and from the alternating content, reads HMD device from original position is given tacit consent to and rotates described second
Corresponding content during the anglec of rotation.Correspondingly, display module 53 is additionally operable to:Content corresponding to the standard viewing angle is replaced with
HMD device gives tacit consent to corresponding content when original position rotates second anglec of rotation certainly.
In an optional embodiment, acquisition module 52 is particularly used in:The gyroscope of the HMD device is obtained described
The anglec of rotation that HMD device is exported when being worn, is used as the 3rd anglec of rotation;It regard the 3rd anglec of rotation as the anglec of rotation
Offset, is modified to the corresponding standard of the standard viewing angle by the 3rd anglec of rotation using the anglec of rotation offset and revolves
Gyration;From the alternating content, HMD device is read corresponding when original position rotates the standard anglec of rotation from giving tacit consent to
Content, is used as the content corresponding to the standard viewing angle.
Further, acquisition module 52 the 3rd anglec of rotation is modified to using the anglec of rotation offset it is described
During the corresponding standard anglec of rotation of standard viewing angle, specifically for:When the standard anglec of rotation is 0 degree, by the anglec of rotation
Degree offset is subtracted each other with the 3rd anglec of rotation, to obtain the standard anglec of rotation;Or, in the standard anglec of rotation
During for 180 degree, 180 degree is added with the difference of the anglec of rotation offset with the 3rd anglec of rotation, it is described to obtain
The standard anglec of rotation.
Further, acquisition module 52 is additionally operable to:Obtain the anglec of rotation that the gyroscope is exported after HMD device rotation
Degree, is used as the 4th anglec of rotation;Using the 4th anglec of rotation described in the anglec of rotation offset correction, to obtain the 5th rotation
Angle;And from the alternating content, read HMD device corresponding when original position rotates five anglec of rotation from giving tacit consent to
Content.Correspondingly, display module 53 is additionally operable to:Content corresponding to the standard viewing angle is replaced with into HMD device from acquiescence
Corresponding content when original position rotates five anglec of rotation.
Further, the acquisition module of acquisition module 52 is utilizing the 4th anglec of rotation described in the anglec of rotation offset correction
Degree, to obtain during five anglecs of rotation, specifically for:
When the standard anglec of rotation is 0 degree, obtain the anglec of rotation offset and the 4th anglec of rotation it
The absolute value of difference, is used as the 5th anglec of rotation;Or
When the standard anglec of rotation is 180 degree, by the difference of 180 degree and the anglec of rotation offset and described the
Four anglecs of rotation are added, to obtain the 5th anglec of rotation.
Further, as shown in fig. 6, the device of the present embodiment also includes:Judge module 54.
Judge module 54, for judging whether HMD device is in broadcast state;And in judged result for when being, triggering is obtained
Modulus block 52 performs the operation that the content corresponding to standard viewing angle is obtained from alternating content.
The device for the displaying content that the present embodiment is provided, available for the flow for performing above-mentioned each method embodiment, its is specific
Work-based logic is repeated no more, and refers to the description of embodiment of the method.
The device for the displaying content that the present embodiment is provided, when detecting the event for wearing HMD device generation, out of candidate
The content corresponding to standard viewing angle, content of the displaying corresponding to the standard viewing angle are obtained in appearance.So, no matter user wears
How is direction during HMD device, can all see the content of normal viewing visual angle, and body, head or HMD device are rotated without user
To adjust viewing visual angle, the content of normal viewing visual angle can be more quickly and easily shown to user, the viewing of user is improved
Efficiency and viewing experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code
The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to the method according to the invention, the flow chart of equipment (system) and computer program product and/or
Block diagram is described.It should be understood that can by each flow in computer program instructions implementation process figure and/or block diagram and/or
Square frame and the flow in flow chart and/or block diagram and/or the combination of square frame.These computer program instructions can be provided to arrive
All-purpose computer, special-purpose computer, the processor of Embedded Processor or other programmable data processing devices are to produce one
Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for realizing in stream
The device for the function of being specified in one flow of journey figure or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal 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 instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap
Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described
Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, system or computer program product.
Therefore, the present invention can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.Deposited moreover, the present invention can use to can use in one or more computers for wherein including computer usable program code
The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
Embodiments of the invention are the foregoing is only, are not intended to limit the invention.For those skilled in the art
For, the present invention can have various modifications and variations.It is all any modifications made within spirit and principles of the present invention, equivalent
Replace, improve etc., it should be included within scope of the presently claimed invention.