CN106130753B - Application performance data collection system and method, proxy client and related server - Google Patents

Application performance data collection system and method, proxy client and related server Download PDF

Info

Publication number
CN106130753B
CN106130753B CN201610410505.4A CN201610410505A CN106130753B CN 106130753 B CN106130753 B CN 106130753B CN 201610410505 A CN201610410505 A CN 201610410505A CN 106130753 B CN106130753 B CN 106130753B
Authority
CN
China
Prior art keywords
performance data
application performance
application
client
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610410505.4A
Other languages
Chinese (zh)
Other versions
CN106130753A (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

Images

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides an application performance data collection system, a method, a proxy client and a relevant server, wherein the system comprises: the system comprises a proxy client, an application client, a proxy server and an analysis server; the proxy client is used for establishing interprocess communication connection with the application client, establishing communication connection with the proxy server, transmitting an application performance data collection instruction to the application client through interprocess communication, receiving application performance data collected by the application client and sending the application performance data to the proxy server; the proxy server is used for establishing communication connection with the analysis server, acquiring application performance data sent by the proxy client and sending the application performance data to the analysis server; the analysis server is used for receiving the application performance data sent by the proxy server, analyzing and compiling the application performance data, and storing the analyzed and compiled application performance data in the database. The application performance data collected can be comprehensively stored.

Description

Application performance data collection system and method, proxy client and related server
Technical Field
The invention relates to the technical field of data collection, in particular to an application performance data collection system, an application performance data collection method, an agent client and a related server.
Background
With the development of intelligent operating systems such as Android and IOS, more and more applications (such as applications of games and videos) are loaded on mobile terminals, such as smart phones and tablet computers. Due to the development problem of the application, the compatibility problem of the application and the terminal and the like, when the application runs on the terminal, performance defects often exist, such as the application runs in a stuck state, the memory occupied by the application running is too high, the CPU is too high and the like. In order to facilitate the improvement of the application and improve the operation fluency of the application, when the application runs on a terminal, application performance data such as corresponding CPU (central processing unit) use data, memory use data, rendering data, resource data and the like during the application running often need to be collected, and data support is provided for the performance defect analysis and the application improvement of the application through the collected application performance data.
The current application performance data collection mode is mainly realized by an application client of an application; when the application runs on a terminal, the application client can collect the use data of a CPU and a memory for supporting the running of the application, the rendering data, resource data and the like required by the running of the application, so as to collect and obtain application performance data; however, the inventor of the present invention finds that, in the current application performance data collection manner, the application client only has a function of collecting application performance data, but cannot store the application performance data more comprehensively, which causes incomplete application performance data used for analysis, resulting in low accuracy of analysis; therefore, how to store the collected application performance data more comprehensively becomes a problem to be considered by those skilled in the art.
Disclosure of Invention
In view of this, embodiments of the present invention provide an application performance data collection system, method, proxy client and related server to store collected application performance data more comprehensively.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
an application performance data collection system comprising: the system comprises a proxy client, an application client, a proxy server and an analysis server; the agent client and the application client are loaded in the same terminal;
the proxy client is used for establishing interprocess communication connection with the application client and establishing communication connection with the proxy server; transmitting an application performance data collection instruction to the application client through interprocess communication; receiving application performance data corresponding to the application performance data collection instruction collected by the application client through interprocess communication; sending the application performance data to the proxy server;
the application client is used for receiving an application performance data collection instruction transmitted by the agent client through interprocess communication, collecting corresponding application performance data and transmitting the collected application performance data to the agent client through interprocess communication;
the proxy server is used for establishing communication connection with the analysis server; acquiring application performance data sent by the proxy client; sending the application performance data to the analysis server;
the analysis server is used for receiving the application performance data sent by the proxy server; analyzing and compiling the application performance data, and storing the analyzed and compiled application performance data in a database.
The embodiment of the invention also provides an application performance data collection method, which is applied to the proxy client and comprises the following steps:
establishing inter-process communication connection with a local application client and establishing communication connection with a proxy server; the agent client and the application client are loaded in the same terminal;
transmitting an application performance data collection instruction to the application client through interprocess communication;
receiving application performance data corresponding to the application performance data collection instruction collected by the application client through interprocess communication;
and sending the application performance data to an analysis server through the proxy server so that the analysis server analyzes and compiles the application performance data and stores the analyzed and compiled application performance data in a database.
The embodiment of the invention also provides an application performance data collection method, which is applied to an analysis server and comprises the following steps:
establishing communication connection with a proxy server;
receiving application performance data sent by the proxy server; the application performance data is collected by an application client of the terminal and transmitted to a proxy client of the terminal, so that the proxy client of the terminal sends the application performance data to the proxy server;
analyzing and compiling the application performance data, and storing the analyzed and compiled application performance data in a database.
The embodiment of the invention also provides an application performance data collection method, which is applied to a web server and comprises the following steps:
requesting application performance related data stored in a database;
and displaying the application performance data acquired from the database in a chart form according to a time sequence.
An embodiment of the present invention further provides a proxy client, including:
the first communication connection module is used for establishing interprocess communication connection with a local application client and establishing communication connection with a proxy server; the agent client and the application client are loaded in the same terminal;
the instruction transmission module is used for transmitting an application performance data collection instruction to the application client through interprocess communication;
the first performance data receiving module is used for receiving application performance data which is collected by the application client and corresponds to the application performance data collecting instruction through interprocess communication;
and the performance data first sending module is used for sending the application performance data to an analysis server through the proxy server so that the analysis server analyzes and compiles the application performance data and stores the analyzed and compiled application performance data in a database.
An embodiment of the present invention further provides an analysis server, including:
the second communication connection module is used for establishing communication connection with the proxy server;
the second receiving module of the performance data is used for receiving the application performance data sent by the proxy server; the application performance data is collected by an application client of the terminal and transmitted to a proxy client of the terminal, so that the proxy client of the terminal sends the application performance data to the proxy server;
and the compiling and storing module is used for analyzing and compiling the application performance data and storing the application performance data after analyzing and compiling in a database.
An embodiment of the present invention further provides a web server, including:
the data request module is used for requesting the application performance related data stored in the database;
and the display module is used for displaying the application performance data acquired from the database in a chart form according to a time sequence.
Based on the technical scheme, the application client of the terminal in the embodiment of the invention can continuously collect application performance data under the control of the proxy client; and the collected high application performance data can be forwarded to the analysis server by the proxy client and the proxy server, and is continuously stored in the database after being analyzed and compiled by the analysis server, so that the application performance data stored in the database is relatively comprehensive, and the purpose of relatively comprehensively storing the application performance data is realized. And the performance defect analysis of the application is carried out based on the application performance data stored in the database, so that the analysis result is more accurate and comprehensive. Therefore, the embodiment of the invention can achieve the purpose of comprehensively storing the collected application performance data, and can provide possibility for improving the accuracy and comprehensiveness of the performance defect analysis result of the application.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a block diagram of an application performance data collection system according to an embodiment of the present invention;
fig. 2 is a signaling flow diagram of an application performance data collection method according to an embodiment of the present invention;
FIG. 3 is another signaling flow diagram of a method for collecting application performance data according to an embodiment of the present invention;
fig. 4 is a signaling flow diagram of a method for collecting application performance data according to an embodiment of the present invention;
fig. 5 is a signaling flow diagram of a method for collecting application performance data according to an embodiment of the present invention;
FIG. 6 is a signaling flow diagram illustrating an application performance data collection method according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating various types of application performance data in a window of the various types of application performance data;
FIG. 8 is a diagram of a system architecture for implementing the collection of Unity game performance data;
FIG. 9 is a schematic diagram of an overall overview of game performance data;
FIG. 10 is a schematic diagram of an overview of CPU-related game performance data;
FIG. 11 is a schematic diagram of time-consuming function analysis;
FIG. 12 is a schematic diagram of an overview of rendering data type game performance data;
FIG. 13 is a schematic view of an operator interface of the proxy client;
fig. 14 is a block diagram of a proxy client according to an embodiment of the present invention;
fig. 15 is a block diagram of an analysis server according to an embodiment of the present invention;
FIG. 16 is a block diagram of a web server according to an embodiment of the present invention;
fig. 17 is a block diagram of a proxy server according to an embodiment of the present invention;
fig. 18 is a schematic diagram of another architecture of an application performance data collection system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic architecture diagram of an application performance data collection system according to an embodiment of the present invention, where the application performance data collection system shown in fig. 1 can be used to implement an application performance data collection method according to an embodiment of the present invention; referring to fig. 1, the architecture of the application performance data collection system mainly includes:
a terminal 10 and a server 20; wherein, the terminal 10 is loaded with an application client 11 and a proxy client 12; the server 20 may include: a proxy server 21 and an analysis server 22; the proxy server 21 and the analysis server 22 may belong to the same server or may be separate servers;
in the embodiment of the invention, the application client mainly realizes the running of terminal applications such as games, videos and the like, can be controlled by the agent client to collect application performance data, and transmits the collected application performance data to the agent client through interprocess communication;
the proxy client is mainly matched with the proxy server, and the transfer transmission of the application performance data is realized between the application client and the analysis server; specifically, the proxy client can control the application client to collect application performance data, receive the application performance data collected by the application client through interprocess communication, and send the received application performance data to the analysis server through the proxy server;
the proxy server is mainly responsible for forwarding the application performance data sent by the proxy client to the analysis server;
the analysis server is mainly responsible for compiling and analyzing the received application performance data and storing the compiled and analyzed application performance data in a database;
in the embodiment of the invention, the terminal can be regarded as mobile equipment such as a mobile phone, a tablet personal computer and the like, and a plurality of clients can be loaded in the terminal; the server can be a service device on the network side; it is to be noted that the server may be implemented by a PC (personal computer) side device.
In conjunction with the architecture of the application performance data collection system shown in fig. 1, fig. 2 shows a signaling flow chart of an application performance data collection method provided by an embodiment of the present invention, and referring to fig. 2, the flow may include:
step S10, the proxy client establishes communication connection with the proxy server;
alternatively, a network socket connection may be established between the proxy client and the proxy server.
Step S11, establishing interprocess communication connection between the agent client and the application client;
optionally, a local socket connection may be established between the proxy client and the application client; the embodiment of the invention mainly comprises a network socket connection and a local socket connection; the network socket connection can be considered as that the socket is used for establishing communication connection between processes of different devices; the local socket connection can be considered as a form of communication connection between processes, which is to establish communication connection between different processes on the same device by using a socket;
alternatively, there may be no obvious precedence order between step S10 and step S11.
Step S12, the proxy client transmits an application performance data collection instruction to the application client through interprocess communication;
optionally, the proxy client may send an application performance data collection instruction to the application client in the running process of the application; the proxy client may send the application performance data collection instruction to the application client at regular time, or may send the application performance data collection instruction to the application client by user setting.
Step S13, the application client end responds to the application performance data collecting instruction and collects corresponding application performance data;
step S14, the application client transmits the application performance data to the agent client through inter-process communication;
step S15, the proxy client sends the application performance data to the proxy server;
step S16, the proxy server sends the application performance data to an analysis server;
optionally, the analysis server and the proxy server may establish a communication connection in advance; for example, a socket connection may be established between the analysis server and the proxy server.
And step S17, the analysis server analyzes and compiles the application performance data and stores the application performance data after analysis and compilation in a database.
It can be seen that in the application performance data collection method provided by the embodiment of the present invention, the terminal may establish a communication connection with the proxy server through the proxy client, and the proxy client in the terminal may establish an inter-process communication connection with the application client; the terminal can control the application client to collect the application performance data through the proxy client, and after the application client of the terminal collects the application performance data and transmits the application performance data to the proxy client, the terminal can transmit the application performance data to the proxy server through the proxy client; the proxy server can forward the application performance data to an analysis server, the analysis server analyzes and compiles the application performance data, and stores the analyzed and compiled application performance data in a database to realize the storage of the collected application performance data.
The application client of the terminal in the embodiment of the invention can continuously collect application performance data under the control of the agent client; and the collected high application performance data can be forwarded to the analysis server by the proxy client and the proxy server, and is continuously stored in the database after being analyzed and compiled by the analysis server, so that the application performance data stored in the database is relatively comprehensive, and the purpose of relatively comprehensively storing the application performance data is realized. And the performance defect analysis of the application is carried out based on the application performance data stored in the database, so that the analysis result is more accurate and comprehensive. Therefore, the embodiment of the invention can achieve the purpose of comprehensively storing the collected application performance data, and can provide possibility for improving the accuracy and comprehensiveness of the performance defect analysis result of the application.
Optionally, in the embodiment of the present invention, the establishment of the communication connection may be implemented in a socket manner; fig. 3 shows another signaling flow diagram of an application performance data collection method provided by an embodiment of the present invention, and referring to fig. 3, the flow may include:
step S20, establishing network socket connection between the proxy client and the proxy server;
the proxy client can establish network socket connection with the proxy server to realize the establishment of communication connection between the proxy client and the proxy server;
generally, socket connection is established by mainly initiating a socket client to a socket server; optionally, in the embodiment of the present invention, in the process of establishing a socket connection between the proxy client and the proxy server, the proxy client may be regarded as a client of the socket, and the proxy server may be regarded as a server of the socket;
the embodiment of the invention can create a client of a socket and initiate network socket connection to a proxy server serving as a server of the socket so as to establish network socket connection with the proxy server;
correspondingly, the proxy server can establish a server of the socket and receive a network socket connection initiated by the proxy client as a client of the socket so as to establish the network socket connection with the proxy client.
Step S21, establishing local socket connection between the agent client and the application client;
local socket connection can be established between the agent client and the application client, and the establishment of interprocess communication connection between the agent client and the application client is realized;
optionally, in the embodiment of the present invention, in the process of establishing a local socket connection between the proxy client and the application client, the proxy client may be regarded as a client of a socket, and the application client may be regarded as a server of the socket;
standing at the perspective of a proxy client, the embodiment of the invention can create a client of a socket, and initiate local socket connection to the application client as a server of the socket, so as to establish local socket connection with the application client and establish interprocess communication connection with the application client;
correspondingly, the application client can be used as a server of the socket, receive the local socket connection initiated by the application client, and establish the local socket connection with the application client;
alternatively, there may be no obvious precedence order between step S20 and step S21.
Step S22, the proxy client transmits an application performance data collection instruction to the application client through interprocess communication;
step S23, the application client end responds to the application performance data collecting instruction and collects corresponding application performance data;
step S24, the application client transmits the application performance data to the agent client through inter-process communication;
step S25, the proxy client sends the application performance data to the proxy server;
step S26, establishing socket connection between the proxy server and the analysis server;
a socket connection can be established between the proxy server and the analysis server so as to realize the establishment of the communication connection between the proxy server and the analysis server;
alternatively, step S26 may be pre-performed instead of being performed after step S25.
Optionally, in the embodiment of the present invention, the analysis server may be regarded as a client of the socket, and the proxy server may be regarded as a server of the socket;
standing at the angle of a proxy server, the proxy server can create a server of a socket, receive socket connection initiated by the analysis server as a client of the socket, and establish socket connection with the analysis server; optionally, on one hand, if the proxy server and the analysis server belong to the same server, the proxy server may receive a local socket connection initiated by the analysis server; on the other hand, if the proxy server and the analysis server are independent and different servers, the proxy server can receive a network socket connection initiated by the analysis server;
correspondingly, the analysis server can establish a client of a socket, initiate socket connection to the proxy server serving as a server of the socket, establish the socket connection with the proxy server and establish communication connection with the proxy server from the perspective of the analysis server; optionally, on one hand, if the proxy server and the analysis server belong to the same server, the analysis server may initiate a local socket connection to the proxy server; on the other hand, if the proxy server and the analysis server are independent and different servers, the analysis server may initiate a network socket connection to the proxy server.
Step S27, the proxy server sends the application performance data to an analysis server;
and step S28, the analysis server analyzes and compiles the application performance data and stores the application performance data after analysis and compilation in a database.
If the station views the execution content of the terminal from the perspective of the proxy client, the method for collecting application performance data provided in the embodiment of the present invention may have a signaling flow as shown in fig. 4, and with reference to fig. 4, the signaling flow may include:
step S30, the proxy client establishes communication connection with the proxy server;
step S31, establishing interprocess communication connection between the agent client and the local application client;
optionally, there may be no obvious sequence between step S30 and step S31, that is, the proxy client of the terminal may establish an inter-process communication connection with the local application client and a communication connection with the proxy server;
optionally, the proxy client of the terminal may create a client of the socket, so as to initiate a local socket connection to the application client as a server of the socket, and establish a local socket connection with the application client, so as to establish an inter-process communication connection with the application client; and the proxy client of the terminal can initiate socket connection to a proxy server serving as a server of the socket, and establish the socket connection with the proxy server so as to establish communication connection with the proxy server.
Step S32, the proxy client transmits an application performance data collection instruction to the application client through interprocess communication;
step S33, the proxy client receives the application performance data corresponding to the application performance data collecting instruction collected by the application client through inter-process communication;
step S34, the proxy client sends the application performance data to the proxy server;
step S35, the proxy server sends the application performance data to an analysis server;
and step S36, the analysis server analyzes and compiles the application performance data and stores the application performance data after analysis and compilation in a database.
Optionally, when transmitting the application performance data collection instruction to the application client, the proxy client of the terminal may specify the type of the application performance data to be collected; specifically, the proxy client may transmit an application performance data collection instruction to the application client through inter-process communication, where the application performance data collection instruction may include: type information of application performance data to be collected;
correspondingly, after receiving the application performance data collection instruction, the application client can collect corresponding application performance data according to the type information; after the application client collects the application performance data corresponding to the type information, the agent client can receive the application performance data corresponding to the type information, which is transmitted by the application client, through interprocess communication.
Optionally, the type information of the application performance data to be collected may be preset, or may be adjusted according to an actual situation, for example, if the embodiment of the present invention can set that only the application performance data corresponding to the CPU in the application running process is collected, the embodiment of the present invention can set the type information of the application performance data to be collected as the application performance data corresponding to the CPU;
the type information of the application performance data to be collected may include at least one type of application performance data, such as at least one type of application performance data in the application running process, corresponding application performance data of a CPU in the application running process, corresponding rendering data in the application running process, corresponding resource data in the application running process, and the like.
Optionally, in the embodiment of the present invention, besides collecting application performance data through the application client, the collection of application performance related data may also be realized through the proxy client of the terminal, where the application performance related data includes at least one type of data in the PSS in the memory during the application operation process, the CPU utilization ratio of the test process, the terminal configuration information, the application name, the application development version, the application screen capture, and the like;
the application performance related data collected by the agent client of the terminal can be transmitted to the agent server along with the collected application performance data; the proxy server transmits the application performance related data and the application performance data to the analysis server at the same time, so that the analysis server analyzes and compiles the application performance related data and the application performance data at the same time, and stores the analyzed and compiled application performance related data and the application performance data in a database at the same time;
correspondingly, fig. 5 shows another signaling flow diagram of the application performance data collection method provided by the embodiment of the present invention, and referring to fig. 5, the flow may include:
step S40, the proxy client establishes communication connection with the proxy server;
step S41, establishing interprocess communication connection between the agent client and the local application client;
step S42, the proxy client transmits an application performance data collection instruction to the application client through interprocess communication; collecting application performance related data through adb (debug bridge) commands;
adb is called Android Debug Bridge in its entirety, which acts as a Debug Bridge; android programs can be debugged in Eclipse conveniently through a DDMS through adb; in the embodiment of the invention, the proxy client of the terminal can call the operating system interface of the terminal through the dab command so as to acquire the data file related to the application operation, and the data related to the application performance is collected from the data file;
specifically, the agent client can call an operating system interface of the terminal through an adb command, and determine an identifier of the application performance related data to be collected through the identifier of the application client; calling a data file corresponding to the identifier through the operating system interface, and collecting the data related to the application performance from the data file;
data files such as configuration files of the terminal, name files of the application, application development version files, and the like.
Step S43, the proxy client receives the application performance data corresponding to the application performance data collecting instruction collected by the application client through inter-process communication, and determines the collected application performance related data;
step S44, the proxy client sends the application performance data and the application performance related data to the proxy server;
step S45, the proxy server sends the application performance data and the application performance related data to an analysis server;
compared with other signaling flows, the embodiment of the invention can send the application performance data to the analysis server through the proxy server and can also send the application performance related data to the proxy server; to send the application performance data and the application performance related data to an analysis server via a proxy server.
And step S46, the analysis server analyzes and compiles the application performance data and the application performance related data, and stores the analyzed and compiled application performance data and the application performance related data in a database.
Therefore, the analysis server can analyze and compile the application performance related data while analyzing and compiling the application performance data, and can store the application performance related data after analyzing and compiling while storing the application performance data after analyzing and compiling in the database.
In the embodiment of the invention, along with the operation of the application at the terminal, the application client can continuously collect application performance data and transmit the application performance data to the proxy client of the terminal through interprocess communication, and the proxy client of the terminal can also continuously collect application performance related data; the proxy client of the terminal can continuously transmit the application performance data and the application performance related data to the proxy server through the socket; the proxy server can continuously forward the application performance data and the application performance related data transmitted by the proxy client to the analysis server through the socket; the analysis server continuously analyzes and compiles the application performance data and the application performance related data, and continuously stores the application performance data and the application performance related data after the analysis and compilation in a database; then, as time goes on and the application runs continuously, a large amount of application performance data and application performance related data are recorded in the database over time, so that the application performance data can be comprehensively stored, and favorable big data support is provided for application performance defect analysis and application improvement.
Optionally, the application according to the embodiment of the present invention may be an application developed based on Unity, such as a Unity game application (i.e., a game application developed by Unity); unity is a multi-platform, generalized game development tool developed by Unity Technologies that can create types of interactive content such as three-dimensional video games, building visualizations, real-time three-dimensional animations, etc., and is generally used as a fully integrated professional game engine; taking the application as the Unity game application as an example, the embodiment of the invention can realize the collection and the storage of the game performance data of the Unity game application,
correspondingly, the application client in the process provided by the invention can be a Unity game client, and the Unity game client can collect game performance data in the running process of the Unity game; the analysis server can be a Unity Profiler (analyzer) server, and the Unity Profiler can be regarded as a Unity self-contained plug-in and can be used for analyzing and compiling game performance data of a Unity game, even for analyzing performance defects;
taking the Unity game application as an example, table 1 below shows an alternative example of application performance data collected by an application client, and application performance-related data collected by an agent client, which can be referred to.
Figure BDA0001014617970000131
TABLE 1
Optionally, if the application performance data collection method provided in the embodiment of the present invention is described in terms of a proxy server, the proxy server may establish a communication connection with a proxy client of the terminal and a communication connection with the analysis server; the proxy server can acquire application performance data sent by the proxy client of the terminal, and the application performance data is collected by the application client of the terminal and is transmitted to the proxy client of the terminal so that the proxy client of the terminal sends the application performance data to the proxy server; the proxy server sends the application performance data to the analysis server so that the analysis server can analyze and compile the application performance data and store the analyzed and compiled application performance data in a database;
optionally, if the proxy client is capable of collecting the application performance related data, the proxy server may further receive the application performance related data collected by the proxy client of the terminal, where the application performance related data is collected by the proxy client through an adb command; and the proxy server may send the application performance data to the analysis server and send the application performance related data to the analysis server, so that the analysis server analyzes and compiles the application performance data while analyzing and compiling the application performance data, and the analysis server stores the analyzed and compiled application performance related data in a database.
Optionally, if the application performance data collection method provided in the embodiment of the present invention is described in terms of an analysis server, the analysis server may establish a communication connection with the proxy server; the analysis server can receive the application performance data sent by the proxy server; the application performance data is collected by an application client of the terminal and transmitted to a proxy client of the terminal, so that the proxy client of the terminal sends the application performance data to the proxy server; and the analysis server can analyze and compile the application performance data and store the application performance data after analysis and compilation in a database.
Optionally, if the proxy client is capable of collecting data related to application performance, the analysis server may further receive data related to application performance sent by the proxy server, where the data related to application performance is collected by the proxy client through an adb command and then sent to the proxy server; therefore, the analysis server can analyze and compile the application performance related data while analyzing and compiling the application performance data, and store the analyzed and compiled application performance related data while storing the analyzed and compiled application performance data in the database.
Optionally, the application performance data collected by the application client is generally in a binary form, and the binary data is difficult for an analyst to view and understand, so that the analysis server can analyze and compile the application performance data into data in a predetermined format after receiving the binary application performance data, and obtain the analyzed and compiled application performance data; the predetermined format may be a data format that is convenient for an analyst to view and understand, such as a text format; the principle of the analysis server for analyzing and compiling the application performance related data is similar.
It is worth noting that an application performance data collection mode exists at present, which is to establish communication connection between an application client such as a Unity game client of a terminal and an analyzer for analyzing such as Unity Profile of a PC terminal, so that the Unity game client collects application performance data and then transmits the application performance data to the Unity Profile, and the Unity Profile analyzes the application performance data; however, the Unity Profile does not have data storage capability, so that the data obtained by the Unity Profile analysis only corresponds to the application performance data collected by the Unity game client at one time, that is, the data range which can be provided by the Unity Profile at one time is the application performance data range collected by the Unity game client at one time, and the data range which can be provided by the Unity Profile cannot be further improved to provide more comprehensive application performance data;
based on this, the embodiment of the invention can enable the analysis server to have the capability of writing the compiled and analyzed application performance data (or the application performance data and the application performance related data) into the database through the extended function provided by the Unity Profile and other analysis servers, so that the database can continuously store the result of each time of analysis and compilation by the Unity Profile and other analysis servers, and more comprehensive application performance data can be stored;
specifically, the embodiment of the invention can set the predetermined write script through the expansion function of the Unity Profile and other analysis servers; when the analysis server obtains the application performance data after analysis and compilation every time, the analysis server can execute a preset write script set through an extended function, position a database position pre-recorded by the preset write script, execute write operation in the preset write script, write the application performance data after analysis and compilation into the database so as to continuously write the application performance data after analysis and compilation into the database, and enable the database to store more comprehensive application performance data; the principle of storing application performance related data in a database is similar;
alternatively, the database may be a MYSQL database.
Optionally, the web server may request and display the application performance related data stored in the database, so as to perform application performance defect analysis through the displayed application performance related data;
fig. 6 shows yet another signaling flow diagram of an application performance data collection method provided by an embodiment of the present invention, and referring to fig. 6, the flow may include:
step S50, the proxy client establishes communication connection with the proxy server;
step S51, establishing interprocess communication connection between the agent client and the application client;
step S52, the proxy client transmits an application performance data collection instruction to the application client through interprocess communication;
step S53, the application client end responds to the application performance data collecting instruction and collects corresponding application performance data;
step S54, the application client transmits the application performance data to the agent client through inter-process communication;
step S55, the proxy client sends the application performance data to the proxy server;
step S56, the proxy server sends the application performance data to an analysis server;
step S57, the analysis server analyzes and compiles the application performance data and stores the application performance data after analysis and compilation in a database;
step S58, the web server requests the application performance data saved in the database;
and step S59, the web server displays the application performance data acquired from the database.
Optionally, the web server may display the obtained application performance data in a time sequence in a chart form (for example, the application performance data may be displayed in a collection time sequence of the application performance data, and the collection time of the application performance data may be carried in the collected application performance data during the process of collecting the application performance data);
optionally, the application performance data may be displayed in a window manner; the embodiment of the invention can display the overall situation of the acquired application performance data in a preset overall summary window by setting a summary chart and displaying the overall summary chart of the application performance data; displaying the corresponding types of application performance data in a setting chart in a window of each type of application performance data, and displaying a condition chart of each type of application performance data;
fig. 7 is a schematic diagram showing various types of application performance data in windows of various types of application performance data, and as can be seen from fig. 7, a window of application performance data of a corresponding type of CPU, a window of application performance data of a corresponding type of memory, and a window of application performance data of a corresponding type of rendering data are in one interface, but different types of application performance data are shown through different windows.
When the application performance data is displayed, the embodiment of the invention can also give a defect analysis result of the application performance data based on the displayed application performance data; optionally, the web server may analyze a fluctuation condition and a time period corresponding to the application performance data segment with the performance defect from the overall summary chart of the application performance data; further analyzing the condition chart of each type of application performance data in the time period to obtain the fluctuation condition of each type of application performance data in the time period; determining target type application performance data corresponding to the fluctuation situation analyzed from the overall overview chart in the fluctuation situation of the time period; the target type application performance data in the time period can be used as a defect analysis positioning result of the application performance data so as to analyze a performance defect source of the application performance data.
Taking a certain flight shooting game as an example, if the intuitive feeling given to a user by the flight shooting game is obvious jamming in a fighting process, the embodiment of the invention can realize the comprehensive storage of application performance data in the game process, and carries out analysis based on the stored application performance data; the specific application process of the embodiment scheme of the invention in the flying shooting game can be as follows:
the embodiment of the invention can realize the collection, storage and display of the game performance data of the flight shooting game through the architecture shown in FIG. 8;
the web server may obtain the overall performance summary result from the game performance data stored in the database and through the overall summary chart of the game performance data displayed in the predetermined overall summary window, as shown in fig. 9, the fps values of the time axes [300, 1000], [2100, 2800] during the game battle are small, and the overall fluctuation is large;
further, the CPU report can be analyzed from the window of the game performance data of the corresponding type of the CPU; as shown in FIG. 10, the analyzed influence on the fps of the game is mainly the time consumption of each module of the game, and as can be seen from the time consumption distribution, the script and the rendering time consumption are higher in the battle process. Analyzing 782 seconds of data in a fixed point manner, wherein the average fps tie value of a current point is 12.1, rendering time consumption and script time consumption are high, further analyzing 782 seconds, and a proxy client collects 10 frames of data at the point, wherein the time consumption of the 3 rd frame is the most, further analyzing the data of the 3 rd frame, and checking the function time consumption condition of the frame; wherein, the time consumption of the Camera.render function is the most, and the proportion is up to 31.8%; therefore, the time consumption in the whole camera.render can be further checked, as shown in fig. 11, it can be seen that each frame of time consumption of the function is concentrated in [10, 20] ms, the fluctuation trend is basically consistent with the overall fluctuation trend of fps, the problem of resources in a scene is illustrated, and a developer can be guided to check the problem of resources such as the number of faces, special effects and the like of a model in the scene;
analyzing the rendering report from the window of the game performance data of the rendering data type; as shown in fig. 12, in the battle process, the fluctuation of DrawCall and the area index is highly consistent with the overall fluctuation condition of fps, and the conclusion obtained above is further verified, that fps is too low due to the problem of resources, so as to guide the art personnel to optimize the resources in the scene.
The embodiment of the invention can realize the storage of more comprehensive application performance data, and provides possibility for analyzing the application performance problem from the perspective of global comparison, transverse comparison and longitudinal comparison; meanwhile, only the operation interface and the Web page of the proxy client interact with the user in the embodiment of the invention, so that the threshold of the use of the user is reduced, and the operation interface of the proxy client can be as shown in FIG. 13.
Referring to fig. 14, a structural block diagram of a proxy client according to an embodiment of the present invention is shown, where the proxy client may include:
a first communication connection module 100, configured to establish an interprocess communication connection with a local application client, and establish a communication connection with a proxy server; the agent client and the application client are loaded in the same terminal;
an instruction transmission module 110, configured to transmit an application performance data collection instruction to the application client through inter-process communication;
a performance data first receiving module 120, configured to receive, through inter-process communication, application performance data corresponding to the application performance data collecting instruction, which is collected by the application client;
a performance data first sending module 130, configured to send the application performance data to an analysis server through the proxy server, so that the analysis server analyzes and compiles the application performance data, and the analysis server stores the analyzed and compiled application performance data in a database.
Optionally, the instruction transmission module 110 may be specifically configured to: transmitting an application performance data collection instruction to the application client through inter-process communication, wherein the application performance data collection instruction comprises: type information of application performance data to be collected;
the performance data first receiving module 120 may be specifically configured to: and after the application client collects the application performance data corresponding to the type information, receiving the application performance data corresponding to the type information transmitted by the application client through interprocess communication.
Optionally, the proxy client may also collect application performance related data through an adb command; and sending the application performance data to an analysis server through the proxy server, and sending the application performance related data to the analysis server through the proxy server, so that the analysis server analyzes and compiles the application performance data while analyzing and compiling the application performance related data, and the analysis server stores the analyzed and compiled application performance related data while storing the analyzed and compiled application performance data in a database.
The following introduces an analysis server provided by an embodiment of the present invention; fig. 15 is a block diagram of an analysis server according to an embodiment of the present invention, and referring to fig. 15, the analysis server may include:
a second communication connection module 200, configured to establish a communication connection with the proxy server;
a second performance data receiving module 210, configured to receive application performance data sent by the proxy server; the application performance data is collected by an application client of the terminal and transmitted to a proxy client of the terminal, so that the proxy client of the terminal sends the application performance data to the proxy server;
and the compiling and storing module 220 is used for analyzing and compiling the application performance data and storing the application performance data after analyzing and compiling in a database.
Optionally, the analysis server may be further configured to:
receiving application performance related data sent by the proxy server, wherein the application performance related data is collected by the proxy client through an adb command and then sent to the proxy server; analyzing and compiling the application performance related data while analyzing and compiling the application performance data, and storing the analyzed and compiled application performance related data while storing the analyzed and compiled application performance data in a database.
Optionally, when analyzing and compiling the application performance data, the compiling and storing module 220 may be specifically configured to: analyzing and compiling the application performance data in the binary format to obtain application performance data in a preset format; the preset format is a set format capable of displaying data.
When the compiling and storing module 220 stores and analyzes the compiled application performance data in the database, it can be specifically used to: when the application performance data after analysis and compilation is obtained each time, executing a preset write script set through an extended function, positioning a database position pre-recorded by the preset write script, executing write operation in the preset write script, and writing the application performance data after analysis and compilation into the database so as to continuously write the application performance data after analysis and compilation into the database.
The web server provided by the embodiment of the invention is introduced below; fig. 16 is a block diagram of a web server according to an embodiment of the present invention, and referring to fig. 16, the web server may include:
a data request module 300, configured to request application performance related data stored in a database;
and the presentation module 310 is configured to present, in a graph form, the application performance data obtained from the database in a time sequence.
Optionally, the display module 310 may be specifically configured to: displaying the overall situation of the acquired application performance data in a set summary chart in a preset overall summary window, and showing the overall summary chart of the application performance data; and displaying the application performance data of the corresponding type by using a setting chart in the window of the application performance data of each type, and displaying the condition chart of the application performance data of each type.
Optionally, the web server may be further configured to: analyzing the fluctuation condition and the time period corresponding to the application performance data section with the performance defect from the overall summary chart of the application performance data; analyzing the condition chart of each type of application performance data in the time period to obtain the fluctuation condition of each type of application performance data in the time period; and determining target type application performance data of which the fluctuation situation in the time period corresponds to the fluctuation situation analyzed from the overall overview chart.
In the following, the proxy server provided in the embodiment of the present invention is described, and a structure of the proxy server provided in the embodiment of the present invention may be as shown in fig. 17, where the structure includes:
a third communication connection module 400, configured to establish a communication connection with a proxy client of the terminal and a communication connection with the analysis server;
a performance data obtaining module 410, configured to obtain application performance data sent by a proxy client of the terminal; the application performance data is collected by an application client of the terminal and transmitted to a proxy client of the terminal, so that the proxy client of the terminal sends the application performance data to the proxy server;
a second sending module 420 of performance data, configured to send the application performance data to the analysis server, so that the analysis server analyzes and compiles the application performance data, and the analysis server stores the analyzed and compiled application performance data in a database.
Optionally, the proxy server may be further configured to: receiving application performance related data collected by a proxy client of the terminal, wherein the application performance related data is collected by the proxy client through an adb command; and sending the application performance data to the analysis server and sending the application performance related data to the analysis server, so that the analysis server analyzes and compiles the application performance data while analyzing and compiling the application performance data, and the analysis server stores the analyzed and compiled application performance related data in a database.
The following describes an application performance data collection system provided by an embodiment of the present invention, and an architecture of the system may be as shown in fig. 1, where the system includes: a proxy client 12, an application client 11, a proxy server 21 and an analysis server 22; the agent client and the application client are loaded in the same terminal;
the proxy client is used for establishing interprocess communication connection with the application client and establishing communication connection with the proxy server; transmitting an application performance data collection instruction to the application client through interprocess communication; receiving application performance data corresponding to the application performance data collection instruction collected by the application client through interprocess communication; sending the application performance data to the proxy server;
the application client is used for receiving an application performance data collection instruction transmitted by the agent client through interprocess communication, collecting corresponding application performance data and transmitting the collected application performance data to the agent client through interprocess communication;
the proxy server is used for establishing communication connection with the analysis server; acquiring application performance data sent by the proxy client; sending the application performance data to the analysis server;
the analysis server is used for receiving the application performance data sent by the proxy server; analyzing and compiling the application performance data, and storing the analyzed and compiled application performance data in a database.
Optionally, fig. 18 shows another schematic architecture diagram of the application performance data collection system provided in the embodiment of the present invention, and in combination with fig. 1 and fig. 18, the system may further include: and the web server 30 is used for requesting the application performance data stored in the database and displaying the application performance data acquired from the database in a chart form according to a time sequence.
It is to be noted that any application performance data collection method, proxy client, proxy server, analysis server, and web server provided in the embodiments of the present invention may be implemented based on the application performance data collection system provided in the embodiments of the present invention.
The embodiment of the invention can realize the storage of more comprehensive application performance data, and provides possibility for analyzing the application performance problem from the perspective of global comparison, transverse comparison and longitudinal comparison; meanwhile, only the operation interface and the Web page of the proxy client interact with the user in the embodiment of the invention, so that the use threshold of the user is reduced.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (21)

1. An application performance data collection system, comprising: the system comprises a proxy client, an application client, a proxy server and an analysis server; the agent client and the application client are loaded in the same terminal, and the application in the application client is developed based on Unity;
the proxy client is used for establishing interprocess communication connection with the application client and establishing communication connection with the proxy server; transmitting an application performance data collection instruction to the application client in the running process of the application through interprocess communication; receiving application performance data corresponding to the application performance data collection instruction collected by the application client through interprocess communication; sending the application performance data to the proxy server;
the application client is used for receiving an application performance data collection instruction transmitted by the agent client through interprocess communication, collecting corresponding application performance data and transmitting the collected application performance data to the agent client through interprocess communication;
the proxy server is used for establishing communication connection with the analysis server; acquiring application performance data sent by the proxy client; sending the application performance data to the analysis server;
the analysis server is used for receiving the application performance data sent by the proxy server; analyzing and compiling the application performance data, and storing the analyzed and compiled application performance data in a database;
wherein, still include: the web server is used for requesting the application performance data stored in the database, displaying the overall situation of the acquired application performance data in a preset overall summary window by using a set summary chart and displaying the overall summary chart of the application performance data; displaying the corresponding types of application performance data in a setting chart in a window of each type of application performance data, and displaying a condition chart of each type of application performance data; analyzing the fluctuation condition and the time period corresponding to the application performance data section with the performance defect from the overall summary chart of the application performance data; analyzing the condition chart of each type of application performance data in the time period to obtain the fluctuation condition of each type of application performance data in the time period; and determining target type application performance data corresponding to the fluctuation condition analyzed from the overall summary chart in the time period, wherein the target type application performance data in the time period are used as a defect analysis positioning result of the application performance data, so that a performance defect source of the application performance data is analyzed.
2. The application performance data collection system of claim 1, wherein the proxy client establishes a local socket connection with the application client and a network socket connection with the proxy server;
if the proxy server and the analysis server belong to the same server, the proxy server and the analysis server establish local socket connection; and if the proxy server and the analysis server are independent and different servers, establishing network socket connection between the proxy server and the analysis server.
3. The application performance data collection system of claim 1, wherein the proxy client, when transmitting the application performance data collection instruction to the application client via inter-process communication, is specifically configured to:
transmitting an application performance data collection instruction to the application client through inter-process communication, wherein the application performance data collection instruction comprises: type information of application performance data to be collected;
when the proxy client receives, through inter-process communication, the application performance data corresponding to the application performance data collection instruction collected by the application client, the proxy client is specifically configured to:
and after the application client collects the application performance data corresponding to the type information, receiving the application performance data corresponding to the type information transmitted by the application client through interprocess communication.
4. The application performance data collection system of claim 1, wherein the proxy client is further configured to collect application performance related data via a debug bridge adb command; sending the application performance related data to the proxy server while sending the application performance data to the proxy server;
the proxy server is further used for sending the application performance data to the analysis server and sending the application performance related data to the analysis server;
the analysis server is further configured to analyze and compile the application performance related data while analyzing and compiling the application performance data, and store the analyzed and compiled application performance related data while storing the analyzed and compiled application performance data in a database.
5. The application performance data collection system of claim 1, wherein the application performance data is in binary format; when analyzing and compiling the application performance data, the analysis server is specifically configured to:
analyzing and compiling the application performance data in the binary format to obtain application performance data in a preset format; the preset format is a set format capable of displaying data.
6. The application performance data collection system of claim 1, wherein the analysis server, when storing the analysis compiled application performance data in the database, is specifically configured to:
when the analysis server obtains the application performance data after analysis and compilation every time, the analysis server executes a preset write script set through an extended function, positions a database position pre-recorded by the preset write script, executes write operation in the preset write script, and writes the application performance data after analysis and compilation into the database so as to continuously write the application performance data after analysis and compilation into the database.
7. An application performance data collection method applied to a proxy client based on the application performance data collection system of claim 1, the method comprising:
establishing inter-process communication connection with a local application client and establishing communication connection with a proxy server; the agent client and the application client are loaded in the same terminal;
transmitting an application performance data collection instruction to the application client in the running process of the application through interprocess communication;
receiving application performance data corresponding to the application performance data collection instruction collected by the application client through interprocess communication;
and sending the application performance data to an analysis server through the proxy server so that the analysis server analyzes and compiles the application performance data and stores the analyzed and compiled application performance data in a database.
8. The method of claim 7, wherein establishing an interprocess communication connection with a local application client comprises:
creating a client of a socket, initiating local socket connection to the application client serving as a server of the socket, and establishing local socket connection with the application client;
the establishing communication connection with the proxy server comprises the following steps:
initiating network socket connection to a proxy server serving as a server of the socket, and establishing the network socket connection with the proxy server.
9. The method of claim 7, wherein transmitting an application performance data collection instruction to the application client via inter-process communication comprises:
transmitting an application performance data collection instruction to the application client through inter-process communication, wherein the application performance data collection instruction comprises: type information of application performance data to be collected;
the receiving, through inter-process communication, the application performance data corresponding to the application performance data collection instruction collected by the application client includes:
and after the application client collects the application performance data corresponding to the type information, receiving the application performance data corresponding to the type information transmitted by the application client through interprocess communication.
10. The application performance data collection method of claim 7, further comprising:
collecting application performance related data through a debug bridge adb command;
and sending the application performance data to an analysis server through the proxy server, and sending the application performance related data to the analysis server through the proxy server, so that the analysis server analyzes and compiles the application performance data while analyzing and compiling the application performance data, and the analysis server stores the analyzed and compiled application performance related data in a database.
11. The method of claim 10, wherein the collecting application performance related data via an adb command comprises:
calling an operating system interface of the terminal through an adb command;
and calling a data file corresponding to the identifier of the application client through the operating system interface, and collecting the application performance related data from the data file.
12. An application performance data collection method applied to an analysis server based on the application performance data collection system of claim 1, the method comprising:
establishing communication connection with a proxy server;
receiving application performance data sent by the proxy server; the application performance data is transmitted to an application client of the terminal by the proxy client of the terminal in the running process of the application, and the application client of the terminal collects and transmits the application performance data to the proxy client of the terminal so as to send the application performance data to the proxy server by the proxy client of the terminal;
analyzing and compiling the application performance data, and storing the analyzed and compiled application performance data in a database.
13. The application performance data collection method of claim 12, wherein establishing a communication connection with a proxy server comprises:
creating a client of a socket, initiating socket connection to the proxy server serving as a server of the socket, and establishing socket connection with the proxy server.
14. The method of claim 13, wherein initiating a socket connection to the proxy server as a server of a socket comprises:
if the proxy server and the analysis server belong to the same server, initiating a local socket connection to the proxy server;
or if the proxy server and the analysis server are independent and different servers, initiating network socket connection to the proxy server.
15. The application performance data collection method of claim 12, further comprising:
receiving application performance related data sent by the proxy server, wherein the application performance related data is collected by the proxy client through a debug bridge adb command and then sent to the proxy server;
analyzing and compiling the application performance related data while analyzing and compiling the application performance data, and storing the analyzed and compiled application performance related data while storing the analyzed and compiled application performance data in a database.
16. The application performance data collection method of claim 12, wherein the application performance data is in a binary format; the analyzing and compiling the application performance data comprises:
analyzing and compiling the application performance data in the binary format to obtain application performance data in a preset format; the preset format is a set format capable of displaying data.
17. The method of claim 12, wherein storing the application performance data in the database comprises:
when the application performance data after analysis and compilation is obtained each time, executing a preset write script set through an extended function, positioning a database position pre-recorded by the preset write script, executing write operation in the preset write script, and writing the application performance data after analysis and compilation into the database so as to continuously write the application performance data after analysis and compilation into the database.
18. An application performance data collection method applied to a web server based on the application performance data collection system of claim 1, the method comprising:
requesting application performance related data stored in a database;
and displaying the application performance data acquired from the database in a chart form according to a time sequence.
19. A proxy client, based on the application performance data collection system of claim 1, comprising:
the first communication connection module is used for establishing interprocess communication connection with a local application client and establishing communication connection with a proxy server; the agent client and the application client are loaded in the same terminal;
the instruction transmission module is used for transmitting an application performance data collection instruction to the application client in the running process of the application through interprocess communication;
the first performance data receiving module is used for receiving application performance data which is collected by the application client and corresponds to the application performance data collecting instruction through interprocess communication;
and the performance data first sending module is used for sending the application performance data to an analysis server through the proxy server so that the analysis server analyzes and compiles the application performance data and stores the analyzed and compiled application performance data in a database.
20. An analysis server, based on the application performance data collection system of claim 1, comprising:
the second communication connection module is used for establishing communication connection with the proxy server;
the second receiving module of the performance data is used for receiving the application performance data sent by the proxy server; the application performance data is transmitted to an application client of the terminal by the proxy client of the terminal in the running process of the application, and the application client of the terminal collects and transmits the application performance data to the proxy client of the terminal so as to send the application performance data to the proxy server by the proxy client of the terminal;
and the compiling and storing module is used for analyzing and compiling the application performance data and storing the application performance data after analyzing and compiling in a database.
21. A web server, based on the application performance data collection system of claim 1, comprising:
the data request module is used for requesting the application performance related data stored in the database;
and the display module is used for displaying the application performance data acquired from the database in a chart form according to a time sequence.
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 CN106130753A (en) 2016-11-16
CN106130753B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110769455B (en) 2018-07-26 2022-05-31 华为技术有限公司 Data collection method, equipment 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
CN110493074B (en) * 2019-07-19 2021-02-02 珠海金山网络游戏科技有限公司 Method and system for testing server and client
CN111726401B (en) * 2020-06-09 2023-05-26 北京天空卫士网络安全技术有限公司 File transmission method and device
CN116510285A (en) * 2023-05-08 2023-08-01 北京畅游天下网络技术集团有限公司 Game performance data acquisition method and system

Citations (4)

* 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
CN102611717A (en) * 2011-01-19 2012-07-25 中国移动通信集团公司 Service data sending method and system, client-side agent and server agent
CN104426945A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Method and system for acquiring application performance data, and device
CN105187554A (en) * 2015-09-29 2015-12-23 北京京东尚科信息技术有限公司 Method and system for monitoring server performance

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101788387B (en) * 2010-03-17 2012-09-05 中国测试技术研究院声学研究所 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
CN102546235B (en) * 2011-12-12 2014-08-27 华中科技大学 Performance diagnosis method and system of web-oriented application under cloud computing environment
CN103248651B (en) * 2012-02-09 2016-02-24 腾讯科技(深圳)有限公司 A kind of method and system of performance monitoring and client and server
CN103023969A (en) * 2012-11-15 2013-04-03 北京搜狐新媒体信息技术有限公司 Cloud platform scheduling method and system
CN104767689B (en) * 2014-01-07 2018-11-09 腾讯科技(深圳)有限公司 Control method and server that network accesses access amount
CN105068876B (en) * 2015-07-01 2017-12-08 北京博睿宏远数据科技股份有限公司 Method based on distributed deployment prototype collection cell phone application performance data
CN105591838A (en) * 2015-12-16 2016-05-18 成都科来软件有限公司 Time axis display method and device for displaying real-time network performance data

Patent Citations (4)

* 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
CN102611717A (en) * 2011-01-19 2012-07-25 中国移动通信集团公司 Service data sending method and system, client-side agent and server agent
CN104426945A (en) * 2013-08-27 2015-03-18 腾讯科技(深圳)有限公司 Method and system for acquiring application performance data, and device
CN105187554A (en) * 2015-09-29 2015-12-23 北京京东尚科信息技术有限公司 Method and system for monitoring server performance

Also Published As

Publication number Publication date
CN106130753A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106130753B (en) Application performance data collection system and method, proxy client and related server
CN108900776B (en) Method and apparatus for determining response time
CN106557424B (en) Memory test method, tested terminal, test client and system
CN107025165B (en) Game automation test method and related device
CN104765678B (en) The method and device tested the application on mobile terminal device
CN111309279B (en) Multi-screen interactive display method and device
CN110008110B (en) User interface testing method and device
US11080844B2 (en) System and method for testing an electronic device
CN107967206B (en) Data test system, request interception method and request interception device
CN108228444B (en) Test method and device
CN107370740A (en) Redirect hold-up interception method and device
CN108830153A (en) For the auth method of recognition of face, device, equipment and storage medium
US20150082286A1 (en) Real-time code instrumentation
CN104598369A (en) Method and device for monitoring software in mobile device
CN111949509A (en) Application software response time testing method, device, equipment and storage medium
CN110908864A (en) Equipment blocking processing method, device, equipment and medium
EP2731015A2 (en) Computer infrastructure performance system
CN108965905B (en) Live broadcast data stream pushing and method and device for providing and acquiring stream pushing address
CN114217803A (en) Page function problem processing method and device and electronic equipment
CN112685299B (en) Automatic test method, device, electronic equipment and readable storage medium
CN112241356B (en) Page test method, device, equipment and storage medium
CN112306857A (en) Method and apparatus for testing applications
Horn et al. Native vs web apps: Comparing the energy consumption and performance of android apps and their web counterparts
CN109995607B (en) Method for testing flow overhead, terminal, server and computer storage medium
CN115278328B (en) Video cross-screen transmission system and method

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