CN111679739B - Readable storage medium, virtual reality device, control method and control device thereof - Google Patents

Readable storage medium, virtual reality device, control method and control device thereof Download PDF

Info

Publication number
CN111679739B
CN111679739B CN202010498696.0A CN202010498696A CN111679739B CN 111679739 B CN111679739 B CN 111679739B CN 202010498696 A CN202010498696 A CN 202010498696A CN 111679739 B CN111679739 B CN 111679739B
Authority
CN
China
Prior art keywords
processing unit
unit
virtual reality
current frame
frame rate
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.)
Active
Application number
CN202010498696.0A
Other languages
Chinese (zh)
Other versions
CN111679739A (en
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.)
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing BOE Optoelectronics Technology 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 BOE Technology Group Co Ltd, Beijing BOE Optoelectronics Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202010498696.0A priority Critical patent/CN111679739B/en
Publication of CN111679739A publication Critical patent/CN111679739A/en
Application granted granted Critical
Publication of CN111679739B publication Critical patent/CN111679739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61HPHYSICAL THERAPY APPARATUS, e.g. DEVICES FOR LOCATING OR STIMULATING REFLEX POINTS IN THE BODY; ARTIFICIAL RESPIRATION; MASSAGE; BATHING DEVICES FOR SPECIAL THERAPEUTIC OR HYGIENIC PURPOSES OR SPECIFIC PARTS OF THE BODY
    • A61H5/00Exercisers for the eyes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Epidemiology (AREA)
  • Ophthalmology & Optometry (AREA)
  • Pain & Pain Management (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Rehabilitation Therapy (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a readable storage medium, virtual reality equipment, a control method and a control device thereof, and relates to the technical field of virtual reality. The virtual reality device comprises a processing unit and a fan unit, wherein the processing unit comprises a graphic processing unit; the control method comprises the following steps: determining a current frame rate according to the running time of the current frame of the target video; acquiring the temperature of a processing unit, the rotating speed of a fan unit, the processing frequency of a graphic processing unit and the position of virtual reality equipment; when the current frame rate is smaller than the target frame rate, executing a frame rate adjusting step; the frame rate adjustment step includes: if the temperature of the processing unit is not less than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is not less than the frequency threshold, determining the displacement of the position of the virtual reality equipment when the current frame is operated and the position when the last frame is operated; and if the displacement is smaller than the displacement threshold, taking the image of the current frame as the image of the next frame.

Description

Readable storage medium, virtual reality device, control method and control device thereof
Technical Field
The present disclosure relates to the field of virtual reality technologies, and in particular, to a readable storage medium, a virtual reality device, a control method of the virtual reality device, and a control apparatus of the virtual reality device.
Background
Currently, virtual Reality (VR) technology is widely applied to fields of video entertainment, medical treatment, and the like, for example, a Virtual display technology can be adopted in a myopia training apparatus to realize auxiliary treatment of myopia through adjustment of image distance of images. However, when playing video, phenomena such as blocking and the like are often generated, and the display effect is affected.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure aims to provide a readable storage medium, a virtual reality device, a control method of the virtual reality device and a control device of the virtual reality device, which can improve the fluency of video.
According to one aspect of the present disclosure, there is provided a control method of a virtual reality device including a processing unit including a graphic processing unit and a fan unit; the control method comprises the following steps:
determining a current frame rate according to the running time of the current frame of the target video;
acquiring the temperature of the processing unit, the rotating speed of the fan unit, the processing frequency of the graphic processing unit and the position of the virtual reality equipment;
when the current frame rate is smaller than the target frame rate, executing a frame rate adjusting step;
the frame rate adjustment step includes: if the temperature of the processing unit is not less than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is not less than the frequency threshold, determining the displacement of the position of the virtual reality equipment when the current frame is operated and the position when the previous frame is operated; and if the displacement is smaller than the displacement threshold, taking the image of the current frame as the image of the next frame.
In an exemplary embodiment of the present disclosure, the frame rate adjustment step further includes:
and if the displacement is not smaller than the displacement threshold, determining the rendering resolution of the next frame according to the rendering resolution of the current frame, wherein the rendering resolution of the next frame is smaller than the rendering resolution of the current frame.
In an exemplary embodiment of the present disclosure, the frame rate adjustment step further includes:
and if the temperature of the processing unit is not less than the temperature threshold value and the rotating speed of the fan unit is less than the rotating speed threshold value, increasing the rotating speed of the fan unit.
In an exemplary embodiment of the present disclosure, the number of the fan units is a plurality; increasing the rotational speed of the fan unit, comprising:
increasing the rotational speed of at least one of the fan units having a rotational speed less than the rotational speed threshold.
In an exemplary embodiment of the present disclosure, the frame rate adjustment step further includes:
and if the temperature of the processing unit is greater than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is less than the frequency threshold, increasing the processing frequency of the graphic processing unit.
In one exemplary embodiment of the present disclosure, determining a current frame rate from a run time of a current frame of a target video includes:
detecting the running time of the current frame;
the quotient of one second divided by the run length of the current frame is taken as the current frame rate.
In one exemplary embodiment of the present disclosure, the target frame rate is 75fps or 90fps.
According to one aspect of the present disclosure, there is provided a control apparatus of a virtual reality device including a processing unit including a graphic processing unit and a fan unit; the control device includes:
a frame rate detection unit for determining a current frame rate according to the running time of the current frame of the target video;
the execution unit is used for acquiring the temperature of the processing unit, the rotating speed of the fan unit, the processing frequency of the graphic processing unit and the position of the virtual reality equipment in real time; and, when the current frame rate is less than the target frame rate, performing a frame rate adjustment step; the frame rate adjustment step includes: if the temperature of the processing unit is not less than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is not less than the frequency threshold, determining the displacement of the position of the virtual reality equipment when the current frame is operated and the position when the previous frame is operated; and if the displacement is smaller than the displacement threshold, taking the image of the current frame as the image of the next frame.
According to an aspect of the present disclosure, there is provided a virtual reality device, including a processing unit, a fan unit, a temperature detection unit, a rotation speed detection unit, a position sensing unit, and a control apparatus according to any one of the above, the processing unit includes a graphic processing unit, the temperature detection unit is configured to detect a temperature of the processing unit, the rotation speed detection unit is configured to detect a rotation speed of the fan unit, the frequency detection unit is configured to detect a processing frequency of the graphic processing unit, and the position sensing unit is configured to sense a position of the virtual reality device.
According to an aspect of the present disclosure, there is provided a readable storage medium having stored thereon a computer program which, when executed, implements the control method of any one of the above.
The readable storage medium, the virtual reality device, the control method and the control device can improve the frame rate and improve the fluency of the video. Specifically, if the temperature of the processing unit is not less than the temperature threshold, the rotation speed of the fan unit is not less than the rotation speed threshold, and the processing frequency of the graphics processing unit is not less than the frequency threshold, which means that it is difficult to increase the frame rate by reducing the temperature and increasing the processing frequency of the graphics processing unit, at this time, the displacement of the position of the virtual reality device in the previous frame and the current frame can be determined, and if the displacement is less than the displacement threshold, it means that the position of the virtual reality device is not changed greatly, i.e. the user's head does not significantly move, so that the frame does not need to significantly change, and therefore, the image of the current frame can be used as the image of the next frame, that is, when the next frame is operated, the image of the current frame can be directly adopted, thereby reducing the operation amount of the next frame, shortening the operation time, and increasing the frame rate.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 is a flowchart of an embodiment of a control method of the present disclosure.
Fig. 2 is a schematic diagram of an embodiment of a control method of the present disclosure.
Fig. 3 is a block diagram of an embodiment of a control device of the present disclosure.
Fig. 4 is a block diagram of an embodiment of a virtual reality device of the present disclosure.
FIG. 5 is a schematic diagram of an embodiment of a readable storage medium of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. One skilled in the relevant art will recognize, however, that the aspects of the disclosure may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The terms "a," "an," "the," and "said" are used to indicate the presence of one or more elements/components/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. in addition to the listed elements/components/etc.
The disclosed embodiments provide a control method of a virtual reality device, as shown in fig. 4, which may be a helmet type, glasses type or other wearable structure, and may include a processing unit 1 and a fan unit 2, where the processing unit 1 includes a graphics processing unit 11, and the graphics processing unit 11 is configured to construct and render input image information to output image data. The fan unit 2 has a fan, and heat dissipation is achieved by rotation of the fan. Meanwhile, the virtual reality device may further include a display unit 3 and a lens unit 4, the display unit 3 being configured to receive image data output from the display graphic processing unit 11 to display an image. The lens unit 4 may be disposed opposite to the display unit 3, and after the user wears the lens unit 4 is disposed between the display unit 3 and the eyes of the user, so as to transmit light emitted by the display unit 3 and form a virtual image for the eyes of the user to watch. The basic principles of virtual reality display are not described in detail herein.
As shown in fig. 1, the control method of the embodiment of the present disclosure includes step S110 to step S130, in which:
step S110, determining the current frame rate according to the running time of the current frame of the target video.
Step S120, acquiring a temperature of the processing unit, a rotation speed of the fan unit, a processing frequency of the graphics processing unit, and a position of the virtual reality device.
Step S130, when the current frame rate is smaller than the target frame rate, executing a frame rate adjusting step; the frame rate adjustment step includes: if the temperature of the processing unit is not less than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is not less than the frequency threshold, determining the displacement of the position of the virtual reality equipment when the current frame is operated and the position when the previous frame is operated; and if the displacement is not greater than the displacement threshold, taking the image of the current frame as the image of the next frame.
The control method of the embodiment of the disclosure can improve the frame rate and improve the fluency of the video. Specifically, if the temperature of the processing unit is not less than the temperature threshold, the rotation speed of the fan unit is not less than the rotation speed threshold, and the processing frequency of the graphics processing unit is not less than the frequency threshold, which means that it is difficult to increase the frame rate by reducing the temperature and increasing the processing frequency of the graphics processing unit 11, at this time, the displacement amount of the position of the virtual reality device between the previous frame and the current frame can be determined, and if the displacement amount is less than the displacement threshold, it means that the position of the virtual reality device is not changed greatly, i.e., the user's head does not significantly move, so that there is no significant movement of the screen, therefore, the image of the current frame can be used as the image of the next frame, that is, when the next frame is operated, the image of the current frame can be directly used, thereby reducing the operation amount of operating the next frame, shortening the operation time, and thus increasing the frame rate.
The following describes in detail the control method of the embodiment of the present disclosure:
in step S110, a current frame rate is determined according to the run time of the current frame of the target video.
The target video may be a video displayed on the display unit 3 after the virtual reality device runs the application, that is, a video displayed according to the image data output from the graphic processing unit 11, and the specific content thereof is not particularly limited herein.
In some embodiments of the present disclosure, the current frame rate may be a quotient of 1 second divided by the run length of the current frame, e.g., the run length of the current frame is 0.013 seconds, then the current frame rate is approximately 76fps. Determining the current frame rate according to the run time of the current frame of the target video, step S110, may include step S1110 and step S1120, wherein:
step S1110, detecting the running duration of the current frame.
Step S1120, dividing one second by the quotient of the running time of the current frame as the current frame rate.
In step S120, a temperature of the processing unit, a rotational speed of the fan unit, a processing frequency of the graphic processing unit, and a position of the virtual reality device are acquired.
As shown in fig. 4, the virtual reality device may further include a temperature detecting unit 5, a rotation speed detecting unit 6, a frequency detecting unit 7, and a position sensing unit 8, wherein:
in some embodiments of the present disclosure, the temperature detecting unit 5 may be a temperature sensor, which may be disposed on the same circuit board as the processing unit 1, or may be integrated in the processing unit 1, and may detect the temperature of the processing unit 1 in real time.
If the processing unit 1 includes only the graphics processing unit 11, the temperature of the processing unit 1 is the temperature of the graphics processing unit 11.
The rotation speed detecting unit 6 may be connected to the fan unit 2 for detecting the rotation speed of the fan unit 2 in real time. The frequency detection unit 7 may be used to detect the processing frequency of the graphics processing unit 11 in real time.
In step S130, the current frame rate may be compared with the target frame rate, if the current frame rate is smaller than the target frame rate, it is indicated that the video may have a clip, and at this time, a frame rate adjustment step may be performed to increase the frame rate, avoid the clip of the video, and increase the smoothness. The target frame rate may be preset, for example, the target frame rate may be 75fps or 90fps.
The frame rate adjustment step may include: if the temperature of the processing unit 1 is not less than the temperature threshold, the rotating speed of the fan unit 2 is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit 11 is not less than the frequency threshold, the frame rate cannot be improved in a mode of low temperature and high frequency, so that the displacement of the position of the virtual reality device when the current frame is operated and the position when the previous frame is operated can be determined, and the displacement is compared with the displacement threshold; if the displacement is not greater than the displacement threshold, it indicates that the position of the virtual reality device is not greatly changed when the last frame and the current frame are operated, it can be inferred that the position of the next frame and the current frame are not greatly changed according to the displacement, and if the position of the virtual reality device is not significantly changed, the image is less changed, so that the image of the current frame can be used as the image of the next frame, that is, the next frame is not rendered, the process can be defined as frame-separated rendering, when the next frame is operated, the operation time can be saved, the operation time of the next frame can be shortened, and the frame rate can be improved until the frame rate of the detected video is not less than the target frame rate.
The displacement threshold may be an empirical value or a value set by the user, and the specific value thereof is not particularly limited herein.
Movement of the virtual reality device may include translation and rotation, causing a change in the position of the virtual reality device. For example, coordinates of the virtual reality device in a coordinate system may be generated according to the data sensed by the position sensing unit 8, the coordinates may be used to characterize the position of the virtual reality device, and the displacement amount may be determined by determining the change of the coordinates of the virtual reality device in the same coordinate system. The position sensing unit 8 may be one or more, and may be a position sensor or other device capable of sensing a change in position, and its specific number, position and structure are not particularly limited herein, as long as it can be used to sense the position of the virtual reality apparatus.
It should be noted that the movement of the virtual reality device is represented by a signal generated by the movement of the position sensing unit 8, that is, the position of the virtual reality device may be represented by the position of the position sensing unit 8, if the position sensing unit 8 senses a position change, the position of the virtual reality device is considered to be changed, and if the position sensing unit 8 does not sense a position change, the position of the virtual display device is considered to be unchanged.
Further, in some embodiments of the present disclosure, the frame rate adjustment step may further include:
and if the displacement is larger than the displacement threshold, determining the rendering resolution of the next frame according to the rendering resolution of the current frame, wherein the rendering resolution of the next frame is smaller than the rendering resolution of the current frame.
If the displacement is larger than the displacement threshold, the displacement amplitude of the virtual reality device can be considered larger, and the image seen by the user is correspondingly changed, at this time, the rendering resolution can be reduced on the basis of the rendering resolution of the current frame and used as the rendering resolution of the next frame, so that the operation amount is reduced, and the frame rate is improved.
In some embodiments of the present disclosure, if the displacement amount is greater than the displacement threshold, a difference obtained by subtracting a fixed value from the rendering resolution of the current frame may be used as the rendering resolution of the next frame, so as to achieve the rendering resolution of the next frame. Of course, in another embodiment of the present disclosure, if the displacement amount is greater than the displacement threshold, the rendering resolution of the current frame may be scaled down according to a predetermined ratio as the rendering resolution of the next frame.
In some embodiments of the present disclosure, the image distance of the virtual reality device is the distance between the virtual image and the lens unit 4. If the displacement is greater than the displacement threshold, it may be further determined whether the image distance of the virtual reality device is less than a preset suitable distance, and if so, the person is at a suitable viewing distance, at this time, for a case where the frame rate is low, the reduction amplitude of the rendering resolution may be determined according to the distance difference between the suitable distance and the image distance, and the greater the distance difference, the smaller the reduction amplitude of the rendering resolution may be described. If the image distance is greater than the suitable distance, the rendering resolution may be reduced directly by a predetermined magnitude.
In some embodiments of the present disclosure, the frame rate may also be increased by cooling down and increasing the frequency, with cooling down being prioritized over increasing the frequency over the above-described frame-isolated rendering. Specifically, as shown in fig. 2, step S200-step S300 in fig. 2 show a detailed principle of the execution sequence of each operation in the embodiment of step S130, if the current frame rate is smaller than the target frame rate, the temperature of the processing unit 1 is compared with the temperature threshold, if the temperature of the processing unit 1 is not smaller than the temperature threshold, the rotation speed of the fan unit 2 is compared with the rotation speed threshold, and if the rotation speed of the fan unit 2 is smaller than the rotation speed threshold, the rotation speed of the fan unit 2 is increased, and the heat dissipation performance is improved so as to improve the frame rate; if the rotational speed of the fan unit 2 is not less than the rotational speed threshold, the rotational speed of the fan unit 2 cannot be increased, the processing frequency of the graphics processing unit 11 can be compared with the frequency threshold, and if the processing frequency of the graphics processing unit 11 is less than the frequency threshold, the processing frequency of the graphics processing unit 11 can be increased, the computing capability is improved, and the frame rate is increased.
The specific value of the temperature threshold is not particularly limited herein, and may be 66 deg.c, for example, up to 115 deg. inclusive.
In some embodiments of the present disclosure, the number of fan units 2 may be plural, each fan unit 2 may include a fan blade and a motor driving the fan blade to rotate, and each fan unit 2 may be independently rotatable. If the rotational speed of the fan unit 2 is less than the rotational speed threshold, the rotational speed of at least one fan unit 2 having a rotational speed less than the rotational speed threshold may be increased when increasing the rotational speed of the fan unit 2.
The principle of adjusting the rotation speed of the fan unit 2 is exemplarily described as follows:
the fan unit 2 includes a fan blade and a motor for driving the fan blade to rotate, and the motor is exemplified by a direct current: the motor operating frequency can be adjusted according to the relationship between the operating voltage interval and the temperature of the motor, so as to adjust the rotation speed of the fan blades, i.e. the rotation speed of the fan unit 2. For a direct current motor:rotational speedWherein U is the armature voltage, I is the armature current, R is the resistance of the armature circuit, +.>Is the excitation magnetic flux, and k is the induced electromotive force constant.
The method for adjusting the rotation speed of the motor can comprise the following steps: an excitation control method for controlling the excitation magnetic flux Φ, and an armature voltage control method for controlling the armature voltage U, such as a method for controlling the armature voltage, are considered to be approximately n=ku×u, i.e., n=ku, in which the higher the voltage, the higher the rotation speed, the more the load is, within the rated range 2 Wherein k is a constant coefficient.
For example, the motor operating voltage interval is 1.8v-3.3v, and n=3.24 k-10.89k according to the relationship between the voltage and the rotation speed of the motor, so that the rotation speed of the motor can be controlled by an execution unit, which may be a microprocessor, connected to the motor through a general purpose input/output port (GPIO) under a condition that the load of the fan unit 2 is fixed, and thus the rotation speed of the motor can be adjusted by controlling the output voltage of the general purpose input/output port of the execution unit.
Further, in some embodiments of the present disclosure, performing the frame rate adjustment step may further include:
if the temperature of the processing unit 1 is less than the temperature threshold, the processing frequency of the graphics processing unit 11 is compared with the frequency threshold, and if the processing frequency is less than the frequency threshold, the processing frequency of the graphics processing unit 11 is increased. Thereby improving processing power and frame rate.
It should be noted that although the steps of the methods of the present disclosure are illustrated in the accompanying drawings in a particular order, this does not require or imply that the steps must be performed in that particular order or that all of the illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
The embodiment of the disclosure further provides a control device of a virtual reality device, as shown in fig. 3 and 4, where the virtual reality device includes a processing unit 1 and a fan unit 2, and the processing unit 1 includes a graphics processing unit 11; the control apparatus 100 includes a frame rate detection unit 101 and an execution unit 102, wherein:
the frame rate detection unit 101 is configured to determine a current frame rate according to a running time of a current frame of the target video.
The execution unit 102 is configured to obtain a temperature of the processing unit 1, a rotation speed of the fan unit 2, a processing frequency of the graphics processing unit 11, and a position of the virtual reality device; and, when the current frame rate is less than the target frame rate, performing a frame rate adjustment step; the frame rate adjustment step includes: if the temperature of the processing unit 1 is not less than the temperature threshold, the rotating speed of the fan unit 1 is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit 11 is not less than the frequency threshold, determining the displacement of the position of the virtual reality equipment when the current frame is operated and the position when the previous frame is operated; and if the displacement is not greater than the displacement threshold, taking the image of the current frame as the image of the next frame.
The disclosed embodiments also provide a virtual reality apparatus, as shown in fig. 4, which may include a processing unit 1, a fan unit 2, a temperature detection unit 5, a rotation speed detection unit 6, a frequency detection unit 7, a position sensing unit 8, and a control device 100, wherein:
the processing unit 1 includes a graphics processing unit 11. The temperature detection unit 5 is configured to detect a temperature of the virtual reality device, for example, the temperature detection unit 5 may include a temperature sensor, which may be disposed on the same circuit board of the virtual reality device as the processing unit 1.
The rotation speed detecting unit 6 is configured to detect a rotation speed of the fan unit 2, for example, the fan unit 2 may include blades and a motor for driving the blades to rotate, and the rotation speed detecting unit 6 may detect a rotation speed of the motor, thereby detecting a rotation speed of the fan unit 2.
The frequency detection unit 7 is used for detecting the processing frequency of the graphics processing unit 11, and the position sensing unit 8 is used for sensing the position of the virtual reality device.
The control device 100 may be a control device of the virtual reality apparatus described above, and will not be described in detail here.
As shown in fig. 4, in some embodiments of the present disclosure, the execution unit 102 of the control device 100 may be integrated with the graphics processing unit 11 in the processing unit 1, i.e., the processing unit 1 may include the graphics processing unit 11 and the execution unit 102. Further, the GPU 11 may be a Graphics Processor (GPU), the CPU 102 may be a Central Processing Unit (CPU), and the GPU 11 and the GPU 102 may be integrated into the same processor.
In another embodiment of the present disclosure, the frame rate detection unit 101 may also be integrated within the processing unit 1, and further, the entire control apparatus 100 may be integrated within the processing unit 1.
In other embodiments of the present disclosure, the control device 100 may also be located in a different processor than the processing unit 1.
In addition, the virtual reality device may further include a display unit 3 and a lens unit 4, the display unit 3 being configured to receive image data output from the display graphics processing unit 11 to display an image. The lens unit 4 may be disposed opposite to the display unit 3, and after the user wears the lens unit 4 is disposed between the display unit 3 and the eyes of the user, so as to transmit light emitted by the display unit 3 and form a virtual image for the eyes of the user to watch.
In some embodiments of the present disclosure, the virtual reality device of the present disclosure may be a myopia trainer that forms images for a myopic user to view by controlling the image distance, and may be used to correct myopia and also to cause the myopic user to view clear images.
It should be noted that although in the above detailed description several units of the apparatus for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, one unit feature and function described above may be further divided into a plurality of modules or units to be embodied.
The specific details of each unit in the above-mentioned virtual reality device and control apparatus may refer to the implementation manner in the corresponding control method, so that the details are not repeated here.
The present disclosure also provides a readable storage medium having stored thereon a computer program which, when executed, implements the control method of any of the above embodiments of the virtual reality device, or implements the control method of any of the above embodiments. In some embodiments, various aspects of the present disclosure may also be implemented in the form of a program product comprising program code for causing a virtual reality device to carry out the steps according to the various exemplary embodiments of the disclosure as described herein above in the control method, when the program product is run on a terminal device.
As shown in fig. 5, a program product for implementing the above-described control method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, the readable storage medium 400 may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (9)

1. A control method of a virtual reality device, characterized in that the virtual reality device comprises a processing unit, a fan unit, a display unit and a lens unit, and the processing unit comprises a graphics processing unit; the lens unit is arranged opposite to the display unit; the control method comprises the following steps:
determining a current frame rate according to the running time of the current frame of the target video;
acquiring the temperature of the processing unit, the rotating speed of the fan unit, the processing frequency of the graphic processing unit and the position of the virtual reality equipment;
when the current frame rate is smaller than the target frame rate, executing a frame rate adjusting step;
the frame rate adjustment step includes: if the temperature of the processing unit is not less than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is not less than the frequency threshold, determining the displacement of the position of the virtual reality equipment when the current frame is operated and the position when the previous frame is operated; if the displacement is smaller than the displacement threshold, taking the image of the current frame as the image of the next frame;
if the displacement is larger than the displacement threshold and the image distance of the virtual reality device is smaller than a preset proper distance, determining a reduction amplitude of the rendering resolution according to the distance difference between the proper distance and the image distance, and reducing the rendering resolution of the current frame according to the reduction amplitude to serve as the rendering resolution of the next frame; if the image distance is larger than the proper distance, reducing the rendering resolution according to a preset amplitude; the rendering resolution of the next frame is smaller than that of the current frame; the image distance is a distance between a virtual image of the virtual reality device and the lens unit.
2. The control method according to claim 1, characterized in that the frame rate adjustment step further includes:
and if the temperature of the processing unit is not less than the temperature threshold value and the rotating speed of the fan unit is less than the rotating speed threshold value, increasing the rotating speed of the fan unit.
3. The control method according to claim 2, wherein the number of the fan units is plural; increasing the rotational speed of the fan unit, comprising:
increasing the rotational speed of at least one of the fan units having a rotational speed less than the rotational speed threshold.
4. The control method according to claim 1, characterized in that the frame rate adjustment step further includes:
and if the temperature of the processing unit is greater than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is less than the frequency threshold, increasing the processing frequency of the graphic processing unit.
5. The control method according to any one of claims 1 to 4, wherein determining the current frame rate from the run time of the current frame of the target video includes:
detecting the running time of the current frame;
the quotient of one second divided by the run length of the current frame is taken as the current frame rate.
6. The control method according to any one of claims 1 to 4, characterized in that the target frame rate is 75fps or 90fps.
7. A control device of a virtual reality device, characterized in that the virtual reality device comprises a processing unit, a fan unit, a display unit and a lens unit, and the processing unit comprises a graphics processing unit; the lens unit is arranged opposite to the display unit; the control device includes:
a frame rate detection unit for determining a current frame rate according to the running time of the current frame of the target video;
the execution unit is used for acquiring the temperature of the processing unit, the rotating speed of the fan unit, the processing frequency of the graphic processing unit and the position of the virtual reality equipment in real time; and, when the current frame rate is less than the target frame rate, performing a frame rate adjustment step; the frame rate adjustment step includes: if the temperature of the processing unit is not less than the temperature threshold, the rotating speed of the fan unit is not less than the rotating speed threshold, and the processing frequency of the graphic processing unit is not less than the frequency threshold, determining the displacement of the position of the virtual reality equipment when the current frame is operated and the position when the previous frame is operated; if the displacement is smaller than the displacement threshold, taking the image of the current frame as the image of the next frame; if the displacement is larger than the displacement threshold and the image distance of the virtual reality device is smaller than a preset proper distance, determining a reduction amplitude of the rendering resolution according to the distance difference between the proper distance and the image distance, and reducing the rendering resolution of the current frame according to the reduction amplitude to serve as the rendering resolution of the next frame; if the image distance is larger than the proper distance, reducing the rendering resolution according to a preset amplitude; the rendering resolution of the next frame is smaller than that of the current frame; the image distance is a distance between a virtual image of the virtual reality device and the lens unit.
8. The utility model provides a virtual reality equipment, its characterized in that includes processing unit, fan unit, temperature-detecting element, rotational speed detecting element, position sensing unit and claim 7 the controlling means, processing unit includes graphic processing unit, temperature-detecting element is used for detecting the temperature of processing unit, rotational speed detecting element is used for detecting the rotational speed of fan unit, frequency detecting element is used for detecting graphic processing unit's processing frequency, position sensing unit is used for responding to virtual reality equipment's position.
9. A readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed, implements the control method of any one of claims 1-6.
CN202010498696.0A 2020-06-04 2020-06-04 Readable storage medium, virtual reality device, control method and control device thereof Active CN111679739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010498696.0A CN111679739B (en) 2020-06-04 2020-06-04 Readable storage medium, virtual reality device, control method and control device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010498696.0A CN111679739B (en) 2020-06-04 2020-06-04 Readable storage medium, virtual reality device, control method and control device thereof

Publications (2)

Publication Number Publication Date
CN111679739A CN111679739A (en) 2020-09-18
CN111679739B true CN111679739B (en) 2024-04-09

Family

ID=72453361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010498696.0A Active CN111679739B (en) 2020-06-04 2020-06-04 Readable storage medium, virtual reality device, control method and control device thereof

Country Status (1)

Country Link
CN (1) CN111679739B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112451969B (en) * 2020-12-04 2023-04-21 腾讯科技(深圳)有限公司 Virtual object control method, device, computer equipment and storage medium
CN112684873B (en) * 2021-03-12 2021-06-25 北京润尼尔网络科技有限公司 VR resource hardware adaptation method
CN113516782B (en) * 2021-07-29 2023-09-05 中移(杭州)信息技术有限公司 VR game rendering optimization method, device, equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127843A (en) * 2016-06-16 2016-11-16 福建数博讯信息科技有限公司 The rendering intent of three-dimensional virtual scene and device
CN106658170A (en) * 2016-12-20 2017-05-10 福州瑞芯微电子股份有限公司 Method and device for reducing virtual reality latency
CN108876700A (en) * 2018-06-01 2018-11-23 福州瑞芯微电子股份有限公司 A kind of method and circuit promoting VR display effect
CN108921951A (en) * 2018-07-02 2018-11-30 京东方科技集团股份有限公司 Virtual reality image display methods and its device, virtual reality device
CN108961173A (en) * 2018-05-17 2018-12-07 成都明镜视觉科技有限公司 A kind of optimization method based on the end h5 augmented reality
CN110166758A (en) * 2019-06-24 2019-08-23 京东方科技集团股份有限公司 Image processing method, device, terminal device and storage medium
CN110152291A (en) * 2018-12-13 2019-08-23 腾讯科技(深圳)有限公司 Rendering method, device, terminal and the storage medium of game picture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10891915B2 (en) * 2018-05-30 2021-01-12 Ati Technologies Ulc Frame refresh synchronization with synchronization boundary

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106127843A (en) * 2016-06-16 2016-11-16 福建数博讯信息科技有限公司 The rendering intent of three-dimensional virtual scene and device
CN106658170A (en) * 2016-12-20 2017-05-10 福州瑞芯微电子股份有限公司 Method and device for reducing virtual reality latency
CN108961173A (en) * 2018-05-17 2018-12-07 成都明镜视觉科技有限公司 A kind of optimization method based on the end h5 augmented reality
CN108876700A (en) * 2018-06-01 2018-11-23 福州瑞芯微电子股份有限公司 A kind of method and circuit promoting VR display effect
CN108921951A (en) * 2018-07-02 2018-11-30 京东方科技集团股份有限公司 Virtual reality image display methods and its device, virtual reality device
CN110152291A (en) * 2018-12-13 2019-08-23 腾讯科技(深圳)有限公司 Rendering method, device, terminal and the storage medium of game picture
CN110166758A (en) * 2019-06-24 2019-08-23 京东方科技集团股份有限公司 Image processing method, device, terminal device and storage medium

Also Published As

Publication number Publication date
CN111679739A (en) 2020-09-18

Similar Documents

Publication Publication Date Title
CN111679739B (en) Readable storage medium, virtual reality device, control method and control device thereof
KR102271833B1 (en) Electronic device, controlling method thereof and recording medium
CN107204023B (en) Method and apparatus for avoiding distortion of graphics drawn in canvas
US20160062460A1 (en) Force simulation finger sleeve using orthogonal uniform magnetic field
US20130177259A1 (en) Alignment of objects in augmented reality
US20070139427A1 (en) Information processing apparatus and operation speed control method
CN113168038B (en) Method and device for displaying image
CN109934041B (en) Information processing method, information processing system, medium, and computing device
US20090150986A1 (en) User Authorization Using An Automated Turing Test
JP4384242B1 (en) Information processing apparatus and image processing method
CN109885176A (en) Display control method, device, medium and electronic equipment
CN104994281A (en) Method for correcting face distortion and terminal
US20150077335A1 (en) Information processing apparatus and information processing method
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN113379885B (en) Virtual hair processing method and device, readable storage medium and electronic equipment
US11182953B2 (en) Mobile device integration with a virtual reality environment
CN108008876A (en) A kind of display methods of suspension windows, device, equipment and storage medium
US10831266B2 (en) Personalized adaptation of virtual reality content based on eye strain context
KR20150081751A (en) Image processing method and electronic device implementing the same
CN112307966B (en) Event display method and device, storage medium and electronic equipment
CN111726666A (en) Video display control method and device
KR20200028069A (en) Image processing method and apparatus of tile images
CN110597432B (en) Interface control method, device, computer readable medium and electronic equipment
US7941005B2 (en) Information processing apparatus and resolution enhancement processing control program
CN115576470A (en) Image processing method and apparatus, augmented reality system, and medium

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
GR01 Patent grant
GR01 Patent grant