CN109864743B - User height determination method and device in virtual reality system and storage medium - Google Patents

User height determination method and device in virtual reality system and storage medium Download PDF

Info

Publication number
CN109864743B
CN109864743B CN201910085883.3A CN201910085883A CN109864743B CN 109864743 B CN109864743 B CN 109864743B CN 201910085883 A CN201910085883 A CN 201910085883A CN 109864743 B CN109864743 B CN 109864743B
Authority
CN
China
Prior art keywords
estimated
height value
user
value
height
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
CN201910085883.3A
Other languages
Chinese (zh)
Other versions
CN109864743A (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.)
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 CN201910085883.3A priority Critical patent/CN109864743B/en
Publication of CN109864743A publication Critical patent/CN109864743A/en
Application granted granted Critical
Publication of CN109864743B publication Critical patent/CN109864743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to the technical field of human-computer interaction, and provides a method and an apparatus for determining a height of a user in a virtual reality system, a computer storage medium, and an electronic device, including: the height value of a user is obtained for multiple times through wearable equipment in a virtual reality system worn by the user; in response to the fact that the obtained height value of the user is smaller than the estimated height value, reducing the estimated trust value corresponding to the estimated height value by a preset step length; in response to the fact that the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value, replacing the estimated height value with the obtained height value of the user, and resetting the estimated trust value corresponding to the estimated height value; in response to the fact that the obtained height value of the user is larger than the estimated height value, increasing the estimated trust value corresponding to the estimated height value by a preset step length; and determining the estimated height value as the effective height value of the user in response to the estimated trust value corresponding to the estimated height value being greater than the second preset estimated trust value. The method and the device can improve the accuracy of height determination of the user.

Description

User height determination method and device in virtual reality system and storage medium
Technical Field
The present disclosure relates to the field of human-computer interaction technologies, and in particular, to a method and an apparatus for determining a height of a user in a virtual reality system, a computer storage medium, and an electronic device.
Background
With the rapid development of computer and internet technologies, virtual reality games are also rapidly emerging, and accordingly, the requirements of users on game substitution feeling are gradually improved. If the height of the interactive object in the game scene can be set according to the height of the user, the game substitution feeling can be greatly improved. Thus, how to accurately determine the height of the user becomes a focus of attention of the relevant user.
In the prior art, the height of a user of a virtual reality system is generally determined according to a specific gesture made by the user before the game is started. However, in this way, some users may be provided with opportunities for cheating, such as: the user deliberately squats down the height to reduce the hit area of the body, thereby achieving the effect of cheating. Thus, its accuracy is low.
Therefore, the accuracy of the user height determination method in the prior art virtual reality system needs to be improved.
It is to be noted that the information disclosed in the background section above is only used to enhance understanding of the background of the present disclosure.
Disclosure of Invention
The present disclosure is directed to a method for determining a height of a user in a virtual reality system, a device for determining a height of a user in a virtual reality system, a computer storage medium, and an electronic device, so as to avoid a defect of low accuracy in the prior art at least to a certain extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a method for determining height of a user in a virtual reality system, comprising: step A: obtaining the height value of the user for multiple times through wearable equipment in the virtual reality system worn by the user; and B: in response to the fact that the obtained height value of the user is smaller than the estimated height value, reducing the estimated trust value corresponding to the estimated height value by a preset step length; and C: in response to the estimated trust value corresponding to the estimated height value being less than a first preset estimated trust value, replacing the estimated height value with the obtained height value of the user and resetting the estimated trust value corresponding to the estimated height value; step D: in response to the fact that the obtained height value of the user is larger than the estimated height value, increasing a preset step length for the estimated trust value corresponding to the estimated height value; step E: and determining the estimated height value as the effective height value of the user in response to the estimated trust value corresponding to the estimated height value being greater than a second preset estimated trust value.
In an exemplary embodiment of the present disclosure, the obtaining, by a wearable device in the virtual reality system worn by the user, a height value of the user a plurality of times includes: the height value of the user is obtained for multiple times at preset time intervals by detecting the size, away from the ground, of the wearable equipment in the virtual reality system worn by the user.
In an exemplary embodiment of the present disclosure, after obtaining the height value of the user multiple times by a wearable device in the virtual reality system worn by the user, the method further comprises: and filtering out the height values of the users which are obtained for multiple times and are less than the effective height threshold value.
In an exemplary embodiment of the present disclosure, the initial value of the estimated height value is a preset height value.
In an exemplary embodiment of the disclosure, the second preset estimated confidence value is greater than the first preset estimated confidence value.
In an exemplary embodiment of the disclosure, after determining the estimated height value as the effective height value of the user in response to the estimated confidence value corresponding to the estimated height value being greater than a second preset estimated confidence value, the method further comprises: and displaying the virtual object in the virtual reality system according to the effective height value and the preset display scale of the user.
In an exemplary embodiment of the disclosure, after determining the estimated height value as the effective height value of the user, the method further comprises: and circularly executing the step A, the step B, the step C, the step D and the step E.
According to a second aspect of the present disclosure, there is provided a user height determining apparatus in a virtual reality system, comprising: the acquisition module is used for acquiring the height value of the user for multiple times through wearable equipment in the virtual reality system worn by the user; the first response module is used for responding to the fact that the obtained height value is smaller than the estimated height value, and reducing the estimated trust value corresponding to the estimated height value by a preset step length; the second response module is used for replacing the estimated height value with the obtained height value of the user and resetting the estimated trust value corresponding to the estimated height value in response to the fact that the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value; the third response module is used for responding to the fact that the obtained height value is larger than the estimated height value, and increasing the estimated trust value corresponding to the estimated height value by a preset step length; and the fourth response module is used for responding to the fact that the estimated trust value corresponding to the estimated height value is larger than a second preset estimated trust value, and determining the estimated height value as the height value of the user.
According to a third aspect of the present disclosure, there is provided a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method for determining height of a user in a virtual reality system according to the first aspect described above.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the method for determining height of a user in a virtual reality system according to the first aspect via execution of the executable instructions.
It can be known from the foregoing technical solutions that the user height determining method in the virtual reality system, the user height determining apparatus in the virtual reality system, the computer storage medium and the electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:
in the technical solutions provided in some embodiments of the present disclosure, a wearable device in a virtual reality system worn by a user acquires a height value of the user for multiple times, if the acquired height value of the user is smaller than an estimated height value, an estimated trust value corresponding to the estimated height value is decreased by a preset step length, and when the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value, the estimated height value is replaced with the acquired height value of the user, and the estimated trust value corresponding to the estimated height value is reset, so that the degree of intelligence for determining the height of the user can be improved; and when the estimated trust value corresponding to the estimated height value is greater than a second preset estimated trust value, determining the estimated height value as an effective height value of the user, so that the accuracy of determining the height of the user can be improved, and the intelligence degree of determining the height of the user can be further improved.
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 present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 is a flow chart illustrating a method for determining height of a user in a virtual reality system according to an exemplary embodiment of the present disclosure;
FIG. 2 shows a schematic structural diagram of a user height determining apparatus in a virtual reality system in an exemplary embodiment of the present disclosure;
FIG. 3 shows a schematic diagram of a structure of a computer storage medium in an exemplary embodiment of the disclosure;
fig. 4 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different 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 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 disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/parts/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first" and "second", etc. are used merely as labels, and are not limiting on the number of their objects.
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 their repetitive description 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.
In the prior art, the height of a user of a virtual reality system is generally determined by prompting the user to take a specific gesture before the game is started. However, in this way, the continuous immersive gaming experience of the user is easily disrupted, and at the same time, some users may be provided with opportunities for cheating, with less accuracy. For example: the user deliberately squats down the height to reduce the struck area of the body, thereby achieving the effect of cheating. Thus, the accuracy thereof is to be improved.
In the embodiment of the present disclosure, firstly, a method for determining a height of a user in a virtual reality system is provided, which overcomes, at least to some extent, the drawback of low accuracy of the method for determining a height of a user in a virtual reality system provided in the prior art.
Fig. 1 shows a flow chart of a user height determination method in a virtual reality system in an exemplary embodiment of the disclosure, where an execution subject of the user height determination method in the virtual reality system may be a server for determining the user height in the virtual reality system.
Referring to fig. 1, a method for determining height of a user in a virtual reality system according to an embodiment of the present disclosure includes the steps of:
step S110, obtaining the height value of the user for multiple times through wearable equipment in the virtual reality system worn by the user;
step S120, in response to the fact that the obtained height value of the user is smaller than the estimated height value, reducing the estimated trust value corresponding to the estimated height value by a preset step length;
step S130, in response to the fact that the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value, replacing the estimated height value with the obtained height value of the user, and resetting the estimated trust value corresponding to the estimated height value;
step S140, in response to the fact that the obtained height value of the user is larger than the estimated height value, increasing a preset step length for the estimated trust value corresponding to the estimated height value;
and S150, determining the estimated height value as the effective height value of the user in response to the fact that the estimated trust value corresponding to the estimated height value is larger than a second preset estimated trust value.
In the technical solution provided by the embodiment shown in fig. 1, a height value of a user is obtained multiple times through a wearable device in a virtual reality system worn by the user; if the obtained height value of the user is smaller than the estimated height value, the estimated trust value corresponding to the estimated height value is reduced by a preset step length, when the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value, the estimated height value is replaced by the obtained height value of the user, and the estimated trust value corresponding to the estimated height value is reset, so that the intelligent degree of height determination of the user can be improved; and when the estimated trust value corresponding to the estimated height value is greater than a second preset estimated trust value, determining the estimated height value as an effective height value of the user, so that the accuracy of determining the height of the user can be improved, and the intelligence degree of determining the height of the user can be further improved.
The following describes the specific implementation of each step in fig. 1 in detail:
in step S110, a height value of the user is obtained multiple times through a wearable device in the virtual reality system worn by the user.
In an exemplary embodiment of the present disclosure, step S110 shown in fig. 1 is step a.
In an exemplary embodiment of the present disclosure, a virtual reality system is a technical means relating to the field of graphic images, also referred to as a smart environment or an artificial environment. The virtual reality technology is a computer simulation system which can create and experience a virtual world, and generates the virtual world of a three-dimensional space by using a computer to provide simulation of senses of vision, hearing, touch and the like for a user. Through the virtual reality system, the user can experience the situation and without limitation and observe objects in the three-dimensional space, and further game immersion experience of the user can be improved.
In exemplary embodiments of the present disclosure, a wearable device, i.e., a portable device worn directly on the body or integrated into the clothing or accessories of a user, may implement powerful functions through software support, data interaction, cloud interaction, and the like. For example, the wearable device may be glasses, a head-mounted display, and the like, and the height value of the user may be acquired through the wearable device.
In an exemplary embodiment of the present disclosure, the user may be a game player of a virtual reality system.
In an exemplary embodiment of the present disclosure, the height value of the user may be obtained multiple times at a preset time interval by detecting a size of a wearable device in a virtual reality system worn by the user from the ground. For example, the height value of the user may be obtained by detecting the height of the user's head mounted display from the ground every one second. The specific preset duration can be set according to the actual situation, and the method belongs to the protection scope of the disclosure. For example, the height values of the user acquired multiple times every one second may be 168 centimeters, 171 centimeters, 172 centimeters, 175 centimeters, 173 centimeters, 172 centimeters, 170 centimeters, 173 centimeters.
In an exemplary embodiment of the present disclosure, after the height value of the user is obtained, a height value smaller than the effective height threshold may be filtered, for example, the effective height threshold may be a value preset by the system, for example, the effective height threshold is set to 120 cm. That is, if the height value of the user is 100 cm and 100 cm is less than 120 cm, 100 cm is filtered out, and the height value of the user is obtained again. Through setting up effective height threshold value, can solve the user and deliberately low height of squatting in prior art to reduce the technical problem of self struck area, cheating, simultaneously, can also exclude the error data of non-human height automatically, improved the definite degree of accuracy of user's height.
In step S120, in response to that the obtained height value of the user is smaller than the estimated height value, the estimated trust value corresponding to the estimated height value is decreased by a preset step length.
In an exemplary embodiment of the present disclosure, step S120 shown in fig. 1 is step B.
In an exemplary embodiment of the present disclosure, the estimated height value is a preset height value, and for example, the estimated height value may be an average height of a human, so as to reduce the amount of calculation and improve the data processing efficiency. The estimated height value may be 170 centimeters, for example.
In an exemplary embodiment of the disclosure, if the obtained height value of the user is smaller than the estimated height value, the estimated trust value corresponding to the estimated height value may be decreased by a preset step length. For example, the initial value of the estimated trust value corresponding to the estimated height value may be 0, and the preset step size may be 1. It should be noted that, the specific value of the initial value and the specific value of the preset step length may be set according to actual situations, and belong to the protection scope of the present disclosure.
In an exemplary embodiment of the disclosure, when the obtained height value of the user is smaller than the estimated height value, the estimated trust value corresponding to the estimated height value may be decreased by a preset step length. Referring to step S110 and the above-mentioned related explanation, the height value of the user obtained for the first time is 168 cm, and 168 is smaller than the estimated height value 170 cm, so that the estimated trust value (0) corresponding to the estimated height value (170 cm) can be reduced by the preset step length (1), and the estimated trust value corresponding to the estimated height value (170) is known to be-1.
In step S130, in response to the estimated trust value corresponding to the estimated height value being less than a first preset estimated trust value, replacing the estimated height value with the obtained height value of the user, and resetting the estimated trust value corresponding to the estimated height value.
In an exemplary embodiment of the present disclosure, step S130 shown in fig. 1 is step C.
In an exemplary embodiment of the present disclosure, for example, the first preset estimated trust value may be set to 0, and the specific value may be set according to the actual situation, which belongs to the protection scope of the present disclosure.
In an exemplary embodiment of the disclosure, if the estimated trust value corresponding to the estimated height value is smaller than the first preset estimated trust value, the estimated height value may be replaced with the obtained height value of the user, and the estimated trust value corresponding to the estimated height value may be reset. For example, referring to the related explanation of step S120, the estimated confidence value corresponding to the estimated height value 170 is-1, and-1 is smaller than the first preset estimated confidence value 0, so that the estimated height value may be replaced with the obtained height value 168 cm of the user, and meanwhile, the estimated confidence value corresponding to the estimated height value 168 is reset to the initial value 0.
In step S140, in response to that the obtained height value of the user is greater than the estimated height value, increasing the estimated trust value corresponding to the estimated height value by a preset step length.
In an exemplary embodiment of the present disclosure, step S140 shown in fig. 1 is step D.
In an exemplary embodiment of the disclosure, if the obtained height value of the user is greater than the estimated height value, the estimated trust value corresponding to the estimated height value may be increased by a preset step length. For example, referring to the related explanations of step S110 to step S130, when the obtained height value of the user is 171 cm, and 171 cm is greater than 168 cm, the estimated trust value 0 corresponding to the estimated height value 168 may be increased by a preset step size 1, and then the estimated trust value corresponding to the estimated height value 168 may be obtained as 1.
In step S150, in response to the estimated confidence value corresponding to the estimated height value being greater than a second preset estimated confidence value, the estimated height value is determined as the effective height value of the user.
In an exemplary embodiment of the present disclosure, step S150 shown in fig. 1 is step E.
In an exemplary embodiment of the present disclosure, the second preset estimated trust value is a value greater than the first preset estimated trust value, for example, may be 6, and a specific value of the second preset estimated trust value may be set according to an actual situation, which belongs to the protection scope of the present disclosure.
In an exemplary embodiment of the present disclosure, the estimated height value may be determined as an effective height value of the user when the estimated confidence value corresponding to the estimated height value is greater than a second preset estimated confidence value. For example, referring to the related explanations of step S110 and step S140, after determining that the estimated trust value corresponding to the height value 168 is 1, when the height value of the user is 172 cm and 172 cm is greater than 168 cm, the preset step size may be added to the estimated trust value corresponding to the estimated height value 168, so as to determine that the estimated trust value corresponding to the estimated height value 168 is 1+1 — 2. Further, when the obtained height of the user is 175 cm, and similarly 175 cm is larger than 168 cm, it may be determined that the estimated trust value corresponding to the estimated height value is 2+1 — 3. Further, if the acquired height values of the user are 173 cm, 172 cm, 170 cm, and 173 cm, respectively, and it is found that the four height values of 173 cm, 172 cm, 170 cm, and 173 cm are all larger than the estimated height value 168 cm by referring to the above explanation, it is finally determined that the estimated confidence value corresponding to the estimated height value 168 cm is 3+1+1+1 — 7. It is readily appreciated that the estimated confidence value 7 for the height value 168 centimeters is greater than the second predetermined estimated confidence value 6, and thus, the estimated height value 168 may be determined as the effective height value for the user.
In an exemplary embodiment of the present disclosure, after the effective height value of the user is determined, the processes described in the above steps S110 to S150 (i.e., step a, step B, step C, step D, and step E) may be cyclically executed, so as to update the effective height value of the user in real time according to the obtained height value of the user, thereby further improving the accuracy of determining the height of the user, enabling a game scene to be more truly displayed, and improving the game experience of the user.
In an exemplary embodiment of the present disclosure, after the effective height value of the user is determined, the virtual object in the virtual reality system may be displayed according to the effective height value of the user and a preset display scale. For example, the preset display scale may be, the effective height value of the user: the display height of the virtual object is 2: 1, for example: when the effective height value of the user is determined to be 168 cm, according to 2: 1, it is possible to display a virtual object in the virtual reality game having a height of 84 cm. The specific display scale can be set according to the actual situation, and belongs to the protection scope of the disclosure.
The present disclosure also provides a user height determining apparatus in a virtual reality system, and fig. 2 shows a schematic structural diagram of the user height determining apparatus in the virtual reality system in an exemplary embodiment of the present disclosure; as shown in FIG. 2, a user height determination apparatus 200 in a virtual reality system can include an acquisition module 201, a first response module 202, a second response module 203, a third response module 204, and a third response module 205. Wherein:
the obtaining module 201 is configured to obtain a height value of the user for multiple times through a wearable device in the virtual reality system worn by the user;
the first response module 202 is configured to reduce, in response to that the obtained height value of the user is smaller than an estimated height value, an estimated trust value corresponding to the estimated height value by a preset step length;
a second response module 203, configured to, in response to that the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value, replace the estimated height value with the obtained height value of the user, and reset the estimated trust value corresponding to the estimated height value;
a third response module 204, configured to increase, in response to that the obtained height value of the user is greater than the estimated height value, a preset step size of an estimated trust value corresponding to the estimated height value;
a fourth response module 205, configured to determine the estimated height value as the effective height value of the user in response to the estimated trust value corresponding to the estimated height value being greater than a second preset estimated trust value.
The specific details of each module in the user height determining device in the virtual reality system have been described in detail in the corresponding user height determining method in the virtual reality system, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer storage medium capable of implementing the above method. On which a program product capable of implementing the above-described method of the present specification is stored. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 3, a program product 300 for implementing the above method according to an embodiment of the present disclosure 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 disclosure is not limited thereto, and in this document, a readable storage medium 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. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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 for the present disclosure 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 and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, 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., through the internet using an internet service provider).
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 400 according to this embodiment of the disclosure is described below with reference to fig. 4. The electronic device 400 shown in fig. 4 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 is embodied in the form of a general purpose computing device. The components of electronic device 400 may include, but are not limited to: the at least one processing unit 410, the at least one memory unit 420, and a bus 430 that couples various system components including the memory unit 420 and the processing unit 410.
Wherein the storage unit stores program code that is executable by the processing unit 410 to cause the processing unit 410 to perform steps according to various exemplary embodiments of the present disclosure as described in the above section "exemplary methods" of this specification. For example, the processing unit 410 may perform the following as shown in fig. 1: step S110, obtaining the height value of the user for multiple times through wearable equipment in the virtual reality system worn by the user; step S120, in response to the fact that the obtained height value of the user is smaller than the estimated height value, reducing the estimated trust value corresponding to the estimated height value by a preset step length; step S130, in response to the fact that the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value, replacing the estimated height value with the obtained height value of the user, and resetting the estimated trust value corresponding to the estimated height value; step S140, in response to the fact that the obtained height value of the user is larger than the estimated height value, increasing a preset step length for the estimated trust value corresponding to the estimated height value; and S150, determining the estimated height value as the effective height value of the user in response to the fact that the estimated trust value corresponding to the estimated height value is larger than a second preset estimated trust value.
The storage unit 420 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)4201 and/or a cache memory unit 4202, and may further include a read only memory unit (ROM) 4203.
The storage unit 420 may also include a program/utility 4204 having a set (at least one) of program modules 4205, such program modules 4205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 430 may be any bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 400 may also communicate with one or more external devices 1100 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 400, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 400 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 450. Also, the electronic device 400 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 460. As shown, the network adapter 460 communicates with the other modules of the electronic device 400 over the bus 430. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 400, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
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 variations, 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 (10)

1. A method for determining height of a user in a virtual reality system, comprising:
step A: obtaining the height value of the user for multiple times through wearable equipment in the virtual reality system worn by the user;
and B: in response to the fact that the obtained height value of the user is smaller than the estimated height value, reducing the estimated trust value corresponding to the estimated height value by a preset step length;
and C: in response to the estimated trust value corresponding to the estimated height value being less than a first preset estimated trust value, replacing the estimated height value with the obtained height value of the user and resetting the estimated trust value corresponding to the estimated height value;
step D: in response to the fact that the obtained height value of the user is larger than the estimated height value, increasing a preset step length for the estimated trust value corresponding to the estimated height value;
step E: and determining the estimated height value as the effective height value of the user in response to the estimated trust value corresponding to the estimated height value being greater than a second preset estimated trust value.
2. The method of claim 1, wherein the obtaining the height value of the user multiple times by a wearable device in the virtual reality system worn by the user comprises:
the height value of the user is obtained for multiple times at preset time intervals by detecting the size, away from the ground, of the wearable equipment in the virtual reality system worn by the user.
3. The method of claim 1, wherein after obtaining the height value of the user multiple times by a wearable device in the virtual reality system worn by the user, the method further comprises:
and filtering out the height values of the users which are obtained for multiple times and are less than the effective height threshold value.
4. The method of claim 1 or 2, wherein the estimated height value is initialized to a predetermined height value.
5. A method according to any one of claims 1 to 3, wherein said second predetermined estimated confidence value is greater than said first predetermined estimated confidence value.
6. The method of any of claims 1-3, wherein after determining the estimated height value as the effective height value for the user in response to the estimated confidence value corresponding to the estimated height value being greater than a second preset estimated confidence value, the method further comprises:
and displaying the virtual object in the virtual reality system according to the effective height value and the preset display scale of the user.
7. The method of any of claims 1-3, wherein after determining the estimated height value as the effective height value for the user, the method further comprises:
and circularly executing the step A, the step B, the step C, the step D and the step E.
8. A user height determination apparatus in a virtual reality system, comprising:
the acquisition module is used for acquiring the height value of the user for multiple times through wearable equipment in the virtual reality system worn by the user;
the first response module is used for responding to the fact that the obtained height value is smaller than the estimated height value, and reducing the estimated trust value corresponding to the estimated height value by a preset step length;
the second response module is used for replacing the estimated height value with the obtained height value of the user and resetting the estimated trust value corresponding to the estimated height value in response to the fact that the estimated trust value corresponding to the estimated height value is smaller than a first preset estimated trust value;
the third response module is used for responding to the fact that the obtained height value is larger than the estimated height value, and increasing the estimated trust value corresponding to the estimated height value by a preset step length;
and the fourth response module is used for responding to the fact that the estimated trust value corresponding to the estimated height value is larger than a second preset estimated trust value, and determining the estimated height value as the effective height value of the user.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a method for determining a height of a user in a virtual reality system according to any one of claims 1 to 7.
10. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of user height determination in a virtual reality system according to any one of claims 1 to 7.
CN201910085883.3A 2019-01-29 2019-01-29 User height determination method and device in virtual reality system and storage medium Active CN109864743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910085883.3A CN109864743B (en) 2019-01-29 2019-01-29 User height determination method and device in virtual reality system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910085883.3A CN109864743B (en) 2019-01-29 2019-01-29 User height determination method and device in virtual reality system and storage medium

Publications (2)

Publication Number Publication Date
CN109864743A CN109864743A (en) 2019-06-11
CN109864743B true CN109864743B (en) 2021-12-10

Family

ID=66918230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910085883.3A Active CN109864743B (en) 2019-01-29 2019-01-29 User height determination method and device in virtual reality system and storage medium

Country Status (1)

Country Link
CN (1) CN109864743B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017108144A1 (en) * 2015-12-22 2017-06-29 Audi Ag Method for operating a virtual reality system, and virtual reality system
CN106919247A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 Virtual image methods of exhibiting and device
CN107015644A (en) * 2017-03-22 2017-08-04 腾讯科技(深圳)有限公司 Virtual scene middle reaches target position adjustments method and device
CN107390878A (en) * 2017-08-07 2017-11-24 北京凌宇智控科技有限公司 A kind of space-location method, device, locator
CN109259729A (en) * 2018-09-21 2019-01-25 珠海市万瑙特健康科技有限公司 Sleep monitor system, method, apparatus, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017108144A1 (en) * 2015-12-22 2017-06-29 Audi Ag Method for operating a virtual reality system, and virtual reality system
CN106919247A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 Virtual image methods of exhibiting and device
CN107015644A (en) * 2017-03-22 2017-08-04 腾讯科技(深圳)有限公司 Virtual scene middle reaches target position adjustments method and device
CN107390878A (en) * 2017-08-07 2017-11-24 北京凌宇智控科技有限公司 A kind of space-location method, device, locator
CN109259729A (en) * 2018-09-21 2019-01-25 珠海市万瑙特健康科技有限公司 Sleep monitor system, method, apparatus, equipment and storage medium

Also Published As

Publication number Publication date
CN109864743A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN108287657B (en) Skill applying method and device, storage medium and electronic equipment
CN108721898B (en) Frame rate determination method and apparatus, storage medium, and electronic apparatus
US11710486B2 (en) Removal of identifying traits of a user in a virtual environment
KR20170035958A (en) Gaze-based object placement within a virtual reality environment
CN108776544B (en) Interaction method and device in augmented reality, storage medium and electronic equipment
JP2022177201A (en) Image processing method, device, electronic apparatus, and storage medium
CN111062864A (en) Animation model scaling method and device, electronic equipment and storage medium
EP3677994A1 (en) Text display method and device in virtual reality, and virtual reality apparatus
CN113407850A (en) Method and device for determining and acquiring virtual image and electronic equipment
CN114344903A (en) Method, terminal and storage medium for controlling virtual object to pick up virtual item
CN109864743B (en) User height determination method and device in virtual reality system and storage medium
CN113559501A (en) Method and device for selecting virtual units in game, storage medium and electronic equipment
CN110152292B (en) Display control method and device for jumping characters in game, storage medium and electronic equipment
CN111530077A (en) Game scene optimization method and device, electronic equipment and storage medium
CN109493428B (en) Optimization method and device for three-dimensional virtual model, electronic equipment and storage medium
CN108499102B (en) Information interface display method and device, storage medium and electronic equipment
US20230083831A1 (en) Method and apparatus for adjusting virtual face model, electronic device and storage medium
CN113110779B (en) Map display control method, device, equipment and medium
CN115423919A (en) Image rendering method, device, equipment and storage medium
CN115193048A (en) Virtual item processing method and device, storage medium and electronic equipment
CN111388997A (en) Weather control method and system in game, readable storage medium and electronic equipment
WO2019080870A1 (en) Interaction interface display method and device, storage medium, and electronic device
CN112755510A (en) Mobile terminal cloud game control method, system and computer readable storage medium
CN104036133A (en) Chess game system
CN113590334B (en) Method, device, medium and electronic equipment for processing character model

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