CN109189643A - Monitoring method, device, equipment and the storage medium of request interface response data - Google Patents

Monitoring method, device, equipment and the storage medium of request interface response data Download PDF

Info

Publication number
CN109189643A
CN109189643A CN201811056495.4A CN201811056495A CN109189643A CN 109189643 A CN109189643 A CN 109189643A CN 201811056495 A CN201811056495 A CN 201811056495A CN 109189643 A CN109189643 A CN 109189643A
Authority
CN
China
Prior art keywords
response data
monitoring
acquisition request
data acquisition
monitoring parameter
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
CN201811056495.4A
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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201811056495.4A priority Critical patent/CN109189643A/en
Publication of CN109189643A publication Critical patent/CN109189643A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides monitoring method, device, equipment and the storage mediums of a kind of request interface response data, wherein the monitoring method of request interface response data includes: when receiving the response data that server is returned for current data acquisition request, it determines the monitoring parameter of response data, wherein carries uniform resource position mark URL in current data acquisition request;Judge monitoring parameter whether be more than response data monitor control index;When monitoring parameter is more than monitor control index, monitoring parameter and URL are recorded.Utilize technical solution of the present invention; by the URL carried in the monitoring parameter and data acquisition request of recording responses data, problem can be checked using the information of record when display exception or crash occurs in APP; investigation range is reduced to play, accelerates the effect of investigation speed.

Description

Monitoring method, device, equipment and the storage medium of request interface response data
Technical field
The present invention relates to the communications field, in particular to a kind of monitoring method of request interface response data, device, equipment and Storage medium.
Background technique
Under normal conditions, APP (application program) sends https request, server respond request, and then completes to obtain data And the purpose shown, in above process, there is no effectively control response data.But in some cases, it rings Answer data excessive will lead to parse slow or parsing error on APP, so there is APP collapse or directly dodge move back (i.e. crash) or Display is abnormal.
Summary of the invention
Occur in order to prevent due to response data it is excessive caused by crash or display it is abnormal, the embodiment of the present invention provides A kind of monitoring method, device, equipment and the storage medium of request interface response data.
One aspect according to an embodiment of the present invention provides a kind of monitoring method of request interface response data, comprising:
When receiving the response data that server is returned for current data acquisition request, the response data is determined Monitoring parameter, wherein carrying uniform resource position mark URL in the current data acquisition request;
Judge the monitoring parameter whether be more than the response data monitor control index;
When the monitoring parameter is more than the monitor control index, the monitoring parameter and the URL are recorded.
Optionally, in the monitoring method of the request interface response data described in the embodiment of the present invention, service is being received Before the response data that device is returned for current data acquisition request, further includes:
Obtain preset monitoring information, wherein the monitoring information include need the data acquisition request that monitors and with it is every The monitor control index of a corresponding response data of data acquisition request for needing to monitor.
Optionally, preset obtaining in the monitoring method of the request interface response data described in the embodiment of the present invention After monitoring information, further includes:
It is that index scans in the monitoring information with the current data acquisition request, obtains and the current number According to the monitor control index of the corresponding response data of acquisition request.
Optionally, in the monitoring method of the request interface response data described in the embodiment of the present invention, the prison is being recorded After controlling parameter and the URL, further includes:
The monitoring parameter of record and URL are uploaded to preset third party device.
Optionally, in the monitoring method of the request interface response data described in the embodiment of the present invention, the monitoring parameter Size including response data.
Other side according to an embodiment of the present invention provides a kind of monitoring device of request interface response data, packet Include the first determining module, judgment module and logging modle:
First determining module, for receiving server for current data acquisition request and the number of responses that returns According to when, determine the monitoring parameter of the response data, wherein carried in the current data acquisition request unified resource positioning Accord with URL;
The judgment module, for judge the monitoring parameter whether be more than the response data monitor control index;
The logging modle, for when the monitoring parameter be more than the monitor control index when, record the monitoring parameter and The URL.
It optionally, further include obtaining mould in the monitoring device of the request interface response data described in the embodiment of the present invention Block:
The acquisition module, for receive server for current data acquisition request and the response data that returns it Before, obtain preset monitoring information;Wherein, the monitoring information include need the data acquisition request that monitors and with each need The monitor control index of the corresponding response data of the data acquisition request to be monitored.
It optionally, further include second true in the monitoring device of the request interface response data described in the embodiment of the present invention Cover half block:
Second determining module is used for after obtaining preset monitoring information, with the current data acquisition request It is scanned in the monitoring information for index, obtains the prison of response data corresponding with the current data acquisition request Control index.
It optionally, further include uploading mould in the monitoring device of the request interface response data described in the embodiment of the present invention Block:
The uploading module, for after recording the monitoring parameter and the URL, by the monitoring parameter of record and URL is uploaded to preset third party device.
Optionally, in the monitoring device of the request interface response data described in the embodiment of the present invention, the monitoring parameter Size including response data.
In terms of third according to an embodiment of the present invention, a kind of monitoring device of request interface response data, institute are provided Equipment is stated to include: memory, processor and be stored in the computer journey that can be run on the memory and on the processor Sequence, the computer program realize the step of request interface response data monitoring method as described above when being executed by the processor Suddenly.
The 4th aspect according to an embodiment of the present invention, provides a kind of computer readable storage medium, and the storage is situated between Computer program is stored in matter, the computer program realizes request interface number of responses as described above when being executed by processor The step of according to monitoring method.
The embodiment of the present invention has the beneficial effect that:
Monitoring method, device, equipment and the storage medium of request interface response data provided in an embodiment of the present invention, work as sound When the monitoring parameter of data being answered to be more than the monitor control index of response data, obtained by the monitoring parameter and data of recording responses data The URL that carries in request is taken, it can be when there is display exception or crash in APP, using being carried in the data acquisition request of record URL come determine specifically which response data monitoring parameter be more than monitor control index, utilize the prison of the response data of record Parameter is controlled to analyze the case where monitoring parameter is more than monitor control index, investigation range is reduced to play, accelerates the effect for checking speed.
Above description is only the general introduction of technical solution of the embodiment of the present invention, in order to better understand the embodiment of the present invention Technological means, and can be implemented in accordance with the contents of the specification, and in order to allow above and other mesh of the embodiment of the present invention , feature and advantage can be more clearly understood, the special specific embodiment for lifting the embodiment of the present invention below.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention The limitation of embodiment.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the flow diagram of request interface response data monitoring method in first embodiment of the invention;
Fig. 2 is the flow diagram of request interface response data monitoring method in second embodiment of the invention;
Fig. 3 is the flow diagram of request interface response data monitoring method in third embodiment of the invention;
Fig. 4 is the structural schematic diagram of request interface response data monitoring device in fourth embodiment of the invention;
Fig. 5 is the structural schematic diagram of request interface response data monitoring device in fifth embodiment of the invention;
Fig. 6 is the flow diagram of request interface response data monitoring method in present example 1;
Fig. 7 is the flow diagram of request interface response data monitoring method in present example 2.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention It is fully disclosed to those skilled in the art.It should be appreciated that specific embodiment described herein is only used to explain this hair It is bright, it is not used to uniquely limit the present invention.
First embodiment according to the present invention provides a kind of monitoring method of request interface response data.Fig. 1 is this hair The flow diagram of request interface response data monitoring method in bright first embodiment, as shown in Figure 1, first embodiment of the invention Request interface response data monitoring method, comprising the following steps:
S101: when receiving the response data that server is returned for current data acquisition request, the sound is determined The monitoring parameter of data is answered, wherein carrying uniform resource position mark URL in the current data acquisition request.
Optionally, in embodiments of the present invention, monitoring parameter includes the size of response data;Determine the monitoring of response data Parameter is to determine the size of response data.Optionally, before determining the monitoring parameter of response data further include: to the response Data are parsed, so that the format of response data and request interface is adapted.
Optionally, in embodiments of the present invention, response data is json (JavaScript Object Notation) knot Structure, wherein Json is a kind of data interchange language by Douglas Kroc Ford conception and design, lightweight, the language Based on saying the text to be easy to that people is allowed to read, for transmitting the data object being made of the value of attribute value or sequentiality.
S102: judge the monitoring parameter whether be more than the response data monitor control index.
Optionally, in embodiments of the present invention, monitor control index includes: the maximum upper limit of response data, the implementation Under, judge the monitoring parameter whether be more than the monitor control index of the response data i.e. are as follows: judge response data size whether More than the maximum upper limit of the response data.
S103: when the monitoring parameter is more than the monitor control index, the monitoring parameter and the URL are recorded.
Optionally, when monitoring parameter includes the size of response data, recording the monitoring parameter is recording responses number According to sizes values.
The monitoring method for the request interface response data that first embodiment of the invention provides, when the monitoring parameter of response data More than response data monitor control index when, pass through what is carried in the monitoring parameter and data acquisition request of recording responses data URL can determine tool using the URL carried in the data acquisition request of record when display exception or crash occurs in APP Body is that the monitoring parameter of which response data is more than monitor control index, and prison is analyzed using the monitoring parameter of the response data of record The case where parameter is more than monitor control index is controlled, investigation range is reduced to play, accelerates the effect of investigation speed.
In order to which more flexible additions and deletions need the data acquisition request monitored and modification to need the data monitored to obtain with each The monitor control index for requesting corresponding response data is taken, realizes that dynamic monitors, second embodiment according to the present invention provides one The monitoring method of kind request interface response data.Fig. 2 is request interface response data monitoring method in second embodiment of the invention Flow diagram, as shown in Fig. 2, the monitoring method of the request interface response data of second embodiment of the invention, including following Step:
S201: obtaining preset monitoring information, wherein monitoring information include need the data acquisition request that monitors and with it is every The monitor control index of a corresponding response data of data acquisition request for needing to monitor.
Specifically, in embodiments of the present invention, when APP starting, monitoring information is got by configuring interface, wherein supervising Control information includes needing the data acquisition request monitored and number of responses corresponding with each data acquisition request for needing to monitor According to monitor control index, APP parses after getting these monitoring informations and caches.
S202: it is that index scans in monitoring information with current data acquisition request, obtains obtaining with current data Request the monitor control index of corresponding response data.
Specifically, in embodiments of the present invention, when current data acquisition request needs to monitor, in order to obtain with current number It can be to index in step s 201 with current data acquisition request according to the monitor control index of the corresponding response data of acquisition request It is scanned in the preset monitoring information obtained.Wherein, current data acquisition request is needed to monitor and be can be understood as in APP Some data acquisition request that some application scenarios (such as payment scene) issues needs to monitor.
S203: when receiving the response data that server is returned for current data acquisition request, number of responses is determined According to monitoring parameter, wherein carrying uniform resource position mark URL in the current data acquisition request.
S204: judge monitoring parameter whether be more than response data monitor control index.
S205: when the monitoring parameter is more than the monitor control index, the monitoring parameter and the URL are recorded.
The monitoring method for the request interface response data that second embodiment of the invention provides, not only can recorde response data Monitoring parameter and data acquisition request in the URL that carries, determined using the URL carried in the data acquisition request of record Specifically the monitoring parameter of which response data is more than monitor control index, is analyzed using the monitoring parameter of the response data of record The case where monitoring parameter is more than monitor control index reduces investigation range in the problem of investigation;It can also increase in configuration interface simultaneously Delete the prison for needing the data acquisition request monitored and each corresponding response data of data acquisition request for needing to monitor of modification Index is controlled, to achieve the effect that dynamic monitors, targetedly data acquisition request can be monitored, reduce the model of monitoring It encloses.
Third embodiment according to the present invention provides a kind of monitoring method of request interface response data.Fig. 3 is this hair The flow diagram of request interface response data monitoring method in bright 3rd embodiment, as shown in figure 3, third embodiment of the invention Request interface response data monitoring method, comprising the following steps:
S301: when receiving the response data that server is returned for current data acquisition request, the sound is determined The monitoring parameter of data is answered, wherein carrying uniform resource position mark URL in the current data acquisition request.
S302: judge the monitoring parameter whether be more than the response data monitor control index.
S303: when the monitoring parameter is more than the monitor control index, the monitoring parameter and the URL are recorded.
S304: the monitoring parameter of record and URL are uploaded to preset third party device.
Optionally, in embodiments of the present invention, preset third party device includes website etc..For example, the website Bugly, In, Bugly is the follow-ups of quality services such as the crash monitoring that profession is provided towards mobile Development person, collapse analysis.Bugly can be helped It helps developer quickly to find and solves exception, while grasping product operation dynamic, user feedback of following up in time.
Optionally, in embodiments of the present invention, the monitoring parameter of record and URL can be a little uploaded to Bugly by burying.
The monitoring method for the request interface response data that third embodiment of the invention provides, when the monitoring parameter of response data More than response data monitor control index when, pass through the URL carried in the monitoring parameter and data acquisition request of recording responses data And it is uploaded to preset third party device, it can be in the problem of investigation, in the data acquisition request using third party device record The URL of carrying is more than monitor control index come the monitoring parameter for determining specifically which response data, is recorded using third party device The monitoring parameter of response data the case where analyzing monitoring parameter more than monitor control index, reduce investigation range to play, accelerate Check the effect of speed.
The fourth embodiment of the present invention provides a kind of monitoring device of request interface response data.Fig. 4 is the present invention the The structural schematic diagram of request interface response data monitoring device in four embodiments, as described in Figure 4, fourth embodiment of the invention is asked The monitoring device for seeking interface response data includes the first determining module 40, judgment module 42 and logging modle 44, below to each mould Block is described in detail.
First determining module 40, for receiving server for current data acquisition request and the response that returns When data, the monitoring parameter of the response data is determined, wherein it is fixed to carry unified resource in the current data acquisition request Position symbol URL.
Optionally, in embodiments of the present invention, the monitoring parameter includes the size of response data.
The judgment module 42, for judge the monitoring parameter whether be more than the response data monitor control index.
Optionally, in embodiments of the present invention, the monitor control index includes the maximum upper limit of response data.
The logging modle 44, for recording the monitoring parameter when the monitoring parameter is more than the monitor control index And the URL.
It further, further include obtaining mould in the request interface response data monitoring device of fourth embodiment of the invention Block:
The acquisition module, for receive server for current data acquisition request and the response data that returns it Before, obtain preset monitoring information;Wherein, the monitoring information include need the data acquisition request that monitors and with each need The monitor control index of the corresponding response data of the data acquisition request to be monitored.Using above-mentioned technical solution, can configure Additions and deletions need the data acquisition request monitored and each corresponding response of data acquisition request for needing to monitor of modification in interface The monitor control index of data, to achieve the effect that dynamic monitors.
It further, further include second true in the request interface response data monitoring device of fourth embodiment of the invention Cover half block:
Second determining module is used for after obtaining preset monitoring information, with the current data acquisition request It is scanned in the monitoring information for index, obtains the prison of response data corresponding with the current data acquisition request Control index.
It further, further include uploading mould in the request interface response data monitoring device of fourth embodiment of the invention Block:
The uploading module, for after recording the monitoring parameter and the URL, by the monitoring parameter of record and URL is uploaded to preset third party device.
The monitoring device for the request interface response data that fourth embodiment of the invention provides, when the monitoring parameter of response data More than response data monitor control index when, pass through what is carried in the monitoring parameter and data acquisition request of recording responses data URL can determine tool using the URL carried in the data acquisition request of record when display exception or crash occurs in APP Body is that the monitoring parameter of which response data is more than monitor control index, and prison is analyzed using the monitoring parameter of the response data of record The case where parameter is more than monitor control index is controlled, investigation range is reduced to play, accelerates the effect of investigation speed.
Fifth embodiment of the invention provides a kind of monitoring device of request interface response data, as shown in figure 5, described Monitoring device includes: memory 52, processor 54 and communication bus;The communication bus is for realizing processor 54 and memory Connection communication between 52.
Specifically, processor 54 can be general processor, such as central processing unit (Central in the embodiment of the present invention Processing Unit, CPU), can also be digital signal processor (Digital Signal Processor, DSP), specially With integrated circuit (Application Specific Integrated Circuit, ASIC), or it is arranged to implement this One or more integrated circuits of inventive embodiments.Wherein, memory 52 is used to store the executable instruction of the processor 54; Memory 52 is transferred to processor 54 for storing program code, and by the program code.Memory 52 may include volatibility Memory (Volatile Memory), such as random access memory (Random Access Memory, RAM);Also it can wrap It includes nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), fast Flash memory (Flash Memory), hard disk (Hard Disk Drive, HDD) or solid state hard disk (Solid-State Drive, SSD);It can also include the combination of the memory of mentioned kind.
Specifically, processor 54 is for executing the request interface number of responses stored in memory 52 in the embodiment of the present invention According to monitoring programme, to realize following method and step: receiving server for current data acquisition request and the sound that returns When answering data, the monitoring parameter of the response data is determined, wherein carrying unified resource in the current data acquisition request Finger URL URL;Judge the monitoring parameter whether be more than the response data monitor control index;When the monitoring parameter is more than institute When stating monitor control index, the monitoring parameter and the URL are recorded.More specifical implementation such as first embodiment is real to third It applies described in example, details are not described herein.
Sixth embodiment of the invention additionally provides a kind of computer readable storage medium, and meter is stored on the storage medium Calculation machine program, the computer program realize following steps when being executed by processor: receiving server for current data Acquisition request and when the response data returned, the monitoring parameter of the response data is determined, wherein current data acquisition is asked Uniform resource position mark URL is carried in asking;Judge the monitoring parameter whether be more than the response data monitor control index;When When the monitoring parameter is more than the monitor control index, the monitoring parameter and the URL are recorded.More specifical implementation is such as Described in first embodiment to 3rd embodiment, details are not described herein.Wherein, computer readable storage medium includes but is not limited to Are as follows: ROM, RAM, disk or CD etc..
Illustrate the embodiment of the present invention in order to more detailed, provides example 1 and example 2.
Fig. 6 is the flow diagram of request interface response data monitoring method in present example 1, includes as shown in Figure 6 Following steps:
(1) https request is sent to server;
(2) when receiving the response data of server return, the URL carried in https request is obtained;
(3) response data (i.e. parsing body) that parsing returns, so that the format of response data and request interface are adapted;
(4) response data size, when response data has been more than preset upper limit value, recording responses size of data value are verified And the URL of record is obtained, and a little pass to Bugly by burying, it, can be by the URL information that is recorded on Bugly when finding the problem And response data sizes values check problem.
That is, present example 1 other than completing https request, is added to returned data (such as json number According to) verification, by the size of the URL of record and response data by burying on a little if response data is more than the upper limit value drafted Bugly is passed, post debugging use is provided with.
Before no monitoring json size of data, in the event of problem, it can only go to guess with the experience of developer, because Too many for the data-interface of APP, orientation problem is time-consuming and laborious like looking for a needle in a haystack, and is added to after monitoring to json size of data, It can position quickly, analyze data and targetedly solve the problems, such as exist.
Fig. 7 is the flow diagram of request interface response data monitoring method in present example 2, includes as shown in Figure 7 Following steps:
(1) when APP starts, configuration information (configuration information in embodiments of the present invention is pulled by configuring interface It can be described as monitoring information).Wherein, monitoring information includes the number for needing the data acquisition request monitored and monitoring with each needs According to the monitor control index of the corresponding response data of acquisition request.
(2) APP is parsed after getting these configuration informations and is cached.
(3) when some scenario triggered need monitor data acquisition request when, read caching in the data acquisition Request the monitor control index of corresponding response data.
(4) when receiving the response data that server is returned for the data acquisition request, the number of responses is determined According to monitoring parameter, and judge the monitoring parameter whether be more than step (3) determine monitor control index, when be more than when, record institute It states the URL carried in monitoring parameter and the current data acquisition request, and is a little uploaded to bugly by burying and (is equivalent to Fig. 7 By configuration handle).
Present example 2 additions and deletions can need the data acquisition request that monitors and each needs of modification in configuration interface The monitor control index of the corresponding response data of the data acquisition request of monitoring, to achieve the effect that dynamic monitors.
The present invention implements 2 based on certain rule, monitors the data acquisition request it is possible that problem, and record request Relevant information, in the problem of investigation, the information of usage record goes to verify, with reach reduce investigation range, accelerate investigation speed Effect, and taken into account certain scalability, more monitoring projects can also be customized later.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown Device, the architectural framework in the cards of method and computer program product, function of multiple embodiments according to the present invention And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code Point, a part of the module, section or code includes one or more for implementing the specified logical function executable Instruction.It should also be noted that function marked in the box can also be attached to be different from some implementations as replacement The sequence marked in figure occurs.For example, two continuous boxes can actually be basically executed in parallel, they sometimes may be used To execute in the opposite order, this depends on the function involved.It is also noted that each of block diagram and or flow chart The combination of box in box and block diagram and or flow chart can be based on the defined function of execution or the dedicated of movement The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
In short, the foregoing is merely illustrative of the preferred embodiments of the present invention, it is not intended to limit the scope of the present invention. All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in of the invention Within protection scope.

Claims (12)

1. a kind of monitoring method of request interface response data characterized by comprising
When receiving the response data that server is returned for current data acquisition request, the prison of the response data is determined Parameter is controlled, wherein carrying uniform resource position mark URL in the current data acquisition request;
Judge the monitoring parameter whether be more than the response data monitor control index;
When the monitoring parameter is more than the monitor control index, the monitoring parameter and the URL are recorded.
2. the method as described in claim 1, which is characterized in that returned receiving server for current data acquisition request Before the response data returned, further includes:
Obtain preset monitoring information, wherein the monitoring information include need the data acquisition request that monitors and with each need The monitor control index of the corresponding response data of the data acquisition request to be monitored.
3. method according to claim 2, which is characterized in that after obtaining preset monitoring information, further includes:
It is that index scans in the monitoring information with the current data acquisition request, obtains obtaining with the current data Take the monitor control index for requesting corresponding response data.
4. the method as described in claim 1, which is characterized in that after recording the monitoring parameter and the URL, also wrap It includes:
The monitoring parameter of record and URL are uploaded to preset third party device.
5. the method as described in claim 1, which is characterized in that the monitoring parameter includes the size of response data.
6. a kind of monitoring device of request interface response data, which is characterized in that including the first determining module, judgment module and note Record module:
First determining module, for receiving server for current data acquisition request and the response data that returns When, the monitoring parameter of the response data is determined, wherein carrying uniform resource locator in the current data acquisition request URL;
The judgment module, for judge the monitoring parameter whether be more than the response data monitor control index;
The logging modle, for recording the monitoring parameter and described when the monitoring parameter is more than the monitor control index URL。
7. device as claimed in claim 6, which is characterized in that further include obtaining module:
The acquisition module, for before receiving server for current data acquisition request and the response data that returns, Obtain preset monitoring information;
Wherein, the monitoring information includes needing the data acquisition request monitored and needing the data acquisition monitored to ask with each Seek the monitor control index of corresponding response data.
8. device as claimed in claim 7, which is characterized in that further include the second determining module:
Second determining module is used for after obtaining preset monitoring information, using the current data acquisition request as rope Draw and scanned in the monitoring information, the monitoring for obtaining response data corresponding with the current data acquisition request refers to Mark.
9. device as claimed in claim 6, which is characterized in that further include uploading module:
The uploading module will be on the monitoring parameter and URL of record for after recording the monitoring parameter and the URL Reach preset third party device.
10. device as claimed in claim 6, which is characterized in that the monitoring parameter includes the size of response data.
11. a kind of monitoring device of request interface response data, which is characterized in that the equipment include: memory, processor and It is stored in the computer program that can be run on the memory and on the processor, the computer program is by the processing The step of device realizes request interface response data monitoring method as claimed in any one of claims 1 to 5 when executing.
12. a kind of computer readable storage medium, which is characterized in that computer program is stored on the storage medium, it is described Realize that request interface response data according to any one of claims 1 to 5 such as monitors when computer program is executed by processor The step of method.
CN201811056495.4A 2018-09-11 2018-09-11 Monitoring method, device, equipment and the storage medium of request interface response data Pending CN109189643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811056495.4A CN109189643A (en) 2018-09-11 2018-09-11 Monitoring method, device, equipment and the storage medium of request interface response data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811056495.4A CN109189643A (en) 2018-09-11 2018-09-11 Monitoring method, device, equipment and the storage medium of request interface response data

Publications (1)

Publication Number Publication Date
CN109189643A true CN109189643A (en) 2019-01-11

Family

ID=64910184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811056495.4A Pending CN109189643A (en) 2018-09-11 2018-09-11 Monitoring method, device, equipment and the storage medium of request interface response data

Country Status (1)

Country Link
CN (1) CN109189643A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138634A (en) * 2019-04-03 2019-08-16 福建天泉教育科技有限公司 A kind of monitoring method and terminal of emphasis data
CN110968475A (en) * 2019-11-13 2020-04-07 泰康保险集团股份有限公司 Method and device for monitoring webpage, electronic equipment and readable storage medium
CN112965879A (en) * 2021-03-17 2021-06-15 北京奇艺世纪科技有限公司 Data processing method and device, electronic equipment and readable storage medium
CN114626542A (en) * 2020-12-11 2022-06-14 新智数字科技有限公司 Joint learning monitoring method and device and readable medium
CN114626542B (en) * 2020-12-11 2024-10-25 新奥新智科技有限公司 Joint learning monitoring method, device and readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116512A1 (en) * 2000-05-24 2002-08-22 Noah Amit Method of surveilling internet communication
CN103812715A (en) * 2012-11-07 2014-05-21 江苏仕德伟网络科技股份有限公司 Method for judging running state of website
CN105468492A (en) * 2015-11-17 2016-04-06 中国建设银行股份有限公司 SE(search engine)-based data monitoring method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116512A1 (en) * 2000-05-24 2002-08-22 Noah Amit Method of surveilling internet communication
CN103812715A (en) * 2012-11-07 2014-05-21 江苏仕德伟网络科技股份有限公司 Method for judging running state of website
CN105468492A (en) * 2015-11-17 2016-04-06 中国建设银行股份有限公司 SE(search engine)-based data monitoring method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138634A (en) * 2019-04-03 2019-08-16 福建天泉教育科技有限公司 A kind of monitoring method and terminal of emphasis data
CN110968475A (en) * 2019-11-13 2020-04-07 泰康保险集团股份有限公司 Method and device for monitoring webpage, electronic equipment and readable storage medium
CN114626542A (en) * 2020-12-11 2022-06-14 新智数字科技有限公司 Joint learning monitoring method and device and readable medium
CN114626542B (en) * 2020-12-11 2024-10-25 新奥新智科技有限公司 Joint learning monitoring method, device and readable medium
CN112965879A (en) * 2021-03-17 2021-06-15 北京奇艺世纪科技有限公司 Data processing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108900776B (en) Method and apparatus for determining response time
US9977821B2 (en) Method and system for automatically generating a test artifact
CN109857908B (en) Method and apparatus for matching videos
CN104503780B (en) It is a kind of that method and apparatus that applying channel packet are provided
CN109189643A (en) Monitoring method, device, equipment and the storage medium of request interface response data
CN104468592B (en) Login method and login system
CN105607986A (en) Acquisition method and device of user behavior log data
CN110798445B (en) Public gateway interface testing method and device, computer equipment and storage medium
CN107894949A (en) The method, apparatus and equipment of abnormality processing
CN104601770A (en) Terminal and smoothness evaluation method thereof
US9769434B1 (en) Remote control of a user's wearable computing device in help desk applications
CN110321154A (en) A kind of interface message methods of exhibiting, device and the electronic equipment of micro services
CN104683181B (en) A kind of method for monitoring performance, equipment and system
US10193989B2 (en) Visualization of user behavior
CN111598006A (en) Method and device for labeling objects
CN111124861A (en) Recording method of webpage data, recording device of webpage data and readable storage medium
CN110059064B (en) Log file processing method and device and computer readable storage medium
CN114510305B (en) Model training method and device, storage medium and electronic equipment
JP2010160788A (en) Method, system, and computer program for dynamically improving performance of interactive voice response system using complex event processor
CN108647284B (en) Method and device for recording user behavior, medium and computing equipment
JP2015503787A (en) Scenario-based patrol method, system, and computer program
CN114650236A (en) Log processing method and device and storage medium
CN108834171B (en) Image method and device
US9407697B2 (en) System and method for automating identification and download of web assets or web artifacts
CN112541104A (en) Data capturing method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111