CN106130753A - Application performance data gathering system, method, agent client and associated server - Google Patents

Application performance data gathering system, method, agent client and associated server Download PDF

Info

Publication number
CN106130753A
CN106130753A CN201610410505.4A CN201610410505A CN106130753A CN 106130753 A CN106130753 A CN 106130753A CN 201610410505 A CN201610410505 A CN 201610410505A CN 106130753 A CN106130753 A CN 106130753A
Authority
CN
China
Prior art keywords
application performance
performance data
data
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
CN201610410505.4A
Other languages
Chinese (zh)
Other versions
CN106130753B (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 CN201610410505.4A priority Critical patent/CN106130753B/en
Publication of CN106130753A publication Critical patent/CN106130753A/en
Application granted granted Critical
Publication of CN106130753B publication Critical patent/CN106130753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0273Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]

Abstract

The application provides a kind of application performance data gathering system, method, agent client and associated server, and this system includes: agent client, applications client, proxy server and Analysis server;Agent client is used for, set up interprocess communication with applications client to be connected, and set up communication connection with proxy server, pass through interprocess communication, to applications client transmission application performance data collection instruction, and receive the application performance data that applications client is collected, application performance data are sent to proxy server;Proxy server is used for, and sets up communication connection with Analysis server, obtains the application performance data that agent client sends, application performance data are sent to Analysis server;Analysis server is used for, the application performance data that Receiving Agent server sends, and analyzes compiling application performance data, preserves the application performance data after analyzing compiling in data base.The application can the most comprehensively preserve collected application performance data.

Description

Application performance data gathering system, method, agent client and associated server
Technical field
The present invention relates to data collection techniques field, be specifically related to a kind of application performance data gathering system, method, agency Client and associated server.
Background technology
Along with the development of the intelligent operating systems such as Android, IOS, the application being loaded on mobile terminal (such as game, regards The application such as frequency) more and more, mobile terminal such as smart mobile phone, panel computer etc..Due to the development problem of application, application and terminal Compatibling problem etc., apply in terminal run time, often there is performance deficiency, performance deficiency as application run card, should With the internal memory shared by running is too high, CPU is the most high.The improvement for the benefit of applied, the operation fluency promoting application, apply When running in terminal, generally require corresponding CPU when collection application runs and use data, internal memory to use data, rendering data, money The application performance data such as source data, by the performance deficiency analysis that application performance data are application collected and application enhancements offer Data are supported.
Current application performance data collection mode, the main applications client by application realizes;Apply in terminal During operation, applications client can collect CPU, in save as support application run uses data and application run needs render Data, resource data etc., thus collect the performance data that is applied;But, it was found by the inventors of the present invention that current application In energy data collection mode, applications client only has the function collecting application performance data, and cannot the most comprehensively preserve and answer By performance data, it is not comprehensive that this makes to analyze application performance data used, causes the accuracy analyzed relatively low;The most how Application performance data collected by more comprehensively preserving, become the problem that those skilled in the art need to consider.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of application performance data gathering system, method, agent client and phase Close server, with the application performance data collected by more comprehensively preservation.
For achieving the above object, the following technical scheme of embodiment of the present invention offer:
A kind of application performance data gathering system, including: agent client, applications client, proxy server and analysis Server;Wherein, during described agent client and applications client are loaded into same terminal;
Described agent client is used for, and sets up interprocess communication with described applications client and is connected, and and proxy server Set up communication connection;By interprocess communication, to the transmission application performance data collection instruction of described applications client;Pass through process Between communicate, receive described applications client collect with described application performance data collection instruct corresponding application performance data; Described application performance data are sent to described proxy server;
Described applications client is used for, and is received the application performance data of described agent client transmission by interprocess communication Collect instruction, collect corresponding application performance data, and by interprocess communication, collected application performance data are transferred to Described agent client;
Described proxy server is used for, and sets up communication connection with Analysis server;Obtain what described agent client sent Application performance data;Described application performance data are sent to described Analysis server;
Described Analysis server is used for, and receives the application performance data that described proxy server sends;Analyze compiling described Application performance data, preserve the application performance data after analyzing compiling in data base.
The embodiment of the present invention also provides for a kind of application performance method of data capture, is applied to agent client, described method Including:
Set up interprocess communication with local applications client to be connected, and set up communication connection with proxy server;Described Agent client and described applications client are loaded in same terminal;
By interprocess communication, to the transmission application performance data collection instruction of described applications client;
By interprocess communication, receive the corresponding to the instruction of described application performance data collection of described applications client collection Application performance data;
Described application performance data are sent to Analysis server by described proxy server, in order to described Analysis Service Device analysis compiles described application performance data, and makes described Analysis server preserve the application after analyzing compiling in data base Performance data.
The embodiment of the present invention also provides for a kind of application performance method of data capture, is applied to Analysis server, described method Including:
Communication connection is set up with proxy server;
Receive the application performance data that described proxy server sends;Described application performance data are by the application client of terminal End is collected and is transferred to the agent client of terminal, described application performance data are sent to institute by the agent client of terminal State proxy server;
Analyze and compile described application performance data, data base preserves the application performance data after analyzing compiling.
The embodiment of the present invention also provides for a kind of application performance method of data capture, is applied to web server, described method bag Include:
The application performance related data preserved in requested database;
Graphically, the application performance data obtained from data base are shown sequentially in time.
The embodiment of the present invention also provides for a kind of agent client, including:
First communication connection module, is connected for setting up interprocess communication with local applications client, and takes with agency Communication connection set up by business device;Wherein, during described agent client and applications client are loaded into same terminal;
Instruction transport module, for by interprocess communication, transmitting application performance data collection to described applications client Instruction;
Performance data the first receiver module, for by interprocess communication, receive that described applications client collects with institute State application performance data collection and instruct corresponding application performance data;
Performance data the first sending module, for being sent to described application performance data point by described proxy server Analysis server, in order to described Analysis server analysis compiles described application performance data, and described Analysis server is being counted According to storehouse preserves the application performance data after analyzing compiling.
The embodiment of the present invention also provides for a kind of Analysis server, including:
Second communication connection module, for setting up communication connection with proxy server;
Performance data the second receiver module, for receiving the application performance data that described proxy server sends;Described should Collected and be transferred to the agent client of terminal by the applications client of terminal by performance data, with by the agent client of terminal Described application performance data are sent to described proxy server;
Compiling and preservation module, be used for analyzing the described application performance data of compiling, preserve after analyzing compiling in data base Application performance data.
The embodiment of the present invention also provides for a kind of web server, including:
Data demand module, the application performance related data preserved in requested database;
The application performance data obtained from data base, for graphically, are entered by display module sequentially in time Row is shown.
Based on technique scheme, in the embodiment of the present invention, the applications client of terminal can be in the control of agent client Under, constantly collect application performance data;And collected application performance high data all can proxied client and agency service Device is transmitted to Analysis server, Analysis server analysis be constantly saved in data base after compiling, and therefore protects in data base The application performance data deposited will be the most comprehensive, it is achieved the most comprehensively preserves the purpose of application performance data.And based on data base The application performance data of middle preservation carry out the performance deficiency analysis applied, and analysis result can be made the most accurate, comprehensively.It is visible, The embodiment of the present invention can realize the purpose of the application performance data collected by more comprehensive preservation, and can be the property promoting application The energy accuracy of defect analysis result, comprehensive offer may.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to The accompanying drawing provided obtains other accompanying drawing.
The configuration diagram of the application performance data gathering system that Fig. 1 provides for the embodiment of the present invention;
The signaling process figure of the application performance method of data capture that Fig. 2 provides for the embodiment of the present invention;
Another signaling process figure of the application performance method of data capture that Fig. 3 provides for the embodiment of the present invention;
Another signaling process figure of the application performance method of data capture that Fig. 4 provides for the embodiment of the present invention;
The another signaling process figure of the application performance method of data capture that Fig. 5 provides for the embodiment of the present invention;
Another signaling process figure again of the application performance method of data capture that Fig. 6 provides for the embodiment of the present invention;
Fig. 7 is with the window of all types of application performance data, shows the schematic diagram of all types of application performance data;
Fig. 8 is to realize the system architecture schematic diagram that Unity game performance data is collected;
Fig. 9 is the overall outline schematic diagram of game performance data;
Figure 10 is the general introduction schematic diagram of game performance data relevant for CPU;
Figure 11 is time-consuming Functional Analysis schematic diagram;
Figure 12 is the general introduction schematic diagram of the game performance data of rendering data type;
Figure 13 is the schematic diagram at the operation interface of agent client;
The structured flowchart of the agent client that Figure 14 provides for the embodiment of the present invention;
The structured flowchart of the Analysis server that Figure 15 provides for the embodiment of the present invention;
The structured flowchart of the web server that Figure 16 provides for the embodiment of the present invention;
The structured flowchart of the proxy server that Figure 17 provides for the embodiment of the present invention;
Another configuration diagram of the application performance data gathering system that Figure 18 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
The configuration diagram of the application performance data gathering system that Fig. 1 provides for the embodiment of the present invention, application shown in Fig. 1 Can data gathering system can be used for implementing the application performance method of data capture that the embodiment of the present invention provides;With reference to Fig. 1, this application The framework of performance data collection system specifically includes that
Terminal 10 and server 20;Wherein, terminal 10 is mounted with applications client 11 and agent client 12;Server 20 may include that proxy server 21 and Analysis server 22;Proxy server 21 and Analysis server 22 may belong to same Server, it is also possible to be independent different server;
In embodiments of the present invention, applications client mainly realizes the operation of the terminal applies such as game, video, can be subject to simultaneously Application performance data are collected in the control of agent client, and by interprocess communication, the application performance data of collection are transferred to generation Reason client;
Agent client mainly matches with proxy server, realizes application between applications client and Analysis server The transfer transmission of performance data;Concrete, agent client can control applications client and collect application performance data, and pass through into The application performance data received are passed through proxy server by the application performance data that between journey, communications reception applications client is collected It is sent to Analysis server;
The application performance data that proxy server is mainly responsible for agent client sends are transmitted to Analysis server;
Analysis server is mainly responsible for the compiling analysis of the application performance data received, and preserves compiling in data base Application performance data after analysis;
In embodiments of the present invention, terminal may be considered the mobile device such as mobile phone, panel computer, can load in terminal Multiple clients;Server can be the service equipment of network side;It will be appreciated, however, that server can also be (individual by PC People's computer) end equipment realization.
In conjunction with the framework of application performance data gathering system shown in Fig. 1, Fig. 2 shows the application that the embodiment of the present invention provides The signaling process figure of performance data collection method, with reference to Fig. 2, this flow process may include that
Step S10, agent client set up communication connection with proxy server;
Optionally, network socket (socket) can be set up between agent client with proxy server to be connected.
Step S11, agent client are set up interprocess communication with applications client and are connected;
Optionally, local socket can be set up between agent client with applications client to be connected;The embodiment of the present invention Mainly there is network socket to connect and local socket connects;Network socket connection may be considered, and use socket will not Communication connection is set up with the process of equipment room;Local socket connection may be considered, and uses socket by same equipment Different processes set up a kind of form that communication connection, i.e. interprocess communication connect;
Optionally, can there is no obvious sequencing between step S10 and step S11.
Step S12, agent client pass through interprocess communication, refer to applications client transmission application performance data collection Order;
Optionally, agent client can send application performance data to applications client in the running of application Collect instruction;Agent client can be that timing sends the instruction of application performance data collection to applications client, it is also possible to is to be subject to User sets, and sends the instruction of application performance data collection to applications client.
Step S13, applications client respond the instruction of described application performance data collection, collect corresponding application performance number According to;
Step S14, applications client pass through interprocess communication, and described application performance data are transferred to agent client;
Described application performance data are sent to proxy server by step S15, agent client;
Described application performance data are sent to Analysis server by step S16, proxy server;
Optionally, Analysis server and proxy server can pre-build communication connection;Such as Analysis server and agency's clothes Socket can be set up between business device to connect.
Step S17, Analysis server analysis compile described application performance data, and in data base after preservation analysis compiling Application performance data.
It can be seen that in the application performance method of data capture of embodiment of the present invention offer, terminal can pass through proxy client Communication connection set up by end and proxy server, and the agent client in terminal can set up interprocess communication even with applications client Connect;And then terminal can control applications client by agent client and carry out the application visitor of the collection of application performance data, terminal After family end is collected application performance data and is transferred to agent client, terminal can be by agent client by described application performance number According to being transferred to proxy server;And described application performance data can be transmitted to Analysis server by proxy server, analysis take Business device analysis compile described application performance data, and will analyze compiling after application performance data be saved in data base, it is achieved The preservation of collected application performance data.
In the embodiment of the present invention, the applications client of terminal can constantly collect application under the control of agent client Can data;And collected application performance high data all proxied client and proxy server can be transmitted to Analysis server, Constantly being saved in data base after being compiled by Analysis server analysis, the application performance data therefore preserved in data base will relatively For comprehensively, it is achieved the most comprehensively preserve the purpose of application performance data.And based on the application performance data preserved in data base Carry out the performance deficiency analysis applied, analysis result can be made the most accurate, comprehensively.Visible, the embodiment of the present invention can realize relatively For the purpose of the application performance data collected by comprehensively preserving, and can be promote the performance deficiency analysis result applied accurate Property, comprehensive offer may.
Optionally, the embodiment of the present invention can realize the foundation of communication connection by socket mode;Fig. 3 shows this Another signaling process figure of the application performance method of data capture that bright embodiment provides, with reference to Fig. 3, this flow process may include that
Step S20, agent client are set up network socket and are connected with proxy server;
Agent client can be set up network socket and be connected with proxy server, it is achieved agent client and proxy server Between communication connection foundation;
It is generally acknowledged socket establishment of connection, mainly initiated to the service end of socket by the client of socket; Optionally, in embodiments of the present invention, agent client is set up during socket is connected with proxy server, proxy client End may be considered the client of socket, and proxy server may be considered the service end of socket;
Standing in the angle of agent client, the embodiment of the present invention can create the client of socket, to as socket's The proxy server of service end is initiated network socket and is connected, thus sets up the network socket with described proxy server even Connect;
Accordingly, standing in the angle of proxy server, proxy server can create the service end of socket, receives conduct The network socket that the described agent client of the client of socket is initiated connects, thus sets up and described agent client Network socket connects.
Set up local socket between step S21, agent client and applications client to be connected;
Local socket can be set up between agent client with applications client be connected, it is achieved agent client and application visitor Interprocess communication establishment of connection between the end of family;
Optionally, in embodiments of the present invention, set up local socket between agent client with applications client to be connected During, agent client may be considered the client of socket, and applications client may be considered the service of socket End;
Standing in the angle of agent client, the embodiment of the present invention can create the client of socket, to as socket's The described applications client of service end is initiated local socket and is connected, thus sets up the local socket with described applications client Connect, be connected setting up interprocess communication with described applications client;
Accordingly, applications client can receive, as the service end of socket, this locality that described applications client is initiated Socket connects, and sets up and is connected with the local socket of described applications client;
Optionally, can there is no obvious sequencing between step S20 and step S21.
Step S22, agent client pass through interprocess communication, refer to applications client transmission application performance data collection Order;
Step S23, applications client respond the instruction of described application performance data collection, collect corresponding application performance number According to;
Step S24, applications client pass through interprocess communication, and described application performance data are transferred to agent client;
Described application performance data are sent to proxy server by step S25, agent client;
Step S26, proxy server are connected with setting up socket between Analysis server;
Socket can be set up between proxy server with Analysis server be connected, to realize proxy server and Analysis server Between communication connection foundation;
Optionally, step S26 with pre-execution, and can perform the most after step s25.
Optionally, in embodiments of the present invention, Analysis server may be considered the client of socket, proxy server May be considered the service end of socket;
Standing in the angle of proxy server, proxy server can create the service end of socket, receives as socket's The socket that the described Analysis server of client is initiated connects, and sets up and is connected with the socket of described Analysis server;Optional , on the one hand, if described proxy server and Analysis server belong to same server, then proxy server can receive described The local socket that Analysis server is initiated connects;On the other hand, if described proxy server and Analysis server are independent Different server, then proxy server can receive described Analysis server initiate network socket connect;
Accordingly, standing in the angle of Analysis server, Analysis server can create the client of socket, to conduct The described proxy server of the service end of socket is initiated socket and is connected, and sets up the socket with described proxy server even Connect, to set up communication connection with described proxy server;Optionally, on the one hand, if described proxy server and Analysis Service Device belongs to same server, then Analysis server can initiate local socket connection to described proxy server;On the other hand, as The most described proxy server and Analysis server are independent different server, then Analysis server can be to described proxy server Initiate network socket to connect.
Described application performance data are sent to Analysis server by step S27, proxy server;
Step S28, Analysis server analysis compile described application performance data, and in data base after preservation analysis compiling Application performance data.
If the execution content of terminal from the point of view of standing in agent client, then the application performance number that the embodiment of the present invention provides Can have signaling process as shown in Figure 4 according to collection method, with reference to Fig. 4, this flow process may include that
Step S30, agent client set up communication connection with proxy server;
Step S31, agent client are set up interprocess communication with local applications client and are connected;
Optionally, the agent client that can not have obvious sequencing, i.e. terminal between step S30 and step S31 can Set up interprocess communication with local applications client to be connected, and set up communication connection with proxy server;
Optionally, the agent client of terminal can create the client of socket, thus to the service as socket The described applications client of end is initiated local socket and is connected, and sets up and is connected with the local socket of described applications client, with Set up interprocess communication with described applications client to be connected;And the agent client of terminal can be to the service end as socket Proxy server initiate socket connect, set up be connected with the socket of described proxy server, with described proxy server Set up communication connection.
Step S32, agent client pass through interprocess communication, transmit application performance data collection to described applications client Instruction;
Step S33, agent client pass through interprocess communication, receive described applications client collect with described application Corresponding application performance data can be instructed by data collection;
Described application performance data are sent to proxy server by step S34, agent client;
Described application performance data are sent to Analysis server by step S35, proxy server;
Step S36, Analysis server analysis compile described application performance data, and in data base after preservation analysis compiling Application performance data.
Optionally, the agent client of terminal is when to applications client transmission application performance data collection instruction, permissible The type of the application performance data that appointment need to be collected;Concrete, agent client can pass through interprocess communication, to described application visitor Family end transmission application performance data collection instruction, the instruction of described application performance data collection may include that the application that need to collect The type information of energy data;
Accordingly, applications client, after receiving the instruction of application performance data collection, can be collected according to described type information Corresponding application performance data;After described applications client collects application performance data corresponding with described type information, generation Reason client can receive the application performance corresponding with described type information of described applications client transmission by interprocess communication Data.
Optionally, the type information of the application performance data need to collected can be presetting, it is also possible to adjusts according to practical situation Whole, only collect CPU corresponding application performance data in application running as the embodiment of the present invention can set, then the present invention implements Example can set the type information of the application performance data that need to collect as CPU corresponding application performance data;
The type information of the application performance data that need to collect can include the application performance data of at least one class, such as application fortune CPU corresponding application performance data during row, internal memory corresponding application performance data in application running, application ran The corresponding rendering data of journey, at least one class application performance data among the application corresponding resource data of running etc..
Optionally, the embodiment of the present invention is in addition to collecting application performance data by applications client, also by terminal Agent client realizes the collection of application performance related data, internal memory in application performance related data such as application running PSS, the CPU usage accounting of test process, terminal configuration information, Apply Names, application and development version, application screen shot etc. In at least one class data;
The application performance related data that the agent client of terminal is collected can be in company with collected application performance data, together It is transferred to proxy server;Analysis clothes are given by application performance related data and application performance Simultaneous Transmission of Data by proxy server Business device, so that Analysis server analyzes compiling application performance related data and application performance data simultaneously, and compiles analysis After application performance related data and application performance data be saved in data base simultaneously;
Accordingly, Fig. 5 shows the another signaling process of application performance method of data capture that the embodiment of the present invention provides Figure, with reference to Fig. 5, this flow process may include that
Step S40, agent client set up communication connection with proxy server;
Step S41, agent client are set up interprocess communication with local applications client and are connected;
Step S42, agent client pass through interprocess communication, transmit application performance data collection to described applications client Instruction;And collect application performance related data by adb (debugging bridge) order;
The full name of adb is Android Debug Bridge, and it plays the effect of debugging bridge;Can be by adb Eclipse conveniently debugs Android program by DDMS;In embodiments of the present invention, the agent client of terminal can lead to Cross dab order and transfer the operating system interface of terminal, thus get and run relevant data file to applying, from this data literary composition Part is collected the performance-related data that is applied;
Concrete, agent client can transfer the operating system interface of described terminal by adb order, and is answered by described By the mark of client, determine the mark of the application performance related data that need to collect;And then adjusted by described operating system interface Take data file corresponding with described mark, collect from this data file and obtain described application performance related data;
The configuration file of data file such as terminal, the Name Documents of application, application and development version file etc..
Step S43, agent client pass through interprocess communication, receive described applications client collect with described application Corresponding application performance data can be instructed by data collection, and determine the application performance related data collected;
Described application performance data and described application performance related data are sent to agency by step S44, agent client Server;
Described application performance data and described application performance related data are sent to analyze by step S45, proxy server Server;
I.e. compare other signaling process above-mentioned, the embodiment of the present invention can by described application performance data by described generation While reason server is sent to Analysis server, also described application performance related data can be sent to proxy server;With By proxy server, described application performance data and described application performance related data are sent to Analysis server.
Step S46, the Analysis server analysis described application performance data of compiling and described application performance related data, and Data base preserves the application performance data after analyzing compiling and application performance related data.
Visible, Analysis server, while analyzing the described application performance data of compiling, also can analyze the described application of compiling Performance-related data, and Analysis server preserve in data base analyze compiling after application performance data while, also can protect Deposit the application performance related data after analyzing compiling.
In embodiments of the present invention, along with applying the operation in terminal, applications client can constantly collect application performance Data are also transferred to the agent client of terminal by interprocess communication, and the agent client of terminal also can constantly collect application Performance-related data;The agent client of terminal can constantly pass through socket by application performance data and application performance dependency number According to being transferred to proxy server;The application performance data that agent client can constantly be transmitted by proxy server by socker It is transmitted to Analysis server with application performance related data;Analysis server constantly analyzes compiling application performance data and application Energy related data, and in data base, constantly preserve the application performance data after analyzing compiling and application performance related data;That As time goes on run with the continuous of application, data base will recorded the extensive application performance data elapsed in time With application performance related data, it is achieved application performance data the most comprehensively preserve, for carrying out application performance defect analysis and answering With improving the big data support providing favourable.
Optionally, the application of embodiment of the present invention indication can be application based on Unity exploitation, as Unity game should With (i.e. using the game application of Unity exploitation);Unity is that developed by Unity Technologies can create such as The multi-platform comprehensive development of games work of the type interaction contents such as 3 D video game, building visualization, realtime three dimensional animation Tool, Unity uses generally as the professional game engine of a comprehensive integration;As a example by application is for Unity game application, this Bright embodiment can realize the collection of the game performance data of Unity game application and preserve,
Accordingly, in the flow process that the present invention provides, the applications client of indication can be Unity game client, Unity Game client can collect the game performance data in Unity game play;Analysis server can be Unity Profiler (analyzer) server, Unity Profiler may be considered the plug-in unit that Unity carries, and can be used for Unity trip The analysis compiling of the game performance data of play, even performance deficiency analysis;
As a example by Unity game application, table 1 below shows the application performance data that applications client is collected, and agency visitor The optional example of the application performance related data that family end is collected, can refer to.
Table 1
Optionally, if the angle standing in proxy server describes the application performance data collection side that the embodiment of the present invention provides Method, then proxy server can set up communication connection with the agent client of terminal, and sets up communication connection with Analysis server;Generation Reason server can obtain the application performance data that the agent client of described terminal sends, and described application performance data are by terminal Applications client is collected and is transferred to the agent client of terminal, with by the agent client of terminal by described application performance data It is sent to described proxy server;And then described application performance data are sent to described Analysis server by proxy server, with Toilet state Analysis server analysis compile described application performance data, and make described Analysis server preserves in data base divide Application performance data after analysis compiling;
Optionally, if agent client can collect application performance related data, then proxy server also can receive end The application performance related data that the agent client of end is collected, described application performance related data is passed through by described agent client Adb order is collected;And then proxy server can be while being sent to described Analysis server by described application performance data, will Described application performance related data is sent to described Analysis server, in order to described Analysis server is analyzing the described application of compiling While performance data, analyze and compile described application performance related data, and described Analysis server is protected in data base While depositing the application performance data after analyzing compiling, preserve the application performance related data after analyzing compiling.
Optionally, if describing, with the angle of Analysis server, the application performance data collection side that the embodiment of the present invention provides Method, then Analysis server can set up communication connection with proxy server;Analysis server can receive described proxy server and send Application performance data;Described application performance data are collected by the applications client of terminal and are transferred to the proxy client of terminal End, to be sent to described proxy server by the agent client of terminal by described application performance data;And then Analysis server The described application performance data of compiling can be analyzed, data base preserves the application performance data after analyzing compiling.
Optionally, if agent client can collect application performance related data, then Analysis server also can receive generation The application performance related data that reason server sends, described application performance related data is ordered by adb by described agent client Order is sent to described proxy server after collecting;Thus Analysis server can compile the same of described application performance data analyzing Time, analyze and compile described application performance related data, and in data base, preserve the same of the application performance data after analyzing compiling Time, preserve the application performance related data after analyzing compiling.
Optionally, the application performance data that applications client is collected are usually binary form, and binary form Data are more difficult for analysis personnel checks, understand, therefore Analysis server is receiving binary application performance After data, application performance data analysis can be compiled into the data of predetermined format, obtain the application performance data after analyzing compiling; Predetermined format can be easy for the data form that analysis personnel check, understand, such as text formatting;Analysis server is for application Energy related data is analyzed the principle of compiling and is similar to.
It should be noted that and presently, there are a kind of application performance data collection mode, be by the Unity game client of terminal The applications client such as end, set up communication connection with the analysis such as the Unity Profile of PC end with analyzer, thus Unity game Client is transferred to Unity Profile after collecting application performance data, Unity Profile be analyzed;But, Unity Profile does not has data retention, and the data that therefore Unity Profile analysis obtains can only be and Unity The application performance data that game client is once collected are corresponding, i.e. the scope of data that Unity Profile once can provide is The application performance scope of data that Unity game client is once collected, and Unity Profile cannot be promoted further can The scope of data provided, provides application performance data more comprehensively;
Based on this, the embodiment of the present invention can be by the expanded function of the Analysis server offers such as Unity Profile so that Analysis server have compiling is analyzed after application performance data (or, application performance data and application performance related data) write Enter the ability in data base, thus constantly preserve the Analysis servers such as Unity Profile by data base and analyze volume every time The result translated, preserves out application performance data more comprehensively;
Concrete, the embodiment of the present invention can arrange predetermined by the expanded function of the Analysis servers such as Unity Profile Write script;When Analysis server obtains the application performance data after analyzing compiling every time, Analysis server can perform by expanding Exhibition the predetermined of function setting writes script, positions the described predetermined prerecorded database location of script of writing, and performs described predetermined write Write operation in script, the application performance data after analyzing compiling write in described data base, constantly to write in data base Enter to analyze the application performance data after compiling so that data base can preserve more comprehensively application performance data;By application performance Related data is saved in the principle of data base and is similar to;
Optionally, data base can be MYSQL database.
Optionally, web server can preserve in requested database application performance related data is also shown, in order to logical Cross the application performance related data shown, carry out application performance defect analysis;
Fig. 6 shows another signaling process figure again of the application performance method of data capture that the embodiment of the present invention provides, ginseng According to Fig. 6, this flow process may include that
Step S50, agent client set up communication connection with proxy server;
Step S51, agent client are set up interprocess communication with applications client and are connected;
Step S52, agent client pass through interprocess communication, refer to applications client transmission application performance data collection Order;
Step S53, applications client respond the instruction of described application performance data collection, collect corresponding application performance number According to;
Step S54, applications client pass through interprocess communication, and described application performance data are transferred to agent client;
Described application performance data are sent to proxy server by step S55, agent client;
Described application performance data are sent to Analysis server by step S56, proxy server;
Step S57, Analysis server analysis compile described application performance data, and in data base after preservation analysis compiling Application performance data;
The application performance data preserved in step S58, Web server request data base;
The application performance data obtained from data base are shown by step S59, web server.
Optionally, acquired application performance data can graphically be carried out by web server sequentially in time Show that (as being shown according to the acquisition time of application performance data order, the acquisition time of application performance data can be in application During the process of performance data collection, in company with carrying in collected application performance data);
Optionally, application performance data can be shown by the way of window;The embodiment of the present invention can be in predetermined entirety In general introduction window, the overall condition to acquired application performance data, it is shown with setting general introduction chart, shows application The overall outline chart of performance data;And in the window of all types of application performance data, to set chart to respective type Application performance data are shown, and show the situation chart of all types of application performance data;
Fig. 7 shows with the window of all types of application performance data, shows showing of all types of application performance data respectively It is intended to, it can be seen from figure 7 that the window of the application performance data of CPU respective type, the application performance number of internal memory respective type According to window, the window of the application performance data of rendering data respective type is in an interface, but different types of application Energy data, are shown by different windows.
When making application performance data display, the embodiment of the present invention be also based on shown application performance data be given should By the defect analysis result of performance data;Optionally, web server can be divided from the overall outline chart of application performance data There is the application performance data segment of performance deficiency and fluctuate accordingly situation and time period in analysis;And then analyze under this time period all types of The situation chart of application performance data, obtains the fluctuation situation of all types of application performance data under this time period;Determine this time The lower fluctuation situation of section and the fluctuation situation corresponding target type application performance data analyzed from described overall outline chart; Target type application performance data under this time period, can be as the defect analysis positioning result of application performance data, in order to Analyze the performance deficiency source of application performance data.
As a example by a certain flight shooting game, if this flight shooting game is to fight to the direct feel of user Journey is blocked and times substantially, then can realize the comprehensive of application performance data in game process by the embodiment of the present invention and preserve, and based on The application performance data preserved are analyzed, and are the discovery that owing to rendering the most too high, cause fps too low, cause to gamercard The sensation paused, thus guide the resource in fine arts personnel optimization scene;Embodiment of the present invention scheme is in this flight shooting game Concrete application process can be as follows:
The embodiment of the present invention can be by framework shown in Fig. 8, it is achieved the collection of the game performance data of flight shooting game, Preserve and show;
The game performance data that web server can be preserved from data base, and by institute in predetermined overall outline window The overall outline chart of the game performance data shown, obtains overall performance general introduction result, as it is shown in figure 9, game course of battle Middle time shaft [300,1000], the fps value of [2100,2800] is less, and overall fluctuation is bigger;
And then CPU report can be analyzed from the window of the game performance data of CPU respective type;As shown in Figure 10, through dividing Each module of the mainly game of analysis impact game fps time-consuming, from time-consuming distribution it can be seen that course of battle, script and Render the highest.Fixed point analyzes the data of 782 seconds, the average fps draw value 12.1 of current point, renders time-consuming and script Time-consuming the highest, to analyze 782 seconds further, at this, point have collected the data of 10 frames to agent client, wherein, the 3rd frame time-consuming At most, analyze the data of the 3rd frame further, the time-consuming situation of function of this frame can be checked;Wherein, Camera.Render function Time-consuming at most, accounting reaches 31.8%;That therefore can check in the whole office of Camera.Render further is time-consuming, as shown in figure 11, Can be seen that the every frame of this function time-consumingly concentrates on [10,20] ms, fluctuation tendency and fps entirety fluctuation tendency the most identical, explanation Resource existing problems in scene, can instruct the problem that developer investigates the resources such as the face number of model, specially good effect in scene;
Analyze again to analyze from the window of the game performance data of rendering data type and render report;Fight as shown in figure 12 During, DrawCall, the fluctuation of face number index are identical with the overall fluctuation situation of fps, demonstrate above-mentioned obtaining further The fps that the problem of the conclusion gone out, i.e. resource causes is too low, thus guides the resource in fine arts personnel optimization scene.
The embodiment of the present invention can realize the preservation of more comprehensively application performance data, for from comparison overall, horizontal, longitudinal direction The angle analysis application performance problems of comparison provides possibility;Meanwhile, what the embodiment of the present invention was mutual with user only acts on behalf of visitor The operation interface of family end and Web page, reduce the threshold that user uses, and the operation interface of agent client can be such as Figure 13 institute Show.
The agent client provided the embodiment of the present invention below is introduced, the generation that Figure 14 provides for the embodiment of the present invention The structured flowchart of reason client, with reference to Figure 14, this agent client may include that
First communication connection module 100, is connected for setting up interprocess communication with local applications client, and with agency Server sets up communication connection;Wherein, during described agent client and applications client are loaded into same terminal;
Instruction transport module 110, for by interprocess communication, receiving to described applications client transmission application performance data Collection instruction;
Performance data the first receiver module 120, for by interprocess communication, receive that described applications client collects with Described application performance data collection instructs corresponding application performance data;
Performance data the first sending module 130, for sending described application performance data by described proxy server To Analysis server, in order to described Analysis server analysis compiles described application performance data, and makes described Analysis server The application performance data after analyzing compiling are preserved in data base.
Optionally, instruction transport module 110 is particularly used in: by interprocess communication, transmit to described applications client Application performance data collection instructs, and the instruction of described application performance data collection includes: the type of the application performance data that need to collect Information;
Performance data the first receiver module 120 is particularly used in: collect and described type information in described applications client After corresponding application performance data, receive the corresponding to described type information of described applications client transmission by interprocess communication Application performance data.
Optionally, agent client collects application performance related data also by adb order;And by described application While energy data are sent to Analysis server by described proxy server, by described application performance related data by described Proxy server is sent to Analysis server, in order to described Analysis server is analyzing the same of the described application performance data of compiling Time, analyze compile described application performance related data, and make described Analysis server preserves in data base analysis compile after Application performance data while, preserve analyze compiling after application performance related data.
The Analysis server provided the embodiment of the present invention below is introduced;Figure 15 is dividing that the embodiment of the present invention provides The structured flowchart of analysis server, with reference to Figure 15, this Analysis server may include that
Second communication connection module 200, for setting up communication connection with proxy server;
Performance data the second receiver module 210, for receiving the application performance data that described proxy server sends;Described Application performance data are collected by the applications client of terminal and are transferred to the agent client of terminal, with by the proxy client of terminal Described application performance data are sent to described proxy server by end;
Compiling and preservation module 220, be used for analyzing the described application performance data of compiling, preserve and analyze compiling in data base After application performance data.
Optionally, Analysis server can be additionally used in:
Receiving the application performance related data that described proxy server sends, described application performance related data is by described generation Reason client is sent to described proxy server after being collected by adb order;The same of described application performance data is compiled analyzing Time, analyze and compile described application performance related data, and in data base, preserve the same of the application performance data after analyzing compiling Time, preserve the application performance related data after analyzing compiling.
Optionally, compile and preserve module 220 analyze compile described application performance data time, be particularly used in: by two The application performance data of system form are analyzed compiling, obtain the application performance data of predetermined format;Described predetermined format is The form of the carried out data display set.
When compiling and preservation module 220 preserve the application performance data after analyzing compiling in data base, it is particularly used in: When obtaining the application performance data after analyzing compiling every time, perform the predetermined script of writing arranged by expanded function, position institute State the predetermined prerecorded database location of script of writing, and perform the described predetermined write operation writing in script, after analyzing compiling Application performance data write in described data base, with the application performance data after constantly compiling is analyzed in write in data base.
The web server provided the embodiment of the present invention below is introduced;The web that Figure 16 provides for the embodiment of the present invention The structured flowchart of server, with reference to Figure 16, this web server may include that
Data demand module 300, the application performance related data preserved in requested database;
Display module 310, for graphically, by the application performance data that obtain from data base sequentially in time It is shown.
Optionally, display module 310 is particularly used in: in predetermined overall outline window, to acquired application performance The overall condition of data, is shown with setting general introduction chart, shows the overall outline chart of application performance data;And respectively In the window of type application performance data, the application performance data of respective type are shown setting chart, show each The situation chart of type application performance data.
Optionally, web server can be additionally used in: from the overall outline chart of application performance data, analyzes and there is performance The application performance data segment of defect fluctuates situation and time period accordingly;Analyze all types of application performance data under this time period Situation chart, obtains the fluctuation situation of all types of application performance data under this time period;Determine under this time period fluctuate situation with The fluctuation situation corresponding target type application performance data analyzed from described overall outline chart.
The proxy server provided the embodiment of the present invention below is introduced, the agency service that the embodiment of the present invention provides The structure of device can as shown in figure 17, including:
Third communication link block 400, for setting up communication connection, and and Analysis server with the agent client of terminal Set up communication connection;
Performance data acquisition module 410, for obtaining the application performance data that the agent client of described terminal sends;Institute State the agent client that application performance data are collected by the applications client of terminal and are transferred to terminal, with by the agency visitor of terminal Described application performance data are sent to described proxy server by family end;
Performance data the second sending module 420, for described application performance data are sent to described Analysis server, with Toilet state Analysis server analysis compile described application performance data, and make described Analysis server preserves in data base divide Application performance data after analysis compiling.
Optionally, proxy server can be additionally used in: the application performance of the agent client collection receiving described terminal is correlated with Data, described application performance related data is collected by adb order by described agent client;By described application performance data While being sent to described Analysis server, described application performance related data is sent to described Analysis server, in order to institute State Analysis server and compile while described application performance data analyzing, analyze and compile described application performance related data, and While making described Analysis server preserve the application performance data after analyzing compiling in data base, preserve after analyzing compiling Application performance related data.
The application performance data gathering system provided the embodiment of the present invention below is introduced, and the framework of this system can be such as Shown in Fig. 1, including: agent client 12, applications client 11, proxy server 21 and Analysis server 22;Wherein, described generation Reason client and applications client are loaded in same terminal;
Described agent client is used for, and sets up interprocess communication with described applications client and is connected, and and proxy server Set up communication connection;By interprocess communication, to the transmission application performance data collection instruction of described applications client;Pass through process Between communicate, receive described applications client collect with described application performance data collection instruct corresponding application performance data; Described application performance data are sent to described proxy server;
Described applications client is used for, and is received the application performance data of described agent client transmission by interprocess communication Collect instruction, collect corresponding application performance data, and by interprocess communication, collected application performance data are transferred to Described agent client;
Described proxy server is used for, and sets up communication connection with Analysis server;Obtain what described agent client sent Application performance data;Described application performance data are sent to described Analysis server;
Described Analysis server is used for, and receives the application performance data that described proxy server sends;Analyze compiling described Application performance data, preserve the application performance data after analyzing compiling in data base.
Optionally, Figure 18 shows another framework signal of application performance data gathering system that the embodiment of the present invention provides Figure, shown in Fig. 1 and Figure 18, this system can also include: web server 30, the application preserved in requested database The application performance data obtained from data base graphically, are shown by performance data sequentially in time.
It should be noted that arbitrary application performance method of data capture that the embodiment of the present invention provides, agent client, generation Reason server, Analysis server, web server, can be based on the application performance data gathering system that the embodiment of the present invention provides Realize.
The embodiment of the present invention can realize the preservation of more comprehensively application performance data, for from comparison overall, horizontal, longitudinal direction The angle analysis application performance problems of comparison provides possibility;Meanwhile, mutual with user in the embodiment of the present invention only agency The operation interface of client and Web page, reduce the threshold that user uses.
In this specification, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is and other The difference of embodiment, between each embodiment, identical similar portion sees mutually.For device disclosed in embodiment For, owing to it corresponds to the method disclosed in Example, so describe is fairly simple, relevant part sees method part and says Bright.
Professional further appreciates that, in conjunction with the unit of each example that the embodiments described herein describes And algorithm steps, it is possible to electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate hardware and The interchangeability of software, the most generally describes composition and the step of each example according to function.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can direct hardware, processor be held The software module of row, or the combination of the two implements.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention. Multiple amendment to these embodiments will be apparent from for those skilled in the art, as defined herein General Principle can realize without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention It is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein and features of novelty phase one The widest scope caused.

Claims (26)

1. an application performance data gathering system, it is characterised in that including: agent client, applications client, agency service Device and Analysis server;Wherein, during described agent client and applications client are loaded into same terminal;
Described agent client is used for, and sets up interprocess communication with described applications client and is connected, and sets up with proxy server Communication connection;By interprocess communication, to the transmission application performance data collection instruction of described applications client;By logical between process Letter, receive the collection of described applications client instructs corresponding application performance data with described application performance data collection;By institute State application performance data and be sent to described proxy server;
Described applications client is used for, and is received the application performance data collection of described agent client transmission by interprocess communication Instruction, collects corresponding application performance data, and collected application performance data is transferred to described by interprocess communication Agent client;
Described proxy server is used for, and sets up communication connection with Analysis server;Obtain the application that described agent client sends Performance data;Described application performance data are sent to described Analysis server;
Described Analysis server is used for, and receives the application performance data that described proxy server sends;Analyze and compile described application Performance data, preserves the application performance data after analyzing compiling in data base.
Application performance data gathering system the most according to claim 1, it is characterised in that described agent client is with described Applications client is set up local socket and is connected, and described agent client sets up network socket even with described proxy server Connect;
If described proxy server and Analysis server belong to same server, the most described proxy server and Analysis server Set up local socket to connect;If described proxy server and Analysis server are independent different server, the most described generation Reason server and Analysis server are set up network socket and are connected.
Application performance data gathering system the most according to claim 1, it is characterised in that described agent client is passing through Interprocess communication, when the transmission application performance data collection instruction of described applications client, specifically for:
By interprocess communication, to the transmission application performance data collection instruction of described applications client, described application performance data Collection instruction includes: the type information of the application performance data that need to collect;
Described agent client by interprocess communication, receives described applications client that collect with described application performance data When collecting the corresponding application performance data of instruction, specifically for:
After described applications client collects application performance data corresponding with described type information, received by interprocess communication The application performance data corresponding with described type information of described applications client transmission.
Application performance data gathering system the most according to claim 1, it is characterised in that described agent client is also used In, collect application performance related data by debugging bridge adb order;Described application performance data are being sent to described agency's clothes While business device, described application performance related data is sent to described proxy server;
Described proxy server is additionally operable to, while described application performance data are sent to described Analysis server, by institute State application performance related data and be sent to described Analysis server;
Described Analysis server is additionally operable to, and while analyzing the described application performance data of compiling, analyzes and compiles described application Can related data, and in data base preserve analyze compiling after application performance data while, preserve analyze compiling after should Use performance-related data.
Application performance data gathering system the most according to claim 1, it is characterised in that described application performance data are two System form;Described Analysis server analyze compile described application performance data time, specifically for:
The application performance data of binary format are analyzed compiling, obtain the application performance data of predetermined format;Described pre- The formula of fixing is the form of the carried out data display set.
Application performance data gathering system the most according to claim 1, it is characterised in that described Analysis server is in data When storehouse preserves the application performance data after analyzing compiling, specifically for:
When Analysis server obtains the application performance data after analyzing compiling every time, Analysis server performs to pass through expanded function Arrange predetermined writes script, positions the described predetermined prerecorded database location of script of writing, and performs described predetermined write in script Write operation, the application performance data after compiling will be analyzed and write in described data base, with constantly in data base write analyze Application performance data after compiling.
Application performance data gathering system the most according to claim 1, it is characterised in that also include: web server, uses The application performance data preserved in requested database, and graphically, the application performance data that will obtain from data base It is shown sequentially in time.
Application performance data gathering system the most according to claim 7, it is characterised in that described web server is to scheme The form of table, when the application performance data obtained from data base are shown sequentially in time, specifically for:
In predetermined overall outline window, the overall condition to acquired application performance data, carry out with setting general introduction chart Show, show the overall outline chart of application performance data;And in the window of all types of application performance data, to set figure The application performance data of respective type are shown by table, show the situation chart of all types of application performance data.
Application performance data gathering system the most according to claim 8, it is characterised in that described web server is additionally operable to, From the overall outline chart of application performance data, analyze and there is the application performance data segment of performance deficiency and fluctuate accordingly situation And the time period;Analyze the situation chart of all types of application performance data under this time period, obtain all types of application under this time period The fluctuation situation of performance data;Determine and fluctuate situation under this time period and the fluctuation feelings analyzed from described overall outline chart Condition corresponding target type application performance data.
10. an application performance method of data capture, it is characterised in that be applied to agent client, described method includes:
Set up interprocess communication with local applications client to be connected, and set up communication connection with proxy server;Described agency Client and described applications client are loaded in same terminal;
By interprocess communication, to the transmission application performance data collection instruction of described applications client;
By interprocess communication, receiving the corresponding with the instruction of described application performance data collection of described applications client collection should Use performance data;
Described application performance data are sent to Analysis server by described proxy server, in order to described Analysis server divides Analysis compiles described application performance data, and makes described Analysis server preserve the application performance after analyzing compiling in data base Data.
11. application performance methods of data capture according to claim 10, it is characterised in that described Yu local application visitor Family end is set up interprocess communication connection and is included:
Create the client of socket, initiate this locality to the described applications client of the service end as socket Socket connects, and sets up and is connected with the local socket of described applications client;
Described set up communication connection with proxy server and include:
Initiate network socket to the proxy server of the service end as socket to connect, set up and described proxy server Network socket connects.
12. application performance methods of data capture according to claim 10, it is characterised in that described by logical between process Letter, includes to the transmission application performance data collection instruction of described applications client:
By interprocess communication, to the transmission application performance data collection instruction of described applications client, described application performance data Collection instruction includes: the type information of the application performance data that need to collect;
Described by interprocess communication, receive the corresponding to the instruction of described application performance data collection of described applications client collection Application performance data include:
After described applications client collects application performance data corresponding with described type information, received by interprocess communication The application performance data corresponding with described type information of described applications client transmission.
13. application performance methods of data capture according to claim 10, it is characterised in that described method also includes:
Application performance related data is collected by debugging bridge adb order;
While described application performance data are sent to Analysis server by described proxy server, by described application Analysis server can be sent to by related data, in order to described Analysis server is being analyzed described in compiling by described proxy server While application performance data, analyze and compile described application performance related data, and make described Analysis server data base While the middle application performance data preserved after analyzing compiling, preserve the application performance related data after analyzing compiling.
14. application performance methods of data capture according to claim 13, it is characterised in that described by adb order receipts Collection application performance related data includes:
The operating system interface of described terminal is transferred by adb order;
Data file corresponding with the mark of described applications client is transferred, from this data file by described operating system interface Middle collection obtains described application performance related data.
15. 1 kinds of application performance methods of data capture, it is characterised in that be applied to Analysis server, described method includes:
Communication connection is set up with proxy server;
Receive the application performance data that described proxy server sends;Described application performance data are received by the applications client of terminal Collect and be transferred to the agent client of terminal, described application performance data are sent to described generation by the agent client of terminal Reason server;
Analyze and compile described application performance data, data base preserves the application performance data after analyzing compiling.
16. application performance methods of data capture according to claim 15, it is characterised in that described build with proxy server Vertical communication connection includes:
Create the client of socket, initiate socket even to the described proxy server of the service end as socket Connect, set up and be connected with the socket of described proxy server.
17. application performance methods of data capture according to claim 16, it is characterised in that described to as socket's The described proxy server of service end is initiated socket connection and is included:
If described proxy server and Analysis server belong to same server, then initiate this locality to described proxy server Socket connects;
Or, if described proxy server and Analysis server are independent different server, then send out to described proxy server Play network socket to connect.
18. application performance methods of data capture according to claim 15, it is characterised in that described method also includes:
Receiving the application performance related data that described proxy server sends, described application performance related data is by described agency visitor Family end is sent to described proxy server after being collected by debugging bridge adb order;
While analyzing the described application performance data of compiling, analyze and compile described application performance related data, and data base While the middle application performance data preserved after analyzing compiling, preserve the application performance related data after analyzing compiling.
19. application performance methods of data capture according to claim 15, it is characterised in that described application performance data are Binary format;The described described application performance data of compiling of analyzing include:
The application performance data of binary format are analyzed compiling, obtain the application performance data of predetermined format;Described pre- The formula of fixing is the form of the carried out data display set.
20. application performance methods of data capture according to claim 15, it is characterised in that described preservation in data base Include when analyzing the application performance data after compiling:
When obtaining the application performance data after analyzing compiling every time, perform predetermined to write script by what expanded function was arranged, fixed The described predetermined prerecorded database location of script of writing in position, and perform the described predetermined write operation writing in script, analysis is compiled After application performance data write in described data base, with the application performance number after constantly compiling is analyzed in write in data base According to.
21. 1 kinds of application performance methods of data capture, it is characterised in that be applied to web server, described method includes:
The application performance related data preserved in requested database;
Graphically, the application performance data obtained from data base are shown sequentially in time.
22. application performance methods of data capture according to claim 21, it is characterised in that described graphically, The application performance data obtained from data base are shown sequentially in time and include:
In predetermined overall outline window, the overall condition to acquired application performance data, carry out with setting general introduction chart Show, show the overall outline chart of application performance data;And in the window of all types of application performance data, to set figure The application performance data of respective type are shown by table, show the situation chart of all types of application performance data.
23. application performance methods of data capture according to claim 22, it is characterised in that also include:
From the overall outline chart of application performance data, there is the application performance data segment of performance deficiency and fluctuate accordingly in analysis Situation and time period;Analyze the situation chart of all types of application performance data under this time period, obtain under this time period all types of The fluctuation situation of application performance data;Determine and fluctuate situation under this time period and the ripple analyzed from described overall outline chart Emotionally condition corresponding target type application performance data.
24. 1 kinds of agent clients, it is characterised in that including:
First communication connection module, is connected for setting up interprocess communication with local applications client, and and proxy server Set up communication connection;Wherein, during described agent client and applications client are loaded into same terminal;
Instruction transport module, for by interprocess communication, to the transmission application performance data collection instruction of described applications client;
Performance data the first receiver module, for by interprocess communication, receiving answering with described of described applications client collection Corresponding application performance data are instructed with performance data collection;
Performance data the first sending module, for being sent to analyze clothes by described proxy server by described application performance data Business device, in order to described Analysis server analysis compiles described application performance data, and makes described Analysis server data base The middle application performance data preserved after analyzing compiling.
25. 1 kinds of Analysis servers, it is characterised in that including:
Second communication connection module, for setting up communication connection with proxy server;
Performance data the second receiver module, for receiving the application performance data that described proxy server sends;Described application Can data collected by the applications client of terminal and be transferred to the agent client of terminal, with by the agent client of terminal by institute State application performance data and be sent to described proxy server;
Compiling and preservation module, be used for analyzing the described application performance data of compiling, preserve answering after analyzing compiling in data base Use performance data.
26. 1 kinds of web servers, it is characterised in that including:
Data demand module, the application performance related data preserved in requested database;
The application performance data obtained from data base, for graphically, are opened up by display module sequentially in time Show.
CN201610410505.4A 2016-06-12 2016-06-12 Application performance data collection system and method, proxy client and related server Active CN106130753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610410505.4A CN106130753B (en) 2016-06-12 2016-06-12 Application performance data collection system and method, proxy client and related server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610410505.4A CN106130753B (en) 2016-06-12 2016-06-12 Application performance data collection system and method, proxy client and related server

Publications (2)

Publication Number Publication Date
CN106130753A true CN106130753A (en) 2016-11-16
CN106130753B CN106130753B (en) 2020-05-05

Family

ID=57270271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610410505.4A Active CN106130753B (en) 2016-06-12 2016-06-12 Application performance data collection system and method, proxy client and related server

Country Status (1)

Country Link
CN (1) CN106130753B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181643A (en) * 2017-06-08 2017-09-19 北京数盾信息科技有限公司 A kind of proxy server monitors management method and system
CN107590036A (en) * 2017-08-11 2018-01-16 北京奇虎科技有限公司 Remote debugging method, server and the system of Android device
CN109451035A (en) * 2018-12-04 2019-03-08 宁波耘瑞智能科技有限公司 A kind of method, apparatus and system of separate type collection group agent and service
CN109714397A (en) * 2018-12-11 2019-05-03 北京数盾信息科技有限公司 Internet proxy server management system
CN109977013A (en) * 2019-03-19 2019-07-05 深圳市腾讯信息技术有限公司 A kind of Debugging message acquisition methods, system and device
CN110493074A (en) * 2019-07-19 2019-11-22 珠海金山网络游戏科技有限公司 A kind of test method and system of server and client
WO2020020263A1 (en) * 2018-07-26 2020-01-30 华为技术有限公司 Data collection method, device, and system
CN111726401A (en) * 2020-06-09 2020-09-29 北京天空卫士网络安全技术有限公司 File transmission method and device
CN116510285A (en) * 2023-05-08 2023-08-01 北京畅游天下网络技术集团有限公司 Game performance data acquisition method and system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013975A (en) * 2007-01-24 2007-08-08 中国人民解放军理工大学指挥自动化学院 Method and system for testing performance parameter between random two terminal systems in IP network
CN101788387A (en) * 2010-03-17 2010-07-28 中国测试技术研究院声学研究所 Dynamic detecting method and device of portable brake performance tester
CN102546235A (en) * 2011-12-12 2012-07-04 华中科技大学 Performance diagnosis method and system of web-oriented application under cloud computing environment
CN102541724A (en) * 2010-12-09 2012-07-04 中国科学院沈阳计算技术研究所有限公司 Performance evaluation method of real-time operating system
CN102611717A (en) * 2011-01-19 2012-07-25 中国移动通信集团公司 Service data sending method and system, client-side agent and server agent
CN103023969A (en) * 2012-11-15 2013-04-03 北京搜狐新媒体信息技术有限公司 Cloud platform scheduling method and system
CN103248651A (en) * 2012-02-09 2013-08-14 腾讯科技(深圳)有限公司 Performance monitoring method and system, as well as client side and server
CN104426945A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Method and system for acquiring application performance data, and device
CN104767689A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Method of controlling network access amount and server
CN105068876A (en) * 2015-07-01 2015-11-18 北京博睿宏远科技发展有限公司 Method for acquiring mobile phone APP performance data based on distributed true phones
CN105187554A (en) * 2015-09-29 2015-12-23 北京京东尚科信息技术有限公司 Method and system for monitoring server performance
CN105591838A (en) * 2015-12-16 2016-05-18 成都科来软件有限公司 Time axis display method and device for displaying real-time network performance data

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013975A (en) * 2007-01-24 2007-08-08 中国人民解放军理工大学指挥自动化学院 Method and system for testing performance parameter between random two terminal systems in IP network
CN101788387A (en) * 2010-03-17 2010-07-28 中国测试技术研究院声学研究所 Dynamic detecting method and device of portable brake performance tester
CN102541724A (en) * 2010-12-09 2012-07-04 中国科学院沈阳计算技术研究所有限公司 Performance evaluation method of real-time operating system
CN102611717A (en) * 2011-01-19 2012-07-25 中国移动通信集团公司 Service data sending method and system, client-side agent and server agent
CN102546235A (en) * 2011-12-12 2012-07-04 华中科技大学 Performance diagnosis method and system of web-oriented application under cloud computing environment
CN103248651A (en) * 2012-02-09 2013-08-14 腾讯科技(深圳)有限公司 Performance monitoring method and system, as well as client side and server
CN103023969A (en) * 2012-11-15 2013-04-03 北京搜狐新媒体信息技术有限公司 Cloud platform scheduling method and system
CN104426945A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Method and system for acquiring application performance data, and device
CN104767689A (en) * 2014-01-07 2015-07-08 腾讯科技(深圳)有限公司 Method of controlling network access amount and server
CN105068876A (en) * 2015-07-01 2015-11-18 北京博睿宏远科技发展有限公司 Method for acquiring mobile phone APP performance data based on distributed true phones
CN105187554A (en) * 2015-09-29 2015-12-23 北京京东尚科信息技术有限公司 Method and system for monitoring server performance
CN105591838A (en) * 2015-12-16 2016-05-18 成都科来软件有限公司 Time axis display method and device for displaying real-time network performance data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小胖毛毛虫: ""Unity3D性能消耗分析器"", 《百度文库》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181643A (en) * 2017-06-08 2017-09-19 北京数盾信息科技有限公司 A kind of proxy server monitors management method and system
CN107181643B (en) * 2017-06-08 2020-03-17 北京数盾信息科技有限公司 Proxy server monitoring management method and system
CN107590036A (en) * 2017-08-11 2018-01-16 北京奇虎科技有限公司 Remote debugging method, server and the system of Android device
WO2020020263A1 (en) * 2018-07-26 2020-01-30 华为技术有限公司 Data collection method, device, and system
US11778493B2 (en) 2018-07-26 2023-10-03 Huawei Technologies Co., Ltd. Data collection method, device, and system
CN109451035A (en) * 2018-12-04 2019-03-08 宁波耘瑞智能科技有限公司 A kind of method, apparatus and system of separate type collection group agent and service
CN109714397A (en) * 2018-12-11 2019-05-03 北京数盾信息科技有限公司 Internet proxy server management system
CN109977013B (en) * 2019-03-19 2022-06-17 深圳市腾讯信息技术有限公司 Debugging information acquisition method, system and device
CN109977013A (en) * 2019-03-19 2019-07-05 深圳市腾讯信息技术有限公司 A kind of Debugging message acquisition methods, system and device
CN110493074A (en) * 2019-07-19 2019-11-22 珠海金山网络游戏科技有限公司 A kind of test method and system of server and client
CN110493074B (en) * 2019-07-19 2021-02-02 珠海金山网络游戏科技有限公司 Method and system for testing server and client
CN111726401A (en) * 2020-06-09 2020-09-29 北京天空卫士网络安全技术有限公司 File transmission method and device
CN116510285A (en) * 2023-05-08 2023-08-01 北京畅游天下网络技术集团有限公司 Game performance data acquisition method and system

Also Published As

Publication number Publication date
CN106130753B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN106130753A (en) Application performance data gathering system, method, agent client and associated server
CN105610938B (en) Logging state synchronous method and system
CN111737127B (en) Method and apparatus for testing map services
CN108721898B (en) Frame rate determination method and apparatus, storage medium, and electronic apparatus
CN109091861B (en) Interactive control method in game, electronic device and storage medium
CN109672583A (en) Method for monitoring network, equipment, storage medium and device
CN103051692B (en) Support the mobile operating system works platform of limit network environment
CN108268364A (en) Anomalous event back method, device and equipment
CN108829693A (en) A kind of user accesses acquisition methods, device and the storage medium of track
CN108960587A (en) Evaluation method, device and the readable storage medium storing program for executing of purchase of property consulting services quality
CN105260082A (en) Display method for test data and development terminal
CN105759247A (en) Radar comprehensive recorder and radar data recording method
CN106155677A (en) A kind of method and system of interface display
CN108763052A (en) A kind of method for testing performance and system of virtual reality software memory reclaim mechanism
CN109246082B (en) Data transmission method and device, electronic equipment and storage medium
CN106550250A (en) Barrage exchange method, device and electronic equipment
CN109214189B (en) Method, device, storage medium and electronic equipment for identifying program bugs
KR20140054480A (en) System and method for real time monitoring of website usability
CN102956208B (en) Method, device and system for counting image frame rates of terminal
CN113032278B (en) Application running mode, and method and device for confirming grade of terminal equipment
CN105744304B (en) A kind of processing method and processing device of EPG data
CN104468505A (en) Safety audit log playing method and device
CN106067007A (en) The credit statistical method of network courses and system
CN113973060A (en) Internet of things simulation method, device and system and storage medium
CN103154978A (en) Systems and methods for scheduling changes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant