CN107562211A - Cursor anti-fluttering method, device, storage medium and wear display device - Google Patents

Cursor anti-fluttering method, device, storage medium and wear display device Download PDF

Info

Publication number
CN107562211A
CN107562211A CN201710989340.5A CN201710989340A CN107562211A CN 107562211 A CN107562211 A CN 107562211A CN 201710989340 A CN201710989340 A CN 201710989340A CN 107562211 A CN107562211 A CN 107562211A
Authority
CN
China
Prior art keywords
cursor
detection cycle
display device
theoretical displacement
determined distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710989340.5A
Other languages
Chinese (zh)
Inventor
徐子昭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201710989340.5A priority Critical patent/CN107562211A/en
Publication of CN107562211A publication Critical patent/CN107562211A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention discloses a kind of cursor anti-fluttering method, and methods described includes:According to default detection cycle obtain the cursor that is shown in the display interface for wearing display device in the detection cycle in response to it is described wear display device motion caused by theoretical displacement;Judge whether the absolute value of the theoretical displacement is less than the first pre-determined distance;When the absolute value for judging the theoretical displacement of the cursor in the detection cycle be not less than first pre-determined distance, the position that is shown according to the theoretical displacement renewal cursor in the display interface;When the absolute value for judging theoretical displacement of the cursor in the detection cycle is less than first pre-determined distance, the position for keeping the cursor to be shown in the display interface is constant.Correspondingly, the present invention also provides a kind of cursor anti-shake apparatus, storage medium and wears display device.Using the embodiment of the present invention, cursor can be prevented because being shaken wearing the shake of display device.

Description

Cursor anti-fluttering method, device, storage medium and wear display device
Technical field
The present invention relates to technical field of virtual reality, more particularly to a kind of cursor anti-fluttering method, device, storage medium and head Wear display device.
Background technology
Being related to HMD in VR (virtual reality, virtual reality) applications, (Head Mount Display wear aobvious Show equipment) in the scene that uses, change HMD display content often through displacements of the HMD in real scene and rotation, with Immediately corresponding virtual scene is rendered to player according to some actions of player.One of HMD equivalent to player and Virtual Space Interaction carrier:Player goes ahead, and drives HMD to move forward, and HMD is presented player in virtual scene to player immediately and goes ahead and seen The content arrived;Player drives HMD to turn left, and HMD is then presented player in virtual scene to player and turned left seen content.
In actual applications, player is interacted by the cursor being shown in HMD display interface with virtual scene.Player HMD motions are driven, then drive cursor movement, then interact by cursor and scene.
But the long-time for wearing display device bring fatigue and sense of discomfort using meeting to player so that HMD is easily trembled Dynamic situation, so as to cause cursor to be shaken, the time one is grown, and players eye may be caused uncomfortable, in addition, cursor shake also to play Family can not be accurately positioned to target area using cursor.Prior art is that solved by expanding the response region interacted with cursor The problem of cursor is shaken, but if region is designed to that too greatly, excessive screen space can be taken, in addition, expanding response region also The problem of to player operation being brought to have some setbacks.
The content of the invention
In order to solve the problems, such as that prior art is present, the embodiment of the present invention proposes a kind of cursor anti-fluttering method, device, storage Medium and display device is worn, the cursor jitter phenomenon as caused by being shaken head mounted display can be suppressed, lift player experience.
The embodiment of the present invention provides a kind of cursor anti-fluttering method, and methods described includes:
The cursor being shown in the display interface for wearing display device is obtained in the detection according to default detection cycle In cycle theoretical displacement caused by display device motion is worn in response to described;
Judge whether the absolute value of theoretical displacement of the cursor in the detection cycle is less than the first pre-determined distance;
When the absolute value for judging the theoretical displacement of the cursor in the detection cycle it is default not less than described first away from From when, update what the cursor was shown in the display interface according to theoretical displacement of the cursor in the detection cycle Position;
When the absolute value for judging theoretical displacement of the cursor in the detection cycle is less than first pre-determined distance When, the position for keeping the cursor to be shown in the display interface is constant.
In a kind of optional embodiment, described be shown according to the acquisition of default detection cycle wears display device Cursor in display interface wears theoretical displacement caused by display device motion, bag in the detection cycle in response to described Include:
Rotational angle of the display device in the detection cycle is worn according to obtaining default detection cycle;
According to the rotational angle for wearing display device in the detection cycle, calculating, which is shown in, wears display device Display interface in theoretical displacement of the cursor in the detection cycle.
It is described to wear display device in institute according to obtaining default detection cycle in a kind of optional embodiment The rotational angle in detection cycle is stated, including:
Display device is worn according to obtaining default detection cycle in the detection cycle around default center point to turn Dynamic angle, as the rotational angle for wearing display device in the detection cycle.
In a kind of optional embodiment, rotation of the display device in the detection cycle is worn described in the basis Angle, calculating are shown in theoretical displacement of the cursor in the display interface for wearing display device in the detection cycle, including:
According to the rotational angle for wearing display device in the detection cycle, the cursor is calculated with described pre- If central point is the centre of sphere and using the second pre-determined distance as the displacement on the sphere of radius, as the cursor in the detection cycle Interior theoretical displacement.
In a kind of optional embodiment, the theoretical displacement when the judgement cursor in the detection cycle When absolute value is not less than first pre-determined distance, according to theoretical displacement renewal of the cursor in the detection cycle The position that cursor is shown in the display interface, including:
When the absolute value for judging the theoretical displacement of the cursor in the detection cycle it is default not less than described first away from From when, moved according to cursor described in theoretical Bit andits control of the cursor in the detection cycle on the sphere, with more The position that the new cursor is shown in the display interface.
In a kind of optional embodiment, methods described also includes:
The first distance setting instruction is obtained, first pre-determined distance is set according to the described first distance setting instruction.
In a kind of optional embodiment, methods described also includes:
Second distance setting instruction is obtained, setting instruction according to the second distance sets second pre-determined distance.
Correspondingly, the embodiment of the present invention also provides a kind of cursor anti-shake apparatus, and described device includes:
First acquisition module, it is shown in for being obtained according to default detection cycle in the display interface for wearing display device Cursor in the detection cycle in response to it is described wear display device motion caused by theoretical displacement;
First judge module, for judging whether the absolute value of theoretical displacement of the cursor in the detection cycle is small In the first pre-determined distance;
First determination module, the absolute value for the theoretical displacement when the judgement cursor in the detection cycle be not small When first pre-determined distance, the cursor is updated described according to theoretical displacement of the cursor in the detection cycle The position shown in display interface;
Second determination module, for being less than when the absolute value for judging theoretical displacement of the cursor in the detection cycle During first pre-determined distance, the position for keeping the cursor to be shown in the display interface is constant.
Correspondingly, the embodiment of the present invention also provides a kind of storage medium, and the storage medium includes the computer journey of storage Sequence, wherein, equipment where controlling the storage medium when the computer program is run is performed such as above-mentioned any embodiment institute The cursor anti-fluttering method stated.
Correspondingly, the embodiment of the present invention also provides one kind and wears display device, it is described wear display device include processor, Memory and it is stored in the memory and is configured as by the computer program of the computing device, the processor The cursor anti-fluttering method as described in above-mentioned any embodiment is realized when performing the computer program.
The embodiment of the present invention provides a kind of cursor anti-fluttering method, device, storage medium and wears display device, wherein, institute The cursor for wearing display device can be shown in the detection week according to the acquisition of default detection cycle by stating cursor anti-fluttering method Theoretical displacement caused by display device motion is worn in response to described in phase, so as to obtain cursor in the detection cycle Theoretical displacement, by when the absolute value for judging the theoretical displacement of the cursor in the detection cycle it is default not less than first away from From when update the position that the cursor shows in the display interface, and when judging the cursor in the detection cycle The absolute value of theoretical displacement when being less than first pre-determined distance, the position for keeping the cursor to be shown in the display interface Put constant, the shake for wearing display device is judged and buffered so as to realize, prevent cursor with wearing trembling for display device It is dynamic that unnecessary displacement occurs, realize cursor stabilization effect;Relative to traditional cursor anti-fluttering method, using the embodiment of the present invention Cursor anti-fluttering method, without expanding the response region that is interacted with cursor, ensure that the operation smooth degree of cursor, brought to player More preferable operating experience.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of one embodiment of cursor anti-fluttering method provided by the invention;
Fig. 2 is the structural representation of one embodiment of cursor anti-shake apparatus provided by the invention;
Fig. 3 is the structural representation of one embodiment provided by the invention for wearing display device.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It is the schematic flow sheet of one embodiment of cursor anti-fluttering method provided by the invention referring to Fig. 1, methods described tool Body comprises the following steps:
S101, the cursor being shown in the display interface for wearing display device is obtained described according to default detection cycle In detection cycle theoretical displacement caused by display device motion is worn in response to described;
S102, judge theoretical displacement of the cursor in the detection cycle absolute value whether be less than first it is default away from From;
S103, when the absolute value for judging theoretical displacement of the cursor in the detection cycle is pre- not less than described first If apart from when, the cursor is updated in the display interface according to theoretical displacement of the cursor in the detection cycle and shown The position shown;
S104, preset when the absolute value for judging theoretical displacement of the cursor in the detection cycle is less than described first Apart from when, the position for keeping the cursor to be shown in the display interface is constant.
It should be noted that the cursor be shown in it is described wear in the display interface of display device, available for it is described The scene shown by the display interface of display device is worn to interact.
Obtained according to default detection cycle and be shown in the cursor for wearing display device in the detection cycle and respond Theoretical displacement caused by display device motion is worn in described, so as to obtain theoretical position of the cursor in the detection cycle Move, when being not less than the first pre-determined distance by the absolute value of the theoretical displacement when the judgement cursor in the detection cycle more The position that the new cursor is shown in the display interface, and the theory when the judgement cursor in the detection cycle When the absolute value of displacement is less than first pre-determined distance, the position that the cursor is shown in the display interface is kept not Become, the shake for wearing display device is judged and buffered so as to realize, prevent cursor from being sent out with the shake for wearing display device Raw unnecessary displacement, realizes cursor stabilization effect;Relative to traditional cursor anti-fluttering method, using the light of the embodiment of the present invention Anti-fluttering method is marked, without expanding the response region interacted with cursor, the operation smooth degree of cursor is ensure that, is brought more preferably to player Operating experience.
The present invention also provides the another embodiment of the cursor anti-fluttering method, and in the present embodiment, methods described is specifically wrapped Include following steps:
The cursor being shown in the display interface for wearing display device is obtained each described according to default detection cycle In detection cycle theoretical displacement caused by display device motion is worn in response to described;
Judge whether the absolute value of theoretical displacement of the cursor in current detection cycle is less than the first pre-determined distance;
When the absolute value for judging theoretical displacement of the cursor in current detection cycle is default not less than described first Apart from when, the cursor is updated in the display interface according to theoretical displacement of the cursor in current detection cycle and shown The position shown;
When the absolute value for judging the theoretical displacement of the cursor in current detection cycle be less than described first it is default away from From when, the position for keeping the cursor to be shown in the display interface is constant.
In a kind of optional embodiment, described be shown according to the acquisition of default detection cycle wears display device Cursor in display interface wears theoretical displacement caused by display device motion, tool in the detection cycle in response to described Body is:Display device setting in motion is worn in response to described, obtains to be shown according to default detection cycle and wears display device Display interface in cursor in each detection cycle in response to it is described wear it is theoretical caused by display device motion Displacement;In a kind of optional embodiment, methods described also includes:Display device stop motion is worn in response to described, is stopped The cursor being shown in the display interface for wearing display device is only obtained according to default detection cycle in each detection week In phase theoretical displacement caused by display device motion is worn in response to described.
Obtained according to default detection cycle and be shown in the cursor for wearing display device in each detection cycle Theoretical displacement caused by display device motion is worn in response to described, so as to obtain theory of the cursor in each detection cycle Displacement, by when the absolute value for judging theoretical displacement of the cursor in a detection cycle is not less than the first pre-determined distance Update the position that the cursor is shown in the display interface, and the reason when the judgement cursor in a detection cycle When being less than first pre-determined distance by the absolute value of displacement, the position that the cursor is shown in the display interface is kept not Become, the shake for wearing display device is judged and buffered so as to realize, prevent cursor from being sent out with the shake for wearing display device Raw unnecessary displacement, realizes cursor stabilization effect;Relative to traditional cursor anti-fluttering method, using the light of the embodiment of the present invention Anti-fluttering method is marked, without expanding the response region interacted with cursor, the operation smooth degree of cursor is ensure that, is brought more preferably to player Operating experience.
In a kind of optional embodiment, described be shown according to the acquisition of default detection cycle wears display device Cursor in display interface wears theoretical displacement caused by display device motion, bag in the detection cycle in response to described Include:
Rotational angle of the display device in the detection cycle is worn according to obtaining default detection cycle;
According to the rotational angle for wearing display device in the detection cycle, calculating, which is shown in, wears display device Display interface in theoretical displacement of the cursor in the detection cycle.
The cursor is calculated at one by wearing rotational angle of the display device in a detection cycle Theoretical displacement in the detection cycle, targetedly simplified according to the shake for wearing display device aobvious for wearing for calculating Show the motion physical quantity of equipment, to improve the treatment effeciency of cursor anti-fluttering method.
It is described to wear display device in institute according to obtaining default detection cycle in a kind of optional embodiment The rotational angle in detection cycle is stated, including:
Display device is worn according to obtaining default detection cycle in the detection cycle around default center point to turn Dynamic angle, as the rotational angle for wearing display device in the detection cycle.
It should be noted that the display device of wearing is around the direction that default center point rotates in the detection cycle Any direction.
The angle rotated by wearing display device described in acquisition around default center point, display is worn to described to realize Equipment in any direction on shake enter row buffering, improve the accuracy of cursor stabilization.
In a kind of optional embodiment, rotation of the display device in the detection cycle is worn described in the basis Angle, calculating are shown in theoretical displacement of the cursor in the display interface for wearing display device in the detection cycle, including:
According to the rotational angle for wearing display device in the detection cycle, the cursor is calculated with described pre- If central point is the centre of sphere and using the second pre-determined distance as the displacement on the sphere of radius, as the cursor in the detection cycle Interior theoretical displacement.
Existed by the display device of wearing around rotational angle and spherical radius the calculating cursor of default center point Displacement on sphere, simplify the calculating of the theoretical displacement of cursor, to improve the treatment effeciency of cursor anti-fluttering method.
In a kind of optional embodiment, the theoretical displacement when the judgement cursor in the detection cycle When absolute value is not less than first pre-determined distance, according to theoretical displacement renewal of the cursor in the detection cycle The position that cursor is shown in the display interface, including:
When the absolute value for judging the theoretical displacement of the cursor in the detection cycle it is default not less than described first away from From when, moved according to cursor described in theoretical Bit andits control of the cursor in the detection cycle on the sphere, with more The position that the new cursor is shown in the display interface.
Moved by the cursor according to the theoretical Bit andits control on the sphere, with respect to other movements Mode is calculated for the method for the displacement of cursor, and it reduces the consumption of computing resource without calculating displacement in addition, is improved The treatment effeciency of cursor anti-fluttering method.
In a kind of optional embodiment, methods described also includes:
The first distance setting instruction is obtained, first pre-determined distance is set according to the described first distance setting instruction.
It should be noted that the initial value of first pre-determined distance is set by system factory setting or by first distance Fixed instruction setting;The initial value of first pre-determined distance can be also modified and set by the described first distance setting instruction It is fixed.
I.e. because the first pre-determined distance of setting is bigger, then cursor stabilization effect is more preferable, but cursor follows and wears display and set The sensitivity that received shipment is dynamic to be moved is lower, and therefore, first pre-determined distance is set by the first distance setting instruction It is fixed, it is easy to different players to set the first different pre-determined distances according to itself operating habit, to meet player to operating smooth degree With the requirement of comfort level.
In a kind of optional embodiment, methods described also includes:
Second distance setting instruction is obtained, setting instruction according to the second distance sets second pre-determined distance.
It should be noted that the initial value of second pre-determined distance is set by system factory setting or by the second distance Fixed instruction setting;The initial value of second pre-determined distance can be also modified and set by second distance setting instruction It is fixed;Second pre-determined distance is smaller, then the theoretical displacement is smaller.
Instruction is set by the second distance and sets second pre-determined distance, is easy to according to cursor response accuracy Design requirement is adjusted setting to second pre-determined distance.
Referring to Fig. 2, it is the structural representation of one embodiment of cursor anti-shake apparatus provided by the invention, described device Including:
First acquisition module 201, display circle for wearing display device is shown in for being obtained according to default detection cycle Cursor in face wears theoretical displacement caused by display device motion in the detection cycle in response to described;
First judge module 202, for judging that the absolute value of theoretical displacement of the cursor in the detection cycle is It is no to be less than the first pre-determined distance;
First determination module 203, for when the absolute value for judging theoretical displacement of the cursor in the detection cycle During not less than first pre-determined distance, the cursor is updated according to theoretical displacement of the cursor in the detection cycle and existed The position shown in the display interface;
Second determination module 204, for when the absolute value for judging theoretical displacement of the cursor in the detection cycle During less than first pre-determined distance, the position for keeping the cursor to be shown in the display interface is constant.
It should be noted that the cursor be shown in it is described wear in the display interface of display device, available for it is described The scene shown by the display interface of display device is worn to interact.
Obtained according to default detection cycle and be shown in the cursor for wearing display device in the detection cycle and respond Theoretical displacement caused by display device motion is worn in described, so as to obtain theoretical position of the cursor in the detection cycle Move, when being not less than the first pre-determined distance by the absolute value of the theoretical displacement when the judgement cursor in the detection cycle more The position that the new cursor is shown in the display interface, and the theory when the judgement cursor in the detection cycle When the absolute value of displacement is less than first pre-determined distance, the position that the cursor is shown in the display interface is kept not Become, the shake for wearing display device is judged and buffered so as to realize, prevent cursor from being sent out with the shake for wearing display device Raw unnecessary displacement, realizes cursor stabilization effect;Relative to traditional cursor anti-fluttering method, using the light of the embodiment of the present invention Anti-fluttering method is marked, without expanding the response region interacted with cursor, the operation smooth degree of cursor is ensure that, is brought more preferably to player Operating experience.
The present invention also provides the another embodiment of the cursor anti-shake apparatus, and in the present embodiment, described device is specifically wrapped Include:
First acquisition module, it is shown in for being obtained according to default detection cycle in the display interface for wearing display device Cursor in each detection cycle in response to it is described wear display device motion caused by theoretical displacement;
First judge module, for judge theoretical displacement of the cursor in current detection cycle absolute value whether Less than the first pre-determined distance;
First determination module, the absolute value for the theoretical displacement when the judgement cursor in current detection cycle is not During less than first pre-determined distance, the cursor is updated according to theoretical displacement of the cursor in current detection cycle and existed The position shown in the display interface;
Second determination module, the absolute value for the theoretical displacement when the judgement cursor in current detection cycle are small When first pre-determined distance, the position for keeping the cursor to be shown in the display interface is constant.
In a kind of optional embodiment, first acquisition module includes:First acquisition unit, in response to institute State and wear display device setting in motion, obtained and be shown in the display interface for wearing display device according to default detection cycle Cursor wears theoretical displacement caused by display device motion in each detection cycle in response to described;A kind of optional Embodiment in, described device also includes:Stop acquisition module, for wearing display device stop motion in response to described, Stop obtaining the cursor being shown in the display interface for wearing display device in each detection according to default detection cycle In cycle theoretical displacement caused by display device motion is worn in response to described.
Obtained according to default detection cycle and be shown in the cursor for wearing display device in each detection cycle Theoretical displacement caused by display device motion is worn in response to described, so as to obtain theory of the cursor in each detection cycle Displacement, by when the absolute value for judging theoretical displacement of the cursor in a detection cycle is not less than the first pre-determined distance Update the position that the cursor is shown in the display interface, and the reason when the judgement cursor in a detection cycle When being less than first pre-determined distance by the absolute value of displacement, the position that the cursor is shown in the display interface is kept not Become, the shake for wearing display device is judged and buffered so as to realize, prevent cursor from being sent out with the shake for wearing display device Raw unnecessary displacement, realizes cursor stabilization effect;Relative to traditional cursor anti-fluttering method, using the light of the embodiment of the present invention Anti-fluttering method is marked, without expanding the response region interacted with cursor, the operation smooth degree of cursor is ensure that, is brought more preferably to player Operating experience.
In a kind of optional embodiment, first acquisition module includes:
Rotational angle acquiring unit, for wearing display device in the detection according to the acquisition of default detection cycle Rotational angle in cycle;
First computing unit, for wearing rotational angle of the display device in the detection cycle according to, calculate It is shown in theoretical displacement of the cursor in the display interface for wearing display device in the detection cycle.
The cursor is calculated at one by wearing rotational angle of the display device in a detection cycle Theoretical displacement in the detection cycle, targetedly simplified according to the shake for wearing display device aobvious for wearing for calculating Show the motion physical quantity of equipment, to improve the treatment effeciency of cursor anti-shake apparatus.
In a kind of optional embodiment, the rotational angle acquiring unit includes:
Center rotating subelement, for wearing display device according to the acquisition of default detection cycle in the detection week The angle rotated in phase around default center point, as the rotational angle for wearing display device in the detection cycle.
It should be noted that the display device of wearing is around the direction that default center point rotates in the detection cycle Any direction.
The angle rotated by wearing display device described in acquisition around default center point, display is worn to described to realize Equipment in any direction on shake enter row buffering, improve the accuracy of cursor stabilization.
In a kind of optional embodiment, first computing unit includes:
Displacement computation subunit, for wearing rotational angle of the display device in the detection cycle according to, count It is taking the default center point as displacement on the centre of sphere and sphere using the second pre-determined distance as radius to calculate the cursor, as institute State theoretical displacement of the cursor in the detection cycle.
Existed by the display device of wearing around rotational angle and spherical radius the calculating cursor of default center point Displacement on sphere, simplify the calculating of the theoretical displacement of cursor, to improve the treatment effeciency of cursor anti-shake apparatus.
In a kind of optional embodiment, first determination module includes:
First mobile unit, the absolute value for the theoretical displacement when the judgement cursor in the detection cycle be not small When first pre-determined distance, according to cursor described in theoretical Bit andits control of the cursor in the detection cycle described Moved on sphere, to update the position that the cursor is shown in the display interface.
It should be noted that the initial value of first pre-determined distance is set by system factory setting or by first distance Fixed instruction setting;The initial value of first pre-determined distance can be also modified and set by the described first distance setting instruction It is fixed.
I.e. because the first pre-determined distance of setting is bigger, then cursor stabilization effect is more preferable, but cursor follows and wears display and set The sensitivity that received shipment is dynamic to be moved is lower, and therefore, first pre-determined distance is set by the first distance setting instruction It is fixed, it is easy to different players to set the first different pre-determined distances according to itself operating habit, to meet player to operating smooth degree With the requirement of comfort level.
In a kind of optional embodiment, described device also includes:
First instruction acquiring unit, for obtaining the first distance setting instruction, instruction is set according to the described first distance and set Fixed first pre-determined distance.
In a kind of optional embodiment, described device also includes:
Second instruction acquiring unit, for obtaining second distance setting instruction, instruction is set according to the second distance and set Fixed second pre-determined distance.
It should be noted that the initial value of second pre-determined distance is set by system factory setting or by the second distance Fixed instruction setting;The initial value of second pre-determined distance can be also modified and set by second distance setting instruction It is fixed;Second pre-determined distance is smaller, then the theoretical displacement is smaller.
Instruction is set by the second distance and sets second pre-determined distance, is easy to according to cursor response accuracy Design requirement is adjusted setting to second pre-determined distance.
The embodiment of the present invention additionally provides one kind and wears display device, is provided by the invention to wear display and set referring to Fig. 3 The structural representation of standby one embodiment, the display device of wearing include:
Including processor 501, memory 502 and it is stored in the memory and is configured as being held by the processor Capable computer program 503, the processor 501 realize step as shown in Figure 1 when performing the computer program 503 S101-S104。
Exemplary, the computer program can be divided into one or more modules, one or more of moulds Block is stored in the memory, and by the computing device, to complete the present invention.One or more of modules can be with It is the series of computation machine programmed instruction section that can complete specific function, the instruction segment is used to describe the computer program in institute State the implementation procedure in the control system of permagnetic synchronous motor.For example, the computer program can be divided into as described above in fact Apply the first acquisition module 201, the first judge module 202, the first determination module 203 and the second determination module 204 described in example.
It will be understood by those skilled in the art that the schematic diagram is only the example for wearing display device, do not form pair The restriction of display device is worn, can include than illustrating more or less parts, either combine some parts or different Part, such as the display device of wearing can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization Wear the various functions of display device.The memory can mainly include storing program area and storage data field, wherein, store journey Sequence area can storage program area, application program (such as sound-playing function, image player function needed at least one function Deng) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.This Outside, memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, insert Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Based on such understanding, the present invention realizes all or part of flow in above-described embodiment method, can also passed through Computer program instructs the hardware of correlation to complete, and described computer program can be stored in a storage medium, described The virtual scene that equipment computer program controls the storage medium when running where is performed as described in above-mentioned any embodiment is prevented Fluttering method.Wherein, the storage medium is computer-readable recording medium, and the computer program includes computer program generation Code, the computer program code can be source code form, object identification code form, executable file or some intermediate forms Deng.The storage medium can include:Any entity or device, recording medium, the U of the computer program code can be carried Disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need Bright, it is appropriate that the content that the storage medium includes can be carried out according to legislation in jurisdiction and the requirement of patent practice Increase and decrease, such as in some jurisdictions, electric carrier signal is not included according to legislation and patent practice, computer-readable medium And telecommunication signal.
It should be noted that device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of this embodiment scheme.In addition, device provided by the invention In embodiment accompanying drawing, the annexation between module represents there is communication connection between them, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand And implement.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (10)

1. a kind of cursor anti-fluttering method, it is characterised in that methods described includes:
The cursor being shown in the display interface for wearing display device is obtained in the detection cycle according to default detection cycle It is interior to wear theoretical displacement caused by display device motion in response to described;
Judge whether the absolute value of theoretical displacement of the cursor in the detection cycle is less than the first pre-determined distance;
When the absolute value for judging theoretical displacement of the cursor in the detection cycle is not less than first pre-determined distance, The position shown according to the theoretical displacement renewal cursor of the cursor in the detection cycle in the display interface;
When the absolute value for judging theoretical displacement of the cursor in the detection cycle is less than first pre-determined distance, protect It is constant to hold the position that the cursor is shown in the display interface.
2. cursor anti-fluttering method as claimed in claim 1, it is characterised in that described obtained according to default detection cycle shows In wear the cursor in the display interface of display device in the detection cycle in response to it is described wear display device motion institute Caused theoretical displacement, including:
Rotational angle of the display device in the detection cycle is worn according to obtaining default detection cycle;
According to the rotational angle for wearing display device in the detection cycle, calculate to be shown in and wear the aobvious of display device Show theoretical displacement of the cursor in interface in the detection cycle.
3. cursor anti-fluttering method as claimed in claim 2, it is characterised in that described according to obtaining default detection cycle Rotational angle of the display device in the detection cycle is worn, including:
Wear what display device rotated in the detection cycle around default center point according to obtaining default detection cycle Angle, as the rotational angle for wearing display device in the detection cycle.
4. cursor anti-fluttering method as claimed in claim 3, it is characterised in that display device is worn described in the basis described Rotational angle in detection cycle, calculating are shown in the cursor in the display interface for wearing display device in the detection cycle Theoretical displacement, including:
According to the rotational angle for wearing display device in the detection cycle, the cursor is calculated in described preset Heart point is the centre of sphere and using the second pre-determined distance as the displacement on the sphere of radius, as the cursor in the detection cycle Theoretical displacement.
5. cursor anti-fluttering method as claimed in claim 4, it is characterised in that described when the judgement cursor is in the detection week When the absolute value of theoretical displacement in phase is not less than first pre-determined distance, according to the cursor in the detection cycle Theoretical displacement updates the position that the cursor is shown in the display interface, including:
When the absolute value for judging theoretical displacement of the cursor in the detection cycle is not less than first pre-determined distance, Moved according to cursor described in theoretical Bit andits control of the cursor in the detection cycle on the sphere, with described in renewal The position that cursor is shown in the display interface.
6. cursor anti-fluttering method as claimed in claim 1, it is characterised in that methods described also includes:
The first distance setting instruction is obtained, first pre-determined distance is set according to the described first distance setting instruction.
7. cursor anti-fluttering method as claimed in claim 4, it is characterised in that methods described also includes:
Second distance setting instruction is obtained, setting instruction according to the second distance sets second pre-determined distance.
8. a kind of cursor anti-shake apparatus, it is characterised in that described device includes:
First acquisition module, for obtaining the light being shown in the display interface for wearing display device according to default detection cycle It is marked in the detection cycle and wears theoretical displacement caused by display device motion in response to described;
First judge module, for judging whether the absolute value of theoretical displacement of the cursor in the detection cycle is less than the One pre-determined distance;
First determination module, for being not less than institute when the absolute value for judging theoretical displacement of the cursor in the detection cycle When stating the first pre-determined distance, the cursor is updated in the display according to theoretical displacement of the cursor in the detection cycle The position shown in interface;
Second determination module, described in being less than when the absolute value for judging theoretical displacement of the cursor in the detection cycle During the first pre-determined distance, the position for keeping the cursor to be shown in the display interface is constant.
A kind of 9. storage medium, it is characterised in that the storage medium includes the computer program of storage, wherein, in the meter Equipment performs the cursor stabilization side as described in claim any one of 1-7 calculation machine program controls the storage medium when running where Method.
10. one kind wears display device, it is characterised in that the display device of wearing includes processor, memory and storage In the memory and it is configured as by the computer program of the computing device, computer described in the computing device The cursor anti-fluttering method as any one of claim 1 to 7 is realized during program.
CN201710989340.5A 2017-10-20 2017-10-20 Cursor anti-fluttering method, device, storage medium and wear display device Pending CN107562211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710989340.5A CN107562211A (en) 2017-10-20 2017-10-20 Cursor anti-fluttering method, device, storage medium and wear display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710989340.5A CN107562211A (en) 2017-10-20 2017-10-20 Cursor anti-fluttering method, device, storage medium and wear display device

Publications (1)

Publication Number Publication Date
CN107562211A true CN107562211A (en) 2018-01-09

Family

ID=60985882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710989340.5A Pending CN107562211A (en) 2017-10-20 2017-10-20 Cursor anti-fluttering method, device, storage medium and wear display device

Country Status (1)

Country Link
CN (1) CN107562211A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096134A (en) * 2018-01-31 2019-08-06 百度在线网络技术(北京)有限公司 A kind of VR handle ray shake antidote, device, terminal and medium
CN113721806A (en) * 2021-08-27 2021-11-30 北京字节跳动网络技术有限公司 Cursor position updating method and device and electronic equipment
CN113741749A (en) * 2021-08-27 2021-12-03 北京字节跳动网络技术有限公司 Cursor position updating method and device and electronic equipment
CN116069223A (en) * 2023-03-07 2023-05-05 荣耀终端有限公司 Anti-shake method, anti-shake device and wearable equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105116544A (en) * 2015-05-25 2015-12-02 谢培树 Electronic glasses operated by head
CN105807798A (en) * 2014-12-31 2016-07-27 上海乐相科技有限公司 Method and device for controlling jittering phenomenon of head-mounted intelligent glasses
CN106293065A (en) * 2016-07-26 2017-01-04 上海与德通讯技术有限公司 The control method of application program and control system
CN106383575A (en) * 2016-09-07 2017-02-08 北京奇虎科技有限公司 VR video interactive control method and apparatus
CN107229353A (en) * 2017-05-09 2017-10-03 歌尔科技有限公司 The displacement acquisition methods and device of sky mouse

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807798A (en) * 2014-12-31 2016-07-27 上海乐相科技有限公司 Method and device for controlling jittering phenomenon of head-mounted intelligent glasses
CN105116544A (en) * 2015-05-25 2015-12-02 谢培树 Electronic glasses operated by head
CN106293065A (en) * 2016-07-26 2017-01-04 上海与德通讯技术有限公司 The control method of application program and control system
CN106383575A (en) * 2016-09-07 2017-02-08 北京奇虎科技有限公司 VR video interactive control method and apparatus
CN107229353A (en) * 2017-05-09 2017-10-03 歌尔科技有限公司 The displacement acquisition methods and device of sky mouse

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096134A (en) * 2018-01-31 2019-08-06 百度在线网络技术(北京)有限公司 A kind of VR handle ray shake antidote, device, terminal and medium
CN110096134B (en) * 2018-01-31 2022-08-30 百度在线网络技术(北京)有限公司 VR handle ray jitter correction method, device, terminal and medium
CN113721806A (en) * 2021-08-27 2021-11-30 北京字节跳动网络技术有限公司 Cursor position updating method and device and electronic equipment
CN113741749A (en) * 2021-08-27 2021-12-03 北京字节跳动网络技术有限公司 Cursor position updating method and device and electronic equipment
CN116069223A (en) * 2023-03-07 2023-05-05 荣耀终端有限公司 Anti-shake method, anti-shake device and wearable equipment
CN116069223B (en) * 2023-03-07 2023-08-04 荣耀终端有限公司 Anti-shake method, anti-shake device and wearable equipment

Similar Documents

Publication Publication Date Title
CN107562212A (en) Virtual reality scenario anti-fluttering method, device, storage medium and wear display device
JP7095030B2 (en) Adjusting video rendering speed and processing 3D images of virtual reality content
US10453175B2 (en) Separate time-warping for a scene and an object for display of virtual reality content
CN107562211A (en) Cursor anti-fluttering method, device, storage medium and wear display device
JP6548821B2 (en) How to optimize the placement of content on the screen of a head mounted display
US8330793B2 (en) Video conference
WO2017030037A1 (en) Computer-implemented method for presenting virtual space, program for causing computer to implement method, and device for presenting virtual space
US9965029B2 (en) Information processing apparatus, information processing method, and program
US10712817B1 (en) Image re-projection for foveated rendering
US20200334790A1 (en) Image resolution processing method, system, and apparatus, storage medium, and device
JP6908573B2 (en) Game processing system, game processing method, and game processing program
EP3414645A1 (en) Limited field of view in virtual reality
US9811095B2 (en) Glasses with fluid-fillable membrane for adjusting focal length of one or more lenses of the glasses
CN109074087A (en) Yaw attitude control method, unmanned plane, computer readable storage medium
WO2018227100A1 (en) Optimized shadows and adaptive mesh skinning in a foveated rendering system
CN109108968A (en) Exchange method, device, equipment and the storage medium of robot head movement adjustment
CN112634416A (en) Method and device for generating virtual image model, electronic equipment and storage medium
CN107439001A (en) Shoot the angle regulation method and head-mounted display apparatus of module element
US20190146579A1 (en) Method of suppressing vr sickness, system for executing the method, and information processing device
CN110908502A (en) Vergence determination
US20240134191A1 (en) Monovision display for wearable device
CN103632389A (en) System and method to achieve better eyelines in cg characters
US20230079171A1 (en) Image content transmitting method and device using edge computing service
CN109696959B (en) Picture display method, equipment and storage medium
KR102650572B1 (en) Electronic apparatus and method for controlling thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109

RJ01 Rejection of invention patent application after publication