CN106357480A - Method and device for monitoring network performance of application and mobile terminal - Google Patents

Method and device for monitoring network performance of application and mobile terminal Download PDF

Info

Publication number
CN106357480A
CN106357480A CN201611037910.2A CN201611037910A CN106357480A CN 106357480 A CN106357480 A CN 106357480A CN 201611037910 A CN201611037910 A CN 201611037910A CN 106357480 A CN106357480 A CN 106357480A
Authority
CN
China
Prior art keywords
network
monitoring information
monitoring
access address
network access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611037910.2A
Other languages
Chinese (zh)
Other versions
CN106357480B (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.)
Beijing Oneapm Communication Technology Co Ltd
Original Assignee
Beijing Oneapm Communication Technology 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 Beijing Oneapm Communication Technology Co Ltd filed Critical Beijing Oneapm Communication Technology Co Ltd
Priority to CN201611037910.2A priority Critical patent/CN106357480B/en
Publication of CN106357480A publication Critical patent/CN106357480A/en
Application granted granted Critical
Publication of CN106357480B publication Critical patent/CN106357480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and device for monitoring network performance of an application and a mobile terminal. The method for monitoring the network performance of the application comprises the following steps: acquiring at least one part in each network request message of a monitored application and at least one part in a corresponding response message, and storing at least one part in each acquired network request message and at least one part in the corresponding response message as monitoring information in a message queue; according to the time sequence, judging whether the network access address corresponding to the monitoring information in the message queue is abnormal or not every predetermined time interval, and classifying the determined monitoring information with normal network access address based on a preset classification type; and transmitting the classified monitoring information to a monitoring server.

Description

The method of network performance of monitoring application, device and mobile terminal
Technical field
The present invention relates to software monitors field, more particularly, to monitor method, device and the movement of the network performance of application eventually End.
Background technology
With the development of development of Mobile Internet technology, the app of mobile terminal is developed in a large number.User also increasingly gets used to leading to The app crossing mobile terminal carries out the various activities such as information browse, shopping or office.The network performance of mobile terminal app to Family Experience Degree has significant impact.
At present, in order to test the network performance of mobile terminal app, tester can be visited by the network obtaining with regard to app Ask daily record to judge the network performance of app.However, be only suitable for the exploitation debugging stage of app based on the monitoring scheme obtaining daily record, And real user cannot be collected and use network performance data during app.
Therefore, the present invention proposes a kind of technology of the new network performance of monitoring application.
Content of the invention
For this reason, the present invention provides a kind of scheme of the new network performance of monitoring application, effectively solve above at least One problem.
According to an aspect of the present invention, provide a kind of method of the network performance of monitoring application, be suitable in mobile terminal Monitored application in execute.The method comprises the steps.Gather in every network request message of monitored application at least At least a portion in a part of and corresponding response message, and will connect at least partially in every gathered network request message With in corresponding response message at least a portion, be stored as a monitoring information in message queue.Sequentially in time, every pre- Timing length judges in message queue whether the corresponding network access address of every monitoring information is abnormal, and is based on predtermined category type Come the normal monitoring information in network access address determined by classifying.The monitoring information classified is transferred to monitoring server.
Alternatively, the method for the network performance of the monitoring application according to the present invention also includes deleting determined network access ground The abnormal monitoring information in location.Predtermined category type includes: network error, http response abnormality and http response are normal.
Alternatively, in the method for the network performance of the monitoring application according to the present invention, gather every of monitored application In network request message, at least a portion and at least one of operation in corresponding response message comprise the steps.Collection is every In bar network request message, http request message header, current request time, network access address, request method, network connect Connect mode and network operation state.Gather response message header in corresponding response message, access end time and conditional code.
Alternatively, the method for the network performance of the monitoring application according to the present invention also comprises the steps.Visited according to network Ask the normal monitoring information in network access address described in address sort, and count each corresponding monitoring information in network access address To obtain corresponding performance indications.Acquired performance indications are transferred to described monitoring server.Wherein, acquired performance Index includes being counted the access times of each network access address, the maximum value single reference duration of single reference duration Minimum and access total duration.
According to another aspect of the present invention, a kind of device of the network performance of monitoring application is provided, is suitable to reside in movement In the application of terminal.This device includes collecting unit, processing unit and transmission unit.
Collecting unit is suitable at least a portion and corresponding response in every network request message gather monitored application At least a portion in message, and by least a portion in every gathered network request message together with corresponding response message At least partially, it is stored as a monitoring information in message queue.Processing unit is suitable to sequentially in time, every scheduled duration Judge in message queue whether the corresponding network access address of every monitoring information is abnormal, and classified based on predtermined category type Determined by the normal monitoring information in network access address.Transmission unit is suitable to for the monitoring information classified to be transferred to monitoring clothes Business device.
According to another aspect of the present invention, provide a kind of mobile terminal, be populated with according to the present invention including one or more Network performance monitoring device application.
The technical scheme of the network performance of the monitoring application according to the present invention, can be to involved in application running Network access procedure is monitored, persistently to obtain monitoring information with regard to network access (in such as request and response message extremely A few part).Particularly, the monitoring scheme of the present invention, a plurality of monitoring information of can classifying in batches, and provide to monitoring server Monitoring information through classification.In addition, the monitoring scheme of the present invention can be carried out to monitoring information point according to network access address Class simultaneously counts corresponding performance indications.So, the monitoring scheme of the present invention can provide up-to-date property to monitoring server is dynamic Can desired value (for example, the maximum value single reference duration of the access times of each network access address, single reference duration Minimum and access total duration etc.).
To sum up, the monitoring scheme of the present invention can continue to monitor real user and access performance number during network using application According to.
Brief description
In order to realize above-mentioned and related purpose, herein in conjunction with explained below and accompanying drawing, some illustrative sides to be described Face, these aspects indicate can be to put into practice the various modes of principles disclosed herein, and all aspects and its equivalent aspect It is intended to fall under in the range of theme required for protection.By detailed description below be read in conjunction with the accompanying, the disclosure above-mentioned And other purpose, feature and advantage will be apparent from.Throughout the disclosure, identical reference generally refers to identical Part or element.
Fig. 1 shows the structured flowchart of the mobile terminal 1 00 that some implement to arrange according to the present invention;
Fig. 2 shows the schematic diagram of the device 200 of network performance of monitoring application according to some embodiments of the invention;
The flow chart that Fig. 3 shows the method 300 of network performance of monitoring application according to some embodiments of the invention;With And
The flow chart that Fig. 4 shows the method 400 of network performance of monitoring application according to some embodiments of the invention.
Specific embodiment
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, these embodiments are provided to be able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 is the structured flowchart of mobile terminal 1 00.Mobile terminal 1 00 can include memory interface 102, or many Individual data processor, image processor and/or CPU 104, and peripheral interface 106.
Memory interface 102, one or more processors 104 and/or peripheral interface 106 both can be discrete components, Can be integrated in one or more integrated circuits.In the mobile terminal 100, various elements can communicate by one or more Bus or holding wire are coupling.Sensor, equipment and subsystem may be coupled to peripheral interface 106, so as to help realize multiple Function.
For example, motion sensor 110, light sensor 112 and range sensor 114 may be coupled to peripheral interface 106, To facilitate the functions such as orientation, illumination and range finding.Other sensors 116 equally can be connected with peripheral interface 106, for example positioning system System (such as gps receiver), temperature sensor, biometric sensor or other sensor devices, thus can help implement phase The function of closing.
Camera sub-system 120 and optical pickocff 122 can be used for facilitating the camera of such as recording photograph and video clipping The realization of function, wherein said camera sub-system and optical pickocff can be for example charge-coupled image sensor (ccd) or complementary gold Belong to oxide semiconductor (cmos) optical pickocff.Can help realize by one or more radio communication subsystem 124 Communication function, wherein radio communication subsystem can include radio-frequency transmitter and transmitter and/or light (for example infrared) receiver And transmitter.The particular design of radio communication subsystem 124 and embodiment can be supported depending on mobile terminal 1 00 one Individual or multiple communication networks.For example, mobile terminal 1 00 can include being designed to supporting lte, 3g, gsm network, gprs network, Edge network, wi-fi or wimax network and blueboothtmThe communication subsystem 124 of network.
Audio subsystem 126 can be coupled with speaker 128 and mike 130, to help enforcement to enable voice Function, such as speech recognition, speech reproduction, digital record and telephony feature.I/o subsystem 140 can include touch screen control Device 142 processed and/or other input controllers 144 one or more.Touch screen controller 142 may be coupled to touch screen 146.Lift For example, this touch screen 146 and touch screen controller 142 can be detected using any one of multiple touch-sensing technology The contact carrying out therewith and movement or time-out, wherein detection technology include but is not limited to capacitive character, resistive, infrared and table Face technology of acoustic wave.Other input controllers 144 one or more may be coupled to other input/control devicess 148, such as one Or the pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, usb port and/or instruction pen etc.Described One or more button (not shown)s can include the up/down for controlling loudspeaker 128 and/or mike 130 volume Button.
Memory interface 102 can be coupled with memorizer 150.This memorizer 150 can include high random access and deposit Reservoir and/or nonvolatile memory, for example one or more disk storage equipments, one or more optical storage apparatus, and/ Or flash memories (such as nand, nor).Memorizer 150 can with storage program area 172, such as android, ios or The operating system of windows phone etc.This operating system 172 can be included for processing basic system services and execution Depend on the instruction of the task of hardware.Memorizer 150 can also store application 174.When mobile device runs, can be from memorizer Load operating system 172 in 150, and executed by processor 104.Application 174 operationally, also can add from memorizer 150 Carry, and executed by processor 104.Application 174 operates on operating system 172, using operating system 172 and bottom hardware The interface providing realizes the desired function of various users, such as instant messaging, web page browsing, pictures management etc..Application 174 can be Independent of that operating system provides or that operating system carries.
In general, the network performance of each application can affect user experience to a great extent in application 174.This Bright propose a kind of network performance technical scheme of monitoring application, i.e. an integrated monitoring device in needing monitored application (can also this device be called probe, agent).For example, it is populated with a monitoring net in the monitored application shown in Fig. 1 The device 200 of network performance.Assembly of the invention 200 be configured to gather monitored apply various in accessing network development process Network performance data.
It should be noted that apply typically requiring call operation system (172) or third party's offer when accessing network Network communication unit.In other words, application sends network request message by network communication unit.Network communication unit receives This application is notified during corresponding response message.In an embodiment in accordance with the invention, technology (example is rewritten by java bytecode As java asm), probe can be integrated in monitored application.Wherein, asm relevant technical details refer to: http: // Asm.ow2.org, repeats no more here.More specifically, embodiments of the invention can be configured to monitored application Network interface replaces with the interface comprising to be capable of collection network data.On this basis, probe can get monitored application Access the network data in network development process.So, the probe of the present invention can be when user uses monitored application, and monitoring should Network performance under true use environment.Device 200 with reference to the network performance of the monitoring application to the present invention for the Fig. 2 Exemplary illustration further.
Fig. 2 shows the schematic diagram of the device 200 of network performance of monitoring application according to some embodiments of the invention.Should Device 200 is suitable to reside in monitored application.In other words, device 200 is considered the assembly of monitored application.
As shown in Fig. 2 device 200 includes collecting unit 210, processing unit 220 and transmission unit 230.Wherein, gather list Unit 210 is suitable in every network request message gather monitored application at least partially and at least one in corresponding response message Part.In other words, collecting unit 210 can from every network request message and this ask corresponding response message in, Collection network performance related data.Further, collecting unit 210 can be by every gathered network request message at least one Part is together with being stored as a monitoring information in message queue at least partially in corresponding response message.According to the present invention one In individual embodiment, when collecting unit 210 can gather http request message header, current request in every network request message Between, network access address, request method, internetwork connection mode and network operation state.In addition, collecting unit 210 can also be adopted Response message header, response data length, access end time and conditional code in collection response message.It should be noted that prison The comprised data of measurement information is not limited to shown in above-described embodiment it is also possible to be configured to including more more than above-described embodiment or more Few network data.According in another embodiment of the present invention, every monitoring information corresponds to access affairs.Wherein, The opening time of current request time this access affairs corresponding in monitoring information.In monitoring information, the access end time corresponds to this The individual end time accessing affairs.In other words, collecting unit 210 can be supervised to the whole implementation procedure of access affairs Survey, and obtain corresponding monitoring information.
In addition, above message queue can deposit a plurality of monitoring information.Here, message queue can be configured to multiple Known data structure, the present invention is without limitation.On this basis, processing unit 220 can select batch processing message Monitoring information in queue.In an embodiment in accordance with the invention, processing unit 220 for example can be according to predetermined period (duration) To process monitoring information.For example, predetermined period can be 2s, but not limited to this.Correspondingly, processing unit 220 can be at every 2 seconds Monitoring information in message queue of reason.According in another embodiment of the present invention, processing unit 220 can be with supervisory messages team The quantity of monitoring information in row, and process monitoring information therein when quantity reaches threshold value (such as 20).According to this In another embodiment bright, transmission unit 230 is configured to including a time block (not shown).Reach in each timing When, transmission unit 230 can indicate that processing unit 220 processes monitoring information in message queue.As described above, passing through batch processing Monitoring information in message queue, processing unit 220 can avoid frequently processing very much operation.Tool to processing unit 220 below Gymnastics illustrates.
Processing unit 220 is suitable to judge in message queue whether the corresponding network access address of every monitoring information is abnormal. Further, processing unit 220 can normally monitor letter based on predtermined category type come network access address determined by classifying Breath.In an embodiment in accordance with the invention, processing unit 220 first determines whether whether network access address is empty.If this ground Location is sky, and processing unit 220 can determine that this network access address is abnormal, and deletes corresponding monitoring information.In addition, processing single Unit 220 determination network access address format mistake is it is also possible to determine that this address is abnormal, and deletes corresponding monitoring information.Here, Network access address can be for example the forms such as ip address or domain name.
When determining that network access address is normal, processing unit 220 can come classification access ground according to predtermined category type The normal monitoring information in location.Depending on the classification demand to network data, embodiments of the invention can adopt multiple classification gauges Then monitoring information is grouped.In an embodiment in accordance with the invention, predtermined category type can include network error, Http response abnormality and http response are normal.In this embodiment, classification type is to be determined according to responsive state code.For example, The monitoring information that responsive state code can be more than 1000 by processing unit 220 extracts in the corresponding set of network error.Process single The monitoring information that responsive state code is less than 1000 by unit 220 more than 400 extracts in the corresponding set of http response abnormality.Response The monitoring information for 200 for the code extracts in the normal set of http response.In addition, processing unit 220 completes sort operation every time Afterwards, can be with flush message queue, so that collecting unit 210 continues to store new monitoring information in this message queue.
For the above-mentioned monitoring information through classification, transmission unit 230 can be transmitted to monitor server.So, Monitoring server can carry out subsequent analysis according to the monitoring information being received to network performance when actually used for the app.
In addition, the processing unit 230 of the present invention can be additionally configured to network according to network access address sort visiting Ask address normal monitoring information, and count each corresponding monitoring information in network access address and referred to obtaining corresponding performance Mark.Specifically, the network access address for classification can be for example a major network location.Processing unit 230 can will comprise Monitoring information corresponding to the reference address of this major network location is categorized in a set.On this basis, processing unit 230 is permissible When counting the access times to this major network location, the minimum of the maximum value single reference duration of single reference duration and accessing total Long etc..In addition, the processing unit 230 of the present invention can also count and calculate a greater variety of performance indications, the present invention is to this not It is limited.It should be noted that processing unit 230 can be configured to the monitoring information in each scheduled duration is united Meter.In addition, processing unit 230 can also be configured to, after processing monitoring information in message queue every scheduled duration, update Each corresponding performance index value in network access address.The performance index value of this renewal is to monitoring information in multiple scheduled durations Statistical result.Correspondingly, performance indications can be transferred to monitoring server by transmission unit 230.
To sum up, according to assembly of the invention 200, involved network access procedure in application running can be carried out Monitoring, persistently to obtain the monitoring information (at least a portion in such as request and response message) with regard to network access.Particularly, Assembly of the invention 200, a plurality of monitoring information of can classifying in batches, and provide the monitoring letter through classification to monitoring server Breath.In addition, assembly of the invention 200 can be classified to monitoring information according to network access address and be counted corresponding performance Index.So, the monitoring scheme of the present invention can to monitoring server dynamic provide up-to-date performance index value (for example, each The access times of network access address, the minimum of maximum value single reference duration of single reference duration and access total duration Deng).
The flow chart that Fig. 3 shows the method 300 of network performance of monitoring application according to some embodiments of the invention.Should Method 300 is suitable to execution in the monitored application of mobile terminal.
As shown in figure 3, method 300 starts from step s310.In step s310, every network gathering monitored application please Ask at least a portion and at least a portion in corresponding response message in message, and by every gathered network request message At least a portion together with corresponding response message at least a portion, be stored as a monitoring information in message queue.According to this One embodiment of invention, in step s310, http request message header, current request in every network request message of collection Time, network access address, request method, internetwork connection mode and network operation state.In addition, gathering phase in step s310 Response message header, access end time and conditional code in the response message answered.
For the monitoring information in message queue for the storage, method 300 execution step s320.In step s320, according to Every scheduled duration, time sequencing, judges in message queue whether the corresponding network access address of every monitoring information is abnormal.? When determining that in monitoring information, network access address is normal in step s320, method 300 execution step s330.In step s330, The normal monitoring information in network access address determined by being classified based on predtermined category type.According to one enforcement of the present invention Example, predtermined category type includes network error, http response abnormality and http response normally, but not limited to this.
For the monitoring information through classification, method 300 is adapted for carrying out step s340.In step s340, will be classified Monitoring information be transferred to monitoring server.Method 300 more specifically embodiment refers to the explanation of above device 200, Here repeat no more.
The flow chart that Fig. 4 shows the method 400 of network performance of monitoring application according to some embodiments of the invention.Should Method 400 is suitable to execution in the monitored application of mobile terminal.
As shown in figure 4, method 400 includes step s410, s420, s430 and s440.Here, step s410-s440 difference Consistent with above step s310-s340, repeat no more here.
In addition, when determining in step s420 that in monitoring information, network access address is abnormal, method 400 execution step s450.In step s450, delete the abnormal monitoring information in determined network access address.
In addition, method 400 also includes step s460 and s470.In step s460, according to network access address sort institute State the normal monitoring information in network access address, and it is corresponding to obtain to count each corresponding monitoring information in network access address Performance indications.According to one embodiment of the invention, the performance indications obtaining in step s460 include being counted each network access The access times of address, the minimum of maximum value single reference duration of single reference duration and access total duration, but be not limited to This.
In step s470, acquired performance indications are transferred to monitoring server.It should be noted that according to this In some embodiments of invention, step s470 and step s440 can merged execute, and the present invention is without limitation.In addition, Method 400 more specifically embodiment refers to the explanation above in connection with device 200, repeats no more here.
A10, the device as any one of a7-a9, wherein, described predtermined category type includes: network error, http Response abnormality and http response are normal.A11, the device as any one of a7-a10, wherein, described processing unit is further adapted for The normal monitoring information in network access address according to network access address sort, and count each network access address correspondence Monitoring information to obtain corresponding performance indications;Described transmission unit is further adapted for being transferred to acquired performance indications described Monitoring server.A12, the device as described in a11, wherein, acquired performance indications include: counted each network access ground The access times of location, the minimum of maximum value single reference duration of single reference duration and access total duration.
In description mentioned herein, illustrate a large amount of details.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, known method, knot are not been shown in detail Structure and technology, so as not to obscure the understanding of this description.
Similarly it will be appreciated that in order to simplify the disclosure and help understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect an intention that i.e. required guarantor The application claims of shield are than the feature more features being expressly recited in each claim.More precisely, as following As claims are reflected, inventive aspect is all features less than single embodiment disclosed above.Therefore, abide by The claims following specific embodiment are thus expressly incorporated in this specific embodiment, wherein each claim itself Separate embodiments as the present invention.
Those skilled in the art should be understood module or unit or the group of the equipment in example disclosed herein Part can be arranged in equipment as depicted in this embodiment, or alternatively can be positioned at and the equipment in this example In different one or more equipment.Module in aforementioned exemplary can be combined as a module or be segmented into multiple in addition Submodule.
Those skilled in the art are appreciated that and the module in the equipment in embodiment can be carried out adaptively Change and they are arranged in one or more equipment different from this embodiment.Can be the module in embodiment or list Unit or assembly be combined into a module or unit or assembly, and can be divided in addition multiple submodule or subelement or Sub-component.In addition to such feature and/or at least some of process or unit exclude each other, can adopt any Combination is to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed Where method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit requires, summary and accompanying drawing) disclosed in each feature can carry out generation by the alternative features providing identical, equivalent or similar purpose Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
Additionally, some heres in described embodiment be described as can be by the processor of computer system or by executing Method or the combination of method element that other devices of described function are implemented.Therefore, have for implementing methods described or method The processor of the necessary instruction of element forms the device for implementing the method or method element.Additionally, device embodiment This described element is the example of following device: this device is used for implementing performed by the element of the purpose in order to implement this invention Function.
As used in this, unless specifically stated so, come using ordinal number " first ", " second ", " the 3rd " etc. Description plain objects are merely representative of the different instances being related to similar object, and are not intended to imply that the object being so described must Must have the time upper, spatially, sequence aspect or given order in any other manner.
Although the present invention is described according to the embodiment of limited quantity, benefit from above description, the art Interior it is clear for the skilled person that it can be envisaged that other embodiments in the scope of the present invention thus describing.Additionally, it should be noted that Language used in this specification primarily to the purpose of readable and teaching and select, rather than in order to explain or limit Determine subject of the present invention and select.Therefore, in the case of without departing from the scope of the appended claims and spirit, for this For the those of ordinary skill of technical field, many modifications and changes will be apparent from.For the scope of the present invention, to this It is illustrative and not restrictive for inventing done disclosure, and it is intended that the scope of the present invention be defined by the claims appended hereto.

Claims (10)

1. a kind of method of the network performance of monitoring application, is suitable to execution, the method bag in the monitored application of mobile terminal Include:
Gather at least a portion and at least a portion in corresponding response message in every network request message of monitored application, And at least a portion in every gathered network request message is stored as at least partially together with corresponding response message A monitoring information in message queue;
Sequentially in time, whether judge in message queue the corresponding network access address of every monitoring information every scheduled duration Extremely, the normal monitoring information in network access address determined by and based on predtermined category type classifying;And
The monitoring information classified is transferred to monitoring server.
2. the method for claim 1, also includes deleting the abnormal monitoring information in determined network access address.
3. method as claimed in claim 1 or 2, at least one in every network request message of the monitored application of described collection At least one of operation with corresponding response message is divided to include:
Http request message header, current request time, network access address, requesting party in every network request message of collection Formula, internetwork connection mode and network operation state;
Gather response message header in corresponding response message, access end time and conditional code.
4. the method as any one of claim 1-3, wherein, described predtermined category type includes: network error, http Response abnormality and http response are normal.
5. the method as any one of claim 1-4, also includes:
The normal monitoring information in network access address according to network access address sort, and count each network access address Corresponding monitoring information is to obtain corresponding performance indications;
Acquired performance indications are transferred to described monitoring server.
6. method as claimed in claim 5, wherein, acquired performance indications include:
Counted the access times of each network access address, the maximum value single reference duration of single reference duration minimum Value and access total duration.
7. a kind of device of the network performance of monitoring application, is suitable in the application reside in mobile terminal, this device includes:
Collecting unit, is suitable at least a portion and corresponding response message in every network request message gather monitored application Middle at least a portion, and by every gathered network request message at least a portion together with corresponding response message at least A part is stored as a monitoring information in message queue;
Processing unit, is suitable to sequentially in time, judge in message queue the corresponding net of every monitoring information every scheduled duration Whether network reference address is abnormal, and letter is normally monitored in network access address determined by being classified based on predtermined category type Breath;
Transmission unit, is suitable to for the monitoring information classified to be transferred to monitoring server.
8. device as claimed in claim 7, wherein, described processing unit is further adapted for deleting determined network access address extremely Monitoring information.
9. device as claimed in claim 7 or 8, described collecting unit is suitable to be executed according to following manner and gathers monitored application Every network request message at least one of operation at least one of and corresponding response message:
Http request message header, current request time, network access address, requesting party in every network request message of collection Formula, internetwork connection mode and network operation state;
Gather response message header in corresponding response message, response data length, access end time and conditional code.
10. a kind of mobile terminal, comprising: one or more resident applications just like device any one of claim 7-9.
CN201611037910.2A 2016-11-23 2016-11-23 Method and device for monitoring network performance of application and mobile terminal Active CN106357480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611037910.2A CN106357480B (en) 2016-11-23 2016-11-23 Method and device for monitoring network performance of application and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611037910.2A CN106357480B (en) 2016-11-23 2016-11-23 Method and device for monitoring network performance of application and mobile terminal

Publications (2)

Publication Number Publication Date
CN106357480A true CN106357480A (en) 2017-01-25
CN106357480B CN106357480B (en) 2020-02-14

Family

ID=57861774

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611037910.2A Active CN106357480B (en) 2016-11-23 2016-11-23 Method and device for monitoring network performance of application and mobile terminal

Country Status (1)

Country Link
CN (1) CN106357480B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107370806A (en) * 2017-07-12 2017-11-21 北京京东尚科信息技术有限公司 HTTP conditional codes monitoring method, device, storage medium and electronic equipment
CN107577550A (en) * 2017-08-31 2018-01-12 北京奇安信科技有限公司 A kind of whether abnormal method and device of response for determining access request
CN107994943A (en) * 2017-12-05 2018-05-04 中盈优创资讯科技有限公司 Parameter acquisition system, method and computer-readable recording medium
CN108696400A (en) * 2017-04-12 2018-10-23 北京京东尚科信息技术有限公司 network monitoring method and device
CN109271310A (en) * 2017-07-18 2019-01-25 北京京东尚科信息技术有限公司 The exploitation test method and device of mobile applications network function
CN109992470A (en) * 2017-12-29 2019-07-09 北京国双科技有限公司 A kind of threshold adjustment methods and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868548A (en) * 2012-08-15 2013-01-09 苏州迈科网络安全技术股份有限公司 Method and system for detecting distribution of application performance influenced users
CN102902621A (en) * 2011-07-28 2013-01-30 塔塔咨询服务有限公司 Application performance measurement and reporting
CN105068876A (en) * 2015-07-01 2015-11-18 北京博睿宏远科技发展有限公司 Method for acquiring mobile phone APP performance data based on distributed true phones
CN105138460A (en) * 2015-09-18 2015-12-09 北京恒华伟业科技股份有限公司 Software testing method and system
CN106100895A (en) * 2016-07-11 2016-11-09 东软集团股份有限公司 Application performance achievement data acquisition method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902621A (en) * 2011-07-28 2013-01-30 塔塔咨询服务有限公司 Application performance measurement and reporting
CN102868548A (en) * 2012-08-15 2013-01-09 苏州迈科网络安全技术股份有限公司 Method and system for detecting distribution of application performance influenced users
CN105068876A (en) * 2015-07-01 2015-11-18 北京博睿宏远科技发展有限公司 Method for acquiring mobile phone APP performance data based on distributed true phones
CN105138460A (en) * 2015-09-18 2015-12-09 北京恒华伟业科技股份有限公司 Software testing method and system
CN106100895A (en) * 2016-07-11 2016-11-09 东软集团股份有限公司 Application performance achievement data acquisition method and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696400A (en) * 2017-04-12 2018-10-23 北京京东尚科信息技术有限公司 network monitoring method and device
CN107370806A (en) * 2017-07-12 2017-11-21 北京京东尚科信息技术有限公司 HTTP conditional codes monitoring method, device, storage medium and electronic equipment
CN107370806B (en) * 2017-07-12 2020-11-24 北京京东尚科信息技术有限公司 HTTP status code monitoring method, device, storage medium and electronic equipment
CN109271310A (en) * 2017-07-18 2019-01-25 北京京东尚科信息技术有限公司 The exploitation test method and device of mobile applications network function
CN107577550A (en) * 2017-08-31 2018-01-12 北京奇安信科技有限公司 A kind of whether abnormal method and device of response for determining access request
CN107577550B (en) * 2017-08-31 2021-02-09 奇安信科技集团股份有限公司 Method and device for determining whether response of access request is abnormal
CN107994943A (en) * 2017-12-05 2018-05-04 中盈优创资讯科技有限公司 Parameter acquisition system, method and computer-readable recording medium
CN109992470A (en) * 2017-12-29 2019-07-09 北京国双科技有限公司 A kind of threshold adjustment methods and device

Also Published As

Publication number Publication date
CN106357480B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN106357480A (en) Method and device for monitoring network performance of application and mobile terminal
CN105376335B (en) Collected data uploading method and device
CN111176960B (en) User operation behavior tracking method, device, equipment and storage medium
CN105553769A (en) Data collecting-analyzing system and method
CN108874268B (en) User behavior data acquisition method and device
CN105975391B (en) One kind restarting test method, equipment and mobile terminal
JP2018528517A (en) Method, apparatus and system for detecting fraudulent software promotions
CN105373479A (en) Automatic test method and device of memory leakage and mobile terminal
CN107390983A (en) Service order performs method, client and storage medium
CN107171894A (en) The method of terminal device, distributed high in the clouds detecting system and pattern detection
CN105516321A (en) Data acquisition method and device
CN110865851B (en) Automatic Android application data acquisition method and system
CN105553770B (en) Data acquisition control method and device
CN109753425A (en) Pop-up processing method and processing device
CN111367873A (en) Log data storage method and device, terminal and computer storage medium
CN105574150A (en) Data processing method and device
US10140377B2 (en) Data processing, data collection
CN114143049A (en) Abnormal flow detection method, abnormal flow detection device, storage medium and electronic equipment
CN114996103A (en) Page abnormity detection method and device, electronic equipment and storage medium
CN103268448A (en) Method and system for dynamically detecting safety of mobile applications
CN107102950A (en) A kind of applied program testing method and device
CN108509348A (en) A kind of test method and mobile terminal of system aging
CN112241362A (en) Test method, test device, server and storage medium
Khabou et al. Threshold‐based context analysis approach for ubiquitous systems
CN109165147A (en) Log print control program, device, system, back-end server and headend equipment

Legal Events

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