CN108205487A - A kind of method, apparatus and user terminal for monitoring browser performance - Google Patents

A kind of method, apparatus and user terminal for monitoring browser performance Download PDF

Info

Publication number
CN108205487A
CN108205487A CN201611194745.1A CN201611194745A CN108205487A CN 108205487 A CN108205487 A CN 108205487A CN 201611194745 A CN201611194745 A CN 201611194745A CN 108205487 A CN108205487 A CN 108205487A
Authority
CN
China
Prior art keywords
server
performance
browser
sent
performance data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611194745.1A
Other languages
Chinese (zh)
Inventor
刘翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201611194745.1A priority Critical patent/CN108205487A/en
Publication of CN108205487A publication Critical patent/CN108205487A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of method, apparatus and user terminal for monitoring browser performance, belongs to field of computer technology.The method of the monitoring browser performance includes sending web access requests to server;Receive the response instruction that server returns;When there are scheduled field and scheduled field being not empty during response instructs, the browser performance parameter acquiring performance data corresponding with browser performance parameter according to entrained by the corresponding information of scheduled field;Performance data is sent to server.This method enables the server to get the performance data of browser, and then the performance of the monitoring browser of the performance data by getting.

Description

A kind of method, apparatus and user terminal for monitoring browser performance
Technical field
The present invention relates to field of computer technology, in particular to a kind of method, apparatus for monitoring browser performance and User terminal.
Background technology
The prior art is directed to the monitoring of browser performance, is called generally by JS (JavaScript, script) clear Device performance interface is look at, for example, using Navigation Timing (navigation timing) API (Application Programming Interface, application programming interface).However, existing Navigation Timing API are not crucial comprising some Performance data, such as accurate initial screen time.Initial screen time and rendering some relevant other data of typesetting are non-to server It is often important.The performance data that can server improve is all most important to itself performance monitoring and page layout optimization.Cause This, how to solve the above problems is a great problem faced at present.
Invention content
The present invention provides a kind of method, apparatus and user terminal for monitoring browser performance, it is intended to improve the above problem.
In a first aspect, a kind of method for monitoring browser performance provided by the invention, the method includes:It is sent out to server Send web access requests;Receive the response instruction that the server returns;When there are scheduled field and institutes in the response instruction When to state scheduled field be not empty, browser performance parameter acquiring according to entrained by the corresponding information of the scheduled field with it is described The corresponding performance data of browser performance parameter;The performance data is sent to the server.
Second aspect, a kind of device for monitoring browser performance provided by the invention, described device include:Request sends single Member, for sending web access requests to server;Instruction reception unit refers to for receiving the response that the server returns It enables;Data capture unit, for when there are scheduled field and the scheduled field being not empty in the response instruction, according to institute State the browser performance parameter acquiring performance corresponding with the browser performance parameter entrained by the corresponding information of scheduled field Data;Data transmission unit, for the performance data to be sent to the server.
The third aspect, a kind of user terminal provided by the invention, the user terminal include processor and memory, institute It states memory and is couple to the processor, the memory store instruction makes institute when executed by the processor It states user terminal and performs following operate:Web access requests are sent to server;Receive the response instruction that the server returns; When there are scheduled field and the scheduled field being not empty in the response instruction, according to the corresponding information of the scheduled field Entrained browser performance parameter acquiring performance data corresponding with the browser performance parameter;The performance data is sent out Give the server.
The method, apparatus and user terminal for a kind of monitoring browser performance that the invention described above provides, since server returns The response returned is instructed there are scheduled field, and the corresponding information of the scheduled field carries browser performance parameter, therefore, is used The performance data can be sent to the service by family terminal according to the corresponding performance data of browser performance parameter acquiring Device, so that server can get the performance data of browser, and then the monitoring browsing of the performance data by getting The performance of device.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range, for those of ordinary skill in the art, without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the schematic diagram that user terminal provided in an embodiment of the present invention is interacted with server;
Fig. 2 is the structure diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 3 is the flow chart of a kind of method of monitoring browser performance that first embodiment of the invention provides;
Fig. 4 is the flow chart of a kind of method of monitoring browser performance that second embodiment of the invention provides;
Fig. 5 is the high-level schematic functional block diagram of the device of a kind of monitoring browser performance that third embodiment of the invention provides.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiments obtained without creative efforts shall fall within the protection scope of the present invention.Therefore, The detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit the model of claimed invention below It encloses, but is merely representative of the selected embodiment of the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not having All other embodiments obtained under the premise of creative work are made, shall fall within the protection scope of the present invention.
As shown in Figure 1, it is the server that present pre-ferred embodiments provide and the schematic diagram that user terminal interacts.Institute It states server 100 to be communicatively coupled by network and one or more user terminals 200, with into row data communication or interaction. The server 100 can be network server, database server etc..The user terminal 200 can be mounted with browsing PC (personal computer, PC), tablet computer, smart mobile phone, the personal digital assistant (personal of device Digital assistant, PDA), intelligent wearable device etc..
As shown in Fig. 2, the structure diagram for a kind of electronic equipment provided in an embodiment of the present invention.The electronic equipment 300 User terminal 200 can be used as, can also be used as server 100.The electronic equipment 300 includes the dress of monitoring browser performance It puts, memory 302, storage control 303, processor 304 and Peripheral Interface 305.
The memory 302, storage control 303, processor 304 and 305 each element of Peripheral Interface are direct between each other Or be electrically connected indirectly, to realize the transmission of data or interaction.For example, these elements can pass through one or more between each other Communication bus or signal wire, which are realized, to be electrically connected.The device of the monitoring browser performance include it is at least one can be with software or solid The form of part (firmware) is stored in the memory 302 or is solidificated in the operating system of the electronic equipment 300 Software function module in (operating system, OS).The processor 304 is used to perform what is stored in memory 302 Executable module, such as the software function module or computer program that the device for monitoring browser performance includes.
Wherein, memory 302 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read- Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory 302 is for storing program, and the processor 304 is after execute instruction is received, described in execution Program, the method performed by server 100 that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can answer For being realized in processor 304 or by processor 304.
Processor 304 may be a kind of IC chip, have the processing capacity of signal.Above-mentioned processor 304 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor can also be any conventional processor etc..
Various input/output devices are coupled to processor 304 and memory 302 by the Peripheral Interface 305.At some In embodiment, Peripheral Interface 305, processor 304 and storage control 303 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
Referring to Fig. 3, it is a kind of flow chart of the method for monitoring browser performance that first embodiment of the invention provides.Under Idiographic flow shown in Fig. 3 will be described in detail in face.
Step S401 sends web access requests to server.
When user is by browser access some websites, browser sends web access requests to server and carries out webpage It accesses.The related web page of website for needing to access is obtained by web access requests, for example, when user needs to access certain net During homepage of standing, the network address that browser inputs the website can be first passed through, browser can send web access requests to the website Server.
Step S402 receives the response instruction that the server returns.
After the web access requests that server sends browser are handled, server will return to a response browsing The response instruction for the web access requests that device is sent, holds so that browser can instruct after the instruction is received according to the response The corresponding operation of row.
Step S403, when there are scheduled field and the scheduled field being not empty in the response instruction, according to described Browser performance parameter acquiring performance number corresponding with the browser performance parameter entrained by the corresponding information of scheduled field According to.
Wherein, the scheduled field is a preset tag field, whether there is to judge to ring by the field Whether instruction that field needs perform is carried in should instructing.For example, Timing-Stat can be pre-set as reserved word Section.
Information entrained by scheduled field is information corresponding with scheduled field, which includes browser performance ginseng Number.Browser performance parameter includes that first screen is presented duration and/or typesetting number in duration and corresponding is presented in the first screen Typesetting height.
Wherein, it is a length of when the first screen is presented to initiate to ask to beat in the web access requests to the web access requests The time that the first screen content for the webpage opened is presented.Since present web page contents are generally longer, and user is used to access the use of webpage The display area size of family terminal (such as mobile phone, tablet computer etc.) is limited, thus generally can a point multihead display user accessed Webpage, shield content headed by showing the content of webpage i.e. for the first time, show for the first time webpage content time i.e. headed by shield when presenting It is long.Typesetting highly refers to the height that the full content for the webpage that user is accessed is presented after typesetting, typesetting height and content Number and typesetting relating to parameters, in general, typesetting height can be more than user terminal display area height.Typesetting time It is several, refer to the typesetting number of the full content of webpage that user is accessed before first screen is presented, for example, when in the whole of webpage Appearance cannot be showed once in the display area of user terminal, be needed to be divided into page three to present, every page typesetting is primary, then The typesetting number of the full content of the webpage is just for three times.
When there are scheduled field and the scheduled field being not empty in the response instruction, for example, what server returned Response instruction includes:Timing-Stat:collectStat_info=A1A2A3, wherein, Timing-Stat is predetermined Field, collectStat_info=A1A2A3 is the corresponding information of the scheduled field, and A1, A2, A3 are in described information The browser performance parameter of carrying, that is to say, that the scheduled field is not sky, then, user terminal can be according to stat_ Info=A1A2A3 obtains performance data corresponding with performance parameter A1, A2, A3.For example, when performance parameter includes head When duration and/or the first typesetting number shielded in presentation duration and corresponding typesetting height is presented in screen, user terminal passes through Browser kernel acquires corresponding performance data in real time, and performance data is typically maintained in browser memory.
When it is empty that scheduled field or the scheduled field, which is not present, in the response instruction, then the performance number is not obtained According to.I.e. when it is null value both of these case to occur that scheduled field or the scheduled field is not present in response instruction, not Obtain performance data.
The performance data is sent to the server by step S404.
As a kind of embodiment, browser by based on browser performance parameter acquiring to performance data be sent to service Device.Such as the stat_info=A1A2A3 in step S404, wherein, A1, A2 and A3 are three in browser performance parameter A parameter obtains the corresponding performance data of the parameter, A1 pairs of the browser performance parameter that then will be got according to A1, A2 and A3 The corresponding performance data hair of performance data, the corresponding performance datas of browser performance parameter A2 and browser performance parameter A3 answered Give server.
Further, can be asked in the web access requests access webpage full content present when or whole When content loading is completed, the performance data is sent to the server.Wherein, if when user is before full content presentation When exiting the webpage, collected performance data is saved in local, the local property will be saved in when being accessed for next time Energy data are sent to the server.It is wherein it is preferred to when full content loads completion that upper primary institute is collected described Performance data is sent to the server.So as to be effectively prevented from when full content loads completion, acquisition needed for this Performance data do not collect also, and then lead to not upload performance data either upload performance data it is wrong so that service Device can not effectively be monitored the performance of browser.For example, when shielding duration headed by the performance data for needing to acquire, and it is complete Probably first screen content is not presented also so that it cannot obtain first screen duration when portion's content loading is completed.
First embodiment of the invention provides a kind of method for monitoring browser performance, the response instruction returned due to server There are scheduled field, and the corresponding information of the scheduled field carries browser performance parameter, and therefore, user terminal is according to property The corresponding performance data of energy parameter acquiring, is sent to the server, so that server can be obtained by the performance data Get the performance data of browser, and then the performance of the monitoring browser of the performance data by getting.
Referring to Fig. 4, it is a kind of flow chart of the method for monitoring browser performance that second embodiment of the invention provides. In second embodiment, server includes first server and second server, receives server (the first clothes of web access requests Business device) and to receive the server (second server) of performance data be different servers, it below will be to specific stream shown in Fig. 4 Journey is described in detail.
Step S601 sends web access requests to first server.
Step S602 receives the response instruction that the first server returns.
Step S603, when there are scheduled field and the scheduled field being not empty in the response instruction, according to described Browser performance parameter acquiring performance number corresponding with the browser performance parameter entrained by the corresponding information of scheduled field According to.
Step S601, step S602, step S603 specific embodiment can refer to first embodiment in it is corresponding Step, details are not described herein.
In this present embodiment, the corresponding information of the scheduled field also carries the address of second server.As one kind Embodiment, server can by the browser performance Wire Parameters on the address of the second server, for example, Timing-Stat:http://track.example.com/collectStat_info=A1A2A3, wherein, http:// Track.example.com is the address of second server, that is to say, that server can will be browsed by this data format Device performance parameter, which is bundled on the address of second server, is sent to user terminal, it is of course also possible to pass through other data formats It sends, the specific embodiment of the application is not limited thereto.
The performance data is sent to the second server by step S604 according to the address of the second server.
Performance data is sent to second server according to the address of second server.It specifically, can be by performance data Assignment is in corresponding performance parameter and is bundled in the address of second server, for example, with http://track.example.com/ cllectThe data format of stat_info=A1A2A3&A1=xx&A2=yy&A3=zz is sent to second server.
Further, the corresponding information of the scheduled field also carries upload mode, and user terminal can obtain described Upload mode, then judges whether the upload mode matches with default upload mode, when the upload mode is preset with described When upload mode matches, the performance data is sent to institute by the address based on the upload mode and the second server State second server.Wherein, upload mode can be POST or GET and other.
As a kind of embodiment, for example, the instruction that first server returns includes:Timing-Stat:POST; http://track.example.com/collectStat_info=A1A2A3, response instruction include scheduled field Timing-Stat uploads the address http of mode POST and second server://track.example.com.User is whole End obtains upload mode POST, judges whether POST is on preset by parsing the corresponding information of scheduled field in the instruction Biography mode.Wherein, the default upload mode refers to meet http agreements and by the upload mode of http protocol definitions.Therefore, Judge whether the upload mode matches whether the upload mode for referring to judge to get meets http associations with default upload mode The upload mode of view, then can not be according to the upper of acquisition when the upload mode of acquisition is mismatched with the upload mode of http agreements Destination address is uploaded to second server by biography mode.Only when the upload mode is matched with the default upload mode, The performance data of stating is sent to by second server pointed by the address of the second server based on the upload mode.
In another embodiment, upload mode could be provided as default value, i.e., by the upload mode of acquiescence by property Energy data are sent to second server.
Second embodiment of the invention provides a kind of method for monitoring browser performance, the response returned due to first server Instruction is there are scheduled field, and the corresponding information of the scheduled field carries browser performance parameter, therefore, user terminal root Corresponding performance data is obtained according to performance parameter, the performance data is sent to the second server, so that second Server can get the performance data of browser, and then the performance of the monitoring browser of the performance data by getting.Its In, what second server can be concentrated relatively obtains the performance data of different user terminals browser, the more convenient property to browser It can be monitored and page layout optimization.
Referring to Fig. 5, it is a kind of function module of the device for monitoring browser performance that third embodiment of the invention provides Schematic diagram.In the third embodiment, the server includes second server and first server, and the scheduled field is corresponding Information further includes the address of second server and the upload side for the performance data to be uploaded to the second server Formula.The device 800 of the monitoring browser performance includes request transmitting unit 810, instruction reception unit 820, data acquisition list Member 830 and data transmission unit 840.Specific functional modules shown in fig. 5 will be described in detail below.
Wherein, request transmitting unit 810, for sending web access requests to server.
Further, which is additionally operable to send web access requests to the first server.
Instruction reception unit 820, for receiving the response instruction that the server returns.
Further, which is additionally operable to receive the response instruction that the first server returns.
Data capture unit 830 there are scheduled field and the scheduled field is not sky for working as in the response instruction When, browser performance parameter acquiring and the browser performance parameter pair according to entrained by the corresponding information of the scheduled field The performance data answered.
Data transmission unit 840, for the performance data to be sent to the server.
Wherein, the corresponding information of the scheduled field includes the address of second server.
Further, when the full content for the webpage for asking to access in the web access requests is presented, by the property Energy data are sent to the server.
Further, which is additionally operable to the address based on the second server by the performance number According to the second server pointed by the address for being sent to the second server.
Wherein, the corresponding information of the scheduled field further includes upload mode.
Further, which is additionally operable to obtain the upload mode, judge the upload mode with it is pre- It, will based on the upload mode when the upload mode is matched with the default upload mode if whether the mode of upload matches The performance data is sent to the second server pointed by the address of the second server.
Each unit in the present embodiment can be by software code realization, at this point, above-mentioned each unit can be stored in electronics In the memory 302 of equipment 300.More than each unit can equally be realized by hardware such as IC chip.
In conclusion the embodiment of the present invention provides a kind of method, apparatus and user terminal for monitoring browser performance, due to The response instruction that server returns is there are scheduled field, and the corresponding information of the scheduled field carries browser performance ginseng Number, therefore, user terminal obtain corresponding performance data according to performance parameter, and the performance data is sent to the service Device, so that server can get the performance data of browser, and then the monitoring browsing of the performance data by getting The performance of device.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to implement holding for defined logic function Row instruction.It should also be noted that at some as in the realization method replaced, the function that is marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depended on the functions involved.It is it is also noted that every in block diagram and/or flow chart The combination of a box and the box in block diagram and/or flow chart can use function or the dedicated base of action as defined in performing It realizes or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access The various media that can store program code such as memory (RAM, Random Access Memory), magnetic disc or CD.It needs It is noted that herein, relational terms such as first and second and the like are used merely to an entity or operation It is distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation, there are any this Practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, article or equipment including a series of elements are not only including those elements, but also wrap Include other elements that are not explicitly listed or further include for this process, method, article or equipment it is intrinsic will Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described Also there are other identical elements in the process of element, method, article or equipment.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exists Similar terms are represented in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention described should be subject to the protection scope in claims.

Claims (11)

  1. A kind of 1. method for monitoring browser performance, which is characterized in that the method includes:
    Web access requests are sent to server;
    Receive the response instruction that the server returns;
    It is corresponding according to the scheduled field when there are scheduled field and the scheduled field being not empty in the response instruction Browser performance parameter acquiring performance data corresponding with the browser performance parameter entrained by information;
    The performance data is sent to the server.
  2. 2. according to the method described in claim 1, it is characterized in that, described be sent to the server by the performance data, Including:
    It, will when the full content presentation for the webpage for asking to access in the web access requests or when full content loading is completed The performance data is sent to the server.
  3. 3. according to the method described in claim 1, it is characterized in that, the server includes first server and second service Device, the corresponding information of the scheduled field include the address of the second server,
    It is described to send web access requests to server, the response instruction that the server returns is received, including:To described first Server sends web access requests, receives the response instruction that the first server returns;
    It is described that the performance data is sent to the server, including:According to the address of the second server by the property Energy data are sent to the second server.
  4. 4. according to the method described in claim 1, it is characterized in that, the server includes second server and first service Device, the corresponding information of the scheduled field further include the upload side for the performance data to be uploaded to the second server Formula, it is described that the performance data is sent to the server, including:
    Obtain the upload mode;
    Judge whether the upload mode matches with default upload mode, when the upload mode and the default upload mode The performance data is sent to the second service by timing, the address based on the upload mode and the second server Device.
  5. 5. according to the method described in any of claim 1 to 4, which is characterized in that the browser performance parameter includes head Duration and/or the typesetting number in the first screen presentation duration and corresponding typesetting height is presented in screen, when the first screen is presented It is a length of initiate to ask in the web access requests to the web access requests the first screen content presentation of opens webpage when Between.
  6. 6. a kind of device for monitoring browser performance, which is characterized in that described device includes:
    Request transmitting unit, for sending web access requests to server;
    Instruction reception unit, for receiving the response instruction that the server returns;
    Data capture unit, for when there are scheduled field and the scheduled field being not empty in the response instruction, according to Browser performance parameter acquiring property corresponding with the browser performance parameter entrained by the corresponding information of the scheduled field It can data;
    Data transmission unit, for the performance data to be sent to the server.
  7. 7. device according to claim 6, which is characterized in that the data transmission unit is worked as in the web access requests When the full content of the webpage accessed being asked to present or when full content loading is completed, the performance data is sent to the clothes Business device.
  8. 8. device according to claim 6, which is characterized in that the server includes first server and second service Device, the corresponding information of the scheduled field include the address of the second server,
    The request transmitting unit is additionally operable to send web access requests to the first server;
    Described instruction receiving unit is additionally operable to receive the response instruction that the first server returns;
    The data transmission unit is additionally operable to that the performance data is sent to described according to the address of the second server Two servers.
  9. 9. device according to claim 6, which is characterized in that the server includes second server and first service Device, the corresponding information of the scheduled field further include the address of second server and for the performance data to be uploaded to institute The upload mode of second server is stated, the data transmission unit is additionally operable to obtain the upload mode, judges the upload side Whether formula matches with default upload mode, when the upload mode is matched with the default upload mode, based on the upload The performance data is sent to the second server by the address of mode and the second server.
  10. 10. according to the device described in claim 6-9 any one, which is characterized in that the browser performance parameter includes head Duration and/or the typesetting number in the first screen presentation duration and corresponding typesetting height is presented in screen, when the first screen is presented It is a length of initiate to ask in the web access requests to the web access requests the first screen content presentation of opens webpage when Between.
  11. 11. a kind of user terminal, which is characterized in that browser is mounted in the user terminal, the user terminal includes place Reason device and memory, the memory are couple to the processor, the memory store instruction, when described instruction is by described Processor makes the user terminal perform following operate when performing:
    Web access requests are sent to server;
    Receive the response instruction that the server returns;
    It is corresponding according to the scheduled field when there are scheduled field and the scheduled field being not empty in the response instruction Browser performance parameter acquiring performance data corresponding with the browser performance parameter entrained by information;
    The performance data is sent to the server.
CN201611194745.1A 2016-12-20 2016-12-20 A kind of method, apparatus and user terminal for monitoring browser performance Pending CN108205487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611194745.1A CN108205487A (en) 2016-12-20 2016-12-20 A kind of method, apparatus and user terminal for monitoring browser performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611194745.1A CN108205487A (en) 2016-12-20 2016-12-20 A kind of method, apparatus and user terminal for monitoring browser performance

Publications (1)

Publication Number Publication Date
CN108205487A true CN108205487A (en) 2018-06-26

Family

ID=62604006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611194745.1A Pending CN108205487A (en) 2016-12-20 2016-12-20 A kind of method, apparatus and user terminal for monitoring browser performance

Country Status (1)

Country Link
CN (1) CN108205487A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165152A (en) * 2018-07-31 2019-01-08 上海哔哩哔哩科技有限公司 Method for monitoring performance, system and the storage medium of WEB system
CN111966557A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method and device for monitoring browser frame rate
CN112685269A (en) * 2020-12-21 2021-04-20 北京达佳互联信息技术有限公司 Data acquisition method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618793A (en) * 2013-11-29 2014-03-05 贝壳网际(北京)安全技术有限公司 Method, device and system for monitoring browser tasks
CN103825948A (en) * 2014-02-27 2014-05-28 优视科技有限公司 Method and system for optimizing webpage access based on webpage access requests
CN104899131A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Detection method and device of webpage loading in browser, and mobile terminal
CN105045620A (en) * 2015-07-07 2015-11-11 深信服网络科技(深圳)有限公司 Method for measuring webpage first screen loading time and detection equipment
CN105373617A (en) * 2015-11-27 2016-03-02 中国联合网络通信集团有限公司 Web page first screen determination method and apparatus
CN105760284A (en) * 2016-02-01 2016-07-13 广州酷狗计算机科技有限公司 Website performance monitoring method and device
CN106155888A (en) * 2015-04-01 2016-11-23 北京蓝海讯通科技有限公司 The detection method of webpage loading performance and device in a kind of Mobile solution

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618793A (en) * 2013-11-29 2014-03-05 贝壳网际(北京)安全技术有限公司 Method, device and system for monitoring browser tasks
CN103825948A (en) * 2014-02-27 2014-05-28 优视科技有限公司 Method and system for optimizing webpage access based on webpage access requests
CN104899131A (en) * 2014-03-04 2015-09-09 腾讯科技(深圳)有限公司 Detection method and device of webpage loading in browser, and mobile terminal
CN106155888A (en) * 2015-04-01 2016-11-23 北京蓝海讯通科技有限公司 The detection method of webpage loading performance and device in a kind of Mobile solution
CN105045620A (en) * 2015-07-07 2015-11-11 深信服网络科技(深圳)有限公司 Method for measuring webpage first screen loading time and detection equipment
CN105373617A (en) * 2015-11-27 2016-03-02 中国联合网络通信集团有限公司 Web page first screen determination method and apparatus
CN105760284A (en) * 2016-02-01 2016-07-13 广州酷狗计算机科技有限公司 Website performance monitoring method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165152A (en) * 2018-07-31 2019-01-08 上海哔哩哔哩科技有限公司 Method for monitoring performance, system and the storage medium of WEB system
CN109165152B (en) * 2018-07-31 2022-11-15 上海幻电信息科技有限公司 Method, system and storage medium for monitoring performance of WEB system
CN111966557A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method and device for monitoring browser frame rate
CN111966557B (en) * 2019-05-20 2023-07-14 北京车和家信息技术有限公司 Method and device for monitoring browser frame rate
CN112685269A (en) * 2020-12-21 2021-04-20 北京达佳互联信息技术有限公司 Data acquisition method and device, electronic equipment and storage medium
WO2022134875A1 (en) * 2020-12-21 2022-06-30 北京达佳互联信息技术有限公司 Data acquisition method and electronic device

Similar Documents

Publication Publication Date Title
CN107133174A (en) Test case code automatically generating device and method
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
US20150378975A1 (en) Attribute fill using text extraction
CN108280119A (en) Page generation method, device and user terminal
CN109918594B (en) Information display method and device
CN106599017B (en) Scanning analytic method, device and the mobile terminal of installation kit
CN106503111B (en) Webpage code-transferring method, device and client terminal
CN106339380A (en) Method and device for recommending frequently asked question information
CN108334641A (en) The method of acquisition user behavior data, system, electronic equipment, storage medium
CN110309065B (en) Concurrent execution method, device and equipment of test tasks and storage medium
CN105447072B (en) Configurable interface framework and searching method and system using same
CN108205487A (en) A kind of method, apparatus and user terminal for monitoring browser performance
CN109814863A (en) A kind of processing method, device, computer equipment and computer storage medium for requesting returned data
WO2022233311A1 (en) Display method and apparatus, and electronic device
US20230153179A1 (en) Visitor stitching with data science notebooks
CN117370203A (en) Automatic test method, system, electronic equipment and storage medium
CN109857473A (en) A kind of loading method and device of page data
CN110442406A (en) The method and paging control, electronic equipment of paging control processing data
CN108062401A (en) Using recommendation method, apparatus and storage medium
US9813524B2 (en) Dynamic sharing and updating of an electronic form
CN108959294A (en) A kind of method and apparatus accessing search engine
CN104834589A (en) Webpage detection method and device
CN106528733A (en) Webpage display method and apparatus
CN108984221B (en) Method and device for acquiring multi-platform user behavior logs
CN110209572A (en) Ui testing method, ui testing system and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200528

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180626

RJ01 Rejection of invention patent application after publication