CN102761456A - Method, device and system for acquiring performance parameters of browser of mobile terminal - Google Patents

Method, device and system for acquiring performance parameters of browser of mobile terminal Download PDF

Info

Publication number
CN102761456A
CN102761456A CN2011101105384A CN201110110538A CN102761456A CN 102761456 A CN102761456 A CN 102761456A CN 2011101105384 A CN2011101105384 A CN 2011101105384A CN 201110110538 A CN201110110538 A CN 201110110538A CN 102761456 A CN102761456 A CN 102761456A
Authority
CN
China
Prior art keywords
browser
mobile terminal
performance parameter
server
webpage
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
CN2011101105384A
Other languages
Chinese (zh)
Other versions
CN102761456B (en
Inventor
郑然�
欧阳骏
谢少佳
宁京
彭庆棠
罗巍
李龙
刘泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110110538.4A priority Critical patent/CN102761456B/en
Publication of CN102761456A publication Critical patent/CN102761456A/en
Application granted granted Critical
Publication of CN102761456B publication Critical patent/CN102761456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method, a device and a system for acquiring performance parameters of a browser of a mobile terminal. The method includes setting a client device for receiving instructions from a server and executing the instructions in the mobile terminal in advance; receiving a network page access instruction from the server, triggering access to a network page corresponding to the network page access instruction and triggering packet capturing software installed in advance to capture a packet; outputting the captured packet to the server after the captured packet is encapsulated; and analyzing the captured encapsulated packet, acquiring data required for computing the performance parameters of the browser of the mobile terminal and computing to obtain the performance parameters of the browser of the mobile terminal. By the aid of the method, the device and the system, reliability of the acquired performance parameters of the browser of the mobile terminal can be improved.

Description

A kind of method, Apparatus and system that obtains the browser of mobile terminal performance parameter
Technical field
The present invention relates to measuring technology, particularly a kind of method, Apparatus and system that obtains the browser of mobile terminal performance parameter.
Background technology
Development along with mobile communication technology; The user can surf the web through browser of mobile terminal whenever and wherever possible, customized personal professional and the inquiry information needed; With the process of network interaction in; The quality of browser of mobile terminal performance has bigger influence to the experience of customer service, and the browser of mobile terminal performance can promote user's business experience preferably.Wherein, Portable terminal is meant the computer equipment that can in moving, use, promptly in mobile communication equipment, termination from or deliver to the wireless transmission of network; And self-ability is fitted to the computer equipment of wireless transmission; Broad sense can comprise mobile phone, notebook, vehicle-mounted computer etc., but under most of situation, be meant mobile phone or have the smart mobile phone of multiple application function.The browser of mobile terminal performance comprises page access speed and traffic consumes amount; Page access speed is used to represent that the user obtains professional speed degree; The communication quality that directly reflects network; Thereby can influence user's business experience, occur duration first with page info usually and page info shows that fully duration identifies, the traffic consumes amount is used to represent the cost of customer access network.Therefore; If with network service in; Can obtain the browser of mobile terminal performance parameter, it is particularly important to make whether the user continues communication according to the browser of mobile terminal performance parameter decision of obtaining, for example; If the browser of mobile terminal performance parameter of obtaining is relatively poor, the user can select to break off the network connection and wait for for a long time to avoid opening Webpage.
In the prior art, can obtain the browser of mobile terminal performance parameter, carry out brief description below through following two kinds of methods.
First kind of method that obtains the browser of mobile terminal performance parameter:
In a certain station network page of visit; Adopt preassembled record screen software to record a video; Then through analyzing each frame of video recording; When progress bar that occurs the visit of sign beginning Webpage in a certain frame of recording a video first or progress percentage, then this frame time corresponding point is visited to start with the time point of this website, write down this time point information t1; When page info occurring in a certain frame in this video recording first, then this frame time corresponding point writes down this time point information t2 for page info time of occurrence point first; When display page information fully occurring in a certain frame in this video recording first, then this frame time corresponding point is the concluding time point, and promptly page info shows the duration point fully, writes down this time point information t3.During this station network page of user capture, page info shows that first duration is t2-t1 so, and page info shows that fully duration is t3-t1.The traffic consumes amount of Webpage downloading process obtains through the enquiry mobile terminal connection management.
Second kind of method that obtains the browser of mobile terminal performance parameter:
In advance portable terminal and server are passed through serial communication, infrared ray, bluetooth, or Wireless Fidelity modes such as (Wi-Fi, Wireless Fidelity) connects; Server is carried out through the commands for controlling browser of mobile terminal and is opened the Webpage operation; In the Webpage downloading process, current mobile terminal screen is not stopped to carry out screenshotss, and the screenshotss data are transferred to server through modes such as serial communications, server can be provided with the screenshotss frequency; For example, whenever cut once screen second at a distance from s.In the practical application, the user during through Webpage of browser of mobile terminal visit, when the refreshing sign and be ' * ' first of the screen upper right corner, expression begins to visit a certain website; The sign that refreshes when the screen upper right corner is one and refreshes when sign that representation page information has shown fully first.Like this, through the little picture in the intercepting browser of mobile terminal screen upper right corner, refresh sign first for the picture of ' * ' and refresh sign and mate for the picture that refreshes sign first with server is provided with in advance; Download with the checking Webpage and whether to accomplish, accomplish, then carry out screenshotss once more and the screenshotss picture that obtains is mated if download; So circulation is accomplished until downloading, then, and according to the screenshotss frequency that is provided with in advance; For example; Every separated s cuts once figure second, calculates the time that Webpage is downloaded, and promptly page info shows duration fully.The traffic consumes amount of Webpage downloading process as previously mentioned, can obtain through the enquiry mobile terminal connection management.
By above-mentioned visible, the method for existing acquisition browser of mobile terminal performance parameter is for first method; Owing to obtain the browser of mobile terminal performance parameter, when confirming the concrete frame of the corresponding video recording of browser of mobile terminal performance parameter, there is artificial deviation through manual analysis video recording; Effective reflect mobile terminal browser performance, reliability is lower, simultaneously; Through manual analysis, efficient is lower.For second method, one of which, the page info in the time of can not obtaining visiting a certain website shows duration information first; Its two, screenshotss software needs to judge whether the page downloads completion behind the screenshotss picture; After judging that the page is not downloaded completion; Carry out the screenshotss operation again, and in the process that server is judged, the page possibly downloaded completion; Caused bigger time error, the browser of mobile terminal performance parameter reliability of obtaining is lower; Its three owing to need carry out picture contrast, coupling, because the influence of different contrast, color etc.; Possibly make identical two pictures of content of pages, because the difference of contrast, color makes it to mate success; Thereby, reduced the reliability of browser of mobile terminal performance parameter.
Summary of the invention
In view of this, main purpose of the present invention is to propose a kind of method that obtains the browser of mobile terminal performance parameter, improves the reliability of the browser of mobile terminal performance parameter of obtaining.
Another object of the present invention is to propose a kind of device that obtains the browser of mobile terminal performance parameter, improve the reliability of the browser of mobile terminal performance parameter of obtaining.
A purpose more of the present invention is to propose a kind of system that obtains the browser of mobile terminal performance parameter, improves the reliability of the browser of mobile terminal performance parameter of obtaining.
For achieving the above object, the invention provides a kind of method that obtains the browser of mobile terminal performance parameter, this method comprises:
The client terminal device that receives instruction and carry out according to instruction from server is set in portable terminal in advance;
Reception triggers the corresponding Webpage of the said Webpage access instruction of visit from the Webpage access instruction of server, and triggers preassembled packet capturing software and carry out packet capturing and encapsulation;
Resolve the wrapper of said extracting, obtain the browser of mobile terminal performance parameter and calculate desired data, calculate the browser of mobile terminal performance parameter.
The wrapper of said extracting exports server to packet capture Pcap file data packet format.
The said browser of mobile terminal performance parameter that calculates specifically comprises:
But the browser of mobile terminal performance parameter that parsing obtains is calculated desired data to be write in the editing files that is provided with in advance;
But the browser of mobile terminal performance parameter that invoke script reads in the editing files is calculated desired data, calculates the browser of mobile terminal performance parameter.
Said browser of mobile terminal performance parameter comprises: page info shows that first duration and page info show duration fully, wherein,
Page info shows that first duration is page info time point poor of time of occurrence point and beginning access web page first;
Page info shows that fully duration is the poor of concluding time point and the time point that begins access web page.
The time point of said beginning access web page connects the request package time corresponding point of the webserver for request;
Page info time of occurrence point first connects web server requests time corresponding point for being connected to the webserver and submitting to; Or; After the webserver returned the request response, the content that portable terminal obtains request was rendered into the time point on the browser of mobile terminal;
The concluding time point, the Webpage information of sending for the webserver arrives time corresponding point on the portable terminal fully, or portable terminal has received the overall network page info, and webserver time corresponding point is broken off in request.
But said editing files comprises the file of Excel form, text formatting, notepad form and word form.
Said script adopts script Python to write.
The said client terminal device that is provided with in advance is connected on the server through USB, serial communication, infrared ray, bluetooth or Wi-Fi, the instruction that monitor server sends.
Said Webpage information comprises the one or more Webpage uniform resource locator information that are provided with in advance.
Saidly carry out packet capturing and specifically comprise:
Obtain browser of mobile terminal and the mutual each time information of Webpage server, said mutual information comprises: transmission time information, source address information, destination address information, protocol information and state information.
When triggering access web page, further comprise:
Carry out timing, if in the time threshold that in portable terminal, is provided with in advance, do not receive overall network page info, then process ends.
The preassembled packet capturing software of said triggering carries out resolving before the step of wrapper of said extracting after the step of packet capturing and encapsulation, further comprises:
When receiving the overall network page info and break off successful connection, stop packet capturing, and will grasp seal dress after export server to.
A kind of client terminal device that obtains the browser of mobile terminal performance parameter, this device comprises: client terminal device monitoring modular, Webpage access modules, packet capturing module and package module, wherein,
The client terminal device monitoring modular is used for the Webpage access instruction of monitor server, according to the Webpage access instruction that receives, respectively to Webpage access modules and packet capturing module output triggering command;
The Webpage access modules is used to receive triggering command, the Webpage that the access web page access instruction is corresponding;
The packet capturing module is used to receive triggering command, the information that Webpage access modules access web page is mutual is carried out packet capturing, and the bag that will grasp exports package module to;
Package module is used for the bag of packet capturing module output is encapsulated, and exports external server to.
A kind of server-side device that obtains the browser of mobile terminal performance parameter, this device comprises: but parse module editing files memory module and script computing module, wherein,
Parse module is used for the wrapper that grasps is resolved, and writes in the editing files memory module but the browser of mobile terminal performance parameter that parsing obtains is calculated desired data;
But the editing files memory module is used to store the browser of mobile terminal performance parameter that writes and calculates desired data;
The script computing module, but the browser of mobile terminal performance parameter that is used for reading the editing files memory module is calculated desired data, calculates the browser of mobile terminal performance parameter.
A kind of system that obtains the browser of mobile terminal performance parameter, this system comprises: portable terminal and server, wherein,
Portable terminal is used for being provided with in advance the client terminal device that receives instruction and carry out according to instruction from server; Reception is from the Webpage access instruction of server, trigger the corresponding Webpage of access web page access instruction, and trigger preassembled packet capturing software and carry out packet capturing, and will grasp seal dress after export server to;
Server is used to resolve the wrapper of extracting, obtains the browser of mobile terminal performance parameter and calculates desired data, calculates desired data according to the performance parameter of obtaining and calculates the browser of mobile terminal performance parameter.
Said portable terminal comprises: client terminal device monitoring modular, Webpage access modules, packet capturing module and package module, wherein,
The client terminal device monitoring modular is used for the Webpage access instruction of monitor server, according to the Webpage access instruction that receives, respectively to Webpage access modules and packet capturing module output triggering command;
The Webpage access modules is used to receive triggering command, the Webpage that the access web page access instruction is corresponding;
The packet capturing module is used to receive triggering command, the information that Webpage access modules access web page is mutual is carried out packet capturing, and the bag that will grasp exports package module to;
Package module is used for the bag of packet capturing module output is encapsulated, and exports external server to.
Said server comprises: but parse module editing files memory module and script computing module, wherein,
Parse module is used for the wrapper that grasps is resolved, and writes in the editing files memory module but the browser of mobile terminal performance parameter that parsing obtains is calculated desired data;
But the editing files memory module is used to store the browser of mobile terminal performance parameter that writes and calculates desired data;
The script computing module, but the browser of mobile terminal performance parameter that is used for reading the editing files memory module is calculated desired data, calculates the browser of mobile terminal performance parameter.
Visible by above-mentioned technical scheme, a kind of method, Apparatus and system that obtains the browser of mobile terminal performance parameter provided by the invention is provided with the client terminal device that receives instruction and carry out according to instruction from server in advance in portable terminal; Reception triggers the corresponding Webpage of the said Webpage access instruction of visit from the Webpage access instruction of server, and triggers preassembled packet capturing software and carry out packet capturing and encapsulation; Resolve the wrapper of said extracting, obtain the browser of mobile terminal performance parameter and calculate desired data, calculate the browser of mobile terminal performance parameter.Like this, through the test of automation, when overall network page info end of transmission; Bag to grasping is analyzed; Avoided screenshotss, judgement, the bigger time error that causes of screenshotss again, and, need not carry out picture contrast, coupling; Artificial participation is less, efficient is high, has improved the reliability of the browser of mobile terminal performance parameter of obtaining.
Description of drawings
Fig. 1 obtains the method flow sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.
The Pcap file data bag sketch map that Fig. 2 forms for embodiment of the invention access web page.
Fig. 3 obtains the apparatus structure sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.
Fig. 4 obtains another apparatus structure sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.
Fig. 5 obtains the system configuration sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing and specific embodiment that the present invention is done to describe in detail further below.
In the prior art; Obtain the method for browser of mobile terminal performance parameter and mate the method for obtaining the browser of mobile terminal performance parameter through the manual analysis video recording, all have the lower defective of browser of mobile terminal performance parameter reliability through the judgement of screenshotss software screenshotss picture.In the embodiment of the invention,, the wireless automation tools collection WiMAT of the embodiment of the invention is installed promptly in portable terminal through the client terminal device that receives instruction and carry out according to instruction from server is set in advance; Be used for and server communication, server operation corresponding scripts is used to the Webpage of notifying browser of mobile terminal visit to be measured to be provided with in advance; For example, Baidu's page, Sina's page and Sohu's page etc. are in access web page; Adopt LiteSniffer to carry out packet capturing, the information of each Webpage of the visit of grasping is stored with packet capture (Pcap, Packet Capture) packet form; After packet capturing is accomplished; Resolve each the Pcap bag that grasps through ParsePcap, and resolution data is write in the Excel table, afterwards; The script of server operation reads the data of parsing from the Excel table, carry out calculating the browser of mobile terminal performance parameter.
Fig. 1 obtains the method flow sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.Referring to Fig. 1, this flow process comprises:
Step 101 is provided with the client terminal device that receives instruction and carry out according to instruction from server in advance in portable terminal;
In this step,, be used for being responsible for receiving instruction and execution from server at the client terminal device that running of mobile terminal is provided with in advance.For example; Installation of W iMAT on portable terminal, and the modes such as USB (USB, Universal Serial Bus), serial communication, infrared ray, bluetooth or Wi-Fi of passing through are connected on the server; Monitor server is waited for the instruction of sending from server then.WiMAT is a wireless automation tools collection, can monitor the instruction of incoming terminal, with the corresponding operation of control portable terminal execution command.Server triggers Run Script by the user, makes this script send instruction from server.
Step 102 receives the Webpage access instruction from server, triggers the corresponding Webpage of access web page access instruction, and triggers preassembled packet capturing software and carry out packet capturing;
In this step, the client terminal device monitor server that portable terminal is provided with receives the Webpage access instruction from server, according to the Webpage information of carrying in the Webpage access instruction, and the Webpage that access web page information is corresponding.
Webpage information comprises one or more Webpage uniform resource locators (URL, the Universal Resource Locator) information that is provided with in advance, for example, and the page URL of Baidu information, Sina's page URL information and the page URL of Sohu information etc.Certainly, in the practical application, in order to improve the reliability of statistics of the browser of mobile terminal performance parameter of obtaining at last, Webpage information can also comprise the frequency information and the access times information of access web page.For example, visit blanking time and total access times of the same station network page.
When the beginning access web page; When promptly carrying out the operation of corresponding network page access according to the Webpage access instruction; Trigger preassembled packet capturing software the reciprocal process of browser of mobile terminal access web page and Webpage server (webserver) is carried out the packet capturing processing; That is to say, obtain the information of browser of mobile terminal and Webpage server interaction, for example; When sending the connection web server requests, grasp its transmission time information that comprises, source address information, destination address information, protocol information and state information etc. to the Webpage server; When the Webpage server returns the response of connection web server requests, grasp its transmission time information that comprises, source address information, destination address information, protocol information and state information etc. equally.Packet capturing software can be LiteSniffer, also can be other packet capturing software commonly used.
Step 103 when receiving the overall network page info and break off successful connection, stops packet capturing, and will grasp seal dress after export server to;
This step is optional, and in the process of access web page, packet capturing software grasps the information of browser of mobile terminal and Webpage server interaction each time; At last, when the Webpage server returns the overall network page info to browser of mobile terminal, browser of mobile terminal obtains the overall network page info; Send the disconnection connection request to the Webpage server, the Webpage server receives request, breaks off connecting; Return the response of disconnection connection request to browser of mobile terminal; Browser of mobile terminal receive to break off the connection request response, stops packet capturing, and will grasp seal dress after export server to.
In the practical application, when triggering access web page, further comprise, carry out timing, if in the time threshold that is provided with in advance, do not receive the overall network page info, then can process ends.
Preferably, in the embodiment of the invention, the bag of extracting exports server to Pcap file data packet format and stores, and certainly, also can be stored in portable terminal, but consider the storage capacity of portable terminal, generally exports server to and stores.The corresponding Pcap file data bag of access web page.
The Pcap file is a kind of standard file format, has the file header and the data packet head of full-length, wherein,
File header is defined as:
Figure BDA0000058451000000101
Data packet head is defined as:
Figure BDA0000058451000000102
Because file header and the data packet head of Pcap file with full-length, thereby, be convenient to untar and resolve, the untar information such as address, packet receiving address, the time of giving out a contract for a project that can from Pcap file data bag, obtain giving out a contract for a project.Can confirm the website of mobile terminal accessing through give out a contract for a project address and packet receiving address.
The Pcap file data bag sketch map that Fig. 2 forms for embodiment of the invention access web page.Referring to Fig. 2; The mode of these Pcap file data bag ranks is arranged; Each behavior once with the visit information of browser of mobile terminal or web page server, comprising: sequence number, time (Time), source address (Source), destination address (Destination), agreement (Protocol) and state information (Info) etc.
Step 104, the bag of the extracting of parsing encapsulation obtains the browser of mobile terminal performance parameter and calculates desired data, calculates desired data according to the performance parameter of obtaining and calculates the browser of mobile terminal performance parameter.
In this step, resolve the bag that grasps and specifically comprise:
Server adopts the unpack software corresponding with packet capturing software, and for example, in the embodiment of the invention, the software that unpacks that packet capturing software LiteSniffer is corresponding is ParsePcap, and the Pcap file data bag that grasps is resolved.Because Pcap file data bag is a regular packet, form has strict requirement, can from Pcap file data bag, obtain browser of mobile terminal performance parameter calculating desired data to be tested by correspondence position.For example, be example with Fig. 2, the first behavior request connects the request package time corresponding point t of the webserver 0, fourth line connects web server requests (comprising GET in the information) time corresponding point t for being connected to the webserver and submitting to 1, after the 7th behavior webserver returned the request response, the content that portable terminal obtains request was rendered into time point (comprising HTTP in the information) t on the browser of mobile terminal 2, the Webpage information that the fourth from the last behavior webserver sends arrives time corresponding point on the portable terminal (comprising HTTP/1.1 200 OK in the information) t fully 3, behavior portable terminal second from the bottom has received the overall network page info, and request is broken off webserver time corresponding point and (is comprised FIN in the information, ACK) t 4Wherein,
t 0=0.000000;t 1=1.128000;t 2=3.647125;t 3=41.574375;t 4=41.696125。
Calculating the browser of mobile terminal performance parameter according to the performance parameter calculating desired data that obtains specifically comprises:
But A, the browser of mobile terminal performance parameter calculating desired data that parsing is obtained write in the editing files that is provided with in advance;
In this step; It is time point information that the browser of mobile terminal performance parameter is calculated desired data, but editing files comprises Excel form, text formatting, notepad form and word formatted file, preferably; Because the Excel table writes conveniently, preferentially adopt the Excel table.
In the embodiment of the invention, if a plurality of portable terminals that have that link to each other with server test, but then editing files is set respectively according to mobile terminal identification.
But the browser of mobile terminal performance parameter that B, invoke script read in the editing files is calculated desired data, calculates the browser of mobile terminal performance parameter.
In this step; If adopt Excel table writing mode; The browser of mobile terminal performance parameter that the script of server reads in the Excel table is calculated desired data, calculates desired data according to the browser of mobile terminal performance parameter of each station network page, calculates the browser of mobile terminal performance parameter of this station network page of visit; If a certain station network page is visited repeatedly, then calculate according to the average computation desired data of repeatedly visiting this station network page.
Script can adopt script Python to write.
The browser of mobile terminal performance parameter comprises: page info shows duration T first sAnd page info shows duration T fully w, wherein,
The time point of beginning access web page connects the request package time corresponding point of the webserver for request, and promptly sequence number is the time point t of 1 first row 0, general, acquiescence t 0=0;
Page info time of occurrence point first connects web server requests time corresponding point for being connected to the webserver and submitting to; Or; After the webserver returned the request response, the content that portable terminal obtains request was rendered into the time point on the browser of mobile terminal;
The concluding time point, the Webpage information of sending for the webserver arrives time corresponding point on the portable terminal fully, or portable terminal has received the overall network page info, and webserver time corresponding point is broken off in request.According to the keyword message that comprises in the information in the Pcap file data bag, can inquire about, confirm corresponding time point information.
T s=t 2-t 0, or, T s=t 1-t 0
T w=t 4-t 0, or, T w=t 3-t 0
By above-mentioned visible, the method for the acquisition browser of mobile terminal performance parameter of the embodiment of the invention is provided with the client terminal device that receives instruction and carry out according to instruction from server in advance in portable terminal; Reception triggers the corresponding Webpage of access web page access instruction, and triggers preassembled packet capturing software and carry out packet capturing from the Webpage access instruction of server; Resolve the wrapper that grasps, obtain the browser of mobile terminal performance parameter and calculate desired data, calculate desired data according to the performance parameter of obtaining and calculate the browser of mobile terminal performance parameter.Like this,, each interactive information is analyzed through the test of automation, the error of having avoided artificial analysis to occur, artificial participation is less, efficient is high; Further, at overall network page info end of transmission and when breaking off successful connection, the bag that grasps is analyzed, avoided screenshotss, judgement, the bigger time error that causes of screenshotss again, the browser of mobile terminal performance parameter reliability of obtaining is high; And, judge according to the specifying information that comprises in the bag that grasps, need not carry out picture contrast, coupling, avoided matching error, thereby, improved the reliability of the browser of mobile terminal performance parameter of obtaining.
Fig. 3 obtains the apparatus structure sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.Referring to Fig. 3, this device is portable terminal, comprising: client terminal device monitoring modular, Webpage access modules, packet capturing module and package module, wherein,
The client terminal device monitoring modular is used for the Webpage access instruction of monitor server, according to the Webpage access instruction that receives, respectively to Webpage access modules and packet capturing module output triggering command;
The Webpage access modules is used to receive triggering command, and the Webpage that the access web page access instruction is corresponding when receiving the overall network page info and breaking off successful connection, stops the packet capturing instruction to the output of packet capturing module;
The packet capturing module is used to receive triggering command, and the information that Webpage access modules access web page is mutual is carried out packet capturing, receives to stop the packet capturing instruction, stop packet capturing, and the bag that will grasp exports package module to;
Package module is used for the bag of packet capturing module output is encapsulated, and exports external server to.
Fig. 4 obtains another apparatus structure sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.Referring to figure, this device is server, comprising: but parse module editing files memory module and script computing module, wherein,
Parse module is used for the wrapper that grasps is resolved, and writes in the editing files memory module but the browser of mobile terminal performance parameter that parsing obtains is calculated desired data;
But the editing files memory module is used to store the browser of mobile terminal performance parameter that writes and calculates desired data;
The script computing module, but the browser of mobile terminal performance parameter that is used for reading the editing files memory module is calculated desired data, calculates the browser of mobile terminal performance parameter.
Fig. 5 obtains the system configuration sketch map of browser of mobile terminal performance parameter for the embodiment of the invention.Referring to Fig. 5, this system comprises: portable terminal and server, wherein,
Portable terminal is used for being provided with in advance the client terminal device that receives instruction and carry out according to instruction from server; Reception triggers the corresponding Webpage of access web page access instruction, and triggers preassembled packet capturing software and carry out packet capturing from the Webpage access instruction of server; When receiving the overall network page info and break off successful connection, stop packet capturing, and will grasp seal dress after export server to;
Server is used to resolve the wrapper of extracting, obtains the browser of mobile terminal performance parameter and calculates desired data, calculates desired data according to the performance parameter of obtaining and calculates the browser of mobile terminal performance parameter.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. a method that obtains the browser of mobile terminal performance parameter is characterized in that, this method comprises:
The client terminal device that receives instruction and carry out according to instruction from server is set in portable terminal in advance;
Reception triggers the corresponding Webpage of the said Webpage access instruction of visit from the Webpage access instruction of server, and triggers preassembled packet capturing software and carry out packet capturing and encapsulation;
Resolve the wrapper of said extracting, obtain the browser of mobile terminal performance parameter and calculate desired data, calculate the browser of mobile terminal performance parameter.
2. the method for claim 1 is characterized in that, the wrapper of said extracting exports server to packet capture Pcap file data packet format.
3. method as claimed in claim 2 is characterized in that, the said browser of mobile terminal performance parameter that calculates specifically comprises:
But the browser of mobile terminal performance parameter that parsing obtains is calculated desired data to be write in the editing files that is provided with in advance;
But the browser of mobile terminal performance parameter that invoke script reads in the editing files is calculated desired data, calculates the browser of mobile terminal performance parameter.
4. method as claimed in claim 3 is characterized in that, said browser of mobile terminal performance parameter comprises: page info shows that first duration and page info show duration fully, wherein,
Page info shows that first duration is page info time point poor of time of occurrence point and beginning access web page first;
Page info shows that fully duration is the poor of concluding time point and the time point that begins access web page.
5. method as claimed in claim 4 is characterized in that,
The time point of said beginning access web page connects the request package time corresponding point of the webserver for request;
Page info time of occurrence point first connects web server requests time corresponding point for being connected to the webserver and submitting to; Or; After the webserver returned the request response, the content that portable terminal obtains request was rendered into the time point on the browser of mobile terminal;
The concluding time point, the Webpage information of sending for the webserver arrives time corresponding point on the portable terminal fully, or portable terminal has received the overall network page info, and webserver time corresponding point is broken off in request.
6. method as claimed in claim 3 is characterized in that, but said editing files comprises the file of Excel form, text formatting, notepad form and word form.
7. method as claimed in claim 3 is characterized in that, said script adopts script Python to write.
8. like each described method of claim 1 to 7, it is characterized in that the said client terminal device that is provided with in advance is connected on the server through USB, serial communication, infrared ray, bluetooth or Wi-Fi, the instruction that monitor server sends.
9. method as claimed in claim 8 is characterized in that, said Webpage information comprises the one or more Webpage uniform resource locator information that are provided with in advance.
10. method as claimed in claim 8 is characterized in that, saidly carries out packet capturing and specifically comprises:
Obtain browser of mobile terminal and the mutual each time information of Webpage server, said mutual information comprises: transmission time information, source address information, destination address information, protocol information and state information.
11. method as claimed in claim 8 is characterized in that, when triggering access web page, further comprises:
Carry out timing, if in the time threshold that in portable terminal, is provided with in advance, do not receive overall network page info, then process ends.
12. method as claimed in claim 8 is characterized in that, the preassembled packet capturing software of said triggering carries out resolving before the step of wrapper of said extracting after the step of packet capturing and encapsulation, further comprises:
When receiving the overall network page info and break off successful connection, stop packet capturing, and will grasp seal dress after export server to.
13. a client terminal device that obtains the browser of mobile terminal performance parameter is characterized in that, this device comprises: client terminal device monitoring modular, Webpage access modules, packet capturing module and package module, wherein,
The client terminal device monitoring modular is used for the Webpage access instruction of monitor server, according to the Webpage access instruction that receives, respectively to Webpage access modules and packet capturing module output triggering command;
The Webpage access modules is used to receive triggering command, the Webpage that the access web page access instruction is corresponding;
The packet capturing module is used to receive triggering command, the information that Webpage access modules access web page is mutual is carried out packet capturing, and the bag that will grasp exports package module to;
Package module is used for the bag of packet capturing module output is encapsulated, and exports external server to.
14. a server-side device that obtains the browser of mobile terminal performance parameter is characterized in that, this device comprises: but parse module editing files memory module and script computing module, wherein,
Parse module is used for the wrapper that grasps is resolved, and writes in the editing files memory module but the browser of mobile terminal performance parameter that parsing obtains is calculated desired data;
But the editing files memory module is used to store the browser of mobile terminal performance parameter that writes and calculates desired data;
The script computing module, but the browser of mobile terminal performance parameter that is used for reading the editing files memory module is calculated desired data, calculates the browser of mobile terminal performance parameter.
15. a system that obtains the browser of mobile terminal performance parameter is characterized in that, this system comprises: portable terminal and server, wherein,
Portable terminal is used for being provided with in advance the client terminal device that receives instruction and carry out according to instruction from server; Reception is from the Webpage access instruction of server, trigger the corresponding Webpage of access web page access instruction, and trigger preassembled packet capturing software and carry out packet capturing, and will grasp seal dress after export server to;
Server is used to resolve the wrapper of extracting, obtains the browser of mobile terminal performance parameter and calculates desired data, calculates desired data according to the performance parameter of obtaining and calculates the browser of mobile terminal performance parameter.
16. system as claimed in claim 15 is characterized in that, said portable terminal comprises: client terminal device monitoring modular, Webpage access modules, packet capturing module and package module, wherein,
The client terminal device monitoring modular is used for the Webpage access instruction of monitor server, according to the Webpage access instruction that receives, respectively to Webpage access modules and packet capturing module output triggering command;
The Webpage access modules is used to receive triggering command, the Webpage that the access web page access instruction is corresponding;
The packet capturing module is used to receive triggering command, the information that Webpage access modules access web page is mutual is carried out packet capturing, and the bag that will grasp exports package module to;
Package module is used for the bag of packet capturing module output is encapsulated, and exports external server to.
17., it is characterized in that said server comprises like claim 15 or 16 described systems: but parse module editing files memory module and script computing module, wherein,
Parse module is used for the wrapper that grasps is resolved, and writes in the editing files memory module but the browser of mobile terminal performance parameter that parsing obtains is calculated desired data;
But the editing files memory module is used to store the browser of mobile terminal performance parameter that writes and calculates desired data;
The script computing module, but the browser of mobile terminal performance parameter that is used for reading the editing files memory module is calculated desired data, calculates the browser of mobile terminal performance parameter.
CN201110110538.4A 2011-04-29 2011-04-29 A kind of method, Apparatus and system obtaining browser of mobile terminal performance parameter Active CN102761456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110110538.4A CN102761456B (en) 2011-04-29 2011-04-29 A kind of method, Apparatus and system obtaining browser of mobile terminal performance parameter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110110538.4A CN102761456B (en) 2011-04-29 2011-04-29 A kind of method, Apparatus and system obtaining browser of mobile terminal performance parameter

Publications (2)

Publication Number Publication Date
CN102761456A true CN102761456A (en) 2012-10-31
CN102761456B CN102761456B (en) 2016-01-20

Family

ID=47055782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110110538.4A Active CN102761456B (en) 2011-04-29 2011-04-29 A kind of method, Apparatus and system obtaining browser of mobile terminal performance parameter

Country Status (1)

Country Link
CN (1) CN102761456B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077214A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Software system loading procedure image identification method and system
CN105024872A (en) * 2014-04-25 2015-11-04 腾讯科技(北京)有限公司 Network performance test method and device
CN105100201A (en) * 2015-06-12 2015-11-25 小米科技有限责任公司 Data packet capturing method and data packet capturing device
CN105302530A (en) * 2014-06-17 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for intercepting data packet on mobile terminal
CN105577453A (en) * 2016-02-24 2016-05-11 北京奇虎科技有限公司 System and method for realizing application test of mobile terminals
CN106202244A (en) * 2016-06-28 2016-12-07 深圳中兴网信科技有限公司 Web page message return method and web page message return system
CN106982368A (en) * 2016-01-19 2017-07-25 腾讯科技(深圳)有限公司 video response speed detection method and system
CN108173702A (en) * 2016-12-07 2018-06-15 腾讯科技(深圳)有限公司 A kind of mobile equipment performance evaluating method, device, client and system
CN109194706A (en) * 2018-07-20 2019-01-11 网宿科技股份有限公司 Internet resources dial testing method and terminal
CN109446086A (en) * 2018-10-29 2019-03-08 北京酷我科技有限公司 A kind of method of App inside packet capturing
CN110442770A (en) * 2019-08-08 2019-11-12 深圳市今天国际物流技术股份有限公司 A kind of data grabber and store method, device, computer equipment and storage medium
CN110740447A (en) * 2019-10-22 2020-01-31 福州汇思博信息技术有限公司 remote log grabbing method for Android terminal
CN110888795A (en) * 2018-09-11 2020-03-17 中数通信息有限公司 Method for acquiring APP security evaluation data
CN110996094A (en) * 2019-11-01 2020-04-10 北京奇艺世纪科技有限公司 Method and device for detecting video jamming, computer equipment and storage medium
CN112269954A (en) * 2020-10-28 2021-01-26 连尚(北京)网络科技有限公司 Page use duration determining method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521996A (en) * 2003-02-13 2004-08-18 ���ǵ�����ʽ���� Browser testing system and method thereof
US20070118640A1 (en) * 2005-11-21 2007-05-24 Ebay Inc. Techniques for measuring above-the-fold page rendering
US7330887B1 (en) * 2003-01-06 2008-02-12 Cisco Technology, Inc. Method and system for testing web-based applications

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7330887B1 (en) * 2003-01-06 2008-02-12 Cisco Technology, Inc. Method and system for testing web-based applications
CN1521996A (en) * 2003-02-13 2004-08-18 ���ǵ�����ʽ���� Browser testing system and method thereof
US20070118640A1 (en) * 2005-11-21 2007-05-24 Ebay Inc. Techniques for measuring above-the-fold page rendering

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CHIP: "《9款浏览器软件横向评测-浏览器的战国时代》", 《CHIP新电脑》, no. 2, 28 February 2003 (2003-02-28), pages 152 - 157 *
MICROSOFT TECHNET: "《测量网页的加载时间》", 《URL:HTTPS://TECHNET.MICROSOFT.COM/ZH-CN/LIBRARY/CC778898(V=WS.10)》, 31 August 2005 (2005-08-31) *
彭鸿儒 等: "《Web客户端用户行为数据收集研究》", 《软件导刊》, vol. 10, no. 2, 28 February 2011 (2011-02-28), pages 155 - 157 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077214A (en) * 2013-03-26 2014-10-01 腾讯科技(深圳)有限公司 Software system loading procedure image identification method and system
CN104077214B (en) * 2013-03-26 2018-02-27 腾讯科技(深圳)有限公司 Software systems loading procedure image-recognizing method and system
CN105024872B (en) * 2014-04-25 2019-02-26 腾讯科技(北京)有限公司 The method and device of applied in network performance test
CN105024872A (en) * 2014-04-25 2015-11-04 腾讯科技(北京)有限公司 Network performance test method and device
CN105302530A (en) * 2014-06-17 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for intercepting data packet on mobile terminal
CN105302530B (en) * 2014-06-17 2019-05-31 腾讯科技(深圳)有限公司 A kind of method and apparatus of the packet of intercepted data on mobile terminals
CN105100201A (en) * 2015-06-12 2015-11-25 小米科技有限责任公司 Data packet capturing method and data packet capturing device
CN106982368A (en) * 2016-01-19 2017-07-25 腾讯科技(深圳)有限公司 video response speed detection method and system
CN106982368B (en) * 2016-01-19 2020-06-23 腾讯科技(深圳)有限公司 Video response speed detection method and system
CN105577453A (en) * 2016-02-24 2016-05-11 北京奇虎科技有限公司 System and method for realizing application test of mobile terminals
CN106202244A (en) * 2016-06-28 2016-12-07 深圳中兴网信科技有限公司 Web page message return method and web page message return system
CN108173702A (en) * 2016-12-07 2018-06-15 腾讯科技(深圳)有限公司 A kind of mobile equipment performance evaluating method, device, client and system
CN108173702B (en) * 2016-12-07 2021-03-16 腾讯科技(深圳)有限公司 Mobile equipment performance evaluation method, device, client and system
CN109194706A (en) * 2018-07-20 2019-01-11 网宿科技股份有限公司 Internet resources dial testing method and terminal
CN109194706B (en) * 2018-07-20 2021-11-16 网宿科技股份有限公司 Network resource dial testing method and terminal
CN110888795A (en) * 2018-09-11 2020-03-17 中数通信息有限公司 Method for acquiring APP security evaluation data
CN110888795B (en) * 2018-09-11 2023-10-20 中数通信息有限公司 APP security evaluation data acquisition method
CN109446086A (en) * 2018-10-29 2019-03-08 北京酷我科技有限公司 A kind of method of App inside packet capturing
CN110442770A (en) * 2019-08-08 2019-11-12 深圳市今天国际物流技术股份有限公司 A kind of data grabber and store method, device, computer equipment and storage medium
CN110442770B (en) * 2019-08-08 2023-06-20 深圳市今天国际物流技术股份有限公司 Data grabbing and storing method and device, computer equipment and storage medium
CN110740447A (en) * 2019-10-22 2020-01-31 福州汇思博信息技术有限公司 remote log grabbing method for Android terminal
CN110996094A (en) * 2019-11-01 2020-04-10 北京奇艺世纪科技有限公司 Method and device for detecting video jamming, computer equipment and storage medium
CN112269954A (en) * 2020-10-28 2021-01-26 连尚(北京)网络科技有限公司 Page use duration determining method and device

Also Published As

Publication number Publication date
CN102761456B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN102761456A (en) Method, device and system for acquiring performance parameters of browser of mobile terminal
US20180041530A1 (en) Method and system for detecting malicious web addresses
US10887201B2 (en) Method for automatically monitoring end-to-end end user performance and apparatus for performing the method
CN107124430B (en) Page hijacking monitoring method, device, system and storage medium
CN106484611B (en) Fuzzy test method and device based on automatic protocol adaptation
CN103067423B (en) The method of browser kernel adaptation and browser
CN110769009B (en) User identity authentication method and system
CN103347092A (en) Method and device for recognizing cacheable file
CN106549989B (en) Data transmission method and system, user terminal and application server
CN110808868B (en) Test data acquisition method and device, computer equipment and storage medium
CN102970356A (en) Communication method, system and device for cloud side server and client side
CN103116645A (en) Method and device for browsing webpage with mobile device
CN110798445A (en) Public gateway interface testing method and device, computer equipment and storage medium
CN111294849B (en) LTE user Internet surfing quality difference judging method and device
CN111447170A (en) Data processing method and system, computer system and computer readable medium
CN108156223A (en) A kind of accurate supplying system of message based on websocket and method
CN101159739B (en) Subtitling display process and communication system and related equipment
CN108345606A (en) The acquisition methods and device of web page resources
CN102136964B (en) Website testing method and system
CN102868909A (en) Method and device for caching MP4 online video
CN102523244A (en) Uploading method and system for page documents
CN107888451B (en) Method and device for testing Web server
CN105119764A (en) Method and device for monitoring flow
CN110267062B (en) Optimization method and device for assembled video frame and readable storage medium
CN109905430A (en) A kind of method for upgrading software and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant