CN108153655A - The detection method and storage medium of the draw call quantity of virtual reality software - Google Patents

The detection method and storage medium of the draw call quantity of virtual reality software Download PDF

Info

Publication number
CN108153655A
CN108153655A CN201711364965.9A CN201711364965A CN108153655A CN 108153655 A CN108153655 A CN 108153655A CN 201711364965 A CN201711364965 A CN 201711364965A CN 108153655 A CN108153655 A CN 108153655A
Authority
CN
China
Prior art keywords
draw call
equipment
virtual reality
server
client
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.)
Granted
Application number
CN201711364965.9A
Other languages
Chinese (zh)
Other versions
CN108153655B (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.)
Fujian TQ Digital Co Ltd
Original Assignee
Fujian TQ Digital 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 Fujian TQ Digital Co Ltd filed Critical Fujian TQ Digital Co Ltd
Priority to CN201711364965.9A priority Critical patent/CN108153655B/en
Publication of CN108153655A publication Critical patent/CN108153655A/en
Application granted granted Critical
Publication of CN108153655B publication Critical patent/CN108153655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3452Performance evaluation by statistical analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of detection method and storage medium of the draw call quantity of virtual reality software, method includes:Obtain the device name of virtual reality running software equipment;According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders capacity percentage;According to the CPU frequency, capacity percentage and preset frame per second are rendered, the limiting value of the corresponding draw call quantity of the equipment is calculated;Obtain the draw call quantity in virtual scene;The draw call quantity is compared with the limiting value.The detection of the draw call quantity of automation can be achieved in the present invention, and can improve the detection accuracy of draw call quantity.

Description

The detection method and storage medium of the draw call quantity of virtual reality software
Technical field
The present invention relates to technical field of virtual reality more particularly to a kind of inspections of the draw call quantity of virtual reality software Survey method and storage medium.
Background technology
With the development of virtual reality technology, more and more virtual reality softwares occur in people's lives.As Virtual reality software, feeling of immersion are always the core of user experience.At present, many because being known as of user's feeling of immersion are influenced, and it is empty The quantity for intending draw call in scene is exactly one of many factors, and the quantity of draw call is got in single virtual scene It is more, then it is heavier for the burden of CPU, so as to cause the Caton phenomenon of application software, user is greatly lowered for virtual reality The feeling of immersion of application software.
The detection method of the conventional draw call limiting value based on Unity3D exploitation engines, is surveyed generally by black box The method of examination carries out, and tester needs to obtain the source code of projects, and the lead-in item work in Unity3D engines Journey in game view (GameView) window of engine, clicks state (Stats) button in upper right side, you can one weight of display Folded form and real-time rendering statistical data.The data of statistics show different contents according to the difference of structure target.For with It is to build the situation of target that testing and drawing, which calls quantity, and statistical data then includes Batches.One draw call is equal to calling one Secondary DrawIndexedPrimitive (DX) or glDrawElements (OGL), equal to one Batach.I.e. in statistical data Comprising Batches quantity be exactly draw call in corresponding virtual scene quantity.In this way, Black-box Testing people Member can obtain the draw call quantity of current virtual scene.
But the above method has the following disadvantages:
Shortcoming 1:Draw call quantity under each virtual scene is required for obtaining by way of Black-box Testing, and deposit Corresponding data acquisition and survey can not be provided in the case of the engineering source code not provided in developer in code dependence Examination, easily forms testing blind zone;Secondly, it can not be obtained by way of automation, more wasteful human cost.
Shortcoming 2:The detection of virtual scene draw call quantity is carried out by way of Black-box Testing, can only be obtained current Test data, it is desirable to detect these data in corresponding mobile end equipment whether rationally, it is also necessary to data are being set one by one Standby upper experience effect is observed, and there are subjectivities for such measurement method, and it is inaccurate to be easy to cause final test result.
Shortcoming 3:The above method needs to carry out record storage to test data by hand and data is divided when testing completion Analysis, and test report is cannot be automatically generated, these can all occupy more time cost in test latter stage.
Invention content
The technical problems to be solved by the invention are:A kind of detection side of the draw call quantity of virtual reality software is provided Method and storage medium can calculate the maximum bearing value of the mobile end equipment that is connected for draw call, and to virtual scene In practical draw call number be detected.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is:A kind of drafting tune of virtual reality software With the detection method of quantity, including:
Obtain the device name of virtual reality running software equipment;
According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders performance Percentage;
According to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding drafting of the equipment is calculated Call the limiting value of quantity;
Obtain the draw call quantity in virtual scene;
The draw call quantity is compared with the limiting value.
The invention further relates to a kind of computer readable storage mediums, are stored thereon with computer program, and described program is located Reason device realizes following steps when performing:
Obtain the device name of virtual reality running software equipment;
According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders performance Percentage;
According to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding drafting of the equipment is calculated Call the limiting value of quantity;
Obtain the draw call quantity in virtual scene;
The draw call quantity is compared with the limiting value.
The beneficial effects of the present invention are:By obtaining hardware information, adjusted according to hardware information computing hardware for drawing Then ability to bear is compared with current scene draw call quantity, can more accurately navigate to current scene What whether the quantity of middle draw call reached device hardware bears peak value, so as to more accurately be carried out to the quantity of draw call Test.The detection of the draw call quantity of automation can be achieved in the present invention, and can improve the detection accuracy of draw call quantity.
Description of the drawings
Fig. 1 is a kind of flow chart of the detection method of the draw call quantity of virtual reality software of the present invention;
Fig. 2 is the method flow diagram of the embodiment of the present invention one;
Fig. 3 is the method flow diagram of the embodiment of the present invention two;
Fig. 4 is the Principle of Communication schematic diagram of the embodiment of the present invention three.
Specific embodiment
For the technology contents that the present invention will be described in detail, the objects and the effects, below in conjunction with embodiment and coordinate attached Figure is explained in detail.
The design of most critical of the present invention is:According to hardware information computing hardware for the ability to bear of draw call, and It is compared with the draw call quantity of virtual scene.
Referring to Fig. 1, a kind of detection method of the draw call quantity of virtual reality software, including:
Obtain the device name of virtual reality running software equipment;
According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders performance Percentage;
According to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding drafting of the equipment is calculated Call the limiting value of quantity;
Obtain the draw call quantity in virtual scene;
The draw call quantity is compared with the limiting value.
As can be seen from the above description, the beneficial effects of the present invention are:
Further, described " device name for obtaining virtual reality running software equipment " is specially:
Obtain the facility information of virtual reality running software equipment;
Device name is obtained from the facility information.
Further, it is described " according to the CPU frequency, to render capacity percentage and preset frame per second, be calculated described The limiting value of the corresponding draw call quantity of equipment " is specially:
The limiting value of the corresponding draw call quantity of the equipment, first formula are calculated according to the first formula For:Limiting value=25K × CPU frequency × rendering capacity percentage/preset frame per second.
Seen from the above description, the device data of acquisition is counted according to the limiting value calculation formula of draw call quantity It calculates, accurately bears limiting value so as to obtain, improve the accuracy of test.
Further, before described " device name for obtaining virtual reality running software equipment ", further comprise:
Server-side is built in virtual reality software, and creates ServerSocket;
Client is built, and create client socket in external test frame;
Client sends connection request according to the IP address and port numbers of the server-side to server-side;
After server-side receives the connection request, the communication connection with client is established;
Client sends detection request to server-side, and the detection request includes facility information configuration file.
Seen from the above description, based on C/S structures, by the communication between client Socket and server-side Socket, It realizes the data interaction between test frame and virtual reality software, effectively solves the problems, such as source code dependence.
Further, after described " the draw call quantity is compared with the limiting value ", further comprise:
Comparison result is recorded in result set;
The result set is back to client by server-side;
Client generates testing journal sheet according to the result set.
Seen from the above description, testing journal sheet can be generated automatically according to comparison result, saves time and cost of labor.
The invention further relates to a kind of computer readable storage mediums, are stored thereon with computer program, and described program is located Reason device realizes following steps when performing:
Obtain the device name of virtual reality running software equipment;
According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders performance Percentage;
According to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding drafting of the equipment is calculated Call the limiting value of quantity;
Obtain the draw call quantity in virtual scene;
The draw call quantity is compared with the limiting value.
Further, described " device name for obtaining virtual reality running software equipment " is specially:
Obtain the facility information of virtual reality running software equipment;
Device name is obtained from the facility information.
Further, it is described " according to the CPU frequency, to render capacity percentage and preset frame per second, be calculated described The limiting value of the corresponding draw call quantity of equipment " is specially:
The limiting value of the corresponding draw call quantity of the equipment, first formula are calculated according to the first formula For:Limiting value=25K × CPU frequency × rendering capacity percentage/preset frame per second.
Further, before described " device name for obtaining virtual reality running software equipment ", further comprise:
Server-side is built in virtual reality software, and creates ServerSocket;
Client is built, and create client socket in external test frame;
Client sends connection request according to the IP address and port numbers of the server-side to server-side;
After server-side receives the connection request, the communication connection with client is established;
Client sends detection request to server-side, and the detection request includes facility information configuration file.
Further, after described " the draw call quantity is compared with the limiting value ", further comprise:
Comparison result is recorded in result set;
The result set is back to client by server-side;
Client generates testing journal sheet according to the result set.
Embodiment one
Fig. 2 is please referred to, the embodiment of the present invention one is:A kind of detection side of the draw call quantity of virtual reality software Method includes the following steps:
S11:The facility information of virtual reality running software equipment is obtained, that is, obtains the equipment of operation virtual reality software Facility information.After test program has been adjusted, in program initialization, the SystemInfo classes that are provided by Unity3d engines, into The necessary data acquisition of row, the attribute in SystemInfo classes is all read only attribute, stores some information of operation platform, In contain device name, device type, the information such as post-processing object number supported.
S12:Device name is obtained from the facility information;Specifically, it is read by systemInfo.deviceName The name information of equipment.Although facility information is contained in the SystemInfo classes in step S11, read and uses equipment Title needs to be obtained by systemInfo.deviceName.
S13:According to the device name, CPU frequency and the rendering of the equipment are obtained in slave device information configuration file Capacity percentage.Using device name as keyword, the related letter corresponding to the equipment is retrieved in facility information configuration file Breath, wherein containing frequency (referring to the dominant frequency of equipment CPU, represent the treatment effeciency of CPU), equipment for providing the percentage of rendering (refer to equipment when being rendered, consume the percentage of cpu performance, it can be understood as the CPU of equipment needs that how many performance pair consumed Virtual reality software carries out the rendering of picture) etc..
S14:According to the CPU frequency, capacity percentage and preset frame per second are rendered, it is corresponding that the equipment is calculated The limiting value of draw call quantity.
NIVIDIA proposes that the rendering amount of 25K batch/sec can make the CPU of 1GHZ on GDC (Game Developers Conference) Reach 100% utilization rate, the limiting value formula for thus deriving equipment draw call quantity is:Limiting value=25K × CPU masters Frequently (GHZ) × rendering capacity percentage/preset frame per second, wherein, the preset frame per second, that is, virtual reality software also is expected to The optimal frame per second of operation.
S15:Obtain the draw call quantity in virtual scene;Test program can also pass through in initial phase AppDomain classes, according to lambda expression formulas UnityEditor=>GetType () .Any (t=>T.Name== " UnityEditor ") procedure set of entitled UnityEditor is filtered out, which is the editing machine work of Unity3D engines Has class..Net reflex mechanism is provided in Framework, can be when loading procedure be run, dynamic access and loading procedure Collection, and the information of procedure set can be got.The drawCalls functions that extraction procedure is concentrated by way of reflection, pass through This method function can be accurately obtained the quantity of draw call in current virtual scene.
S16:Verification is compared with the limiting value, and comparison result is recorded result in the draw call quantity It concentrates, subsequently can testing journal sheet be generated according to the result set.
Specifically, before this step, for storing the HashMap of comparison result, (this is that one kind is based on for first establishment one The realization of the Map interfaces of Hash table, this realization provide all optional map operations);In this step, by draw call number Verification is compared with limiting value for amount, no matter whether draw call quantity can all be collected and be recorded by detection In HashMap.Further, by instantiating a JSONObject, HashMap data are carried out with format conversion, it is final to turn It is melted into Json data formats.
The present embodiment is by obtaining hardware information, according to hardware information computing hardware for the ability to bear of draw call, Then it is compared with current scene draw call quantity, can more accurately navigate to the number of draw call in current scene What whether amount reached device hardware bears peak value, so as to more accurately test the quantity of draw call.Meanwhile this reality The testing process that automation can be achieved in example is applied, the testing time is saved, improves testing efficiency.
Embodiment two
Fig. 3 is please referred to, the present embodiment is the further expansion of embodiment, and something in common is not repeated, and difference lies in steps Before S11, following steps are further included:
S01:Server-side is built in virtual reality software, and creates ServerSocket;
S02:Client is built, and create client socket in external test frame;
S03:Client sends connection request according to the IP address and port numbers of the server-side to server-side;
S04:After server-side receives the connection request, the communication connection with client is established;
S05:Client sends detection request to server-side, and the detection request includes facility information configuration file.It is described It can also include call instruction in detection request, one method testing flow of corresponding embodiment be called to be painted according to call instruction System calls the calculating of quantity limits value and the contrasting detection of draw call quantity.
Further, after step S16, the result set is back to client by server-side;Client is according to Result set generates testing journal sheet.
In the present embodiment, test program (i.e. the corresponding program of method of embodiment one) and server-side can pass through carry Mode be integrated in virtual reality software, server-side Socket is created in running software, is created in external test frame Build client Socket.Server-side Socket monitors the connection request from client Socket, opens blocking model until visitor Send connection request in family end.Test frame sends connection by the IP address and port numbers of server-side to server-side Socket please It asks.After communication connection is established, the detection request of mobile terminal draw call quantity is sent, test program is contained in request data The mobile terminal facility information configuration file of call instruction and extensible markup language form, this document will be converted before sending For Json formatted datas, the data of the form can be received and transmitted by Socket.Server-side Socket receives test After request, test program is called to be detected, after test program obtains result set, result set can be converted into Json data lattice Formula.These data can return to server-side Socket and be sent to the client Socket progress dissection process of test frame.Clothes The result information of detection can be returned to client by business end Socket after test program has been performed with the form of Json data groups Socket.Test frame can parse returned data, generate the data group for filling testing journal sheet, and report is called to connect Mouthful, generate testing journal sheet.
The present embodiment is based on C/S structures, by the communication between client Socket and server-side Socket, realizes test Data interaction between frame and virtual reality software effectively solves the problems, such as source code dependence.
Embodiment three
The present embodiment is a concrete application scene of corresponding above-described embodiment.
The Principle of Communication of the present embodiment is as shown in Figure 4.When virtual reality software starts, the script component of carry calls respectively Socket () creates TCP sockets, bind () bind address and port, and listen () conversion active sockets are passive socket Mouth completes initialization server, and blocks the connection request for waiting for client.
Test frame, by the address and port of server, calls connect after client Socket initialization is completed () sends connection request to server, and blocks waiting for server response.Server, which is replied response and blocked, waits for client hair After sending request data, client equally replys the response of a successful connection, and client and server establishes communication connection at this time.
After completing the communication connection between test frame and virtual reality software, draw call detection is sent from test frame Request after server-side Socket of the carry on software receives request, calls test program to carry out data acquisition and returns to number According to list.Period, the client Socket obstruction waiting for server responses of test frame.Test program completes the acquisition of data Afterwards, data list is sent to the client Socket of test frame by Socket service end.Client call close () The connection breaking request into server-side Socket transmissions, after server-side Socket receives request, middle connection breaking.
Wherein, test program employs integrated mobile terminal device configuration information, in the program initialization stage to virtual reality The facility information for the equipment that software is run is acquired, and is used as keyword by device name, in facility information configuration file It is middle to retrieve corresponding information, the limiting value of draw call quantity can be born, and pass through so as to calculate current mobile end equipment C# reflex mechanisms obtain required procedure set in program loading procedure, and are extracted from procedure set for obtaining current virtual field Draw call quantity when scape is run, and limit data is born to test data and equipment automatically and is compared and analyzed, and is integrated Necessary test result data, and it is converted into the data of json forms.
Server-side Socket returns to client Socket of the data group to test frame of json data formats, and passes through The json character strings that the DeserializeObject function pairs of JsonConvert classes contain data group are carried out at unserializing Reason.Test No., corresponding test equipment title, the system of equipment, the draw call of equipment are contained in data after parsing The limiting value of quantity, current virtual scene title, current draw call quantity and whether by detecting these essential informations.
These data can be uniformly written in database, call test report interface, dynamic reading database information, generation Effective testing journal sheet.
Example IV
The present embodiment is a kind of computer readable storage medium of corresponding above-described embodiment, is stored thereon with computer journey Sequence realizes following steps when described program is executed by processor:
Obtain the device name of virtual reality running software equipment;
According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders performance Percentage;
According to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding drafting of the equipment is calculated Call the limiting value of quantity;
Obtain the draw call quantity in virtual scene;
The draw call quantity is compared with the limiting value.
Further, described " device name for obtaining virtual reality running software equipment " is specially:
Obtain the facility information of virtual reality running software equipment;
Device name is obtained from the facility information.
Further, it is described " according to the CPU frequency, to render capacity percentage and preset frame per second, be calculated described The limiting value of the corresponding draw call quantity of equipment " is specially:
The limiting value of the corresponding draw call quantity of the equipment, first formula are calculated according to the first formula For:Limiting value=25K × CPU frequency × rendering capacity percentage/preset frame per second.
Further, before described " device name for obtaining virtual reality running software equipment ", further comprise:
Server-side is built in virtual reality software, and creates ServerSocket;
Client is built, and create client socket in external test frame;
Client sends connection request according to the IP address and port numbers of the server-side to server-side;
After server-side receives the connection request, the communication connection with client is established;
Client sends detection request to server-side, and the detection request includes facility information configuration file.
Further, after described " the draw call quantity is compared with the limiting value ", further comprise:
Comparison result is recorded in result set;
The result set is back to client by server-side;
Client generates testing journal sheet according to the result set.
In conclusion a kind of detection method of the draw call quantity of virtual reality software provided by the invention and storage are situated between Matter, by obtaining hardware information, according to hardware information computing hardware for the ability to bear of draw call, then with current scene Draw call quantity is compared, and whether the quantity that can more accurately navigate to draw call in current scene reaches equipment Hardware bears peak value, so as to more accurately test the quantity of draw call.Painting for automation can be achieved in the present invention System calls the detection of quantity, and can improve the detection accuracy of draw call quantity.
The foregoing is merely the embodiment of the present invention, are not intended to limit the scope of the invention, every to utilize this hair The equivalents that bright specification and accompanying drawing content are made directly or indirectly are used in relevant technical field, similarly include In the scope of patent protection of the present invention.

Claims (10)

1. a kind of detection method of the draw call quantity of virtual reality software, which is characterized in that including:
Obtain the device name of virtual reality running software equipment;
According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders performance percentage Than;
According to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding draw call of the equipment is calculated The limiting value of quantity;
Obtain the draw call quantity in virtual scene;
The draw call quantity is compared with the limiting value.
2. the detection method of the draw call quantity of virtual reality software according to claim 1, which is characterized in that described " device name for obtaining virtual reality running software equipment " is specially:
Obtain the facility information of virtual reality running software equipment;
Device name is obtained from the facility information.
3. the detection method of the draw call quantity of virtual reality software according to claim 1, which is characterized in that described " according to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding draw call number of the equipment is calculated The limiting value of amount " is specially:
The limiting value of the corresponding draw call quantity of the equipment is calculated according to the first formula, first formula is:Pole Limit value=25K × CPU frequency × rendering capacity percentage/preset frame per second.
4. the detection method of the draw call quantity of virtual reality software according to claim 1, which is characterized in that described Before " device name for obtaining virtual reality running software equipment ", further comprise:
Server-side is built in virtual reality software, and creates ServerSocket;
Client is built, and create client socket in external test frame;
Client sends connection request according to the IP address and port numbers of the server-side to server-side;
After server-side receives the connection request, the communication connection with client is established;
Client sends detection request to server-side, and the detection request includes facility information configuration file.
5. the detection method of the draw call quantity of virtual reality software according to claim 4, which is characterized in that described After " the draw call quantity is compared with the limiting value ", further comprise:
Comparison result is recorded in result set;
The result set is back to client by server-side;
Client generates testing journal sheet according to the result set.
6. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is by processor Following steps are realized during execution:
Obtain the device name of virtual reality running software equipment;
According to the device name, the CPU frequency of the equipment is obtained in slave device information configuration file and renders performance percentage Than;
According to the CPU frequency, capacity percentage and preset frame per second are rendered, the corresponding draw call of the equipment is calculated The limiting value of quantity;
Obtain the draw call quantity in virtual scene;
The draw call quantity is compared with the limiting value.
7. computer readable storage medium according to claim 6, which is characterized in that described " to obtain virtual reality software The device name of running equipment " is specially:
Obtain the facility information of virtual reality running software equipment;
Device name is obtained from the facility information.
8. computer readable storage medium according to claim 6, which is characterized in that it is described " according to the CPU frequency, Capacity percentage and preset frame per second are rendered, the limiting value of the corresponding draw call quantity of the equipment is calculated " be specially:
The limiting value of the corresponding draw call quantity of the equipment is calculated according to the first formula, first formula is:Pole Limit value=25K × CPU frequency × rendering capacity percentage/preset frame per second.
9. computer readable storage medium according to claim 6, which is characterized in that described " to obtain virtual reality software Before the device name of running equipment ", further comprise:
Server-side is built in virtual reality software, and creates ServerSocket;
Client is built, and create client socket in external test frame;
Client sends connection request according to the IP address and port numbers of the server-side to server-side;
After server-side receives the connection request, the communication connection with client is established;
Client sends detection request to server-side, and the detection request includes facility information configuration file.
10. computer readable storage medium according to claim 9, which is characterized in that described " by the draw call number Amount is compared with the limiting value " after, further comprise:
Comparison result is recorded in result set;
The result set is back to client by server-side;
Client generates testing journal sheet according to the result set.
CN201711364965.9A 2017-12-18 2017-12-18 Method for detecting drawing call quantity of virtual reality software and storage medium Active CN108153655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711364965.9A CN108153655B (en) 2017-12-18 2017-12-18 Method for detecting drawing call quantity of virtual reality software and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711364965.9A CN108153655B (en) 2017-12-18 2017-12-18 Method for detecting drawing call quantity of virtual reality software and storage medium

Publications (2)

Publication Number Publication Date
CN108153655A true CN108153655A (en) 2018-06-12
CN108153655B CN108153655B (en) 2021-04-27

Family

ID=62466291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711364965.9A Active CN108153655B (en) 2017-12-18 2017-12-18 Method for detecting drawing call quantity of virtual reality software and storage medium

Country Status (1)

Country Link
CN (1) CN108153655B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032911A (en) * 2018-07-24 2018-12-18 网易(杭州)网络有限公司 For the frame rate detection method of mobile device, device and electronic equipment
CN112256317A (en) * 2020-10-21 2021-01-22 上海曼恒数字技术股份有限公司 Rapid construction method, medium and equipment of virtual reality immersion type large-screen tracking system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100164983A1 (en) * 2008-12-29 2010-07-01 Microsoft Corporation Leveraging graphics processors to optimize rendering 2-d objects
CN102158352A (en) * 2011-02-17 2011-08-17 浪潮(北京)电子信息产业有限公司 Method and device for managing multi-brand network device in cloud operating system
CN104731911A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Dynamic mapping and converting method for data table and entity class
CN106970875A (en) * 2017-03-01 2017-07-21 福建天晴数码有限公司 The frame per second method of testing and its system of virtual reality software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100164983A1 (en) * 2008-12-29 2010-07-01 Microsoft Corporation Leveraging graphics processors to optimize rendering 2-d objects
CN102158352A (en) * 2011-02-17 2011-08-17 浪潮(北京)电子信息产业有限公司 Method and device for managing multi-brand network device in cloud operating system
CN104731911A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Dynamic mapping and converting method for data table and entity class
CN106970875A (en) * 2017-03-01 2017-07-21 福建天晴数码有限公司 The frame per second method of testing and its system of virtual reality software

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张古梦: ""【Unity3D基础知识】——Stats窗口"", 《CSDN博客 HTTPS://BLOG.CSDN.NET/JOINL/ARTICLE/DETAILS/72797469?UTM_SOURCE=BLOGXGWZ7》 *
月下花弄影: ""NET Framework中的反射"", 《HTTPS://WWW.CNBLOGS.COM/WANGXIANCHAO/ARCHIVE/2013/03/29/2988684.HTML》 *
程序玩家: ""C#中一种最简单、最基本的反射"", 《HTTPS://WWW.CNBLOGS.COM/BENPAO/P/4469749.HTML》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032911A (en) * 2018-07-24 2018-12-18 网易(杭州)网络有限公司 For the frame rate detection method of mobile device, device and electronic equipment
CN109032911B (en) * 2018-07-24 2022-02-18 网易(杭州)网络有限公司 Frame rate detection method and device for mobile device and electronic device
CN112256317A (en) * 2020-10-21 2021-01-22 上海曼恒数字技术股份有限公司 Rapid construction method, medium and equipment of virtual reality immersion type large-screen tracking system
CN112256317B (en) * 2020-10-21 2022-07-29 上海曼恒数字技术股份有限公司 Rapid construction method, medium and equipment of virtual reality immersion type large-screen tracking system

Also Published As

Publication number Publication date
CN108153655B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN105183630B (en) Applied program testing method and device
CN106970875B (en) The frame per second test method and its system of virtual reality software
CN107632920A (en) A kind of power transmission and transforming equipment monitoring device deep monitored method
CN109344044B (en) Method and system for calculating rendering time of first screen of page
CN111130987A (en) Automatic acquisition method and device for AWR report, electronic equipment and storage medium
CN109753432A (en) A kind of interface performance test method, apparatus, server and system
CN110457214A (en) Application testing method and device, electronic equipment
CN110955600A (en) Interface test method and device
CN107463387A (en) A kind of cross-platform rural tourism APP implementation method and device
CN109344066A (en) A kind of test method of browser page, system and terminal
CN107748715B (en) Unity-based texture map configuration information detection method and system
CN113018870A (en) Data processing method and device and computer readable storage medium
CN111767229A (en) Performance test method, device and equipment
CN110866205A (en) Method and apparatus for storing information
CN108153655A (en) The detection method and storage medium of the draw call quantity of virtual reality software
CN108287791A (en) The detection method and storage medium of the texture resource configuration of virtual reality software
CN114185791A (en) Method, device and equipment for testing data mapping file and storage medium
CN108170592A (en) A kind of remote test method and terminal of virtual reality software performance
CN108763052A (en) A kind of method for testing performance and system of virtual reality software memory reclaim mechanism
CN112988267A (en) Loading method and device, storage medium and electronic equipment
CN115052037B (en) Client detection method, device, storage medium and equipment
CN107767434B (en) Method for acquiring texture mapping configuration information in virtual reality technology and storage medium
CN113672225B (en) User interface processing method, device, equipment and storage medium
CN113641628B (en) Data quality detection method, device, equipment and storage medium
CN113467867B (en) Information processing method, information processing 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