[go: up one dir, main page]

CN107888690A - The statistical method and system of response time - Google Patents

The statistical method and system of response time Download PDF

Info

Publication number
CN107888690A
CN107888690A CN201711142198.7A CN201711142198A CN107888690A CN 107888690 A CN107888690 A CN 107888690A CN 201711142198 A CN201711142198 A CN 201711142198A CN 107888690 A CN107888690 A CN 107888690A
Authority
CN
China
Prior art keywords
timestamp
time
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.)
Pending
Application number
CN201711142198.7A
Other languages
Chinese (zh)
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.)
Shenzhen Spring Sports Management Co Ltd
Original Assignee
Shenzhen Spring Sports Management 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 Shenzhen Spring Sports Management Co Ltd filed Critical Shenzhen Spring Sports Management Co Ltd
Priority to CN201711142198.7A priority Critical patent/CN107888690A/en
Publication of CN107888690A publication Critical patent/CN107888690A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3452Performance evaluation by statistical analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Hardware Design (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of statistical method of response time, it is related to field of computer technology, by after the operation of application program is detected, and operation loading it is complete when, various process passage time stamp inside program is marked, and the timestamp according to record calculates the short time consumption of various process when program responds and is stored in local.The invention also discloses a kind of statistical system of response time, on the one hand can be in order to the detail time of excessively each step process inside developer's understanding program, on the other hand it intuitively can feed back user and load the successful time completely to data from operation, improve statistical accuracy.

Description

The statistical method and system of response time
Technical field
The present invention relates to the statistical method and system of field of computer technology, more particularly to a kind of response time.
Background technology
In the development process of application program, in order to judge level of application stability and fluency, it is often necessary to count The response time of some page in application program.Since the response time be to be counted being clicked on some page after the operation such as button When, loaded completely to page data and successfully terminate timing, counting the difference of the two timing can show that the page of application program rings Between seasonable.
The mode of existing statistics page response time includes following two:
First is by setting code inside application program, a timestamp is recorded when program starts, during EP (end of program) A timestamp is re-recorded, two times subtract each other the basic time as page program response, but this statistical can only Count internal thread run time, intuitively can not feed back since user operation to data load successful completely when Between;
Second is to utilize testing tool, manual test.That is, testing tool is manually booted simultaneously from click application buttons to open Beginning timing, loaded completely to page data and successfully terminate testing tool manually again and terminate timing, counting the two time differences can obtain Go out the page response time of application program.But this method statistic error is larger, precisely and can not enough know internal each The detail time of individual stage loading consumption.
The content of the invention
It is a primary object of the present invention to provide the statistical method and system of a kind of response time, can solve prior art In in the response time of the statistics application program page, not accurate enough the technical problem of timing statisticses.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of statistical method of response time, the side Method includes:
When detecting the operation to application program, the client encapsulation response operation requests, by the response operation requests and Current very first time stamp is sent to server;
The server sends data inquiry request according to response operation requests to database;
The data inquired that the server returns to the database received, are sent to the client;
Data described in the client record reception are simultaneously loaded, and the second current timestamp are recorded after loaded, and count The difference of the very first time stamp and second timestamp is calculated, obtains the response time corresponding to the operation.
Second aspect of the embodiment of the present invention provides a kind of statistical system of response time, and the system includes:
Client and server;
Wherein, the client, for when detecting the operation to application program, encapsulation to respond operation requests, by the response Operation requests and stamp of the current very first time are sent to server;
The server, for according to response operation requests, data inquiry request to be sent to database;
The server, for the data inquired for returning to the database received, it is sent to the client;
The client, for recording the reception data and being loaded, the second current timestamp is recorded after loaded, And the difference of the very first time stamp and second timestamp is calculated, obtain the response time corresponding to the operation.
It was found from the embodiments of the present invention, the statistical method and system of a kind of response time provided by the invention, pass through After the operation for detecting application program, and when operation loading is complete, the various process passage time stamp inside program marks Come, the short time consumption of various process when program responds is calculated by the timestamp of record and is stored in local.On the one hand can be with Be easy to developer understand program inside excessively each step process detail time, on the other hand intuitively can feed back user from Operate data and load the successful time completely, improve the accuracy of statistics.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those skilled in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 Fig. 1 is a kind of method flow schematic diagram of the statistical method of response time provided in an embodiment of the present invention;
Fig. 2 is a kind of workflow schematic diagram of the statistical system of response time provided in an embodiment of the present invention.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality It is only part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art The every other embodiment that member is obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Referring to Fig. 1, the method flow that Fig. 1 is a kind of statistical method of response time provided in an embodiment of the present invention is illustrated Figure, this method include:
S101, when detecting the operation to application program, client encapsulation response operation requests will response operation requests and current The very first time stamp be sent to server.
The response operation requests are the response datas for asking the operation to application program.
The response operation requests are specially HTTP(HTTP)Request.
S102, server send data inquiry request according to response operation requests to database.
Wherein, server sends data inquiry request according to operation requests are responded to database, including:
Server records the 3rd current timestamp when receiving response operation requests, and according to very first time stamp and the 3rd Timestamp, is calculated that response operation requests response is time-consuming, and response operation requests response takes encapsulates response operation for client Duration at the time of request between current time.
Further, also include between current time at the time of client encapsulation response operation requests:
Encapsulation is time-consuming, calls time-consuming and first network to take.
Specifically, during client encapsulation response operation requests, record encapsulation ending time stamp, client call service device connect During mouth, record and call initial time stamp and call ending time stamp, when client transmission responds operation requests, record sends response The initial time stamp of operation;
The difference calculated between very first time stamp and encapsulation ending time stamp obtains:Encapsulation is time-consuming;
Calculate and call initial time stamp and call the difference between ending time stamp to obtain:Call time-consuming;
The difference for calculating client transmission response operation requests initial time stamp and the 3rd timestamp obtains:First network takes, Wherein the first networking, which takes, is:Client send response operation requests at the time of and server receive response operation requests between At the time of, i.e. response operation requests are sent using network, it is time-consuming between client to server.
That is, operation requests are responded and are taken and included:Encapsulation is time-consuming, calls time-consuming and first network to take.
Further, server sends data inquiry request to database, also included afterwards according to response operation requests:
After database receives data inquiry request, record the 4th current timestamp and carry out data query, and, it will inquire about To data, the 4th timestamp and inquiry finish when the 5th timestamp be sent to server.
The data inquired that S103, server return to the database received, are sent to client.
Further, the data inquired that server returns to the database received, being sent to client includes:
After server receives data, the 6th current timestamp is recorded.
According to the difference between the 3rd timestamp and the 4th timestamp, the network that server sends data to database is obtained It is time-consuming, and, according to the difference between the 4th timestamp and the 5th timestamp, the time-consuming of data base querying data is obtained, and, According to the difference between the 5th timestamp and the 6th timestamp, the network consumption that database sends data to server lookup is obtained When.
Wherein, server receive response operation requests after, can first to response operation requests carry out signature parsing with And verification, if verification passes through, server sends data inquiry request to database.
Further, server receives data inquiry request at the time of response operation requests are received with database Also include between moment:
Signature parsing is time-consuming, Message Digest Algorithm 5(MD5, Message Digest Algorithm 5)Verification is time-consuming, And second network take.
Specifically, when server carries out signature parsing to request, record parsing initial time stamp and parsing ending time stamp, When server carries out MD5 verifications to request message, record verification initial time stamp and verification ending time stamp, server send number During according to inquiry request, record sends data inquiry request timestamp, and when database receives data inquiry request, record receives data Inquiry request timestamp;
The difference for calculating parsing initial time stamp and parsing between ending time stamp obtains:Signature parsing is time-consuming;
The difference for calculating verification initial time stamp and verifying between ending time stamp obtains:MD5 verifications are time-consuming;
The difference for sending data inquiry request timestamp and receiving between data inquiry request timestamp is calculated to obtain:Second network It is time-consuming, wherein the second network takes and is:Server is sent between data inquiry request receives data inquiry request to database It is time-consuming, i.e. it is time-consuming from server to database using transmitted data on network inquiry request.
That is, server takes to the network of database transmission data and included:Signature parsing is time-consuming, Message Digest 5 the 5th Version verification is time-consuming and the second network takes.
By data, the network that response operation requests response takes, server sends data to database is taken, server is looked into Ask the time-consuming of data, network that database sends from data to server lookup is time-consuming, the 3rd timestamp, the 4th timestamp, the 5th Timestamp, the 6th timestamp and the 7th current timestamp, are sent to client.
Further, client calculates the difference of the second timestamp and the 7th timestamp, obtains server by data transfer To the time-consuming of client.
S104, client record reception data are simultaneously loaded, and the second current timestamp are recorded after loaded, and count The difference of very first time stamp and the second timestamp is calculated, obtains operating the corresponding response time.
Wherein, the client record reception data and process loaded includes:Loading of the client to data and The page is rendered;
Further, further comprises between at the time of client receives data and at the time of loaded:
Data loading is time-consuming and page rendering takes.
Specifically, when client is according to the data loading page inquired, record data loading initial time stamp and data Ending time stamp is loaded, when client is according to the data render page inquired, records page rendering initial time stamp and the page Render ending time stamp.
The difference calculated between data loading initial time stamp and data loading ending time stamp obtains:Data loading consumption When.
The difference calculated between page rendering initial time stamp and page rendering ending time stamp obtains:Page rendering consumes When.
Further, client will respond operation requests and respond the network consumption that time-consuming, server sends data to database When, the time-consuming of server lookup data, database network from data to server lookup that send is time-consuming, server is by data transfer To the time-consuming of client, data loading is time-consuming and page rendering takes and is stored in local journal file.
Further, client will stab the very first time, the second timestamp, the 3rd timestamp, the 4th timestamp, the 5th time Stamp, the 6th timestamp and the 7th timestamp are stored in journal file.
When the statistics for detecting the response time instructs, the response short time consumption of instruction statistics is instructed according to statistics, and Timestamp corresponding with response short time consumption, calculates response short time consumption in each timestamp of preservation.
In embodiments of the present invention, by after the operation of application program is detected, and when operation loading is complete, program Internal various process passage time stamp is marked, the consumption of various process when the timestamp according to record calculates program response When the time and be stored in local.On the one hand can in order to developer understand program inside excessively each step process detail time, On the other hand it intuitively can feed back user and load the successful time completely to data from operation.
Referring to Fig. 2, the workflow that Fig. 2 is a kind of statistical system of response time provided in an embodiment of the present invention is illustrated Figure.
The system includes:Client 201 and server 202.
Client 201, for when detecting the operation to application program, encapsulation response operation requests please by response operation Ask and stamp of the current very first time is sent to server 202.
Further, the system also includes:Database 203.
Server 202, for server 202 according to response operation requests, data inquiry request is sent to database 203.
Further, server 202, it is additionally operable to, when receiving response operation requests, record the 3rd current timestamp, And according to very first time stamp and the 3rd timestamp, response operation requests are calculated and respond time-consuming, response operation requests response consumption When for client 201 encapsulate response operation requests at the time of current time between duration.
Further, also include between current time at the time of the encapsulation of client 201 response operation requests:
Encapsulation is time-consuming, calls time-consuming and first network to take.
Specifically, during the encapsulation response operation requests of client 201, record encapsulation ending time stamp, client 201 call clothes During business device interface, record and call initial time stamp and call ending time stamp, when the transmission of client 201 responds operation requests, note Record sends the initial time stamp of response operation;
The difference calculated between very first time stamp and encapsulation ending time stamp obtains:Encapsulation is time-consuming;
Calculate and call initial time stamp and call the difference between ending time stamp to obtain:Call time-consuming;
The difference for calculating the transmission of client 201 response operation requests initial time stamp and the 3rd timestamp obtains:First network consumes When, wherein the first networking takes and is:Response behaviour is received at the time of client 201 sends response operation requests with server 202 At the time of between asking, i.e. response operation requests are sent using network, from client 201 to the consumption server 202 When.
That is, operation requests are responded and are taken and included:Encapsulation is time-consuming, calls time-consuming and first network to take.
Further, database 203, after receiving data inquiry request, record the 4th current timestamp and go forward side by side Row data query, and, the 5th timestamp when the data inquired, the 4th timestamp and inquiry are finished is sent to service Device 202.
Further, server 202, the data inquired that the database 203 for being additionally operable to receive returns, are sent to Client 201.
Server 202, it is additionally operable to after receiving data, records the 6th current timestamp.
Server 202, be additionally operable to according to the difference between the 3rd timestamp and the 4th timestamp, obtain server 202 to The network that database 203 sends data takes, and, according to the difference between the 4th timestamp and the 5th timestamp, counted The time-consuming of data is inquired about according to storehouse 203, and, according to the difference between the 5th timestamp and the 6th timestamp, obtain database 203 The network that transmission data are inquired about to server 202 takes.
Wherein, server 202, it is additionally operable to after response operation requests are received, response operation requests can be carried out first Signature parsing and verification, if verification passes through, server 202 backs towards database 203 and sends data inquiry request.
Further, server 202 receives data query at the time of response operation requests are received with database 203 Also include between at the time of request:
Signature parsing is time-consuming, MD5 verifications are time-consuming and the second network takes.
Specifically, when server 202 carries out signature parsing to request, record parsing initial time stamp and parsing end time Stamp, when server 202 carries out MD5 verifications to request message, record verification initial time stamp and verification ending time stamp, server During 202 transmission data inquiry request, record sends data inquiry request timestamp, when database 203 receives data inquiry request, Record receives data inquiry request timestamp;
The difference for calculating parsing initial time stamp and parsing between ending time stamp obtains:Signature parsing is time-consuming;
The difference for calculating verification initial time stamp and verifying between ending time stamp obtains:MD5 verifications are time-consuming;
The difference for sending data inquiry request timestamp and receiving between data inquiry request timestamp is calculated to obtain:Second network It is time-consuming, wherein the second network takes and is:The transmission data inquiry request of server 202 receives data query to database 203 please It is time-consuming between asking, i.e. time-consuming from server 202 to database 203 using transmitted data on network inquiry request.
That is, server 202 takes to the network of the transmission data of database 203 and included:Signature parsing is time-consuming, eap-message digest is calculated Verification is time-consuming and the second network takes for method the 5th edition.
Further, server 202, it is additionally operable to data, response operation requests responding time-consuming, server 202 to data The network that storehouse 203 sends data is taken, server 202 inquires about the time-consuming of data, database 203 is inquired about to server 202 and sent The networks of data is time-consuming, the 3rd timestamp, the 4th timestamp, the 5th timestamp, the 6th timestamp and the 7th current time Stamp, is sent to client 201.
Further, client 201, it is additionally operable to calculate the difference of the second timestamp and the 7th timestamp, obtains server 202 transfer data to the time-consuming of client 201.
Further, client 201 is additionally operable to record and received data and loaded, and current the is recorded after loaded Two timestamps, and the difference of very first time stamp and the second timestamp is calculated, obtain operating the corresponding response time.
Wherein, the process that the record of client 201 receives data and loaded includes:Client 201 adds to data Carry and the page is rendered;
Further, further comprises between at the time of client 201 receives data and at the time of loaded:
Data loading is time-consuming and page rendering takes.
Specifically, when client 201 is according to the data loading page inquired, record data loading initial time stamp sum According to loading ending time stamp, when client 201 is according to the data render page inquired, record page rendering initial time stamp and Page rendering ending time stamp.
The difference calculated between data loading initial time stamp and data loading ending time stamp obtains:Data loading consumption When.
The difference calculated between page rendering initial time stamp and page rendering ending time stamp obtains:Page rendering consumes When.
Further, client 201, it is additionally operable to response operation requests responding time-consuming, server 202 to database 203 The network of transmission data takes, server 202 inquires about the time-consuming of data, database 203 inquires about transmission data to server 202 Network is time-consuming, server 202 transfers data to the time-consuming of client 201, data loading is time-consuming and page rendering is time-consuming protects In the presence of in the journal file of local.
Further, client 201, be additionally operable to stab the very first time, the second timestamp, the 3rd timestamp, the 4th time Stamp, the 5th timestamp, the 6th timestamp and the 7th timestamp are stored in journal file.
Client 201, it is additionally operable to, when the statistics for detecting the response time instructs, instruct the sound of instruction statistics according to statistics Short time consumption, and the timestamp corresponding with response short time consumption in each timestamp of preservation are answered, calculates response short time consumption.
In embodiments of the present invention, by after the operation of application program is detected, and when operation loading is complete, program Internal various process passage time stamp is marked, the consumption of various process when the timestamp according to record calculates program response When the time and be stored in local.On the one hand can in order to developer understand program inside excessively each step process detail time, On the other hand it intuitively can feed back user and load the successful time completely to data from operation.
In several embodiments provided herein, it should be understood that disclosed system and method, it can be passed through Its mode is realized.For example, system embodiment described above is only schematical, for example, the division of module, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple module or components can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, can also That modules are individually physically present, can also two or more modules be integrated in a module.
It should be noted that for foregoing each method embodiment, in order to which simplicity describes, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is the description to the statistical method and system of a kind of response time provided by the present invention above, for this area Technical staff, according to the thought of the embodiment of the present invention, there will be changes, comprehensive in specific embodiments and applications On, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of statistical method of response time, it is characterised in that methods described includes:
When detecting the operation to application program, the client encapsulation response operation requests, by the response operation requests and Current very first time stamp is sent to server;
The server sends data inquiry request according to response operation requests to database;
The data inquired that the server returns to the database received, are sent to the client;
Data described in the client record reception are simultaneously loaded, and the second current timestamp are recorded after loaded, and count The difference of the very first time stamp and second timestamp is calculated, obtains the response time corresponding to the operation.
2. method according to claim 1, it is characterised in that the server is sent out according to response operation requests to database Data inquiry request is sent, including:
The server records the 3rd current timestamp when receiving the response operation requests, and according to described first Timestamp and the 3rd timestamp, response operation requests response is calculated and takes, the response operation requests response is time-consuming The duration between current time at the time of responding operation requests is encapsulated for the client;
The server sends data inquiry request according to the response operation requests to database.
3. method according to claim 2, it is characterised in that the server is sent out according to response operation requests to database Data inquiry request is sent, is also included afterwards:
After the database receives the data inquiry request, record the 4th current timestamp and carry out data query, with And the 5th timestamp when finishing the data inquired, the 4th timestamp and inquiry is sent to the service Device.
4. method according to claim 3, it is characterised in that the server is looked into what the database received returned The data ask, being sent to the client includes:
After the server receives the data, the 6th current timestamp is recorded;
According to the difference between the 3rd timestamp and the 4th timestamp, obtain the server and sent out to the database The network of data is sent to take, and, according to the difference between the 4th timestamp and the 5th timestamp, obtain the number According to the time-consuming of data described in library inquiry, and, according to the difference between the 5th timestamp and the 6th timestamp, obtain The network that the database sends the data to the server lookup takes;
The data, the response operation requests are responded into time-consuming, described server to the network of database transmission data Time-consuming, the described database of data described in time-consuming, described server lookup sends the net of the data to the server lookup Network is time-consuming, the 3rd timestamp, the 4th timestamp, the 5th timestamp, the 6th timestamp and current 7th timestamp, it is sent to the client.
5. method according to claim 4, it is characterised in that methods described also includes:
The client calculates the difference of second timestamp and the 7th timestamp, obtains the server and passes data Defeated taking to the client.
6. according to any one of claim 1 to 5 methods described, it is characterised in that
The response operation requests are responded time-consuming, described server to the network of database transmission data by the client Time-consuming, the described database of data described in time-consuming, described server lookup sends the net of the data to the server lookup Network takes, the server transfers data to the time-consuming of the client and is stored in local journal file.
7. method according to claim 6, it is characterised in that
The client stabs the very first time, second timestamp, the 3rd timestamp, the 4th timestamp, 5th timestamp, the 6th timestamp and the 7th timestamp are stored in the journal file;
When the statistics for detecting the response time instructs, according to the response short time consumption of the statistics instruction instruction statistics, and Timestamp corresponding with the response short time consumption, calculates the response short time consumption in each timestamp of preservation.
8. a kind of statistical system of response time, it is characterised in that the system includes:
Client and server;Wherein, the client, for when detecting the operation to application program, encapsulation response to operate Request, the response operation requests and stamp of the current very first time are sent to server;
The server, for according to response operation requests, data inquiry request to be sent to database;
The server, for the data inquired for returning to the database received, it is sent to the client;
The client, for recording the reception data and being loaded, the second current timestamp is recorded after loaded, And the difference of the very first time stamp and second timestamp is calculated, obtain the response time corresponding to the operation.
9. system according to claim 8, it is characterised in that the system also includes:
Database;Then, the server, it is additionally operable to, when receiving the response operation requests, record the 3rd current time Stamp, and according to very first time stamp and the 3rd timestamp, response operation requests are calculated and respond time-consuming, the response Operation requests response takes the duration encapsulated for the client at the time of responding operation requests between current time;
The server, it is additionally operable to according to the response operation requests, data inquiry request is sent to the database;
The database, it is additionally operable to after receiving the data inquiry request, records the 4th current timestamp and carry out data Inquiry, and, the 5th timestamp when the data inquired, the 4th timestamp and inquiry are finished is sent to institute State server;The server, it is additionally operable to after receiving the data, records the 6th current timestamp;
The server, it is additionally operable to, according to the difference between the 3rd timestamp and the 4th timestamp, obtain the clothes The network that business device sends data to the database takes, and, according to the 4th timestamp and the 5th timestamp it Between difference, obtain the time-consuming of data described in the data base querying, and, according to the 5th timestamp and it is described 6th when Between stab between difference, obtain the database and send the networks of the data to the server lookup taking;
The server, it is additionally operable to the data, the response operation requests responding time-consuming, described server to the data Network that storehouse sends data is time-consuming, time-consuming, the described database of data described in the server lookup is to the server lookup The network that sends the data is time-consuming, the 3rd timestamp, the 4th timestamp, the 5th timestamp, the described 6th Timestamp and the 7th current timestamp, are sent to the client;
The client, it is additionally operable to calculate the difference of second timestamp and the 7th timestamp, obtains the server Transfer data to the time-consuming of the client.
10. system according to claim 9, it is characterised in that
The client, it is additionally operable to the response operation requests response takes, the server sends number to the database According to described in network is time-consuming, time-consuming, the described database of data described in the server lookup is sent to the server lookup The network of data takes, the server transfers data to the time-consuming of the client and is stored in local journal file;
The client, it is additionally operable to very first time stamp, second timestamp, the 3rd timestamp, the described 4th Timestamp, the 5th timestamp, the 6th timestamp and the 7th timestamp are stored in the journal file;
The client, it is additionally operable to when the statistics for detecting the response time instructs, according to the statistics instruction instruction statistics Short time consumption, and the timestamp corresponding with the response short time consumption in each timestamp of preservation are responded, calculates the sound Answer short time consumption.
CN201711142198.7A 2017-11-17 2017-11-17 The statistical method and system of response time Pending CN107888690A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711142198.7A CN107888690A (en) 2017-11-17 2017-11-17 The statistical method and system of response time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711142198.7A CN107888690A (en) 2017-11-17 2017-11-17 The statistical method and system of response time

Publications (1)

Publication Number Publication Date
CN107888690A true CN107888690A (en) 2018-04-06

Family

ID=61777714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711142198.7A Pending CN107888690A (en) 2017-11-17 2017-11-17 The statistical method and system of response time

Country Status (1)

Country Link
CN (1) CN107888690A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039819A (en) * 2018-08-16 2018-12-18 深圳华锐金融技术股份有限公司 Delay statistics method, apparatus, system and storage medium
CN112988520A (en) * 2021-04-22 2021-06-18 北京搜狐新媒体信息技术有限公司 Service call link monitoring method and device
CN113765979A (en) * 2020-11-20 2021-12-07 北京沃东天骏信息技术有限公司 Information transmission method, system and device
CN114416506A (en) * 2022-01-05 2022-04-29 网易(杭州)网络有限公司 Method, device, medium and equipment for testing abnormity of animation playing process

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279771A (en) * 2011-09-02 2011-12-14 北京航空航天大学 Method and system for adaptively allocating resources as required in virtualization environment
US20130189947A1 (en) * 2012-01-25 2013-07-25 László Kovács Subscriber Portfolio Management System
CN104217577A (en) * 2014-08-20 2014-12-17 上海天脉聚源文化传媒有限公司 Remote controller searching method, remote controller searching device and television set
CN104426646A (en) * 2013-09-03 2015-03-18 航天信息股份有限公司 Method and system for performing data time synchronization on multi-path monitor
CN104767604A (en) * 2014-01-06 2015-07-08 阿里巴巴集团控股有限公司 Method, system and equipment for data display
CN105138460A (en) * 2015-09-18 2015-12-09 北京恒华伟业科技股份有限公司 Software testing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279771A (en) * 2011-09-02 2011-12-14 北京航空航天大学 Method and system for adaptively allocating resources as required in virtualization environment
US20130189947A1 (en) * 2012-01-25 2013-07-25 László Kovács Subscriber Portfolio Management System
CN104426646A (en) * 2013-09-03 2015-03-18 航天信息股份有限公司 Method and system for performing data time synchronization on multi-path monitor
CN104767604A (en) * 2014-01-06 2015-07-08 阿里巴巴集团控股有限公司 Method, system and equipment for data display
CN104217577A (en) * 2014-08-20 2014-12-17 上海天脉聚源文化传媒有限公司 Remote controller searching method, remote controller searching device and television set
CN105138460A (en) * 2015-09-18 2015-12-09 北京恒华伟业科技股份有限公司 Software testing method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039819A (en) * 2018-08-16 2018-12-18 深圳华锐金融技术股份有限公司 Delay statistics method, apparatus, system and storage medium
CN113765979A (en) * 2020-11-20 2021-12-07 北京沃东天骏信息技术有限公司 Information transmission method, system and device
CN112988520A (en) * 2021-04-22 2021-06-18 北京搜狐新媒体信息技术有限公司 Service call link monitoring method and device
CN112988520B (en) * 2021-04-22 2021-08-13 北京搜狐新媒体信息技术有限公司 A service call link monitoring method and device
CN114416506A (en) * 2022-01-05 2022-04-29 网易(杭州)网络有限公司 Method, device, medium and equipment for testing abnormity of animation playing process

Similar Documents

Publication Publication Date Title
CN110175110A (en) Method for testing pressure, device, system, equipment and computer readable storage medium
CN107888690A (en) The statistical method and system of response time
CN110830735B (en) Video generation method and device, computer equipment and storage medium
CN109388537B (en) Operation information tracking method and device and computer readable storage medium
CN110244991A (en) A kind of micro services dependency analysis method and device
CN107294808A (en) The methods, devices and systems of interface testing
CN109814995A (en) Task scheduling method, apparatus, computer equipment and storage medium
CN107528766A (en) Information-pushing method, apparatus and system
CN110334126A (en) Timed task processing method, device and computer equipment based on Spring MVC
CN109002457A (en) Downloading channel statistical processing methods, device and the electronic equipment of application program
US20140201762A1 (en) Event handling system and method
CN111124891B (en) Method and device for detecting access state, storage medium and electronic device
US20170180219A1 (en) System and method of analyzing user skill and optimizing problem determination steps with helpdesk representatives
CN110380936A (en) Test method and device
CN115811484A (en) Network detection method, device and storage medium
CN109542718A (en) Monitoring method, device, storage medium and the server of service call
CN109756564A (en) Service administering method, device and storage medium, computer equipment
CN104683181B (en) A kind of method for monitoring performance, equipment and system
CN106390451B (en) Method and device for testing capacity of game server
US20170235597A1 (en) Determining life-cycle of task flow performance for telecommunication service order
CN112035240A (en) Task management method, device and system
CN113434541B (en) Method, device, storage medium and electronic device for sending query results
CN115439080A (en) Work order automatic processing method and electronic equipment
CN104363257B (en) A kind of user interface data method for refreshing and equipment
CN101137160A (en) Method and system to detect tracing state and tracing proxy, tracking control server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180406