CN106557424A - Internal storage testing method, measured terminal, test client and system - Google Patents

Internal storage testing method, measured terminal, test client and system Download PDF

Info

Publication number
CN106557424A
CN106557424A CN201611034609.6A CN201611034609A CN106557424A CN 106557424 A CN106557424 A CN 106557424A CN 201611034609 A CN201611034609 A CN 201611034609A CN 106557424 A CN106557424 A CN 106557424A
Authority
CN
China
Prior art keywords
test
application
destination application
resource object
measured terminal
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
CN201611034609.6A
Other languages
Chinese (zh)
Other versions
CN106557424B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201611034609.6A priority Critical patent/CN106557424B/en
Publication of CN106557424A publication Critical patent/CN106557424A/en
Application granted granted Critical
Publication of CN106557424B publication Critical patent/CN106557424B/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/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3696Methods or tools to render software testable

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application provides a kind of internal storage testing method、Measured terminal、Test client and system,When needing to obtain the i.e. destination application ruuning situation of some application program on measured terminal,The application the library file for the destination application will be injected the target process of the destination application by test client,So as to the not derived detection interface of the engine for transferring the destination application,So,When the operational objective application program on measured terminal,Measured terminal can just pass through the detection interface and obtain at least class resource object data for the destination application,Such as pinup picture、Video、The data of the resource objects such as model,Afterwards,Measured terminal will be exported to test client resource object data is activation is obtained,So that developer can accurately understand the data of destination application all kinds of resource objects during measured terminal practical application,Targetedly to be optimized to destination application performance accordingly,Improve optimization efficiency.

Description

Internal storage testing method, measured terminal, test client and system
Technical field
Present application relates generally to performance optimization application field, more particularly to internal storage testing method, measured terminal, Test client and system.
Background technology
At present, with the functional requirement more and more higher that user is realized to application program so that application program is in mobile terminal Operation needs the internal memory for taking gradually to increase, so, in the face of the system resource that mobile terminal is limited, ap-pliction performance optimization into For the most important thing in application program R&D process.
In actual applications, as the internal memory of application program is mostly by various resource occupation, in traditional internal memory In test, it is typically only capable to obtain total internal memory that application program run duration application process takes, it is impossible to be pin-pointed to refine class Type resource causes developer carry out pin to application program capacity according to MEMTEST result internal memory occupancy situation Property is optimized.
The content of the invention
In view of this, this application provides a kind of internal storage testing method, measured terminal, test client and system, realize In destination application running, the EMS memory occupation situation of particular type resource object facilitates the developer should to target Targetedly optimized with program feature, improve destination application performance optimization efficiency.
To achieve these goals, this application provides technical scheme below:
The embodiment of the present application provides a kind of internal storage testing method, is applied to measured terminal, and methods described includes:
Communication connection is set up with the test client loaded on test terminal;
Receive the dynamic library file that the test client is sent for the destination application in the measured terminal;
The dynamic library file is injected into the application process of the destination application and is performed, transferred and different resource pair As one-to-one engine interface;
The destination application is run, the various moneys for the intended application journey are obtained by the engine interface transferred Source object data;
The various resource object data is activations of the destination application for obtaining are exported to the test client.
The embodiment of the present application additionally provides another kind of internal storage testing method, is applied to test client, the test client End is loaded in test terminal, and methods described includes:
After starting the test client, the communication connection with measured terminal is set up;
Meet the destination application of preset requirement in determining measured terminal;
Dynamic library file corresponding with the destination application is injected into the application program of the destination application, with Make the measured terminal perform the dynamic library file, transfer and the one-to-one engine interface of different resource object;
When the measured terminal runs the destination application, the mesh that the measured terminal is obtained and sent is received The various resource object data of mark application program;
Detection checks instruction for the data of any one resource object, exports corresponding resource object number according to predetermined manner According to.
The embodiment of the present application additionally provides a kind of measured terminal, and multiple application programs, institute are provided with the measured terminal Show that test terminal also includes:
Communication module, for setting up communication connection with the test client that loads on test terminal, and receives the test The dynamic library file that client is sent for the destination application in the measured terminal;
Processing module, for the dynamic library file to be injected the application process of the destination application and is performed, adjusts Take and the one-to-one engine interface of different resource object;
Data acquisition module, for, during the destination application is run, obtaining pin by the engine interface transferred Various resource object data to the intended application journey, and the destination application that will be obtained by the communication module Various resource object data is activations export to the test client.
The embodiment of the present application additionally provides a kind of test client, and the test client is loaded on test terminal, institute Stating test client includes:
First communication module, for starting after the test client, sets up the communication connection with measured terminal;
Destination application determining module, for determining the destination application for meeting preset requirement in measured terminal, and Dynamic library file corresponding with the destination application is injected by the destination application by the first communication module Application program so that the measured terminal performs the dynamic library file, transfer and draw with different resource object correspondingly Hold up interface;When the measured terminal runs the destination application, the tested end is received by the first communication module The various resource object data of the destination application that end obtains and sends;
Output module, checks instruction for data of the detection for any one resource object, exports phase according to predetermined manner The resource object data answered.
The embodiment of the present application additionally provides a kind of memory test system, and the system includes:Test terminal and measured terminal, Test client is mounted with the test terminal;
The test client, is communicated to connect for being set up with measured terminal upon actuation, is met in determining measured terminal The destination application of preset requirement, and dynamic library file corresponding with the destination application is injected into the intended application The application program of program;
The measured terminal, sends out for the destination application in the measured terminal for receiving the test client The dynamic library file for sending, and the dynamic library file is injected into the application process of the destination application and is performed, transfer with The one-to-one engine interface of different resource object, during the destination application is run, by the engine interface transferred The various resource object data for the intended application journey are obtained, by the various resources pair of the destination application for obtaining Image data is sent to the test client, so that the test client detects the data for any one resource object and looks into Instruction is seen, corresponding resource object data is exported according to predetermined manner.
Based on above-mentioned technical proposal, in the embodiment of the present application, when some needed on acquisition measured terminal applies journey When sequence is destination application ruuning situation, the library file for the destination application will be noted by the application by test client Enter the target process of the destination application, so as to the not derived detection interface of the engine for transferring the destination application, so, When the operational objective application program on measured terminal, measured terminal just can be obtained by the detection interface should for the target With an at least class resource object data of program, the such as data of the resource object such as pinup picture, video, model, afterwards, measured terminal will Can export to test client resource object data is activation is obtained, so that developer can accurately understand intended application journey The data of sequence all kinds of resource objects during measured terminal practical application, to have carried out pin to destination application performance accordingly Property is optimized, optimization efficiency is improve.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this The embodiment of application, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis The accompanying drawing of offer obtains other accompanying drawings.
A kind of structure chart of memory test system that Fig. 1 is provided for the embodiment of the present application;
A kind of hardware structure diagram of test terminal that Fig. 2 is provided for the embodiment of the present application;
A kind of signaling process figure of internal storage testing method that Fig. 3 is provided for the embodiment of the present application;
Fig. 4 (a)~(e) provides the test of different phase test terminal output during MEMTEST for the embodiment of the present application Window;
The exemplary plot of the test report that a kind of internal storage testing method that Fig. 4 (f) the embodiment of the present application is provided is generated;
The partial process view of another kind of internal storage testing method that Fig. 5 is provided for the embodiment of the present application;
Fig. 6 derives the schematic diagram of each resource object for a kind of Object base class that the embodiment of the present application is provided;
A kind of structured flowchart of measured terminal that Fig. 7 is provided for the embodiment of the present application;
The structured flowchart of another kind of measured terminal that Fig. 8 is provided for the embodiment of the present application;
A kind of structured flowchart of test client that Fig. 9 is provided for the embodiment of the present application;
The structured flowchart of another kind of test client that Figure 10 is provided for the embodiment of the present application;
The structured flowchart of another test client that Figure 11 is provided for the embodiment of the present application;
The structured flowchart of another test client that Figure 12 is provided for the embodiment of the present application.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than the embodiment of whole.It is based on Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of the application protection.
Understand hereafter each embodiment for convenience, at this to present document relates to some technical terms or title carry out it is following Explain:
Unity:Which is to allow player easily to create such as 3 D video trip by one that Unity Technologies are developed The multi-platform comprehensive development of games instrument of the type interaction contents such as play, building visualization, realtime three dimensional animation, is one complete The professional game engine that face is integrated.Unity is similar to Director, Blender game engine, Virtools or Torque Game Builder etc. are using the software that the patterning development environment of interaction is primary manner.Its editing machine operates in Windows Under Mac OS X, game can be issued to Windows, Mac, Wii, iPhone, WebGL (needing HTML5), Windows Phone 8 and Android platform.Can also be played using Unity web player plug-in units publishing web page, support Mac and The web page browsing of Windows.Its web player is also supported by Mac widgets.
SO injects:It is the address space that a SO is put into certain process, allows it to become a part for that process.Note Enter after SO just can in the SO of injection invocation target application process function.
Resource object:In Unity game plays, after resource loading in the form of resource object, committed memory Space.Resource object types include but is not limited to model, pinup picture, audio frequency, video, animation etc..
A kind of structural representation of application program memory test system that Fig. 1 is provided for the embodiment of the present application, the system can To include:Measured terminal 100 and test terminal 200, are mounted with test client, the tested end on the test terminal 200 The application program of test in need on end 100.
In actual applications, system can also provide the user service including network side as needed, and with test client Corresponding server 300 is held, the application server (in Fig. 1 do not show that) corresponding with the application program of test is needed, service Device is probably the server farm of multiple servers composition, it is also possible to realized by single server.
Optionally, when the application program for needing test is various Games Softwares, application server can be carried for user For the service equipment of game services, now game client could be for the application journey for completing the MEMTEST to Games Software Sequence.For example, for the test of Unity game performances and the instrument of tuning, there is provided a whole set of testing scheme, can be in passive coding situation Under the Natrix of prototype performance test is carried out to Unity game.
Wherein, Natrix can be Engine Version with compatible complete set unity version.In the MEMTEST scheme that the application is provided In, can in real time inspection Unity game plays on test terminal EMS memory occupation situation, i.e., in real time obtain Unity trip The various resource object data of play, and which is analyzed, test report is generated, and risk assessment is carried out based on the test report Deng to be optimized to Unity game performances accordingly.
In actual applications, measured terminal can be the mobile terminals such as mobile phone, panel computer, and test terminal can be area Not in the computer equipment of measured terminal, the application is not construed as limiting to the specific product type of measured terminal and test terminal.
As shown in Fig. 2 the hardware structure diagram of the test terminal provided for the embodiment of the present application, the test terminal can include Processor 1, communication interface 2, display 3, memory 4 and communication bus 5;
Wherein, processor 1, communication interface 2, display 3, memory 4 can complete mutual leading to by communication bus 5 Letter;
Optionally, communication interface 2 can be the interface of wireless communication module and the interface of wire communication module, such as USB Interface, the interface of gsm module, interface of WIFI module etc.;
In the application practical application, the interface of wireless communication module and the wireless communication module of server 30 can be passed through Communication port is set up, the data transfer between test terminal and server 30 is realized, it is of course also possible to use wireless communication module Interface realize data transfer between the two.
In addition, the application can also utilize the interface of the interface of wire communication module and the wire communication module of measured terminal Connection, so as to realize the communication connection between test terminal and measured terminal, and then realizes test client and the measured terminal Destination application between communication, specifically may refer to the description of hereafter embodiment of the method corresponding part.
Processor 1, for performing application program, such as test client etc..In this application, processor 1 is probably one Central processor CPU, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the embodiment of the present invention one or more integrated circuits.
Display 3, for the different test windows and testing progress of the output of 1 testing results client of video-stream processor Data produced with test etc., as shown in the operation interface of the test client run in test terminal, test interface etc.
In the application, display 3 can be touch-screen or LCDs, and the application is not construed as limiting to this, works as display When structure is different, in test process, select the mode of the operations such as test object accordingly can adjust.
Memory 4, for depositing the information such as the related program code of application program of the execution of processor 1, can also cache The various data produced in application program implementation procedure, the application are not construed as limiting to which;Wherein, application program can include program Code, described program code include computer-managed instruction.
In this application, memory 4 may include high-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least one magnetic disc store.
In the application, the hardware configuration type of the hardware configuration of measured terminal and above-mentioned test terminal, it is also possible to including place Reason device, communication interface, display, memory etc., which with the difference of test terminal is, the processor of measured terminal is used to perform The application programs such as Games Software, rather than test client, corresponding memory storage is also the such as application program such as Games Software Relevant information, such as program code etc..So, the application here is no longer described in detail to the hardware configuration of measured terminal.
In addition, for above-mentioned server 30 and the hardware configuration of application server, can include that processor, communication connect Mouth, memory and communication bus, the corresponding function of each several part are referred to the description of the above-mentioned hardware configuration to test terminal, The application is also repeated no more to which.
Based on the structural representation of the memory test system shown in Fig. 1, Fig. 2 illustrates the hardware structure diagram of test terminal, also The measured terminal being described and the hardware configuration of respective server, and the function that correspondence support is realized, it is proposed that the application Each embodiment below.
As shown in figure 3, a kind of signaling process figure of the internal storage testing method provided for the embodiment of the present application, the method can be with Including:
Step S11, test client are run in test terminal, and set up communication connection with measured terminal;
In actual applications, when needing to test the application program EMS memory occupation situation in test terminal, user The icon of test client on test terminal can be double-clicked, starts test client, now, developer understands and surveys for convenience Examination progress, can export the test window of connection measured terminal on test terminal, shown in such as Fig. 4 (a), but be not limited to figure Output form shown in 4 (a).
Measured terminal and test terminal can be carried out communication link according to the test window of test terminal output by developer Connect, after test client detects the measured terminal being connected with test terminal, can set up with measured terminal and communicate to connect.
Optionally, the application can utilize data line to distinguish the logical of connecting test terminal communications interface and measured terminal Letter interface, such as utilizes USB line, respectively the USB port of the USB port and measured terminal of connecting test terminal, and the application is whole to examination The communication interface type communicated by end and measured terminal is not construed as limiting.
As shown in Fig. 4 (b), after test client success sets up communication connection with measured terminal, relative to Fig. 4 (a) institutes The test window for showing, can increase carrying such as contents such as " measured terminal connect, and an application program please be selected to start to test " Show information, indicate that developer carries out follow-up test step.
Step S12, meets all application programs of preset requirement in test client detection measured terminal and exports;
Test client determines to be set up after communication connection with measured terminal, can be default with satisfaction on system searching measured terminal The all application programs for requiring, and the application program for finding and its relevant information are shown.
In the present embodiment, after reaching the step, the survey that the test window that test terminal shows can be by shown in Fig. 4 (b) Examination window is changed into the test window as shown in Fig. 4 (c), and the information of shown application program can include the name of application program Claim, installation path and the Engine Version number that uses etc., the application is not construed as limiting to the information content for showing.
Optionally, above-mentioned preset requirement may refer to the application program using default engine, can include the default engine The all Engine Versions number just having, then, in actually detected, can be determined based on these Engine Versions number and meet preset requirement All application programs, i.e., using the application program of any one Engine Version number in these Engine Versions number.
Step S13, test client detection determine this test for the selection instruction of currently displaying application program Destination application;
Obtaining in test window shown in such as Fig. 4 (c), developer can therefrom select one according to current test needs The individual application program for needing test memory as destination application, subsequently to carry out internal memory survey for the destination application Examination.
Optionally, after determining destination application, measured terminal can also further verify that the destination application is used Engine Version number whether belong to default engine, if being not belonging to, can point out developer reselect a new target should With program, it is further ensured that the destination application of test uses default engine.
Destination application corresponding dynamic library file is injected answering for destination application by step S14, test client Use process;
In the present embodiment, for the application program of different editions would generally arrange corresponding release versions (release The dynamic link libraries such as dynamic library file originally), such as libunity.so.Therefore, test client determines that the target for needing test is answered After with program, the libunity.so of released version corresponding with the destination application can be searched, it is possible to by socket Communication mode, is injected into destination application correspondence application process, replaces the debug versions that the destination application has itself The libunity.so of this (debugging version).
Optionally, libloader.so can be injected the application the application process of the destination application of measured terminal, Specifically, target process register can be obtained, dlopen/ is called in target process by calling ptrace system functions The dynamic built-in function such as dlsym, the dynamic library file for specifying the loading of current goal process.It should be noted that the application is to SO The specific implementation of injection is not construed as limiting.
Wherein, libloader.so files can be used to the non-export interface of engine that invocation target application program uses and test Interface, specifically can with the non-export interface of the libunity.so files of invocation target process, will pass through the non-export interface, By it is destination application not derived itself debugging version libunity.so, be substituted for test terminal transmission for the mesh The libunity.so of the released version of mark application program, but be not limited thereto.
Step S15, measured terminal perform the dynamic library file of injection, transfer and the one-to-one engine of various resource objects Interface;
It should be noted that for the different application using same engine, resource pair in actual moving process The type of elephant is typically identical, and the corresponding engine interface of different application correspondence same type resource is identical.Its In, above-mentioned dynamic library file can include the libunity.so files of the above-mentioned released version for destination application.
In the present embodiment, after the reference process of the destination application of measured terminal injects corresponding dynamic library file, The dynamic library file can be performed, initialization operation is completed, is that follow-up test destination application internal memory prepares.
Wherein, performing dynamic library file can include replacing intended application using the corresponding file of dynamic library file of injection Some core documents of program, such as using the released version for destination application in the dynamic library file of injection Libunity.so replaces libunity.so of destination application itself debugging version etc.;Can also be by dynamic library file Hook (hook) is installed to the application process of the destination application of measured terminal, will hook functions write the application process pair The function library answered.
Certainly, according to actual needs, dynamic library file can also include other information content, and corresponding initialization operation is also Other initialization contents can be included, the application here is no longer described in detail one by one.
Optionally, as the initialization procedure of measured terminal is which receives execution automatically after library file, in order that opening The personnel of sending out understand circumstance of initialization, whether can show measured terminal in initialization with the window in test terminal currently output, And initialization whether is completed, the information such as test can be proceeded by, shown in such as Fig. 4 (d), but is not limited to shown in Fig. 4 (d) Suggestion content and mode.
Step S16, measured terminal detect the triggering command for destination application, control the destination application Operation;
In actual applications, after it is determined that measured terminal completes initialization, developer can start destination application, In order to provide test accuracy and reliability, during testing, developer can realize intended application on measured terminal The various functions of program, to obtain more comprehensively resource object data.
In addition, after developer's control targe application program is run on measured terminal, can click on shown in Fig. 4 (d) Start button, so as to formally start the MEMTEST of destination application.
Optionally, when destination application is to play, after completing initialization operation, it will pull-up game automatically, it is determined that Play after successfully pull-up, can just start the game.
Step S17, measured terminal obtain the various resource objects for destination application by the engine interface transferred Data;
It is as described above, as the resource object of each type has and its one-to-one engine interface, when target should Use program run duration, produced all kinds of resource object data all can connect by engine corresponding with the type resource object Mouthful, so, measured terminal can obtain the data of respective type resource object by monitoring the engine interface.
It should be noted that the application is not construed as limiting to the particular content that the resource object packet for obtaining contains, can be money Source object number, resource object committed memory statistics or other performance parameters etc., concrete detection process may refer to hereafter phase The description of embodiment, the present embodiment is answered to will not be described here.
Step S18, measured terminal is by all types of resource object data is activation of the destination application for obtaining to test Client;
Optionally, the application can still adopt socket communication modes, each resource with regard to destination application that will be obtained The resource object data is activation of object is to test client.
During resource object data actual transmissions, measured terminal can will obtain resource object real-time data transmission extremely Test client, or the resource object data obtained according to some cycles transmission, or collection destination application After all resource object data in during whole service, then transmit to test client etc., the application is to concrete transmission means It is not construed as limiting, can determines according to actual needs.
Step S19, test client detection check instruction for the data of any one resource object, defeated according to predetermined manner Go out the corresponding resource object data of the resource object.
After starting each resource object test to destination application, test client can be shown such as figure in test terminal Test window shown in 4 (e), but it is not limited to the output form as shown in Fig. 4 (e).As shown in Fig. 4 (e), in test window Subject field can show the title of each resource object, developer can click on some resource according to needs are actually looked at Object, such as " Audio ", so that the data display area of the test window is presented the data with regard to this resource object of Audio.
Optionally, for each resource object data that test client is received, can store test terminal memory or In the internal memory of test client, as needed, can also be for resource object data genaration such as Fig. 4 (e) of different resource object Shown chart, so as to more intuitively understand destination application each resource object concrete condition.
Wherein, can be in the form of as shown in Fig. 4 (e) with regard to the data drawing list of resource object, it would however also be possible to employ curve Figure, the application are not construed as limiting to the concrete output form of each resource object data.
Optionally, currently displaying for test terminal resource object data, can also carry out sectional drawing preservation as needed, And for the data of different resource object can carry out classification storage, but be not limited thereto.
In sum, the application injects corresponding dynamic base by the application process of the destination application to measured terminal File, that is, be different from the released version dynamic library file of the debugging version of destination application, transfer each resource object corresponding Engine interface, in destination application running, obtains the respective resources object data of each engine interface, and is presented on survey Examination terminal, so that developer segments the EMS memory occupation feelings of resource in can intuitively understanding destination application actual motion Condition, is accurately positioned the too high resource of EMS memory occupation, targetedly realizes optimizing destination application performance.
Used as another embodiment of the application, on the basis of above-described embodiment, test client obtains destination application After each resource object data of run duration, test terminal can be with these resource object data syn-chronizations to server, by server These resource object data are analyzed, test result is obtained, and after test terminates, developer or other users all may be used So that the test result for the destination application on the measured terminal is checked from webpage.
Specifically, server can be from the data required for each resource object extracting data, such as each resource object data Peak-data etc., to judge whether each resource object data of destination application meet the criterion for prestoring, Jin Ergen It is judged that result generates test report, for developer with reference to simultaneously optimization aim application program capacity.Taken with Audio Clip As a example by internal memory, the test report of generation as shown in Fig. 4 (f), but can be not limited thereto
Optionally, the above-mentioned criterion for prestoring can be determined through empirical data test, with the hand using Unity As a example by trip, criterion can be determined, such as one institute of following table according to the suggestion of Unity officials and the empirical data of Unity hands trip Show, but be not limited thereto.
Table one
Resource items Criterion
Overall memory takes Peak value<150MB
Mono heap memories Peak value<40MB
Drawcall Peak value<250
Render Triangle numbers Peak value<100000
Skinned Mesh Render Peak value<50
Rigdbody Peak value<50
Collision body (static collision+dynamic crash) peak value<100
Texture EMS memory occupations Peak value<50MB
Skinned Mesh Render EMS memory occupations Peak value<15MB
Audio Clip EMS memory occupations Peak value<15MB
Wherein, in test report, this test result to the destination application in measured terminal can be included Comprehensive description, than contents such as data in greater detail, icon and brief analyses, it is concrete interior that the application is included to the test report Appearance is not construed as limiting.
In actual applications, in order that other users can also be seen that the internal memory that destination application is run in measured terminal Test result, developer can select Web ends to check data mode on test terminal, and by corresponding URL (Uniform Resoure Locator:Uniform resource locator) address sent to the terminal of other users, so that other users log in the URL The contents such as test data and test report are checked simultaneously in address.
As the another embodiment of the application, can also be real on test terminal for the generating process of above-mentioned test report Existing, that is to say, that by test terminal using each resource object data for destination application for receiving, generating target should With the test report of program, detailed process is similar with the generating process of above-mentioned test report, and this enforcement will not be described in detail herein.
Optionally, for, in above-described embodiment, measured terminal obtains each resource object number of destination application run duration According to, according to the difference of resource object, the concrete acquisition modes for being adopted can with difference, below only with resource object number count with And as a example by resource object committed memory statistics, specific resource object data acquisition is illustrated, for other resource objects The acquisition modes of data, are referred to both acquisition modes and determine that the application here is not according to resource object feature itself Another one describes in detail.
Due to destination application run duration, the acquisition process of its each resource object data is realized by measured terminal , so, on the basis of above-described embodiment, the present embodiment will be described from measured terminal angle, flow process as shown in Figure 5 Figure, with regard to measured terminal obtain resource object data the step of be referred to above-described MEMTEST signaling process content phase The description of part, the present embodiment is answered to will not be described here.
Fig. 5 shows the partial process view of another kind of internal storage testing method that the embodiment of the present application is provided, and the method can be with For measured terminal, the statistical method of resource object committed memory is particularly directed to, be may comprise steps of:
Step S21, static parsing dynamic library file, obtains offset address of the object function in the dynamic library file;
Optionally, the object function can be GetRunTimeMemorySize () function, and the function can be Object Resource subclass oneself that base class is realized, or each realizes that the application is not construed as limiting to this.
So that destination application is Unity game as an example, Unity game resources class is all from the derivation of Object base class Into the resource object such as such as Mesh, Audio, Texture is all inherited in NameObject classes, as shown in fig. 6, but not limiting to In mode enumerated herein.
Step S22, using base address and the offset address of dynamic library file, determines the operation address of object function;
The base address of dynamic library file can be added by the application with the offset address for obtaining, and obtain object function in operation When address, that is, run address.
Operation address is converted to the function pointer of object function, and transfers target letter using the function pointer by step S23 Number.
Step S24, runs the object function, obtains the various resource objects occupancy of the destination application of current operation Internal storage data.
As can be seen here, the application can pass through to transfer the object function in the dynamic library file of injection destination application, The internal storage data that resource object takes is obtained, and is sent to test client and is shown, so that developer can intuitively understand mesh Mark application program run duration its occupancy situation of various resource objects to internal memory.
Play by Unity of an application program for meeting preset requirement, measured terminal is mobile phone, test terminal to calculate Machine, as a example by test client is Natrix clients, carries out following explanation to the embodiment of the present application:
When carrying out MEMTEST when needing to play Unity on mobile phone, developer starts the Natrix that computer is loaded Client, so as to export the test interface as shown in Fig. 4 (a), developer can be according to the prompting, by data wire by mobile phone The communication interface being connected on computer, so as to set up the communication connection with Natrix clients, will be defeated on this computer-chronograph Go out the test interface as shown in Fig. 4 (b), afterwards, Natrix clients can detect all trips that Unity exploitations are used on mobile phone Play APP, and the game selection window as shown in Fig. 4 (c) is exported, developer can need to select to need test according to test Game APP, afterwards, Natrix clients will be carried out according to the game APP and unity version number for selecting on mobile phone Initial work, such as replaces some core documents, installs HOOK etc., after the completion of initialization, it will pull-up is played, such as Fig. 4 (d) institutes The test window for showing.
After developer determines the game APP of selection by successful pull-up, it is possible to start game APP, and click on Fig. 4 Start button in (d), so that mobile phone starts collection game APP and carries out the various resource objects during various game operations Data, and transmit to Natrix clients and store, shown in such as Fig. 4 (e), Natrix clients can be to the various resources that receive Object data carries out graph making, and developer can click on the label in title bar, selects a certain resource for needing to check The data of object.
After completing the collection to the various resource object data of the APP that plays, stop button, afterwards, Natrix can be clicked on The background server of client will generate the test report for game APP according to the various resource object data of storage, And the default email address that can be sent to developer or other users, to check.
Wherein, test includes the comprehensive description that can include this test, than data in greater detail, chart and brief point The contents such as analysis, the test report as shown in Fig. 4 (f), but be not limited thereto.
To sum up, the application can adopt the internal storage testing method of foregoing description to carry out all Unity game on mobile phone Test, the application here are no longer described in detail one by one.
As shown in fig. 7, a kind of structured flowchart of the measured terminal provided for the application, measured terminal can be mobile phone, flat The mobile terminals such as plate computer, the application are not construed as limiting to its specific product type, and, multiple answering can be set on measured terminal With program, also include:
Communication module 11, for setting up communication connection with the test client that loads on test terminal, and receives test visitor The dynamic library file that family end is sent for the destination application in measured terminal;
In the present embodiment, communication module can be socket communication modules, so that measured terminal is logical by socket Letter mode is communicated with test client, but is not limited thereto.
Optionally, dynamic library file corresponding with destination application can be the released version in SO storehouses Libunity.so files, the libunity.so files of the debugging version of itself and destination application itself never call are different, tool Body function is referred to the description of embodiment of the method corresponding part.
Processing module 12, for by dynamic library file inject destination application application process and perform, transfer with not With the one-to-one engine interface of resource object;
Apply being not construed as limiting the detailed process of SO injections, entered using the dynamic library file for receiving with regard to processing module 12 The initialized process of row is referred to the description of said method embodiment corresponding part, will not be described here.
Data acquisition module 13, for, during operational objective application program, being directed to by the engine interface transferred The various resource object data of intended application journey, and by communication module 11 by obtain destination application various resources pair Image data sends to test client and exports.
As can be seen here, test client can directly by dynamic library file corresponding with the destination application for needing test The application process of injection destination application, so that measured terminal is automatically performed initialization operation, and is starting intended application journey Sequence, and in realizing each function course of the destination application, engine interface will be transferred using dynamic library file, so as to obtain mesh The various resource object data of mark application program run duration, and test client output is fed back to, so that developer can Directly perceived to understand destination application in measured terminal running, various resource object committed memory situations are easy to exploit person Member is targetedly optimized to destination application performance accordingly, substantially increases optimization efficiency.
Optionally, on the basis of above-described embodiment, in order to count the resource object of destination application run duration Number, data acquisition module 13 can specifically include:
Resource object quantity statistics unit, for using the HOOK functions in the dynamic library file, it is determined that current run Destination application various resource objects sum.
It should be noted that the application specifically may be used to being not construed as limiting using the statistical method of HOOK function pair resource objects To realize with reference to HOOK functions self character, the present embodiment is not described in detail here.
Optionally, in order to count each resource object committed memory situation, as shown in figure 8, the data acquisition of above-described embodiment Module 13 can also include:
Object function transfers unit 131, for transferring the object function in dynamic library file;
In the present embodiment, object function can be GetRunTimeMemorySize () function, but be not limited thereto, Can according to test it needs to be determined that.Wherein, GetRunTimeMemorySize () function is not derived in above-mentioned dynamic library file Private function.
In the present embodiment, as shown in figure 8, the object function transfers unit 131 can include:
Resolution unit 1311, for static parsing dynamic library file, obtains skew of the object function in dynamic library file Address;
Function pointer determining unit 1312, for the base address using the dynamic library file and the offset address, Determine the operation address of the object function, and the operation address is converted to the function pointer of the object function;
Function transfers unit 1313, for transferring object function using the function pointer.
Internal storage data acquiring unit 132, for operational objective function, obtains the various of the current destination application for running The internal storage data that resource object takes.
In addition, it is necessary to explanation, measured terminal can also obtain target using other information in dynamic library file should With other performance datas of program, such as DrawCall quantity, Mono committed memories etc., the process of implementing can be according to measuredness Energy data feature itself, and the method for testing with reference to two kinds of performance datas of foregoing description determines that the application is not limited specifically Test mode.
As shown in figure 9, a kind of structured flowchart of the test client provided for the embodiment of the present application, the test client can To load on test terminal, test terminal can be computer equipment, and the application does not limit its specific product type, then the survey Examination client can include:
First communication module 21, for starting after test client, sets up the communication connection with measured terminal;
Such as the description of above-mentioned embodiment of the method appropriate section, when needing that certain types of applications in measured terminal is carried out During test, after test client being started on test terminal, measured terminal is connected with test terminal, it is tested so as to realize The communication of terminal and test client.
Wherein, test client can be communicated with measured terminal using socket communication modes, but be not limited to This.
Destination application determining module 22, for determining the destination application for meeting preset requirement in measured terminal, And dynamic library file corresponding with the destination application is injected by the intended application journey by the first communication module The application program of sequence, so that the measured terminal performs the dynamic library file, transfers one-to-one with different resource object Engine interface;When the measured terminal runs the destination application, receive described tested by the first communication module The various resource object data of the destination application that terminal is obtained and sent;
Optionally, in actual applications, as shown in Figure 10, the destination application determining module 22 can include:
Detector unit 221, for detecting and showing satisfactory all application programs in measured terminal;
Determining unit 222, for obtaining the selection instruction for currently displaying all application programs, determines this test Destination application.
Wherein, said method embodiment correspondence portion is referred to regard to determining the process of destination application in measured terminal The description for dividing, the present embodiment will not be described in detail herein.
In actual applications, after test client determines destination application, can also be by transferring module calls and being somebody's turn to do The corresponding dynamic library file of destination application.
Output module 23, checks instruction for data of the detection for any one resource object, exports according to predetermined manner Corresponding resource object data.
In the present embodiment, after test client receives the various resource object data of destination application, can be to which It is analyzed, obtains corresponding various resource object data drawing lists etc., the output shape of the resource object data as shown in Fig. 4 (e) Formula, but be not limited thereto.
Optionally, above-mentioned output module 23 can also export test window, shown in such as figure 4 above (a)~(d), test window Completed MEMTEST step can be included, and for indicating the information of the MEMTEST next step.
In summary, the application test client sets up communication connection by the destination application with measured terminal, and The destination application corresponding dynamic library file is sent to the application of destination application is carried out, so that measured terminal is complete Into after initial, and during the various functions of destination application are realized, called using the dynamic library file by measured terminal and drawn Interface is held up, various resource object data are obtained, and Real-time Feedback is shown to test client, so that developer can be directly perceived Understand destination application in measured terminal running, various resource object committed memory situations, be easy to developer according to This is targetedly optimized to destination application performance, substantially increases optimization efficiency.
Optionally, on the basis of above-mentioned test client embodiment, as shown in figure 11, the test client can also be wrapped Include:
Second communication module 24, for by the various resource object data syn-chronizations for receiving to server so that server The various resource object data are analyzed, the test report for the destination application is generated.
Wherein, various resource objects are analyzed with regard to server, the detailed process for generating test report is referred to The description of said method embodiment corresponding part, this enforcement will not be described here.
In addition, the test data in order to make other users real time inspection destination application, as shown in figure 12, test Client can also include:
Data inspection mode handover module 25, checks pattern for triggering the test client and being switched to web data;
Third communication module 26, for the URL addresses after switching are sent to second terminal, so that the second terminal is aobvious Show the various resource object data that the test client is received.
Based on this, the terminal of other users is after second terminal receives URL addresses, can be into identical with test terminal Webpage test interface, understand in real time test process of the test client to the destination application in measured terminal.
The embodiment of the present application additionally provides a kind of memory test system, the structure chart shown in parameter figure 1 above, the test system Can include:Measured terminal 100 and test terminal 200, are mounted with test client on test terminal 200;
The test client, is communicated to connect for being set up with measured terminal upon actuation, is met in determining measured terminal The destination application of preset requirement, and dynamic library file corresponding with the destination application is injected into the intended application The application program of program;
The measured terminal 200, for receiving the test client for the intended application journey in the measured terminal The dynamic library file that sequence sends, and the dynamic library file is injected into the application process of the destination application and is performed, adjust Take and the one-to-one engine interface of different resource object, during the destination application is run, by the engine transferred Interface obtains the various resource object data for the intended application journey, by the various moneys of the destination application for obtaining Source object data is activation is to the test client, so that the test client detects the number for any one resource object It is investigated that seeing instruction, corresponding resource object data are exported according to predetermined manner.
Optionally, in order to realize data sharing, test system can also include server 300, wherein:
Server 300, for the various moneys for the destination application that the synchronous test client is received Source object data, and to being analyzed to the various resource object data, generate the test for the destination application Report.
It should be noted that with regard to each part in the system embodiment concrete function realize that process is referred on The description of embodiment of the method corresponding part is stated, this enforcement will not be described here.
In sum, the embodiment of the present application can obtain the destination application in destination application running The real-time occupancy situation of each subdivision resource, that is, obtain various resource object data, so that developer is according to test knot Really, the too high resource object of EMS memory occupation in true application scenarios is pin-pointed to, destination application performance is substantially increased Optimization efficiency.
Finally, it should be noted that in regard to the various embodiments described above, such as first, second or the like relational terms are only Only for by an operation, unit or module with another operate, unit or module make a distinction, and not necessarily require or secretly Show and there is any this actual relation or order between these units, operation or module.And, term " including ", " bag Containing " or its any other variant be intended to including for nonexcludability so that a series of process, method including key elements Or system not only includes those key elements, but also including other key elements being not expressly set out, or also include for this The intrinsic key element of process, method or system.In the absence of more restrictions, limited by sentence "including a ..." Key element, it is not excluded that also there is other identical element in including the process of the key element, method or system.
In this specification, each embodiment is described by the way of progressive, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, as which corresponds to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, generally describes the composition and step of each example in the above description according to function.These Function actually with hardware or software mode performing, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can use different methods to realize described function to each specific application, but this realization should not Think beyond scope of the present application.
The step of method described with reference to the embodiments described herein or algorithm, directly can be held with hardware, processor Capable software module, or the combination of the two is implementing.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the application. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in the case of without departing from spirit herein or scope in other embodiments.Therefore, the application The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope for causing.

Claims (21)

1. a kind of internal storage testing method, it is characterised in that be applied to measured terminal, methods described includes:
Communication connection is set up with the test client loaded on test terminal;
Receive the dynamic library file that the test client is sent for the destination application in the measured terminal;
The dynamic library file is injected into the application process of the destination application and is performed, transferred and different resource object one One corresponding engine interface;
The destination application is run, the various resources pair for the intended application journey are obtained by the engine interface transferred Image data;
The various resource object data is activations of the destination application for obtaining are exported to the test client.
2. method according to claim 1, it is characterised in that the engine interface by transferring is obtained for the mesh Various resource object data of the mark using journey, including:
Using the HOOK functions in the dynamic library file, it is determined that the various resource objects of the destination application of current operation Sum.
3. method according to claim 1 and 2, it is characterised in that the engine interface by transferring is obtained for institute The various resource object data of intended application journey are stated, including:
Transfer the object function in the dynamic library file;
The object function is run, the internal storage data that the various resource objects of the destination application of current operation take is obtained.
4. method according to claim 3, it is characterised in that the object function transferred in the dynamic library file, Including:
Static parsing dynamic library file, obtains offset address of the object function in the dynamic library file;
Using base address and the offset address of the dynamic library file, the operation address of the object function is determined, and The operation address is converted to into the function pointer of the object function;
Object function is transferred using the function pointer.
5. a kind of internal storage testing method, it is characterised in that be applied to test client, the test client is loaded in test eventually End, methods described include:
After starting the test client, the communication connection with measured terminal is set up;
Meet the destination application of preset requirement in determining measured terminal;
Dynamic library file corresponding with the destination application is injected into the application program of the destination application, so that institute State measured terminal and perform the dynamic library file, transfer and the one-to-one engine interface of different resource object;
When the measured terminal runs the destination application, the target that the reception measured terminal is obtained and sent should With the various resource object data of program;
Detection checks instruction for the data of any one resource object, exports corresponding resource object data according to predetermined manner.
6. method according to claim 5, it is characterised in that methods described also includes:
By the test terminal by the various resource object data syn-chronizations for receiving to server, so that server is to described each Plant resource object data to be analyzed, generate the test report for the destination application.
7. method according to claim 5, it is characterised in that methods described also includes:
Trigger the test client and be switched to web data and check pattern;
URL addresses after switching are sent to second terminal, so that the second terminal shows that the test client is received Various resource object data.
8. method according to claim 5, it is characterised in that meet the target of preset requirement in the determination measured terminal Application program, including:
Detect and show satisfactory all application programs in measured terminal;
The selection instruction for currently displaying all application programs is obtained, the destination application of this test is determined.
9. method according to claim 5, it is characterised in that it is described determine measured terminal in meet the mesh of preset requirement After mark application program, methods described also includes:
Transfer dynamic library file corresponding with the destination application.
10. method according to claim 5, it is characterised in that the communication connection of the foundation and measured terminal, specifically It is:
Using socket communication modes, set up with measured terminal and communicate to connect.
11. methods according to claim 5-10 any one, it is characterised in that methods described also includes:
Output test window, the test window include completed MEMTEST step, and for indicating the internal memory The information of test next step.
12. a kind of measured terminals, it is characterised in that multiple application programs, shown test terminal are provided with the measured terminal Also include:
Communication module, for setting up communication connection with the test client that loads on test terminal, and receives the test client The dynamic library file that end is sent for the destination application in the measured terminal;
Processing module, for the dynamic library file to be injected the application process of the destination application and performed, transfer with The one-to-one engine interface of different resource object;
Data acquisition module, for, during the destination application is run, being obtained for institute by the engine interface transferred State the various resource object data of intended application journey, and by the communication module by each of the destination application for obtaining Plant resource object data is activation to export to the test client.
13. measured terminals according to claim 12, it is characterised in that the data acquisition module includes:
Resource object quantity statistics unit, for using the HOOK functions in the dynamic library file, it is determined that the mesh of current operation The sum of the various resource objects of mark application program.
14. measured terminals according to claim 12 or 13, it is characterised in that the data acquisition module includes:
Object function transfers unit, for transferring the object function in the dynamic library file;
Internal storage data acquiring unit, for running the object function, obtains the various moneys of the destination application of current operation The internal storage data that source object takes.
15. measured terminals according to claim 14, it is characterised in that the object function transfers unit to be included:
Resolution unit, for static parsing dynamic library file, obtains offset address of the object function in the dynamic library file;
Function pointer determining unit, for the base address using the dynamic library file and the offset address, it is determined that described The operation address of object function, and the operation address is converted to the function pointer of the object function;
Function transfers unit, for transferring object function using the function pointer.
16. a kind of test clients, it is characterised in that the test client is loaded on test terminal, the test client End includes:
First communication module, for starting after the test client, sets up the communication connection with measured terminal;
Destination application determining module, for determining the destination application for meeting preset requirement in measured terminal, and passes through Dynamic library file corresponding with the destination application is injected answering for the destination application by the first communication module With program, so that the measured terminal performs the dynamic library file, transfer and connect with the one-to-one engine of different resource object Mouthful;When the measured terminal runs the destination application, the measured terminal is received by the first communication module and is obtained The various resource object data of the destination application for obtaining and sending;
Output module, checks instruction for data of the detection for any one resource object, corresponding according to predetermined manner output Resource object data.
17. test clients according to claim 16, it is characterised in that the test client also includes:
Second communication module, for by the various resource object data syn-chronizations for receiving to server so that server is to described Various resource object data are analyzed, and generate the test report for the destination application.
18. test clients according to claim 16, it is characterised in that the test client also includes:
Data inspection mode handover module, checks pattern for triggering the test client and being switched to web data;
Third communication module, for the URL addresses after switching are sent to second terminal, so that the second terminal shows described The various resource object data that test client is received.
19. test clients according to claim 16, it is characterised in that the destination application determining module bag Include:
Detector unit, for detecting and showing satisfactory all application programs in measured terminal;
Determining unit, for obtaining the selection instruction for currently displaying all application programs, determines the target of this test Application program.
20. a kind of memory test systems, it is characterised in that the system includes:Test terminal and measured terminal, the test end Test client is mounted with end;
The test client, is communicated to connect for being set up with measured terminal upon actuation, meets default in determining measured terminal The destination application of requirement, and dynamic library file corresponding with the destination application is injected into the destination application Application program;
The measured terminal, for receiving what the test client was sent for the destination application in the measured terminal Dynamic library file, and the dynamic library file is injected into the application process of the destination application and is performed, transfer from it is different The one-to-one engine interface of resource object, during the destination application is run, is obtained by the engine interface transferred For the various resource object data of the intended application journey, by the various resource object numbers of the destination application for obtaining According to sending to the test client, so that the test client detects the data for any one resource object and checks finger Order, exports corresponding resource object data according to predetermined manner.
21. systems according to claim 21, it is characterised in that the system also includes:
Server, for the various resource object numbers for the destination application that the synchronous test client is received According to, and to being analyzed to the various resource object data, generate the test report for the destination application.
CN201611034609.6A 2016-11-18 2016-11-18 Memory test method, tested terminal, test client and system Active CN106557424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611034609.6A CN106557424B (en) 2016-11-18 2016-11-18 Memory test method, tested terminal, test client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611034609.6A CN106557424B (en) 2016-11-18 2016-11-18 Memory test method, tested terminal, test client and system

Publications (2)

Publication Number Publication Date
CN106557424A true CN106557424A (en) 2017-04-05
CN106557424B CN106557424B (en) 2019-12-10

Family

ID=58444249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611034609.6A Active CN106557424B (en) 2016-11-18 2016-11-18 Memory test method, tested terminal, test client and system

Country Status (1)

Country Link
CN (1) CN106557424B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193735A (en) * 2017-05-17 2017-09-22 武汉联影医疗科技有限公司 Method for testing software and system
CN107273277A (en) * 2017-05-11 2017-10-20 珠海金山网络游戏科技有限公司 A kind of depth captures the method and device of mobile phone application runnability data
CN107277226A (en) * 2017-05-11 2017-10-20 珠海金山网络游戏科技有限公司 A kind of method and device for obtaining mobile phone application memory snapshot and Memory Allocation storehouse
CN107506306A (en) * 2017-09-28 2017-12-22 网易(杭州)网络有限公司 The method of testing and device of fine arts resource
CN107748715A (en) * 2017-09-13 2018-03-02 福建天晴数码有限公司 Texture mapping configuration information detection method and its system based on Unity
CN107918586A (en) * 2017-10-25 2018-04-17 珠海金山网络游戏科技有限公司 A kind of resource loading efficiency analysis method and device based on daily record
CN108197035A (en) * 2018-02-01 2018-06-22 江南大学 A kind of method for detecting memory boundary overflow error
CN108255729A (en) * 2018-01-24 2018-07-06 珠海金山网络游戏科技有限公司 A kind of mobile phone games automated testing method and system based on Unity platforms
CN108536607A (en) * 2018-04-20 2018-09-14 深圳前海微众银行股份有限公司 UI test methods, equipment and readable storage medium storing program for executing
CN108763098A (en) * 2018-06-08 2018-11-06 郑州云海信息技术有限公司 A kind of internal storage data processing test system
CN109450724A (en) * 2018-10-19 2019-03-08 郑州云海信息技术有限公司 A kind of test method and relevant apparatus of NFS internal memory optimization function
CN109522217A (en) * 2018-10-16 2019-03-26 深圳壹账通智能科技有限公司 The internal storage testing method and terminal device of application program
CN109876446A (en) * 2019-01-14 2019-06-14 珠海金山网络游戏科技有限公司 A kind of method and apparatus for detecting game textures and grid and occupying distribution in memory
CN109966742A (en) * 2019-03-21 2019-07-05 深圳市腾讯信息技术有限公司 The method and device of rendering performance data is obtained in game running
CN110022244A (en) * 2019-04-03 2019-07-16 北京字节跳动网络技术有限公司 Method and apparatus for sending information
CN110083520A (en) * 2018-01-25 2019-08-02 迈普通信技术股份有限公司 Data capture method and device
CN112346894A (en) * 2019-08-09 2021-02-09 腾讯科技(深圳)有限公司 Memory leak detection method, device and system and computer equipment
CN112685305A (en) * 2020-12-30 2021-04-20 北京字节跳动网络技术有限公司 User interface performance test method and device, electronic equipment and readable storage medium
CN113220554A (en) * 2021-05-17 2021-08-06 北京百度网讯科技有限公司 Method and apparatus for detecting performance of program code
CN113918235A (en) * 2021-09-17 2022-01-11 北京房江湖科技有限公司 Application loading method and device, computer program product and storage medium
CN114676041A (en) * 2022-02-28 2022-06-28 山东赤子城网络技术有限公司 Game testing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN104951397A (en) * 2014-05-16 2015-09-30 腾讯科技(深圳)有限公司 Mobile equipment testing method, mobile equipment testing device, mobile equipment testing server and mobile equipment testing system
US20160044520A1 (en) * 2014-08-11 2016-02-11 Verizon Patent And Licensing Inc. Mobile automation test platform
CN105677550A (en) * 2015-12-29 2016-06-15 广州华多网络科技有限公司 Performance acquisition-analysis method, device and system based on Linux system
CN105955762A (en) * 2016-04-19 2016-09-21 北京金山安全软件有限公司 Method and device for injecting dynamic link library file and electronic equipment
CN106126282A (en) * 2016-06-20 2016-11-16 北京金山安全软件有限公司 Injection method and device for dynamic link library file and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN104951397A (en) * 2014-05-16 2015-09-30 腾讯科技(深圳)有限公司 Mobile equipment testing method, mobile equipment testing device, mobile equipment testing server and mobile equipment testing system
US20160044520A1 (en) * 2014-08-11 2016-02-11 Verizon Patent And Licensing Inc. Mobile automation test platform
CN105677550A (en) * 2015-12-29 2016-06-15 广州华多网络科技有限公司 Performance acquisition-analysis method, device and system based on Linux system
CN105955762A (en) * 2016-04-19 2016-09-21 北京金山安全软件有限公司 Method and device for injecting dynamic link library file and electronic equipment
CN106126282A (en) * 2016-06-20 2016-11-16 北京金山安全软件有限公司 Injection method and device for dynamic link library file and terminal equipment

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273277A (en) * 2017-05-11 2017-10-20 珠海金山网络游戏科技有限公司 A kind of depth captures the method and device of mobile phone application runnability data
CN107277226A (en) * 2017-05-11 2017-10-20 珠海金山网络游戏科技有限公司 A kind of method and device for obtaining mobile phone application memory snapshot and Memory Allocation storehouse
CN107193735A (en) * 2017-05-17 2017-09-22 武汉联影医疗科技有限公司 Method for testing software and system
CN107748715A (en) * 2017-09-13 2018-03-02 福建天晴数码有限公司 Texture mapping configuration information detection method and its system based on Unity
CN107506306B (en) * 2017-09-28 2019-12-17 网易(杭州)网络有限公司 Art resource testing method and device
CN107506306A (en) * 2017-09-28 2017-12-22 网易(杭州)网络有限公司 The method of testing and device of fine arts resource
CN107918586A (en) * 2017-10-25 2018-04-17 珠海金山网络游戏科技有限公司 A kind of resource loading efficiency analysis method and device based on daily record
CN108255729B (en) * 2018-01-24 2021-12-31 珠海金山网络游戏科技有限公司 Mobile phone game automatic testing method and system based on Unity platform
CN108255729A (en) * 2018-01-24 2018-07-06 珠海金山网络游戏科技有限公司 A kind of mobile phone games automated testing method and system based on Unity platforms
CN110083520A (en) * 2018-01-25 2019-08-02 迈普通信技术股份有限公司 Data capture method and device
CN108197035A (en) * 2018-02-01 2018-06-22 江南大学 A kind of method for detecting memory boundary overflow error
CN108536607A (en) * 2018-04-20 2018-09-14 深圳前海微众银行股份有限公司 UI test methods, equipment and readable storage medium storing program for executing
CN108763098B (en) * 2018-06-08 2021-09-17 郑州云海信息技术有限公司 Memory data processing test system
CN108763098A (en) * 2018-06-08 2018-11-06 郑州云海信息技术有限公司 A kind of internal storage data processing test system
CN109522217A (en) * 2018-10-16 2019-03-26 深圳壹账通智能科技有限公司 The internal storage testing method and terminal device of application program
CN109450724A (en) * 2018-10-19 2019-03-08 郑州云海信息技术有限公司 A kind of test method and relevant apparatus of NFS internal memory optimization function
CN109450724B (en) * 2018-10-19 2022-05-27 郑州云海信息技术有限公司 Test method and related device for NFS memory optimization function
CN109876446A (en) * 2019-01-14 2019-06-14 珠海金山网络游戏科技有限公司 A kind of method and apparatus for detecting game textures and grid and occupying distribution in memory
CN109876446B (en) * 2019-01-14 2022-07-26 珠海金山网络游戏科技有限公司 Method and device for detecting occupation distribution of game map and grid in memory
CN109966742A (en) * 2019-03-21 2019-07-05 深圳市腾讯信息技术有限公司 The method and device of rendering performance data is obtained in game running
CN110022244A (en) * 2019-04-03 2019-07-16 北京字节跳动网络技术有限公司 Method and apparatus for sending information
CN112346894A (en) * 2019-08-09 2021-02-09 腾讯科技(深圳)有限公司 Memory leak detection method, device and system and computer equipment
CN112346894B (en) * 2019-08-09 2023-04-14 腾讯科技(深圳)有限公司 Memory leak detection method, device and system and computer equipment
CN112685305A (en) * 2020-12-30 2021-04-20 北京字节跳动网络技术有限公司 User interface performance test method and device, electronic equipment and readable storage medium
CN112685305B (en) * 2020-12-30 2024-02-09 抖音视界有限公司 User interface performance test method and device, electronic equipment and readable storage medium
CN113220554A (en) * 2021-05-17 2021-08-06 北京百度网讯科技有限公司 Method and apparatus for detecting performance of program code
CN113220554B (en) * 2021-05-17 2023-07-25 北京百度网讯科技有限公司 Method and apparatus for detecting performance of program code
CN113918235A (en) * 2021-09-17 2022-01-11 北京房江湖科技有限公司 Application loading method and device, computer program product and storage medium
CN113918235B (en) * 2021-09-17 2023-11-17 贝壳找房(北京)科技有限公司 Application loading method and device and storage medium
CN114676041A (en) * 2022-02-28 2022-06-28 山东赤子城网络技术有限公司 Game testing method and system

Also Published As

Publication number Publication date
CN106557424B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN106557424A (en) Internal storage testing method, measured terminal, test client and system
CN106294166B (en) A kind of game data monitoring method and device
US9342237B2 (en) Automated testing of gesture-based applications
CN106326113B (en) A kind of game data monitoring method and device
CN102195970B (en) Based on the debugging of client session
CN104699591B (en) A kind of test scene replay method and device
US8819493B1 (en) Automatic configuration of a test environment
US9665473B2 (en) Smart tester application for testing other applications
CN107896244B (en) Version file distribution method, client and server
CN103777967B (en) Page returning method, page generation method and device
CN105550252B (en) File positioning method and device and electronic equipment
CN102523475B (en) Testing method and device for electronic products, and television set
CN103984626B (en) A kind of method and device for generating test case script
JP2008523464A (en) How to automatically build a software application customized for a specific type of wireless computing device
CN107872534B (en) Information pushing method and device, server and readable storage medium
US20140344732A1 (en) Automatic discovery of system behavior
CN107846511A (en) A kind of method, terminal and computer-readable recording medium for accessing moving advertising
CN109800367A (en) Webpage loading method, device, computer equipment and storage medium
CN105183630A (en) Method and device for testing application program
CN109558320A (en) System detection method, device, system, equipment and computer readable storage medium
CN109684571A (en) Data acquisition method and device and storage medium
CN105740144A (en) Automated testing method and system for Android mobile Terminal
CN110489312A (en) Data correlation method and device for control trigger data acquisition
CN110968553B (en) Ordering method and device for elements in directory tree
CN108701018A (en) The update method of application program

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