CN107422847B - Method and system for remotely testing acceleration value of virtual character - Google Patents
Method and system for remotely testing acceleration value of virtual character Download PDFInfo
- Publication number
- CN107422847B CN107422847B CN201710457573.0A CN201710457573A CN107422847B CN 107422847 B CN107422847 B CN 107422847B CN 201710457573 A CN201710457573 A CN 201710457573A CN 107422847 B CN107422847 B CN 107422847B
- Authority
- CN
- China
- Prior art keywords
- image
- frame rate
- display
- frame
- acceleration value
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/131—Protocols for games, networked simulations or virtual reality
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/012—Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to the field of testing, in particular to a method and a system for remotely testing an acceleration value of a virtual character. The method comprises the steps of mounting a preset parameter acquisition script to virtual reality software; when an acceleration value test request sent by a server is obtained, executing a preset simulation script; the simulation script can simulate the real user to continuously move towards the same direction; acquiring parameters required for calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set; sending the parameter set to the server; and the server side analyzes the parameter set to obtain the acceleration value of the virtual role. The accuracy of the acceleration value of the virtual character in the virtual reality software is improved.
Description
Technical Field
The invention relates to the field of testing, in particular to a method and a system for remotely testing an acceleration value of a virtual character.
Background
With the development of virtual reality technology, more and more virtual reality software appears in people's lives. As virtual reality software, immersion has been the core of the user experience. There are many factors that affect the user's immersion. Among them, accelerated movement of the virtual character caused by the user's motion is a main cause of inconsistency between the user's vision, vestibular sensation and proprioception, which causes the motion sickness phenomenon to occur to the user. Therefore, whether the maximum acceleration value of the virtual character caused by the action of the user in the virtual scene exceeds a specific threshold value or not is tested in the virtual reality software testing stage, so that the software quality is improved, and the user experience is improved.
However, the virtual reality software involves a large amount of data acquisition, data calculation and data storage in the running process, and a large amount of system resources are required to support smooth running of the virtual reality software. However, in the process of testing the acceleration of the virtual character, not only a large amount of data of each frame needs to be collected in real time, but also a test result needs to be obtained by analyzing the collected data, so that the load of virtual reality software is undoubtedly increased, the virtual reality software cannot smoothly run easily, the collected data is inaccurate, and the accuracy of the test result of the acceleration value of the virtual character is affected.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: how to improve the accuracy of the acceleration value of the virtual character in the virtual reality software.
In order to solve the technical problems, the invention adopts the technical scheme that:
the invention provides a method for remotely testing an acceleration value of a virtual character, which comprises the following steps:
s1, mounting a preset parameter acquisition script to the virtual reality software;
s2, when the acceleration value test request sent by the server is obtained,
s21, executing a preset simulation script; the simulation script can simulate the real user to continuously move towards the same direction;
s22, acquiring parameters required by calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set;
s3, sending the parameter set to the server;
and S4, the server side analyzes the parameter set to obtain the acceleration value of the virtual character.
The invention also provides a system for remotely testing the acceleration value of the virtual character, which comprises the following steps:
the mounting module is used for mounting a preset parameter acquisition script to the virtual reality software;
the execution module is used for executing a preset simulation script when the acceleration value test request sent by the server is obtained; the simulation script can simulate the real user to continuously move towards the same direction;
the first acquisition module is used for acquiring parameters required by calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set;
a sending module, configured to send the parameter set to the server;
and the analysis module is used for analyzing the parameter set by the server side to obtain the acceleration value of the virtual role.
The invention has the beneficial effects that: only the parameter acquisition script is mounted to the virtual reality software, and the server performs data analysis on the acquired parameters, so that the running load of the virtual reality software in the test process is reduced, the test environment is close to the environment when the user experiences the virtual reality software in the test process of the acceleration value of the virtual character, the accuracy of the acquired related parameters in the test process is improved, and the accuracy of the acceleration value of the test virtual character is improved.
Drawings
FIG. 1 is a block flow diagram of an embodiment of a method for remotely testing acceleration values of a virtual character according to the present invention;
FIG. 2 is a block diagram of a system for remotely testing acceleration values of a virtual character according to an embodiment of the present invention;
FIG. 3 is a block diagram of a system for remotely testing acceleration values of a virtual character according to an embodiment of the present invention;
description of reference numerals:
1. mounting a module; 2. an execution module; 3. a first acquisition module; 31. a first acquisition unit;
32. a monitoring unit; 33. a second acquisition unit; 34. a third acquisition unit; 35. an adding unit;
4. a sending module; 5. an analysis module; 51. a counting unit; 52. a calculation unit; 53. a marking unit; 54. a comparison unit; 55. a generating unit; 6. a second acquisition module; 7. and generating a module.
Detailed Description
In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.
Referring to fig. 1 to 3 of the drawings,
as shown in fig. 1, the present invention provides a method for remotely testing an acceleration value of a virtual character, comprising:
s1, mounting a preset parameter acquisition script to the virtual reality software;
s2, when the acceleration value test request sent by the server is obtained,
s21, executing a preset simulation script; the simulation script can simulate the real user to continuously move towards the same direction;
s22, acquiring parameters required by calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set;
s3, sending the parameter set to the server;
and S4, the server side analyzes the parameter set to obtain the acceleration value of the virtual character.
Further, the S22 specifically includes:
acquiring a frame rate corresponding to a first image displayed by display equipment to obtain an initial frame rate;
monitoring the frame rate corresponding to each frame of image displayed by the display equipment in real time, and if the frame rate corresponding to a second image displayed by the display equipment is the same as the frame rate corresponding to the previous frame of image of the second image, acquiring the frame rate corresponding to the second image to obtain the maximum frame rate;
acquiring the time interval from the beginning of displaying to the disappearance of each frame of image on the display equipment to obtain an image display duration set;
acquiring a time interval from the disappearance of each frame of image on the display equipment to the display start of the next frame of image on the display equipment to obtain an image data calling duration set;
and adding the initial frame rate, the maximum frame rate, the image display duration set and the image data calling duration set to a parameter set.
As can be seen from the above description, the simulation script simulates that a real user wears virtual reality equipment to continuously move in the same direction, and the mode of the virtual character triggered by the simulation script moving in the virtual scene can only be a continuous acceleration mode; in order to enable a user to perceive the change of the movement speed of the virtual character in the virtual scene in the presence of the user, the display equipment updates the image frame corresponding to the virtual scene at an increasing frame rate; therefore, the frame rate of each frame of image displayed by the display equipment is monitored in real time in the virtual character moving process, so that the moment when the frame rate reaches the maximum value can be accurately obtained, and the maximum change rate of the frame rate of the image displayed by the display equipment, which can be caused by the movement of the virtual character in the virtual scene, can be accurately calculated, namely the maximum acceleration value of the movement of the virtual character in the virtual scene; under the condition of passive codes, the maximum acceleration value which can be reached by the movement of the virtual character triggered by the action of the user in the virtual scene is obtained through accurate testing.
Further, the S4 specifically includes:
counting the time interval from the display of the first image by the display equipment to the display of the previous frame of image of the second image to obtain the frame rate change duration;
calculating the change rate of the frame rate according to the initial frame rate, the maximum frame rate and the change duration of the frame rate;
and marking the change rate of the frame rate as the acceleration value of the virtual character moving in the virtual scene.
Further, counting a time interval from the display of the first image by the display device to the display of a previous frame image of the second image to obtain a frame rate change duration, specifically:
and counting the time interval from the display of the first image to the display of the previous frame of image of the second image by the display equipment according to the image display duration set and the image data calling duration set to obtain the frame rate change duration.
Further, still include:
the server compares the acceleration value with a preset acceleration threshold value to obtain a comparison result;
and the server generates a test report according to the comparison result.
As can be seen from the above description, the test report may reflect whether the user may have motion sickness when using the virtual reality software under test.
Further, still include:
acquiring data generated by a space locator in virtual reality equipment in real time in the process that a real user continuously moves towards the same direction to obtain a position information set;
and generating the preset simulation script according to the position information set.
According to the description, the simulation script is made according to the collected data generated by the action behavior of the real user, and the accuracy of the test result is improved.
As shown in fig. 2, the present invention further provides a system for remotely testing acceleration values of a virtual character, comprising:
the mounting module 1 is used for mounting a preset parameter acquisition script to the virtual reality software;
the execution module 2 is used for executing a preset simulation script when the acceleration value test request sent by the server is obtained; the simulation script can simulate the real user to continuously move towards the same direction;
the first acquisition module 3 is used for acquiring parameters required for calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set;
a sending module 4, configured to send the parameter set to the server;
and the analysis module 5 is used for analyzing the parameter set by the server side to obtain the acceleration value of the virtual role.
Further, the first acquisition module 3 includes:
a first obtaining unit 31, configured to obtain a frame rate corresponding to a first image displayed by a display device, and obtain an initial frame rate;
the monitoring unit 32 is configured to monitor, in real time, a frame rate corresponding to each frame of image displayed by the display device, and if a frame rate corresponding to a second image displayed by the display device is the same as a frame rate corresponding to a previous frame of image of the second image, obtain a frame rate corresponding to the second image, and obtain a maximum frame rate;
the second obtaining unit 33 is configured to obtain a time interval from display start to disappearance of each frame of image on the display device, so as to obtain an image display duration set;
a third obtaining unit 34, configured to obtain a time interval between disappearance of each frame of image on the display device and display start of a subsequent frame of image on the display device, so as to obtain an image data calling duration set;
an adding unit 35, configured to add the initial frame rate, the maximum frame rate, the image display duration set, and the image data call duration set to a parameter set.
Further, the analysis module 5 includes:
the counting unit 51 is configured to count a time interval from displaying the first image to displaying a previous frame image of the second image by the display device, so as to obtain a frame rate change duration; the method specifically comprises the following steps: counting the time interval from the display of the first image to the display of the previous frame of image of the second image by the display equipment according to the image display duration set and the image data calling duration set to obtain the frame rate change duration;
a calculating unit 52, configured to calculate a frame rate change rate according to the initial frame rate, the maximum frame rate, and the frame rate change duration;
a marking unit 53, configured to mark a change rate of the frame rate as an acceleration value of a virtual character moving in a virtual scene;
the comparison unit 54 is used for the server to compare the acceleration value with a preset acceleration threshold value to obtain a comparison result;
and the generating unit 55 is used for the server to generate a test report according to the comparison result.
Further, still include:
the second acquisition module 6 is used for acquiring data generated by a space locator in the virtual reality equipment in real time in the process that the real user continuously moves towards the same direction to obtain a position information set;
and the generating module 7 is configured to generate the preset simulation script according to the position information set.
The first embodiment of the invention is as follows:
the embodiment provides a method for remotely testing an acceleration value of a virtual character, which comprises the following steps:
s1, acquiring data generated by a space locator in virtual reality equipment in real time in the process that a real user continuously moves towards the same direction to obtain a position information set; generating the preset simulation script according to the position information set;
the data generated by the space locator comprises input data of a Horizontal axis and input data of a Vertical axis, and the data defines the displacement of the virtual character in the three-dimensional space of the virtual scene;
s2, mounting a preset parameter acquisition script to the virtual reality software;
the method comprises the following steps that a parameter acquisition script is pre-mounted on an empty object, the empty object and the mounted script are packaged into a Dll component, and the component can be integrated into an engineering project needing build through a continuous integration tool such as Jenkins and the like in a software testing stage;
s3, when the acceleration value test request sent by the server is obtained,
s31, executing a preset simulation script; the simulation script can simulate the real user to continuously move towards the same direction;
the mechanism for controlling the virtual character to move in the virtual scene by the user is that when the user continuously moves towards the same direction, the virtual character is in an acceleration state, and the movement speed of the virtual character is gradually reduced until the user stops moving, so that the mode of the virtual character moving in the virtual scene triggered by executing the simulation script can only be a continuous acceleration mode, and under the continuous acceleration mode, the maximum acceleration value which can be reached by the virtual character moving in the virtual scene can be favorably measured;
s32, acquiring parameters required by calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set; the method specifically comprises the following steps:
s321, obtaining a frame rate corresponding to a first image displayed by a display device to obtain an initial frame rate;
s322, monitoring the frame rate corresponding to each frame of image displayed by the display equipment in real time, and if the frame rate corresponding to a second image displayed by the display equipment is the same as the frame rate corresponding to the previous frame of image of the second image, acquiring the frame rate corresponding to the second image to obtain the maximum frame rate;
s323, acquiring a time interval from the beginning of displaying to the disappearance of each frame of image on the display equipment to obtain an image display duration set;
s324, acquiring a time interval from disappearance of each frame of image on the display equipment to display of the next frame of image on the display equipment to obtain an image data calling duration set;
s325, adding the initial frame rate, the maximum frame rate, the image display duration set and the image data calling duration set to a parameter set;
the time reaching the maximum frame rate can be accurately positioned by monitoring the frame rate corresponding to each frame image displayed by the display equipment in real time, so that the accuracy of calculating the change rate of the frame rate is improved;
s4, sending the parameter set to the server;
s5, the server side analyzes the parameter set to obtain a virtual role acceleration value; the method specifically comprises the following steps:
s51, counting the time interval from the display of the first image to the display of the previous frame of image of the second image by the display device according to the image display duration set and the image data calling duration set to obtain the frame rate change duration;
s52, calculating the change rate of the frame rate according to the initial frame rate, the maximum frame rate and the frame rate change duration;
s53, marking the change rate of the frame rate as the moving acceleration value of the virtual character in the virtual scene;
s6, the server side compares the acceleration value with a preset acceleration threshold value to obtain a comparison result;
s7, the server side generates a test report according to the comparison result;
wherein, as known from the paper "jerk (time change rate of acceleration) -impact, riding comfort, and relaxation curve" in 3 rd year 2001 of physics and engineering, when the acceleration value of the virtual character moving in the virtual scene exceeds 1.8m × s-2In time, the user is prone to motion sickness, and therefore, if the maximum acceleration value which can be reached by the tested virtual character in the virtual scene is greater than 1.8m s-2And in time, the test result of the tested virtual reality software is unqualified.
Referring to fig. 3, the second embodiment of the present invention is:
the embodiment also provides a system for remotely testing the acceleration value of the virtual character, which comprises a simulation end 101, an acquisition end 102 and a server end 103;
the simulation terminal 101 comprises a second acquisition module 6, a generation module 7 and an execution module 2;
the second acquisition module 6 is configured to acquire, in real time, data generated by a spatial locator in the virtual reality device during continuous movement of the real user in the same direction, so as to obtain a position information set;
the generating module 7 is configured to generate the preset simulation script according to the position information set;
the execution module 2 is configured to execute a preset simulation script when the acceleration value test request sent by the server 103 is obtained; the simulation script can simulate the real user to continuously move towards the same direction;
the acquisition end 102 comprises a mounting module 1, a first acquisition module 3 and a sending module 4;
the mounting module 1 is used for mounting a preset parameter acquisition script to the virtual reality software;
the first acquisition module 3 is configured to acquire parameters required for calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set;
the sending module 4 is configured to send the parameter set to the server 103;
the first acquisition module 3 includes a first acquisition unit 31, a monitoring unit 32, a second acquisition unit 33, a third acquisition unit 34 and an adding unit 35;
the first obtaining unit 31 is configured to obtain a frame rate corresponding to a first image displayed by a display device, so as to obtain an initial frame rate;
the monitoring unit 32 is configured to monitor, in real time, a frame rate corresponding to each frame of image displayed by the display device, and if a frame rate corresponding to a second image displayed by the display device is the same as a frame rate corresponding to a previous frame of image of the second image, obtain a frame rate corresponding to the second image, and obtain a maximum frame rate;
the second obtaining unit 33 is configured to obtain a time interval from display start to disappearance of each frame of image on the display device, so as to obtain an image display duration set;
the third obtaining unit 34 is configured to obtain a time interval from disappearance of each frame of image on the display device to display of a subsequent frame of image on the display device, so as to obtain an image data calling duration set;
the adding unit 35 is configured to add the initial frame rate, the maximum frame rate, the image display duration set, and the image data call duration set to a parameter set;
wherein the server 103 comprises an analysis module 5;
the analysis module 5 is used for the server side to analyze the parameter set to obtain a virtual role acceleration value;
wherein, the analysis module 5 comprises a statistic unit 51, a calculation unit 52, a marking unit 53, a comparison unit 54 and a generation unit 55;
the counting unit 51 is configured to count a time interval from displaying the first image to displaying a previous frame image of the second image by the display device, so as to obtain a frame rate change duration; the method specifically comprises the following steps: counting the time interval from the display of the first image to the display of the previous frame of image of the second image by the display equipment according to the image display duration set and the image data calling duration set to obtain the frame rate change duration;
a calculating unit 52, configured to calculate a frame rate change rate according to the initial frame rate, the maximum frame rate, and the frame rate change duration;
a marking unit 53, configured to mark a change rate of the frame rate as an acceleration value of a virtual character moving in a virtual scene;
a comparing unit 54, configured to compare the acceleration value with a preset acceleration threshold to obtain a comparison result;
and the generating unit 55 is used for generating a test report according to the comparison result.
In summary, according to the method and system for remotely testing the acceleration value of the virtual character provided by the invention, only the parameter acquisition script is mounted to the virtual reality software, and the server performs data analysis on the acquired parameters, so that the running load of the virtual reality software in the testing process is reduced, the testing environment is close to the environment when the user experiences the virtual reality software in the testing process of the acceleration value of the virtual character, the accuracy of the relevant parameters acquired in the testing process is improved, and the accuracy of testing the acceleration value of the virtual character is improved. Furthermore, the simulation script simulates that a real user wears virtual reality equipment to continuously move towards the same direction, so that the mode of the virtual character triggered by the simulation script moving in the virtual scene can only be a continuous acceleration mode; in order to enable a user to perceive the change of the movement speed of the virtual character in the virtual scene in the presence of the user, the display equipment updates the image frame corresponding to the virtual scene at an increasing frame rate; therefore, the frame rate of each frame of image displayed by the display equipment is monitored in real time in the virtual character moving process, so that the moment when the frame rate reaches the maximum value can be accurately obtained, and the maximum change rate of the frame rate of the image displayed by the display equipment, which can be caused by the movement of the virtual character in the virtual scene, can be accurately calculated, namely the maximum acceleration value of the movement of the virtual character in the virtual scene; under the condition of passive codes, the maximum acceleration value which can be reached by the movement of the virtual character triggered by the action of the user in the virtual scene is obtained through accurate testing. Further, the test report may reflect whether the user would have motion sickness when using the virtual reality software under test. Furthermore, the simulation script is made according to the collected data generated by the action behavior of the real user, which is beneficial to improving the accuracy of the test result.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.
Claims (8)
1. A method for remotely testing acceleration values of a virtual character, comprising:
s1, mounting a preset parameter acquisition script to the virtual reality software;
s2, when the acceleration value test request sent by the server is obtained,
s21, executing a preset simulation script; the simulation script can simulate the real user to continuously move towards the same direction;
s22, acquiring parameters required by calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set;
s3, sending the parameter set to the server;
s4, the server side analyzes the parameter set to obtain a virtual role acceleration value;
the step S22 specifically includes:
acquiring a frame rate corresponding to a first image displayed by display equipment to obtain an initial frame rate;
monitoring the frame rate corresponding to each frame of image displayed by the display equipment in real time, and if the frame rate corresponding to a second image displayed by the display equipment is the same as the frame rate corresponding to the previous frame of image of the second image, acquiring the frame rate corresponding to the second image to obtain the maximum frame rate;
acquiring the time interval from the beginning of displaying to the disappearance of each frame of image on the display equipment to obtain an image display duration set;
acquiring a time interval from the disappearance of each frame of image on the display equipment to the display start of the next frame of image on the display equipment to obtain an image data calling duration set;
and adding the initial frame rate, the maximum frame rate, the image display duration set and the image data calling duration set to a parameter set.
2. The method for remotely testing the acceleration value of a virtual character according to claim 1, wherein said S4 is specifically:
counting the time interval from the display of the first image by the display equipment to the display of the previous frame of image of the second image to obtain the frame rate change duration;
calculating the change rate of the frame rate according to the initial frame rate, the maximum frame rate and the change duration of the frame rate;
and marking the change rate of the frame rate as the acceleration value of the virtual character moving in the virtual scene.
3. The method according to claim 2, wherein the time interval from the display of the first image by the display device to the display of the previous frame image of the second image is counted to obtain a frame rate change duration, and specifically:
and counting the time interval from the display of the first image to the display of the previous frame of image of the second image by the display equipment according to the image display duration set and the image data calling duration set to obtain the frame rate change duration.
4. The method of remotely testing acceleration values of a virtual character of claim 1, further comprising:
the server compares the acceleration value with a preset acceleration threshold value to obtain a comparison result;
and the server generates a test report according to the comparison result.
5. The method of remotely testing acceleration values of a virtual character of claim 1, further comprising:
acquiring data generated by a space locator in virtual reality equipment in real time in the process that a real user continuously moves towards the same direction to obtain a position information set;
and generating the preset simulation script according to the position information set.
6. A system for remotely testing acceleration values of a virtual character, comprising:
the mounting module is used for mounting a preset parameter acquisition script to the virtual reality software;
the execution module is used for executing a preset simulation script when the acceleration value test request sent by the server is obtained; the simulation script can simulate the real user to continuously move towards the same direction;
the first acquisition module is used for acquiring parameters required by calculating the acceleration value of the virtual character through the preset parameter acquisition script to obtain a parameter set;
a sending module, configured to send the parameter set to the server;
the analysis module is used for analyzing the parameter set by the server side to obtain a virtual role acceleration value;
the first acquisition module comprises:
the first obtaining unit is used for obtaining a frame rate corresponding to a first image displayed by the display equipment to obtain an initial frame rate;
the monitoring unit is used for monitoring the frame rate corresponding to each frame of image displayed by the display equipment in real time, and if the frame rate corresponding to a second image displayed by the display equipment is the same as the frame rate corresponding to a previous frame of image of the second image, acquiring the frame rate corresponding to the second image to obtain the maximum frame rate;
the second acquisition unit is used for acquiring the time interval from the beginning of display to the disappearance of each frame of image on the display equipment to obtain an image display duration set;
the third acquisition unit is used for acquiring the time interval from the disappearance of each frame of image on the display equipment to the display start of the next frame of image on the display equipment to obtain an image data calling duration set;
and the adding unit is used for adding the initial frame rate, the maximum frame rate, the image display duration set and the image data calling duration set to a parameter set.
7. The system for remotely testing acceleration values of a virtual character according to claim 6, wherein said analysis module comprises:
the counting unit is used for counting the time interval from the display of the first image to the display of the previous frame image of the second image by the display equipment to obtain the frame rate change duration; the method specifically comprises the following steps: counting the time interval from the display of the first image to the display of the previous frame of image of the second image by the display equipment according to the image display duration set and the image data calling duration set to obtain the frame rate change duration;
the calculation unit is used for calculating the change rate of the frame rate according to the initial frame rate, the maximum frame rate and the frame rate change duration;
the marking unit is used for marking the change rate of the frame rate as an acceleration value of the virtual character moving in the virtual scene;
the comparison unit is used for comparing the acceleration value with a preset acceleration threshold value by the server side to obtain a comparison result;
and the generating unit is used for generating a test report by the server according to the comparison result.
8. The system for remotely testing acceleration values of a virtual character of claim 6, further comprising:
the second acquisition module is used for acquiring data generated by a space locator in the virtual reality equipment in real time in the process that the real user continuously moves towards the same direction to obtain a position information set;
and the generating module is used for generating the preset simulation script according to the position information set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710457573.0A CN107422847B (en) | 2017-06-16 | 2017-06-16 | Method and system for remotely testing acceleration value of virtual character |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710457573.0A CN107422847B (en) | 2017-06-16 | 2017-06-16 | Method and system for remotely testing acceleration value of virtual character |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107422847A CN107422847A (en) | 2017-12-01 |
CN107422847B true CN107422847B (en) | 2020-04-17 |
Family
ID=60429033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710457573.0A Active CN107422847B (en) | 2017-06-16 | 2017-06-16 | Method and system for remotely testing acceleration value of virtual character |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107422847B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108170592B (en) * | 2017-12-20 | 2020-02-21 | 福建天晴数码有限公司 | Remote testing method and terminal for virtual reality software performance |
CN109078329B (en) * | 2018-07-04 | 2022-03-11 | 福建工程学院 | Mirror image virtual test method for gravity game |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130005082A (en) * | 2011-07-05 | 2013-01-15 | 삼성전자주식회사 | 3d display device and method for providing visual fatigue of 3d contents |
CN103593294A (en) * | 2013-11-21 | 2014-02-19 | 福建天晴数码有限公司 | Method and system for testing network game performance |
CN105056528A (en) * | 2015-07-23 | 2015-11-18 | 珠海金山网络游戏科技有限公司 | Virtual character moving method and apparatus |
CN106730811A (en) * | 2016-12-07 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Stage property motion processing method and device under a kind of VR scenes |
-
2017
- 2017-06-16 CN CN201710457573.0A patent/CN107422847B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130005082A (en) * | 2011-07-05 | 2013-01-15 | 삼성전자주식회사 | 3d display device and method for providing visual fatigue of 3d contents |
CN103593294A (en) * | 2013-11-21 | 2014-02-19 | 福建天晴数码有限公司 | Method and system for testing network game performance |
CN105056528A (en) * | 2015-07-23 | 2015-11-18 | 珠海金山网络游戏科技有限公司 | Virtual character moving method and apparatus |
CN106730811A (en) * | 2016-12-07 | 2017-05-31 | 腾讯科技(深圳)有限公司 | Stage property motion processing method and device under a kind of VR scenes |
Non-Patent Citations (1)
Title |
---|
加加速度(加速度的时间变化率)——冲击、乘座舒适性、缓和曲线;佘守宪 等;《物理工程》;20010615;第11卷(第3期);第7-12、22页 * |
Also Published As
Publication number | Publication date |
---|---|
CN107422847A (en) | 2017-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104679649B (en) | A kind of software fluency method of testing and test device | |
CN106802935B (en) | Page fluency testing method and device | |
CN107832216A (en) | One kind buries a method of testing and device | |
CN107422847B (en) | Method and system for remotely testing acceleration value of virtual character | |
CN104536888A (en) | Game testing method and system for mobile devices | |
CN107908561B (en) | Virtual reality software performance test method and system | |
CN106970875A (en) | The frame per second method of testing and its system of virtual reality software | |
CN113096225B (en) | Image special effect generation method and device, electronic equipment and storage medium | |
JPWO2015049757A1 (en) | Displacement field and strain field measurement method and material testing machine | |
CN110781220A (en) | Fault early warning method and device, storage medium and electronic equipment | |
CN112730622B (en) | Roadbed compaction quality testing method, device and equipment and readable storage medium | |
US20220246015A1 (en) | Fall detection method and apparatus, and wearable device | |
CN104679307A (en) | Method and device for detecting sliding sensitivity of touch screen | |
CN110008096A (en) | Data monitoring method, device, electronic equipment and computer readable storage medium | |
CN106851341A (en) | Method and mobile terminal for measuring Internet video delivery quality | |
CN106441349B (en) | Forgery message determination method and device based on pedometer message | |
CN104535032A (en) | Vertical jump height measuring method and device based on mobile terminal gravity sensor | |
WO2020039559A1 (en) | Information processing device, information processing method, and work evaluation system | |
CN114955753A (en) | Elevator running state adjusting method and device, electronic equipment and medium | |
CN107422848B (en) | Method and system for testing acceleration value of virtual character | |
JP5915990B2 (en) | Stumbling risk assessment device, Stumbling risk assessment system | |
CN112485562B (en) | Memory seat testing method and device, electronic equipment and storage medium | |
CN108170592B (en) | Remote testing method and terminal for virtual reality software performance | |
CN109753423A (en) | Method and device for evaluating stuck degree | |
CN108810522B (en) | Method and device for evaluating streaming media data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |