CN108170592B - Remote testing method and terminal for virtual reality software performance - Google Patents
Remote testing method and terminal for virtual reality software performance Download PDFInfo
- Publication number
- CN108170592B CN108170592B CN201711384563.5A CN201711384563A CN108170592B CN 108170592 B CN108170592 B CN 108170592B CN 201711384563 A CN201711384563 A CN 201711384563A CN 108170592 B CN108170592 B CN 108170592B
- Authority
- CN
- China
- Prior art keywords
- state
- test script
- virtual reality
- test
- server
- 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
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
-
- 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/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to the field of data processing, in particular to a remote testing method and terminal for virtual reality software performance. The method comprises the steps of mounting a preset test script to virtual reality software; when a test request sent by a server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set; the test script acquires a MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state; and the test script sends the first UI object set and the function state set to a server so that the server generates a test report according to the first UI object set and the function state set. The method and the device realize that the accuracy of detecting the unreasonable occupation of the texture resources of the memory is improved on the premise of passive codes.
Description
Technical Field
The invention relates to the field of data processing, in particular to a remote testing method and terminal for virtual reality software performance.
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. At present, motion sickness is the biggest factor restricting the sensory experience of users, and the most direct cause of motion sickness is the karton phenomenon of virtual reality software. The cause of the stuck phenomenon is many, and the cause includes the performance factor of software.
The performance bottlenecks of the virtual reality software are generally divided into three aspects of a CPU, a GPU and a memory, and long-term practice proves that nine-fold software in the current virtual reality software market has memory use problems of different degrees. For current virtual reality software, the main overhead of memory can be roughly divided into: the consumption of the engine to the memory, the occupation of the software resource to the memory, and the occupation of the managed heap memory.
According to statistics, in a more complex virtual reality project, the occupation of resources to the memory usually occupies more than 70% of the total memory, so whether the resource usage is reasonable or not usually determines the occupation condition of the resources to the memory. In the Unity3D engine, the resource types are as follows: texture, grid, animation, texture, audio, etc., where texture resources occupy the maximum memory overhead.
The existing method for testing the memory occupied by the texture resources in the virtual reality software is to analyze the memory data occupied by the resources through a Profiler performance analyzer built in a Unity3D engine, and to find out the texture resources occupying a higher memory. However, only texture resources occupying a large memory can be tested by the Profiler analyzer, and texture resources occupying a small memory cannot be tested. Moreover, the testing can be performed through the Profiler performance analyzer only when the source code is available, and most enterprises cannot provide the source code of the tester software, so that the tester cannot test the memory occupation condition of the texture resource in the virtual reality software during the black box testing.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: on the premise of passive codes, the accuracy of detecting unreasonable occupation of texture resources of a memory is improved.
In order to solve the technical problems, the invention adopts the technical scheme that:
the invention provides a remote testing method for virtual reality software performance, which comprises the following steps:
mounting a preset test script to the virtual reality software;
when a test request sent by a server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set;
the test script acquires a MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state;
and the test script sends the first UI object set and the function state set to a server so that the server generates a test report according to the first UI object set and the function state set.
The invention also provides a remote test terminal for virtual reality software performance, comprising one or more processors and a memory, the memory storing a program and configured to be executed by the one or more processors to perform the steps of:
mounting a preset test script to the virtual reality software;
when a test request sent by a server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set;
the test script acquires a MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state;
and the test script sends the first UI object set and the function state set to a server so that the server generates a test report according to the first UI object set and the function state set.
The invention has the beneficial effects that: the MipMap is a graphic image technology aiming at texture resources, and in a Unity3D engine, the pressure of rendering bandwidth can be effectively reduced by starting the MipMap function of a texture map, and the rendering efficiency of virtual reality software is improved. However, turning on the mipmap function will increase the memory usage of the texture resources by 1.33 times. For virtual reality software with a large sense of depth in a virtual scene, a 3D scene model and a character generally need to turn on a MipMap function, but for a UI object in the virtual scene, it is not necessary. The UI object starts the MipMap function, rendering efficiency cannot be improved, and unnecessary memory occupation can be increased. According to the invention, the state of the MipMap function of the texture resources quoted by all UI objects contained in the virtual reality software is detected, so that the texture resources unreasonably occupying the memory are searched out, the accuracy of detecting the texture resources unreasonably occupying the memory is improved on the premise of not needing a virtual reality software source code, a test report is formed, development engineers can accurately process specific texture resources according to the test report, the memory occupation of unnecessary texture resources is reduced, and the performance of the virtual reality software is improved. In addition, the terminal for installing the virtual reality software is controlled by the remote server to test whether the texture resources quoted by the UI object start the MipMap function or not, so that the dependence on source codes in resource detection can be favorably eliminated, and cross-platform testing can be well supported.
Drawings
Fig. 1 is a flowchart of a specific embodiment of a method for remotely testing performance of virtual reality software according to the present invention;
FIG. 2 is a block diagram of a specific embodiment of a remote testing terminal for virtual reality software performance according to the present invention;
description of reference numerals:
1. a processor; 2. A memory.
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 and fig. 2,
as shown in fig. 1, the present invention provides a remote testing method for virtual reality software performance, including:
mounting a preset test script to the virtual reality software;
when a test request sent by a server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set;
the test script acquires a MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state;
and the test script sends the first UI object set and the function state set to a server so that the server generates a test report according to the first UI object set and the function state set.
Further, the sending, by the test script, the first UI object set and the function state set to a server specifically includes:
presetting a data dictionary; the data dictionary comprises more than one key-value pair;
storing the first set of UI objects and the set of functional states to the data dictionary; the name of each UI object in the first UI object set is a key value name; the elements in the function state set are key values of corresponding UI objects in the first UI object set;
converting the data dictionary into a JSON data format to obtain JSON data;
and sending the JSON data to a server.
Further, still include:
and establishing communication connection with the server through the Socket service.
As can be seen from the above description, socket communication can be realized across platforms and with the same platform.
Further, comprising:
acquiring a UI object corresponding to the opening state in the test report to obtain a second UI object set;
and setting the MipMap functional state of each UI object in the second UI object set as a closed state.
According to the description, the MipMap function of the UI object is closed, so that the rendering efficiency is not influenced, the occupation of related texture resources to a memory is greatly reduced, and the performance of virtual reality software is improved.
Further, the test script obtains the MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set, specifically:
s1, the test script acquires a UI object from the first UI object set;
s2, the test script obtains a material component of the UI object;
s3, the test script acquires a shader corresponding to the texture component;
s4, if the shader type is texture type: the test script acquires texture resources corresponding to the shaders; the test script acquires the MipMap functional state of the texture resource; otherwise: marking the MipMap functional state corresponding to the UI object as a closed state by the test script;
repeating the S1-S4 until the first set of UI objects is traversed to obtain the set of functional states.
As shown in fig. 2, the present invention further provides a remote testing terminal for virtual reality software performance, which includes one or more processors 1 and a memory 2, where the memory 2 stores programs and is configured to be executed by the one or more processors 1 to perform the following steps:
mounting a preset test script to the virtual reality software;
when a test request sent by a server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set;
the test script acquires a MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state;
and the test script sends the first UI object set and the function state set to a server so that the server generates a test report according to the first UI object set and the function state set.
Further, the sending, by the test script, the first UI object set and the function state set to a server specifically includes:
presetting a data dictionary; the data dictionary comprises more than one key-value pair;
storing the first set of UI objects and the set of functional states to the data dictionary; the name of each UI object in the first UI object set is a key value name; the elements in the function state set are key values of corresponding UI objects in the first UI object set;
converting the data dictionary into a JSON data format to obtain JSON data;
and sending the JSON data to a server.
Further, still include:
and establishing communication connection with the server through the Socket service.
Further, comprising:
acquiring a UI object corresponding to the opening state in the test report to obtain a second UI object set;
and setting the MipMap functional state of each UI object in the second UI object set as a closed state.
Further, the test script obtains the MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set, specifically:
s1, the test script acquires a UI object from the first UI object set;
s2, the test script obtains a material component of the UI object;
s3, the test script acquires a shader corresponding to the texture component;
s4, if the shader type is texture type: the test script acquires texture resources corresponding to the shaders; the test script acquires the MipMap functional state of the texture resource; otherwise: marking the MipMap functional state corresponding to the UI object as a closed state by the test script;
repeating the S1-S4 until the first set of UI objects is traversed to obtain the set of functional states.
The first embodiment of the invention is as follows:
the embodiment provides a remote testing method for virtual reality software performance, which comprises the following steps:
and S1, establishing communication connection with the server through the Socket service.
And S2, mounting the preset test script to the virtual reality software.
The method comprises the steps that a client Socket is created when virtual reality software runs, Socket service monitors a connection request from a server Socket, and a blocking mode is started until the server sends the connection request. And processing the request data after receiving the request.
And S3, when a test request sent by the server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set. The method specifically comprises the following steps:
and S31, acquiring all game objects corresponding to the virtual reality software by the test script to obtain a game object set.
S32, the test script obtains the game object with the label type of UI from the game object set to obtain a first UI object set.
The game object may be referred to as GameObject, and is an object type in the Unity3D engine, and the UI object is an object marked as "UI" in objects of the GameObject type, and each object in the Unity engine has its own tag to facilitate identification. And traversing all objects with types of GameObjects, and screening all game objects with tag types of UIs by a FindObjectWithtag method, wherein the objects are all UI objects contained in the current virtual scene.
S4, the test script obtains the MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state; the method specifically comprises the following steps:
s41, the test script acquires a UI object from the first UI object set;
s42, the test script obtains a material component of the UI object;
s43, the test script acquires a shader corresponding to the texture component;
s44, if the shader type is texture type: the test script acquires texture resources corresponding to the shaders; the test script acquires the MipMap functional state of the texture resource; otherwise: marking the MipMap functional state corresponding to the UI object as a closed state by the test script;
repeating the S1-S4 until the first set of UI objects is traversed to obtain the set of functional states.
The Mipmap is a graphic image technology for texture resources, and in the Unity3D engine, the pressure of rendering bandwidth can be effectively reduced by starting the Mipmap function of the texture resources, so that the rendering efficiency of virtual reality software is improved. However, turning on mipmaps will increase the memory footprint of the texture resources by a factor of 1.33. For virtual reality software with a large sense of depth in a virtual scene, a 3D scene model and a character generally need to turn on a Mipmap function, but for UI objects in the virtual scene, it is not necessary. The UI object starts the Mipmap function, so that the rendering efficiency cannot be improved, and unnecessary memory occupation is increased.
And traversing the first UI object set to obtain the material component under each UI object. The texture component contains texture maps and rendering shading related configuration information needed to render UI objects. And acquiring a shader corresponding to the material component by a shader method. A shader is a processing pipeline in the Unity3D engine for processing a graphics display, and includes a plurality of properties in which basic information of resources for the graphics display is recorded. The attribute type of the attribute of the shader is obtained through a GetPropertype method function, whether the attribute type of the attribute belongs to a TexEnv type (texture type) or not is judged, the attribute of the type is used for storing information related to texture maps, and each texture map quoted by a UI object generates a corresponding TexEnv type attribute in the shader. After the attribute with the type of the TexEnv type is obtained, the name information of the TexEnv attribute is read through a name function, the name information is the name of a texture map corresponding to the attribute, finally, GetTexture (texture TextureName) is called, the transferred parameters are the name information of the obtained texture map, and the corresponding texture resource can be returned. Then, the state of the MipMaps function of the texture resource is obtained by calling a GenerateMipMaps function, and when the return value is true, the MipMaps function is shown to be in an open state; when the return value is fail, the MipMaps function is represented as off state.
S5, the test script sends the first UI object set and the function state set to a server, so that the server generates a test report according to the first UI object set and the function state set.
Optionally, presetting a data dictionary; the data dictionary comprises more than one key-value pair;
storing the first set of UI objects and the set of functional states to the data dictionary; the name of each UI object in the first UI object set is a key value name; the elements in the function state set are key values of corresponding UI objects in the first UI object set;
converting the data dictionary into a JSON data format to obtain JSON data;
and sending the JSON data to a server.
The data dictionary is serialized through a DataContractJsonSerializer class, the serialized data dictionary is converted into data in a JSON format, the processed data are returned to a server Socket, the server analyzes the data, the analyzed data are stored in a database, and the database is used for storing data information required by generating a test report and extracting the data in the database to generate a corresponding test report.
Optionally, the server generates a test report according to the first UI object set and the function state set, specifically:
acquiring a UI object with the MipMap functional state being an open state in the first UI object set to obtain a third UI object set;
and generating a test report according to the third UI object set.
All UI objects which refer to texture resources and start the MipMap function in the virtual reality software are listed in the test report, and development engineers can accurately process the specific texture resources according to the test report, so that unnecessary memory occupation of the texture resources is reduced, and the performance of the virtual reality software is improved.
S6, obtaining a UI object corresponding to the opening state in the test report to obtain a second UI object set; and setting the MipMap functional state of each UI object in the second UI object set as a closed state.
It can be known from the above description that the Profiler performance analyzer of the Unity3D engine can be used only after the project engineering of the software is opened by the Unity3D engine, if the performance of the software needs to be analyzed, the engineering source code of the virtual reality software must be run in the Unity3D engine, and during the running process, the Profiler collects the performance data of each frame. The detection method provided by this embodiment adopts a socket communication method, and realizes remote data transmission through communication connection between a client socket and a server socket, and meanwhile, a test script is mounted in software for data acquisition and detection, and data completing detection is returned to the socket client through communication between the sockets, and a corresponding test report is generated at the client. In addition, the embodiment controls the terminal for installing the virtual reality software to test whether the texture resource quoted by the UI object starts the MipMap function through the remote server, so that the dependence on the source code during resource detection can be favorably eliminated, and the cross-platform test can be well supported. For example, when the socket client is on a computer, and the virtual reality software to be tested is a mobile application, remote testing can be performed in a manner of remotely sending an instruction, and data can be returned to the computer, so that the detected test data can be more conveniently operated.
The second embodiment of the invention is as follows:
the embodiment provides a remote testing terminal for virtual reality software performance, which comprises one or more processors 1 and a memory 2, wherein the memory 2 stores programs and is configured to be executed by the one or more processors 1 to perform the following steps:
and S1, establishing communication connection with the server through the Socket service.
And S2, mounting the preset test script to the virtual reality software.
And S3, when a test request sent by the server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set. The method specifically comprises the following steps:
and S31, acquiring all game objects corresponding to the virtual reality software by the test script to obtain a game object set.
S32, the test script obtains the game object with the label type of UI from the game object set to obtain a first UI object set.
S4, the test script obtains the MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state; the method specifically comprises the following steps:
s41, the test script acquires a UI object from the first UI object set;
s42, the test script obtains a material component of the UI object;
s43, the test script acquires a shader corresponding to the texture component;
s44, if the shader type is texture type: the test script acquires texture resources corresponding to the shaders; the test script acquires the MipMap functional state of the texture resource; otherwise: marking the MipMap functional state corresponding to the UI object as a closed state by the test script;
repeating the S1-S4 until the first set of UI objects is traversed to obtain the set of functional states.
S5, the test script sends the first UI object set and the function state set to a server, so that the server generates a test report according to the first UI object set and the function state set.
Optionally, presetting a data dictionary; the data dictionary comprises more than one key-value pair;
storing the first set of UI objects and the set of functional states to the data dictionary; the name of each UI object in the first UI object set is a key value name; the elements in the function state set are key values of corresponding UI objects in the first UI object set;
converting the data dictionary into a JSON data format to obtain JSON data;
and sending the JSON data to a server.
Optionally, the server generates a test report according to the first UI object set and the function state set, specifically:
acquiring a UI object with the MipMap functional state being an open state in the first UI object set to obtain a third UI object set;
and generating a test report according to the third UI object set.
S6, obtaining a UI object corresponding to the opening state in the test report to obtain a second UI object set; and setting the MipMap functional state of each UI object in the second UI object set as a closed state.
In summary, according to the remote testing method and terminal for virtual reality software performance provided by the invention, the state of the MipMap function of the texture resource referenced by all UI objects included in the virtual reality software is detected, so that the texture resource unreasonably occupying the memory is checked out, the accuracy of detecting the texture resource unreasonably occupying the memory is improved on the premise of not requiring a virtual reality software source code, a test report is formed, a development engineer can accurately process a specific texture resource according to the test report, the memory occupation of the unnecessary texture resource is reduced, and the performance of the virtual reality software is improved. In addition, the terminal for installing the virtual reality software is controlled by the remote server to test whether the texture resources quoted by the UI object start the MipMap function or not, so that the dependence on source codes in resource detection can be favorably eliminated, and cross-platform testing can be well supported. Furthermore, the MipMap function of the UI object is closed, so that the rendering efficiency is not influenced, the occupation of related texture resources to a memory is greatly reduced, and the performance of virtual reality software is improved.
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 remote testing method for virtual reality software performance is characterized by comprising the following steps:
establishing communication connection with a server through a Socket service, wherein a client Socket is established when virtual reality software runs, the Socket service monitors a connection request from the server Socket, a blocking mode is started until the server sends the connection request, request data are processed after the request is received, and the Socket client carries out remote test in a remote instruction sending mode;
mounting a preset test script to the virtual reality software;
when a test request sent by a server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set;
the test script acquires a MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state;
the test script sends the first UI object set and the function state set to the server, so that the server generates a test report according to the first UI object set and the function state set, specifically, data completing detection is returned to a socket client through communication between sockets, and a corresponding test report is generated at the client.
2. The method for remotely testing the performance of the virtual reality software according to claim 1, wherein the test script sends the first UI object set and the function state set to a server, specifically:
presetting a data dictionary; the data dictionary comprises more than one key-value pair;
storing the first set of UI objects and the set of functional states to the data dictionary; the name of each UI object in the first UI object set is a key value name; the elements in the function state set are key values of corresponding UI objects in the first UI object set;
converting the data dictionary into a JSON data format to obtain JSON data;
and sending the JSON data to a server.
3. The method for remotely testing the performance of the virtual reality software according to claim 1, comprising:
acquiring a UI object corresponding to the opening state in the test report to obtain a second UI object set;
and setting the MipMap functional state of each UI object in the second UI object set as a closed state.
4. The method according to claim 1, wherein the test script obtains the MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set, specifically:
s1, the test script acquires a UI object from the first UI object set;
s2, the test script obtains a material component of the UI object;
s3, the test script acquires a shader corresponding to the texture component;
s4, if the shader type is texture type: the test script acquires texture resources corresponding to the shaders; the test script acquires the MipMap functional state of the texture resource; otherwise: marking the MipMap functional state corresponding to the UI object as a closed state by the test script;
repeating the S1-S4 until the first set of UI objects is traversed to obtain the set of functional states.
5. A remote test terminal for virtual reality software performance, comprising one or more processors and memory, the memory storing a program and configured to perform the following steps by the one or more processors:
establishing communication connection with a server through a Socket service, wherein a client Socket is established when virtual reality software runs, the Socket service monitors a connection request from the server Socket, a blocking mode is started until the server sends the connection request, request data are processed after the request is received, and the Socket client carries out remote test in a remote instruction sending mode; mounting a preset test script to the virtual reality software;
when a test request sent by a server is received, the test script acquires all UI objects corresponding to the virtual reality software to obtain a first UI object set;
the test script acquires a MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set; the MipMap functional states comprise an on state and an off state;
the test script sends the first UI object set and the function state set to the server, so that the server generates a test report according to the first UI object set and the function state set, specifically, data completing detection is returned to a socket client through communication between sockets, and a corresponding test report is generated at the client.
6. The remote testing terminal for virtual reality software performance according to claim 5, wherein the testing script sends the first UI object set and the function state set to a server, specifically:
presetting a data dictionary; the data dictionary comprises more than one key-value pair;
storing the first set of UI objects and the set of functional states to the data dictionary; the name of each UI object in the first UI object set is a key value name; the elements in the function state set are key values of corresponding UI objects in the first UI object set;
converting the data dictionary into a JSON data format to obtain JSON data;
and sending the JSON data to a server.
7. The remote test terminal for virtual reality software performance of claim 5, comprising:
acquiring a UI object corresponding to the opening state in the test report to obtain a second UI object set;
and setting the MipMap functional state of each UI object in the second UI object set as a closed state.
8. The remote testing terminal for virtual reality software performance according to claim 5, wherein the testing script obtains the MipMap functional state corresponding to each UI object in the first UI object set to obtain a functional state set, specifically:
s1, the test script acquires a UI object from the first UI object set;
s2, the test script obtains a material component of the UI object;
s3, the test script acquires a shader corresponding to the texture component;
s4, if the shader type is texture type: the test script acquires texture resources corresponding to the shaders; the test script acquires the MipMap functional state of the texture resource; otherwise: marking the MipMap functional state corresponding to the UI object as a closed state by the test script;
repeating the S1-S4 until the first set of UI objects is traversed to obtain the set of functional states.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711384563.5A CN108170592B (en) | 2017-12-20 | 2017-12-20 | Remote testing method and terminal for virtual reality software performance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711384563.5A CN108170592B (en) | 2017-12-20 | 2017-12-20 | Remote testing method and terminal for virtual reality software performance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108170592A CN108170592A (en) | 2018-06-15 |
CN108170592B true CN108170592B (en) | 2020-02-21 |
Family
ID=62523120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711384563.5A Active CN108170592B (en) | 2017-12-20 | 2017-12-20 | Remote testing method and terminal for virtual reality software performance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108170592B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840203B (en) * | 2018-12-19 | 2022-05-10 | 珠海妙存科技有限公司 | VR (virtual reality) automatic testing method based on message mapping |
CN110795022B (en) * | 2019-11-08 | 2022-03-15 | 北京字节跳动网络技术有限公司 | Terminal testing method, system and storage medium |
CN112579210A (en) * | 2020-12-30 | 2021-03-30 | 上海众源网络有限公司 | Application program control method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246598A (en) * | 2012-02-09 | 2013-08-14 | 广州博纳信息技术有限公司 | Remote testing method for software testing and evaluation |
CN107122291A (en) * | 2016-02-25 | 2017-09-01 | 北京博酷科技有限公司 | Mobile terminal software stability test method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106970875B (en) * | 2017-03-01 | 2019-08-27 | 福建天晴数码有限公司 | The frame per second test method and its system of virtual reality software |
CN107422847B (en) * | 2017-06-16 | 2020-04-17 | 福建天晴数码有限公司 | Method and system for remotely testing acceleration value of virtual character |
CN107423688B (en) * | 2017-06-16 | 2020-03-17 | 福建天晴数码有限公司 | Method and system for remotely testing distance based on Unity engine |
-
2017
- 2017-12-20 CN CN201711384563.5A patent/CN108170592B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246598A (en) * | 2012-02-09 | 2013-08-14 | 广州博纳信息技术有限公司 | Remote testing method for software testing and evaluation |
CN107122291A (en) * | 2016-02-25 | 2017-09-01 | 北京博酷科技有限公司 | Mobile terminal software stability test method and apparatus |
Non-Patent Citations (2)
Title |
---|
"基于JSON 的数据交换技术应用研究";徐宝磊;《软件导刊》;20171031;第174页 * |
性能优化,进无止境(上);admin;《UWA》;20160226;第一部分"(3)Mipmap功能" * |
Also Published As
Publication number | Publication date |
---|---|
CN108170592A (en) | 2018-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108170592B (en) | Remote testing method and terminal for virtual reality software performance | |
CN109302522A (en) | Test method, device and computer system and medium | |
CN107659455B (en) | Method, storage medium, device and system for Mock data of iOS (internet operating system) end | |
CN110275831B (en) | Mock data verification method and device of protocol interface | |
CN107357727A (en) | APP testing results method, apparatus, readable storage medium storing program for executing and computer equipment | |
CN111813686B (en) | Game testing method and device, testing terminal and storage medium | |
CN109712000A (en) | Repeat insure method for limiting, device, equipment and readable storage medium storing program for executing | |
CN107748715B (en) | Unity-based texture map configuration information detection method and system | |
CN112416775A (en) | Software automation testing method and device based on artificial intelligence and electronic equipment | |
CN109302523B (en) | Mobile phone performance evaluation method for mobile phone side and server side | |
CN114297700A (en) | Dynamic and static combined mobile application privacy protocol extraction method and related equipment | |
US9442826B2 (en) | Kernel functionality checker | |
CN108153655B (en) | Method for detecting drawing call quantity of virtual reality software and storage medium | |
CN107767434B (en) | Method for acquiring texture mapping configuration information in virtual reality technology and storage medium | |
CN108153656B (en) | Virtual reality software performance testing method and terminal | |
CN115509913A (en) | Software automation test method, device, machine readable medium and equipment | |
CN114706581A (en) | Image analysis method, image analysis device, computer equipment and storage medium | |
CN111459831B (en) | Test system and test method | |
CN110990104B (en) | Texture rendering method and device based on Unity3D | |
CN115016754A (en) | Method and device for synchronously displaying pages among devices, electronic device and medium | |
CN114217927A (en) | Thread calling method and device, computer equipment and storage medium | |
CN110465093B (en) | Method and device for analyzing inclusion redundant resources based on Unity | |
CN109146766B (en) | Object selection method and device | |
CN106802856A (en) | The performance test methods of game application, server and game application client | |
CN116302932A (en) | Layering test method, layering test device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |