CN109361557A - A kind of control method and control device that monitoring browser is stuck - Google Patents

A kind of control method and control device that monitoring browser is stuck Download PDF

Info

Publication number
CN109361557A
CN109361557A CN201811527315.6A CN201811527315A CN109361557A CN 109361557 A CN109361557 A CN 109361557A CN 201811527315 A CN201811527315 A CN 201811527315A CN 109361557 A CN109361557 A CN 109361557A
Authority
CN
China
Prior art keywords
thread
stuck
information
tested
browser
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
CN201811527315.6A
Other languages
Chinese (zh)
Other versions
CN109361557B (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.)
SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI 2345 NETWORK 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 SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd filed Critical SHANGHAI 2345 NETWORK TECHNOLOGY Co Ltd
Priority to CN201811527315.6A priority Critical patent/CN109361557B/en
Publication of CN109361557A publication Critical patent/CN109361557A/en
Application granted granted Critical
Publication of CN109361557B publication Critical patent/CN109361557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available

Abstract

A kind of stuck control method of monitoring browser includes the following steps: i, judges whether receive the feedback information from tested thread in unit time t for being monitored to whether browser is stuck;If ii, not receiving the feedback information, then current stuck relevant information is sent to server, the present invention provides a kind of control methods and control device that monitoring browser is stuck, by the feedback information for obtaining tested thread within the unit time, if not receiving the feedback information of tested thread within the unit time, then current stuck relevant information is sent to server, to confirm stuck concrete reason, operation of the present invention is simple, it is easy to use, it is practical, there is high commercial value.

Description

A kind of control method and control device that monitoring browser is stuck
Technical field
The invention belongs to the stuck monitoring field of browser, in particular to a kind of control method and control that monitoring browser is stuck Device processed.
Background technique
With the continuous development of computer technology and network technology, internet is in people's lives, study, work, scientific research In play indispensable role, people will complete various affairs by internet nearly every day, obtain Various information.The either service of information provided by different websites is different, when user needs to obtain news, Needing to browse news website may browse through special shopping website when user needs to buy thing.
Nowadays, internet has become one of people's life habit, and still, people are when browsing webpage, always Browser can be caused stuck due to various factors, but specific stuck reason is no to be reported in time, to make clear The device developer that lookes at can not efficiently solve the stuck problem of webpage, lead to not effectively solve the problems, such as that browser is stuck, just at present For, when browser is in the presence of stuck, people would generally terminate by force process in task management menu, or occur The interface that the website can not access, but these can not effectively prevent the later period from occurring stuck problem again when accessing,
Because being only aware of there is no the effective ways that the stuck problem of browser can be collected and be reported by one kind The stuck concrete reason of browser can suit the remedy to the case, the stuck problem of the effective solution page.
And currently, there is no a kind of method that can effectively solve the problem that the above problem, especially a kind of monitoring browsings in the market The stuck control method of device and control device.
Summary of the invention
For technological deficiency of the existing technology, the object of the present invention is to provide a kind of controls that monitoring browser is stuck Method and control device, according to an aspect of the present invention, a kind of control method that monitoring browser is stuck, for browser Whether it is stuck be monitored, include the following steps:
I, judge the feedback information from tested thread whether is received in unit time t;
If ii, not receiving the feedback information, current stuck relevant information is sent to server.
Preferably, the tested thread includes any of following thread or appoints multiple:
- IO thread;And
- UI thread.
Preferably, observer's thread sends test information to the tested thread, the feedback information with it is described It is corresponding to test information.
Preferably, observer's thread periodically sends test information to the tested thread.
Preferably, the step i includes the following steps:
I1. judge whether third party's thread receives the feedback information from the tested thread in unit time t, Wherein, third party's thread is the scene communicated with the tested thread.
Preferably, the range of the unit time t are as follows: 2s≤t≤16s.
Preferably, the current stuck relevant information includes at least any one of following information or appoints a variety of:
Active user's system environmental information;
Proceeding internal memory SNAPSHOT INFO;And
Browser process log.
Preferably, further include following steps:
Iii, server record the current stuck relevant information.
According to another aspect of the present invention, a kind of control device that monitoring browser is stuck is provided, for browsing Whether device is stuck to be monitored, comprising:
First judgment means: judge the feedback information from tested thread whether is received in unit time t;
First processing unit: if not receiving the feedback information, current stuck relevant information is sent to server.
Preferably, first judgment means further include:
Second judgment means: judge whether third party's thread is received in unit time t from the tested thread Feedback information, wherein third party's thread is the scene communicated with the tested thread.
Preferably, further includes:
Second processing device: server records the current stuck relevant information.
The present invention provides a kind of control methods and control device that monitoring browser is stuck, by obtaining within the unit time The feedback information of tested thread is taken, if not receiving the feedback information of tested thread within the unit time, to server Current stuck relevant information is sent, to confirm stuck concrete reason, operation of the present invention is simple, easy to use, practicability By force, there is high commercial value.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention, Objects and advantages will become more apparent upon:
Fig. 1 shows a specific embodiment of the invention, a kind of specific stream for the control method that monitoring browser is stuck Journey schematic diagram;
Fig. 2 shows the first embodiment of the present invention, judges whether third party's thread receives in unit time t and come From the idiographic flow schematic diagram of the feedback information of the tested thread;
Fig. 3 shows the second embodiment of the present invention, and server records the specific of the SNAPSHOT INFO of the current process Flow diagram;And
Fig. 4 shows another embodiment of the present invention, a kind of mould for the control device that monitoring browser is stuck Block connection schematic diagram.
Specific embodiment
In order to preferably technical solution of the present invention be made clearly to show, the present invention is made into one with reference to the accompanying drawing Walk explanation.
Fig. 1 shows a specific embodiment of the invention, a kind of specific stream for the control method that monitoring browser is stuck Journey schematic diagram specifically includes the following steps:
Firstly, entering step S101, judge the feedback letter from tested thread whether is received in unit time t Breath, terminal observer's thread is based on terminal behavior and sends test information to test thread, if the tested thread is in unit The interior feedback information that tested thread is sent to observer's thread, then prove that the terminal is interacted with user and belong to normal shape State, if the tested thread does not send the feedback letter of tested thread not within the unit time to observer's thread Breath, thens follow the steps S102, it will be understood by those skilled in the art that, this step is judgment step.
Further, the tested thread includes any of following thread or appoints multiple: IO thread and UI line Journey, it will be appreciated by those skilled in the art that the IO thread is all threads opened in the terminal, and the UI thread is For the thread that current page is shown, the tested thread can carry out the test of one or more threads according to actual needs.
Further, observer's thread sends test information, the feedback information and institute to the tested thread State test information it is corresponding, in such embodiments, the terminal creates observer's thread in the browser, together When, observer's thread sends test information to the tested thread, and the tested thread is receiving the test When information, feedback information corresponding with the test information is sent to observer's thread within the unit time, it is preferable that If there are multiple threads in the terminal browser, multiple observer's threads can be created simultaneously to multiple threads and send test Information.
Further, observer's thread periodically sends test information, those skilled in the art to the tested thread Member understands that observer's thread can be by the unit time of setting test interval, and the unit time based on test interval is fixed Phase sends test information to the tested thread, correspondingly, can also observer's thread be set to real-time testing, and institute State feedback information also Real-time Feedback.
Further, the range of the unit time t are as follows: 2s≤t≤16s, it will be appreciated by those skilled in the art that the observation Person's thread sends test request to the tested thread, when the tested thread sends feedback information, then it is anti-to record this It presents the time that time and observer's thread send test request to the tested thread, time difference of the two, that is, settable For the unit time, it is preferable that multiple interval time can be obtained, and using the maximum duration in interval time as when unit Between.
Finally, entering step S102, if not receiving the feedback information, current stuck related letter is sent to server Breath, observer's thread sends test request to the tested thread, if the tested thread does not have within the unit time Oriented observer's thread sends feedback information, then can assert that the webpage is in stuck state, and to the terminal service Device sends current stuck information, and the current stuck relevant information includes at least any one of following information or appoints a variety of: when Preceding user system environment information, proceeding internal memory SNAPSHOT INFO and browser process log, specifically, active user's system Environmental information includes whether the browser version is compatible with accession page, it is preferable that and it further include the hardware information of the terminal, The terminal hardware information includes system version, storage space and running space of terminal etc., meanwhile, the active user System environments further includes whether network connection is normal.
Further, the proceeding internal memory SNAPSHOT INFO includes the snapshot letter in the proceeding internal memory in the browser Breath, the SNAPSHOT INFO are that the stack information of current browser process, register information and other available mode information are stored Get off, it will be appreciated by those skilled in the art that current stuck scene, the stuck reason of assistant analysis can be restored by SNAPSHOT INFO.
It further, include the log and stuck log operated normally, those skilled in the art in the process log Member understands, in the browser, the whether operation information of user and the display information of the webpage, feedback information, line Journey information can all be recorded, and form browser process log, the process log further includes the Webpage card Concrete reason when dead situation.
Fig. 2 shows the first embodiment of the present invention, judges whether third party's thread receives in unit time t and come Specifically include the following steps: from the idiographic flow schematic diagram of the feedback information of the tested thread
Firstly, entering step S201, judge whether third party's thread is received in unit time t from described tested The feedback information of thread, wherein third party's thread is the scene communicated with the tested thread, in such reality Apply in example, if occur jumping to the connection of third-party server or third party application in the webpage, by into Whether the communication scene for entering the third party and the tested thread, obtain the feedback information of the tested thread in unit Time internal feedback is into third party's thread.
In a preferred embodiment, user initiates browse request, while institute to a certain webpage by terminal browser The solicited message that terminal server sends tested thread to the web page server is stated, however, jumping in the webpage Turn link, and jump to a certain application program in user terminal, open the application program, the tested thread enters institute The data interaction scene of application program and the webpage is stated, and by the feedback information in unit time internal feedback to the third Square thread.
It will be appreciated by those skilled in the art that the step S202 in described Fig. 2 can refer to the step S102 in described Fig. 1, It will not go into details for this.
Fig. 3 shows the second embodiment of the present invention, and server records the specific of the SNAPSHOT INFO of the current process Flow diagram specifically includes the following steps:
It will be appreciated by those skilled in the art that the step S301 and step S302 in described Fig. 3 can be with reference to the steps in described Fig. 1 Rapid S101 and step S102, it will not be described here.
Finally, entering step S303, server records the stuck relevant information of the process, it will be appreciated by those skilled in the art that When stuck situation occurs in the browser, by obtaining the SNAPSHOT INFO of current process, then it can be confirmed that the webpage is stuck Fundamental cause, the SNAPSHOT INFO recorded by the terminal server, in combination with the custom system of server record Environmental information and browser log can analyze and stuck concrete reason occur, and the clothes finally are recorded in stuck reason It is engaged in the stuck database of device, it is preferable that if occurring current stuck and network and server in the SNAPSHOT INFO of the current process Unrelated, then the terminal server can carry out the investigation of terminal hardware or browser execution environment by exclusive method, and finally will The stuck reason is recorded and is shown.
In a preferred embodiment, on the server that stuck relevant information reports after, server is to each stuck Analyzed, by these it is stuck classify according to stuck reason, and arranged according to the stuck several descendings of the stuck reason of every class, exploitation Personnel analyze one by one and repair these collapses, are placed in the next version of browser.Customer upgrade browser obtains these reparations.
In an extremely special change case, after the terminal server is confirmed the stuck reason, in institute Stating will appear the link for solving the stuck reason in terminal display interface, user completes to repair by clickthrough, such as described In terminal the stuck reason of webpage be because current browser version is too low and caused by, then while showing stuck reason, A link can be generated, user is upgraded the version of browser by clickthrough.
Fig. 4 shows another embodiment of the present invention, a kind of mould for the control device that monitoring browser is stuck Block connection schematic diagram, it will be appreciated by those skilled in the art that being used for the present invention provides a kind of control device that monitoring browser is stuck It is whether stuck to browser to be monitored, comprising: the first judgment means: to judge whether receive from quilt in unit time t The feedback information of thread is tested, the terminal server is based on access webpage and sends test thread to the access web page server Solicited message, if the web page server sends the feedback letter of tested thread within the unit time to the terminal service system Breath, then prove that the terminal and the data interaction of the webpage belong to normal condition, first judgment means and described first Processing unit and second judgment means connection.
Further, further include the first processing unit: if not receiving the feedback information, being sent to server current Stuck relevant information, observer's thread sends test request to the tested thread, if the tested thread is in list It can then not assert that the webpage is in stuck state to terminal server transmission feedback information in the time of position, and to institute State terminal server and send current stuck information, the current stuck relevant information include at least any one of following information or Appoint a variety of: active user's system environmental information, proceeding internal memory SNAPSHOT INFO and browser process log, the first processing dress It sets and is connect with first judgment means and the second processing device.
Further, further include the second judgment means: judging whether third party's thread receives in unit time t and come from The feedback information of the tested thread, wherein third party's thread is the scene communicated with the tested thread, If occur jumping to the connection of third-party server or third party application in the webpage, by entering described the Whether the communication scene of tripartite and the tested thread, the feedback information for obtaining the tested thread are anti-within the unit time It is fed in third party's thread.
Further, further include second processing device: server records the current stuck relevant information, when the browsing When stuck situation occurs in device, by the SNAPSHOT INFO of acquisition current process, then the stuck fundamental cause of the webpage can be confirmed, The SNAPSHOT INFO is recorded by the terminal server, in combination with the user system environment information and clear of server record It lookes at device log, can analyze and stuck concrete reason occur, and the doomed dead evidence of the server card finally is recorded in stuck reason In library, after the terminal server is confirmed the stuck reason, it will appear in the terminal display interface and solve institute The link of stuck reason is stated, user completes to repair by clickthrough, as the stuck reason of webpage in the terminal is because working as Preceding browser version it is too low and caused by, then while showing stuck reason, a link can be generated, user is by clicking chain It connects and upgrades the version of browser.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned Particular implementation, those skilled in the art can make various deformations or amendments within the scope of the claims, this not shadow Ring substantive content of the invention.

Claims (11)

1. a kind of control method that monitoring browser is stuck, for being monitored to whether browser is stuck, which is characterized in that packet Include following steps:
I, judge the feedback information from tested thread whether is received in unit time t;
If ii, not receiving the feedback information, current stuck relevant information is sent to server.
2. control method according to claim 1, which is characterized in that the tested thread includes appointing in following thread One or appoint it is multiple:
IO thread;And
UI thread.
3. control method according to claim 1 or 2, which is characterized in that observer's thread is to the tested line Journey sends test information, and the feedback information is corresponding with the test information.
4. control method according to any one of claim 1 to 3, which is characterized in that observer's thread periodically to The tested thread sends test information.
5. control method according to claim 1 or 2, which is characterized in that the step i includes the following steps:
I1. judge whether third party's thread receives the feedback information from the tested thread in unit time t, In, third party's thread is the scene communicated with the tested thread.
6. control method according to any one of claim 1 to 5, which is characterized in that the range of the unit time t Are as follows: 2s≤t≤16s.
7. control method according to any one of claim 1 to 6, which is characterized in that the current stuck relevant information Including at least any one of following information or appoint a variety of:
Active user's system environmental information;
Proceeding internal memory SNAPSHOT INFO;And
Browser process log.
8. control method according to any one of claim 1 to 7, which is characterized in that further include following steps:
Iii, server record the current stuck relevant information.
9. a kind of control device that monitoring browser is stuck, for being monitored to whether browser is stuck, which is characterized in that packet It includes:
First judgment means (1): judge the feedback information from tested thread whether is received in unit time t;
First processing unit (2): if not receiving the feedback information, current stuck relevant information is sent to server.
10. control device according to claim 9, which is characterized in that first judgment means further include:
Second judgment means (11): judge whether third party's thread is received in unit time t from the tested thread Feedback information, wherein third party's thread is the scene communicated with the tested thread.
11. control device according to claim 9 or 10, which is characterized in that further include:
Second processing device (3): server records the current stuck relevant information.
CN201811527315.6A 2018-12-13 2018-12-13 Control method and control device for monitoring browser jamming Active CN109361557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811527315.6A CN109361557B (en) 2018-12-13 2018-12-13 Control method and control device for monitoring browser jamming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811527315.6A CN109361557B (en) 2018-12-13 2018-12-13 Control method and control device for monitoring browser jamming

Publications (2)

Publication Number Publication Date
CN109361557A true CN109361557A (en) 2019-02-19
CN109361557B CN109361557B (en) 2022-05-06

Family

ID=65328667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811527315.6A Active CN109361557B (en) 2018-12-13 2018-12-13 Control method and control device for monitoring browser jamming

Country Status (1)

Country Link
CN (1) CN109361557B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN105740326A (en) * 2016-01-21 2016-07-06 腾讯科技(深圳)有限公司 Thread state monitoring method and device for browser
CN107861826A (en) * 2017-10-31 2018-03-30 努比亚技术有限公司 Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium
CN108021496A (en) * 2016-10-28 2018-05-11 腾讯科技(深圳)有限公司 Thread-data processing method and processing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN105740326A (en) * 2016-01-21 2016-07-06 腾讯科技(深圳)有限公司 Thread state monitoring method and device for browser
CN108021496A (en) * 2016-10-28 2018-05-11 腾讯科技(深圳)有限公司 Thread-data processing method and processing device
CN107861826A (en) * 2017-10-31 2018-03-30 努比亚技术有限公司 Freeze screen monitoring with solving method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109361557B (en) 2022-05-06

Similar Documents

Publication Publication Date Title
US9037707B2 (en) Propagating a diagnostic session for business transactions across multiple servers
KR101980286B1 (en) Providing per-application resource usage information
US8533532B2 (en) System identifying and inferring web session events
CN110768872B (en) Inspection method, system, device, computer equipment and storage medium
US10230611B2 (en) Dynamic baseline determination for distributed business transaction
CN109120428B (en) Method and system for wind control analysis
US10084637B2 (en) Automatic task tracking
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
CN109672580A (en) Full link monitoring method, apparatus, terminal device and storage medium
US20150113122A1 (en) Automatic asynchronous handoff identification
CN103677539A (en) Method and device for adjusting interfaces
CN109672582A (en) Complete trails monitoring method, equipment, storage medium and device
CN105637488A (en) Tracing source code for end user monitoring
US10140377B2 (en) Data processing, data collection
CN114064144A (en) Communication plug-in unit for cross-application data acquisition and communication method
CN112817831A (en) Application performance monitoring method, device, computer system and readable storage medium
US20170034030A1 (en) Monitoring single content page application transitions
CN109361557A (en) A kind of control method and control device that monitoring browser is stuck
CN115202973A (en) Application running state determining method and device, electronic equipment and medium
JP2005266919A (en) System analysis device and analysis system
CN115543746A (en) Graphics processor monitoring method, system and device and electronic equipment
CN112559278B (en) Method and device for acquiring operation data
CN114598622A (en) Data monitoring method and device, storage medium and computer equipment
CN114978937B (en) Page data verification method and device
CN117424896A (en) Information display method, device, equipment and medium of Internet of things equipment

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
GR01 Patent grant
GR01 Patent grant