CN104200157A - Webpage exception handling method and equipment - Google Patents

Webpage exception handling method and equipment Download PDF

Info

Publication number
CN104200157A
CN104200157A CN201410443903.7A CN201410443903A CN104200157A CN 104200157 A CN104200157 A CN 104200157A CN 201410443903 A CN201410443903 A CN 201410443903A CN 104200157 A CN104200157 A CN 104200157A
Authority
CN
China
Prior art keywords
terminal device
duration
ratio
webpage
time threshold
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
CN201410443903.7A
Other languages
Chinese (zh)
Other versions
CN104200157B (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.)
Guangzhou Cheetah Network Technology Co ltd
Original Assignee
Kingsoft Guangzhou 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 Kingsoft Guangzhou Network Technology Co Ltd filed Critical Kingsoft Guangzhou Network Technology Co Ltd
Priority to CN201410443903.7A priority Critical patent/CN104200157B/en
Publication of CN104200157A publication Critical patent/CN104200157A/en
Application granted granted Critical
Publication of CN104200157B publication Critical patent/CN104200157B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/552Detecting local intrusion or implementing counter-measures involving long-term monitoring or reporting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a webpage exception handling method. The webpage exception handling method comprises the steps of receiving webpage access information reported by terminal devices, wherein the webpage access information comprises webpage loading time information; conducting statistics on the proportion of the terminal devices whose webpage loading time lengths are larger than a first time threshold according to the webpage access information; judging whether the proportion of the terminal devices whose webpage loading time lengths are larger than the first time threshold meets a preset warning trigger condition; if yes, conducting warning processing. The embodiment of the invention further discloses webpage exception handling equipment and a terminal. By means of the webpage exception handling method and equipment, webpage exception situations can be found in time so as to increase webpage exception handling efficiency.

Description

A kind of webpage abnormality eliminating method and equipment
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of webpage abnormality eliminating method and equipment.
Background technology
Browser is user's one of indispensable application software of surfing the Net, and by browser, user can access the different web pages of different web sites.
When user opens the webpage of appointed website by browser, conventionally need to complete webpage and load (being that base page loads), for some particular webpage (as by ajax (a kind of webpage development technology that creates interaction network page application)+html (Hypertext Markup Language, HTML (Hypertext Markup Language))/css (is a kind ofly used for showing HTML or XML (Extensive Markup Language, extensible markup language) computerese of file pattern such as) form of+rest api (application programming interfaces) completes the webpage that the final logic of the page represents), also needed content to load (being that data load), in this process, may block and (initiate after webpage record request, can not get the page after webpage has loaded) always, Bai Ping (is after webpage has been recorded, data are not but returned, cause page empty) etc. webpage abnormal, affect user's accessed web page, in prior art, for webpage abnormal conditions, do not have a kind of reasonably processing scheme.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of webpage abnormality eliminating method and equipment are provided, and can find in time webpage abnormal conditions, improves webpage abnormality processing efficiency.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of webpage abnormality eliminating method, comprising:
The web page access information that receiving terminal apparatus reports, described web page access information comprises webpage load time information;
According to described web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value;
Judge that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as YES, carry out alarming processing.
Correspondingly, the embodiment of the present invention also provides a kind of webpage abnormality processing equipment, comprising:
Receiver module, the web page access information reporting for receiving terminal apparatus, described web page access information comprises webpage load time information;
Statistical module, for according to described web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value;
Judge module, for judging that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
Alarm module, for when described judge module is judged as YES, carries out alarming processing.
Correspondingly, the embodiment of the present invention also provides a kind of terminal, comprises webpage abnormality processing equipment as above.
Implement the embodiment of the present invention, there is following beneficial effect:
The web page access information reporting by receiving terminal apparatus, according to web page access information statistical web page, load the ratio that duration is greater than the terminal device of very first time threshold value, and judge that webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, and then when being judged as YES, carry out alarming processing, thereby can find in time webpage abnormal conditions, improve webpage abnormality processing efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of webpage abnormality eliminating method of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of webpage abnormality eliminating method that provides of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the another kind of webpage abnormality eliminating method that provides of the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of webpage abnormality processing equipment of providing of the embodiment of the present invention;
Fig. 5 is the structural representation of the another kind of webpage abnormality processing equipment that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the schematic flow sheet of a kind of webpage abnormality eliminating method providing for the embodiment of the present invention, can comprise the following steps:
The web page access information that step 101, receiving terminal apparatus report; This web page access information comprises webpage load time information.
In the embodiment of the present invention, terminal device can comprise computing machine, smart mobile phone, panel computer etc., and the embodiment of the present invention is not specifically limited.
In the embodiment of the present invention, said method can be applied to service end, and this service end can be for hard-wired service end, and as server, the service end that also can realize for software, as service system.For convenience of description, the embodiment of the present invention be take data analytics server as example.But it should be noted that the embodiment of the present invention is not limited to be applied in data analytics server, everyly can implement the unit of the embodiment of the present invention or the scope that system all belongs to the required protection of the embodiment of the present invention.
In the embodiment of the present invention, when terminal device passes through browser access webpage, can record web page access information, and this web page access information is reported to data analytics server.
As a kind of optional embodiment, terminal device reports web page access information to comprise the following steps to data analytics server:
Step 11), terminal device sends webpage load request by browser, puts t0 writing time;
Step 12), webpage loaded, and puts t1 writing time;
By above-mentioned steps 11)~12), completed base page loading, webpage loads.
Step 13), terminal device to data analytics server, is analyzed by data analytics server above-mentioned webpage load time information reporting to this information.
In the embodiment of the present invention, terminal device can report webpage load time information to data analytics server in real time when webpage has loaded, and also can regularly to data analytics server, report webpage load time information.
It should be noted that, in the technical scheme that the embodiment of the present invention provides, when subscriber terminal equipment passes through browser access webpage, may be due to the reason such as the webpage load time is long, before having loaded, webpage closes webpage, now, terminal device can recording user be closed the time of webpage, and the time that this is closed to webpage reports data analytics server, whether the mistiming of the time that the initial time being loaded according to webpage by data analytics server and webpage are closed judges that webpage loads duration excessive, soon the webpage shut-in time loads the deadline as webpage, carry out the statistics of webpage loading duration.
Step 102, according to this web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value.
In the embodiment of the present invention, when data analytics server receives the web page access information that terminal device reports, the webpage load time information that can comprise according to this web page access information determines that webpage loads duration.
For instance, suppose in web page access information that terminal device reports, the initial time t0 that webpage loads is 8:00:00, and it is 8:00:05 that webpage loads deadline t1, and data analytics server can determine that it is 5S that the webpage of this web page access of this terminal device loads duration.
In the embodiment of the present invention, the webpage that data analytics server gets terminal device while carrying out web page access loads after duration, can be greater than Preset Time threshold value (very first time threshold value by statistical web page loading duration, can set according to actual conditions, as 5S, 10S etc.) the ratio of terminal device.
Wherein, data analytics server periodically statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value, or regularly statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value.
For instance, with data analytics server, 0:00 every day starts, the ratio that is greater than the terminal device of very first time threshold value every webpage loading duration of a hour statistics is example, tentation data Analysis server at 7:00 to during 8:00, receive altogether the web page access information that 10000 terminal devices report, and in these 10000 terminal devices, webpage corresponding to web page access information that 300 terminal devices report loads duration and is greater than very first time threshold value (as 10S), data analytics server can determine that it is 3% that the interior webpage of this timing statistics section (7:00~8:00) loads the ratio that duration is greater than the terminal device of very first time threshold value.
Step 103, judge that this webpage loads the ratio that duration is greater than the terminal device of very first time threshold value and whether meets default alarm triggered condition; If be judged as YES, go to step 104, otherwise, finish current flow process.
As a kind of optional implementation method, in the embodiment of the present invention, default alarm triggered condition can comprise: in current statistical time range, webpage loads the difference of ratio that webpage loading duration in ratio and the upper consecutive days same statistical time range of terminal device that duration is greater than very first time threshold value is greater than the terminal device of very first time threshold value and is greater than threshold value (can set according to actual conditions, as 1%, 2% etc.).
Correspondingly, in above-mentioned steps 103, judge that this webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, can comprise:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and whether the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of consecutive days duration is greater than very first time threshold value is greater than threshold value;
If be judged as YES, judge that this webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that this webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
For instance, suppose that it is 5% that (as 7:00~8:00 on January 2nd, 2014) webpage in current statistical time range loads the ratio that duration is greater than the terminal device of first threshold, the ratio that interior (7:00~8:00 on January 1st, 2014) webpage loading of a upper same statistical time range of consecutive days duration is greater than the terminal device of first threshold is 3.5%, threshold value is 1%, because loading the difference (being 5%-3.5%=1.5%) of ratio that webpage loading duration in ratio and the upper consecutive days same statistical time range of terminal device that duration is greater than first threshold is greater than the terminal device of first threshold, webpage in current statistical time range is greater than threshold value (1%), therefore, data analytics server can judge that in current statistical time range, webpage loads the satisfied default alarm conditions of ratio that duration is greater than the terminal device of first threshold.
As the optional implementation method of another kind, in the embodiment of the present invention, default alarm triggered condition can comprise: in current statistical time range, webpage loads the difference of ratio that webpage loading duration in ratio and the upper same statistical time range of time cycle of terminal device that duration is greater than very first time threshold value is greater than the terminal device of very first time threshold value and is greater than threshold value (can set according to actual conditions, as 1%, 2% etc.).
For instance, the above-mentioned time cycle is can be one week, one month, 1 year etc., supposes that the time cycle is one week, and current statistical time range is 7:00~8:00 this Monday, and going up a same statistical time range of time cycle can be 7:00~8:00 last Monday; Suppose that the time cycle is one month, if current statistical time range is 7:00~8:00 on July 1, going up a same statistical time range of time cycle can be 6 months 1 day 7:00~8:00, if current statistical time range is 7:00~8:00 on July 31, going up a same statistical time range of time cycle can be 6 months 30 days 7:00~8:00; Suppose that the time cycle is 1 year, current statistical time range is 7:00~8:00 on January 1st, 2014, and going up a same statistical time range of time cycle can be 7:00~8:00 on January 1st, 2013.
Correspondingly, in above-mentioned steps 103, judge that this webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, can comprise:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of time cycle duration is greater than very first time threshold value is more than or equal to predetermined threshold value;
If be judged as YES, judgement webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judgement webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
For instance, take the time cycle was example as one week, suppose that it is 5% that (7:00~8:00 this Monday) webpage in current statistical time range loads the ratio that duration is greater than the terminal device of first threshold, the ratio that interior (7:00~8:00 last Monday) webpage loading of a upper same statistical time range of time cycle duration is greater than the terminal device of first threshold is 4.5%, threshold value is 1%, because loading the difference (being 5%-4.5%=0.5%) of ratio that webpage loading duration in ratio and the upper same statistical time range of time cycle of terminal device that duration is greater than first threshold is greater than the terminal device of first threshold, webpage in current statistical time range is less than threshold value (1%), therefore, data analytics server can judge that in current statistical time range, webpage loads the satisfied default alarm conditions of ratio that duration is greater than the terminal device of first threshold.
In above-mentioned flow process, by same day relatively statistical time range and upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle, can embody significantly webpage and load the variation of ratio that duration is greater than the terminal device of very first time threshold value, and then judge more accurately whether webpage to occur abnormal.
It should be noted that, in embodiments of the present invention, when data analytics server statistics obtains webpage and loads duration and be greater than the ratio of terminal device of very first time threshold value, also can first judge webpage in current statistical time range load ratio that duration is greater than the terminal device of very first time threshold value whether be greater than predetermined threshold value (can be according to actual conditions setting, as 5%, 10% etc.), when being judged as YES, can directly judge that webpage occurs abnormal, be that webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, carry out alarming processing.In this case, can no longer carry out lateral comparison (relatively the same day statistical time range with upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle); When being judged as NO, more further relatively the same day statistical time range with upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle.
Step 104, the alarming processing of carrying out.
In the embodiment of the present invention, when data analytics server judgement webpage loads ratio that duration is greater than the terminal device of very first time threshold value and meets default alarm triggered condition, can carry out alarming processing, if the mode by sending note, mail is to backstage maintainer's alarm, or the mode by dialing the default telephone number arranging is to backstage maintainer's alarm, background maintenance personnel receive after alarm, can take corresponding treatment measures according to actual conditions.
As shown in Figure 2, the schematic flow sheet of the another kind of webpage abnormality eliminating method providing for the embodiment of the present invention, can comprise the following steps:
The web page access information that step 201, receiving terminal apparatus report; This web page access information comprises webpage load time information, and content load time information.
In the embodiment of the present invention, when terminal device passes through browser access webpage, can record web page access information, and this web page access information is reported to data analytics server.
In the embodiment of the present invention, when terminal device comprises that by browser access webpage webpage loads (being that basic webpage loads) and content loads (being that data load), as for front end, exploitation adopts the form of ajax+html/css+restapi to complete the webpage that the page finally represents logic, the web page access information that terminal device reports to data analytics server, except comprising webpage load time information, can also comprise content load time information.
As a kind of optional embodiment, terminal device reports web page access information to comprise the following steps to data analytics server:
Step 21), terminal device sends webpage load request by browser, puts t0 writing time;
Step 22), webpage loaded, and puts t1 writing time;
By above-mentioned steps 21)~22), completed base page loading, webpage loads.
Step 23), terminal device sends content load request by browser, puts t2 writing time;
Step 24), content loaded, writing time t3;
By above-mentioned steps 23)~24), completed content loading, data load.
Step 25), terminal device is above-mentioned webpage load time information, and content load time information reporting is to data analytics server, by data analytics server, this information is analyzed.
In the embodiment of the present invention, terminal device can be after content have loaded, to data analytics server, report webpage load information and content load time information in real time, also can regularly to data analytics server, report webpage load time information, and content load time information.
It should be noted that, in the technical scheme that the embodiment of the present invention provides, when subscriber terminal equipment passes through browser access webpage, may be due to the reason such as the webpage load time is long, before having loaded, webpage closes webpage, or, after webpage has loaded, due to the reason such as the content load time is long, before having loaded, content closes webpage, now, terminal device can recording user be closed the time of webpage, and the time that this is closed to webpage reports data analytics server, whether the mistiming of the time that the initial time being loaded according to webpage by data analytics server and webpage are closed judges that webpage loads duration excessive, or the mistiming of the initial time loading according to content and webpage time of closing judge that whether content loading duration is excessive, soon the webpage shut-in time loads the deadline as webpage, carry out the statistics of webpage loading duration, or the webpage shut-in time is loaded to the deadline as content, carry out the statistics of content loading duration.
Step 202, according to this web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value, and content loads the ratio that duration is greater than the terminal device of the second time threshold.
In the embodiment of the present invention, when data analytics server receives the web page access information that terminal device reports, the webpage load time information that can comprise according to this web page access information and content load time information determine that webpage loads duration, and content loads duration.
For instance, suppose in web page access information that terminal device reports, the initial time t0 that webpage loads is 8:00:00, it is 8:00:05 that webpage loads deadline t1, the initial time t2 that content loads is 8:00:06, it is 8:00:10 that content loads deadline t3, and data analytics server can determine that it is 5S that the webpage of this web page access of this terminal device loads duration, and the content load time is 4S.
In the embodiment of the present invention, the webpage that data analytics server gets terminal device while carrying out web page access loads after duration, can be greater than Preset Time threshold value (very first time threshold value by statistical web page loading duration, can set according to actual conditions, as 5S, 10S etc.) the ratio of terminal device, and content loading duration is greater than Preset Time threshold value (the second time threshold can be set according to actual conditions, as 5S, 10S etc.).
Wherein, data analytics server periodically statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value, and content loads the ratio that duration is greater than the terminal device of the second time threshold, or, regularly statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value, and content loads the ratio that duration is greater than the terminal device of the second time threshold.
For instance, with data analytics server, 0:00 every day starts, every webpage of a hour statistics, load the ratio that duration is greater than the terminal device of very first time threshold value, and content to load the ratio that duration is greater than the terminal device of the second time threshold be example, tentation data Analysis server at 7:00 to during 8:00, receive altogether the web page access information that 10000 terminal devices report, and in these 10000 terminal devices, webpage corresponding to web page access information that 300 terminal devices report loads duration and is greater than very first time threshold value (as 10S), content corresponding to content access information that 150 terminal devices report loads duration and is greater than the second time threshold, data analytics server can determine that it is 3% that the interior webpage of this timing statistics section (7:00~8:00) loads the ratio that duration is greater than the terminal device of very first time threshold value, the ratio that content loading duration is greater than the terminal device of the second time threshold is 1.5%.
Step 203, judge that webpage loads the ratio that duration is greater than the terminal device of very first time threshold value and whether meets default alarm conditions.If be judged as YES, go to step 205; Otherwise, go to step 204.
As a kind of optional implementation method, in the embodiment of the present invention, default alarm triggered condition can comprise: in current statistical time range, webpage loads the difference of ratio that webpage loading duration in ratio and the upper consecutive days same statistical time range of terminal device that duration is greater than very first time threshold value is greater than the terminal device of very first time threshold value and is greater than threshold value (can set according to actual conditions, as 1%, 2% etc.).
Correspondingly, in above-mentioned steps 203, judge that this webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, can comprise:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and whether the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of consecutive days duration is greater than very first time threshold value is greater than threshold value;
If be judged as YES, judge that this webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that this webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
For instance, suppose that it is 5% that (as 7:00~8:00 on January 2nd, 2014) webpage in current statistical time range loads the ratio that duration is greater than the terminal device of first threshold, the ratio that interior (7:00~8:00 on January 1st, 2014) webpage loading of a upper same statistical time range of consecutive days duration is greater than the terminal device of first threshold is 3.5%, threshold value is 1%, because loading the difference (being 5%-3.5%=1.5%) of ratio that webpage loading duration in ratio and the upper consecutive days same statistical time range of terminal device that duration is greater than first threshold is greater than the terminal device of first threshold, webpage in current statistical time range is greater than threshold value (1%), therefore, data analytics server can judge that in current statistical time range, webpage loads the satisfied default alarm conditions of ratio that duration is greater than the terminal device of first threshold.
As the optional implementation method of another kind, in the embodiment of the present invention, default alarm triggered condition can comprise: in current statistical time range, webpage loads the difference of ratio that webpage loading duration in ratio and the upper same statistical time range of time cycle of terminal device that duration is greater than very first time threshold value is greater than the terminal device of very first time threshold value and is greater than threshold value (can set according to actual conditions, as 1%, 2% etc.).
For instance, the above-mentioned time cycle is can be one week, one month, 1 year etc., supposes that the time cycle is one week, and current statistical time range is 7:00~8:00 this Monday, and going up a same statistical time range of time cycle can be 7:00~8:00 last Monday; Suppose that the time cycle is one month, if current statistical time range is 7:00~8:00 on July 1, going up a same statistical time range of time cycle can be 6 months 1 day 7:00~8:00, if current statistical time range is 7:00~8:00 on July 31, going up a same statistical time range of time cycle can be 6 months 30 days 7:00~8:00; Suppose that the time cycle is 1 year, current statistical time range is 7:00~8:00 on January 1st, 2014, and going up a same statistical time range of time cycle can be 7:00~8:00 on January 1st, 2013.
Correspondingly, in above-mentioned steps 203, judge that this webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, can comprise:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of time cycle duration is greater than very first time threshold value is more than or equal to predetermined threshold value;
If be judged as YES, judgement webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judgement webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
For instance, take the time cycle was example as one week, suppose that it is 5% that (7:00~8:00 this Monday) webpage in current statistical time range loads the ratio that duration is greater than the terminal device of first threshold, the ratio that interior (7:00~8:00 last Monday) webpage loading of a upper same statistical time range of time cycle duration is greater than the terminal device of first threshold is 4.5%, threshold value is 1%, because loading the difference (being 5%-4.5%=0.5%) of ratio that webpage loading duration in ratio and the upper same statistical time range of time cycle of terminal device that duration is greater than first threshold is greater than the terminal device of first threshold, webpage in current statistical time range is less than threshold value (1%), therefore, data analytics server can judge that in current statistical time range, webpage loads the satisfied default alarm conditions of ratio that duration is greater than the terminal device of first threshold.
In above-mentioned flow process, by same day relatively statistical time range and upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle, can embody significantly webpage and load the variation of ratio that duration is greater than the terminal device of very first time threshold value, and then judge more accurately whether webpage to occur abnormal.
It should be noted that, in embodiments of the present invention, when data analytics server statistics obtains webpage and loads duration and be greater than the ratio of terminal device of very first time threshold value, also can first judge webpage in current statistical time range load ratio that duration is greater than the terminal device of very first time threshold value whether be greater than predetermined threshold value (can be according to actual conditions setting, as 5%, 10% etc.), when being judged as YES, can directly judge that webpage occurs abnormal, be that webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, carry out alarming processing.In this case, can no longer carry out lateral comparison (relatively the same day statistical time range with upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle); When being judged as NO, more further relatively the same day statistical time range with upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle.
Step 204, judge that content loads the ratio that duration is greater than the terminal device of the second time threshold and whether meets default alarm triggered condition.If be judged as YES, go to step 205; Otherwise, finish current flow process.
In the embodiment of the present invention, when data analytics server judgement webpage loads ratio that duration is greater than the terminal device of very first time threshold value and do not meet default alarm triggered condition, can also further judge that content loading duration is greater than the whether satisfied alarm triggered condition of presetting of ratio of the terminal device of the second time threshold.
As a kind of optional implementation method, in the embodiment of the present invention, default alarm triggered condition can comprise: in current statistical time range, content loads the difference of ratio that content loading duration in ratio and the upper consecutive days same statistical time range of terminal device that duration is greater than the second time threshold is greater than the terminal device of the second time threshold and is greater than threshold value (can set according to actual conditions, as 1%, 2% etc.).
Correspondingly, in above-mentioned steps 204, judge that this content loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold, can comprise:
Judge that the interior content loading of current statistical time range duration is greater than the ratio of terminal device of the second time threshold and whether the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of consecutive days duration is greater than the second time threshold is greater than threshold value;
If be judged as YES, judge that this content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that this content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
For instance, suppose that it is 5% that (as 7:00~8:00 on January 2nd, 2014) content in current statistical time range loads the ratio that duration is greater than the terminal device of Second Threshold, the ratio that interior (7:00~8:00 on January 1st, 2014) content loading of a upper same statistical time range of consecutive days duration is greater than the terminal device of Second Threshold is 3.5%, threshold value is 1%, because loading the difference (being 5%-3.5%=1.5%) of ratio that content loading duration in ratio and the upper consecutive days same statistical time range of terminal device that duration is greater than Second Threshold is greater than the terminal device of Second Threshold, content in current statistical time range is greater than threshold value (1%), therefore, data analytics server can judge that in current statistical time range, content loads the satisfied default alarm conditions of ratio that duration is greater than the terminal device of Second Threshold.
As the optional implementation method of another kind, in the embodiment of the present invention, default alarm triggered condition can comprise: in current statistical time range, content loads the difference of ratio that content loading duration in ratio and the upper same statistical time range of time cycle of terminal device that duration is greater than the second time threshold is greater than the terminal device of the second time threshold and is greater than threshold value (can set according to actual conditions, as 1%, 2% etc.).
For instance, the above-mentioned time cycle is can be one week, one month, 1 year etc., supposes that the time cycle is one week, and current statistical time range is 7:00~8:00 this Monday, and going up a same statistical time range of time cycle can be 7:00~8:00 last Monday; Suppose that the time cycle is one month, if current statistical time range is 7:00~8:00 on July 1, going up a same statistical time range of time cycle can be 6 months 1 day 7:00~8:00, if current statistical time range is 7:00~8:00 on July 31, going up a same statistical time range of time cycle can be 6 months 30 days 7:00~8:00; Suppose that the time cycle is 1 year, current statistical time range is 7:00~8:00 on January 1st, 2014, and going up a same statistical time range of time cycle can be 7:00~8:00 on January 1st, 2013.
Correspondingly, in above-mentioned steps 204, judge that this content loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold, can comprise:
Judge that the interior content loading of current statistical time range duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of time cycle duration is greater than the second time threshold is more than or equal to predetermined threshold value;
If be judged as YES, judgement content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judgement content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
For instance, take the time cycle was example as one week, suppose that it is 5% that (7:00~8:00 this Monday) content in current statistical time range loads the ratio that duration is greater than the terminal device of Second Threshold, the ratio that interior (7:00~8:00 last Monday) content loading of a upper same statistical time range of time cycle duration is greater than the terminal device of Second Threshold is 4.5%, threshold value is 1%, because loading the difference (being 5%-4.5%=0.5%) of ratio that content loading duration in ratio and the upper same statistical time range of time cycle of terminal device that duration is greater than Second Threshold is greater than the terminal device of Second Threshold, content in current statistical time range is less than threshold value (1%), therefore, data analytics server can judge that in current statistical time range, content loads the satisfied default alarm conditions of ratio that duration is greater than the terminal device of Second Threshold.
In above-mentioned flow process, by same day relatively statistical time range and upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle, can embody significantly content and load the variation of ratio that duration is greater than the terminal device of the second time threshold, and then judge more accurately whether webpage to occur abnormal.
It should be noted that, in embodiments of the present invention, when data analytics server statistics obtains content and loads duration and be greater than the ratio of terminal device of the second time threshold, also can first judge content in current statistical time range load ratio that duration is greater than the terminal device of the second time threshold whether be greater than predetermined threshold value (can be according to actual conditions setting, as 5%, 10% etc.), when being judged as YES, can directly judge that webpage occurs abnormal, be that content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold, carry out alarming processing.In this case, can no longer carry out lateral comparison (relatively the same day statistical time range with upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle); When being judged as NO, more further relatively the same day statistical time range with upper one consecutive days same statistical time range data, or the data of comparison statistical time range on the same day and a upper same statistical time range of time cycle.
It is also to be noted that, between above-mentioned steps 203 and step 204, there is not inevitable sequential relationship, be that data analytics server statistics obtains the ratio that webpage loading duration is greater than the terminal device of very first time threshold value, and after content loads the ratio of terminal device that duration is greater than the second time threshold, can first perform step the decision operation in 203, the decision operation in rear execution step 204; Also can first perform step the decision operation in 204, the decision operation in rear execution step 203.When data server first performs step the decision operation in 203 or 204, and when judgement meets default trigger condition, step 204 after can carrying out again or the decision operation in step 203, and directly carry out alarm, but background maintenance personnel receive after alarm, still can check data relevant in the step of not carrying out decision operation.
Step 205, the alarming processing of carrying out.
In the embodiment of the present invention, when data analytics server judgement webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, or judgement content is when loading ratio that duration is greater than the terminal device of the second time threshold and meeting default alarm triggered condition, can carry out alarming processing, as passed through, send note, the mode of mail is to backstage maintainer's alarm, or the mode by dialing the default telephone number arranging is to backstage maintainer's alarm, background maintenance personnel receive after alarm, can take corresponding treatment measures according to actual conditions.
For instance, background maintenance personnel receive after alarm, can load duration to webpage and be greater than very first time threshold value, or/and, content loads the web page access information that terminal device that duration is greater than the second time threshold reports and analyzes, determine and cause webpage to load duration, or/and content loads the reason of duration, when this former because reason relevant to webpage development, as loaded excessive picture in webpage, can notify corresponding webpage development personnel, thereby webpage development personnel are improved to webpage development, and then the experience that improves user's accessed web page, be that the technical scheme that the embodiment of the present invention provides can provide guidance for more effectively improving the experience of user's accessed web page.
As shown in Figure 3, the schematic flow sheet of the another kind of webpage abnormality eliminating method providing for the embodiment of the present invention, can comprise the following steps:
Step 301, terminal device report web page access information to data analytics server.
In the embodiment of the present invention, when terminal device passes through browser access webpage, can record web page access information, and this web page access information is reported to data analytics server.
Take that to adopt the form of ajax+html/css+rest api to complete the webpage that the page finally represents logic be example, terminal device reports page access information to comprise the following steps to data analytics server:
Step 31), terminal device sends webpage load request by browser, puts t0 writing time;
Step 32), html/css loaded, and puts t1 writing time;
Wherein, html/css is mainly used in base page and loads, by above-mentioned steps 31)~32), completed base page loading, webpage loads.
Step 33), terminal device sends ajax by browser and asks, writing time t2;
Wherein, ajax is mainly used in data and loads (being that content loads), and browser can send by ajax the request of obtaining API data to server.
Step 34), data have loaded, writing time t3;
By above-mentioned steps 32)~33), completed data loading, content loads.
Step 35), terminal device is above-mentioned webpage load time information, and content load time information reporting is to data analytics server, by data analytics server, this information is analyzed
In the embodiment of the present invention, terminal device can be after content have loaded, to data analytics server, report webpage load information and content load time information in real time, also can regularly to data analytics server, report webpage load time information, and content load time information.
It should be noted that, in the technical scheme that the embodiment of the present invention provides, when subscriber terminal equipment passes through browser access webpage, may be due to the reason such as the webpage load time is long, before having loaded, webpage closes webpage, or, after webpage has loaded, due to the reason such as the content load time is long, before having loaded, content closes webpage, now, terminal device can recording user be closed the time of webpage, and the time that this is closed to webpage reports data analytics server, whether the mistiming of the time that the initial time being loaded according to webpage by data analytics server and webpage are closed judges that webpage loads duration excessive, or the mistiming of the initial time loading according to content and webpage time of closing judge that whether content loading duration is excessive, soon the webpage shut-in time loads the deadline as webpage, carry out the statistics of webpage loading duration, or the webpage shut-in time is loaded to the deadline as content, carry out the statistics of content loading duration.
Step 302, data analytics server receive web page access information, and according to this web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value, and content loads the ratio that duration is greater than the terminal device of the second time threshold.
Step 303, data analytics server judge that webpage loads the whether satisfied default alarm conditions of ratio that duration is greater than the terminal device of very first time threshold value.If be judged as YES, go to step 305; Otherwise, go to step 304.
Step 304, data analytics server judge that content loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.If be judged as YES, go to step 305; Otherwise, finish current flow process.
In the embodiment of the present invention, the concrete treatment scheme of above-mentioned steps 302~304 can, with reference to the relevant treatment flow process in above-mentioned steps 202~204, not repeat them here.
Step 305, data analytics server are carried out alarming processing.
Step 306, data analytics server are reported to designated terminal equipment dispatching web page abnormal information.
In the embodiment of the present invention, when data analytics server judgement webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, or judgement content is when loading ratio that duration is greater than the terminal device of the second time threshold and meeting default alarm triggered condition, can carry out alarming processing, as passed through, send note, the mode of mail is to backstage maintainer's alarm, or the mode by dialing the default telephone number arranging is to backstage maintainer's alarm, background maintenance personnel receive after alarm, can take corresponding treatment measures according to actual conditions.
In the embodiment of the present invention, the geographical location information (can realize by IP address) that can also comprise terminal device in the web page access information that terminal device reports to data analytics server, network type is (as telecommunications, UNICOM, mobile etc.), OS Type is (as WIN7, WIN8, MAC OS etc.), browser type is (as cheetah browser, IE browser etc.), background maintenance personnel receive after alarm, the web page access information that can report according to the abnormal terminal device of generation webpage is analyzed current web page abnormal conditions, determine webpage abnormal cause, this webpage abnormal cause can include but not limited to specific region Network Abnormal, Network Abnormal, Loopholes of OS, browser is abnormal etc., and issue the webpage abnormal information report of carrying webpage abnormal cause to designated terminal equipment (as the abnormal terminal device of webpage occurs).
By above description, can find out, in the technical scheme providing in the embodiment of the present invention, the web page access information reporting by receiving terminal apparatus, according to web page access information statistical web page, load the ratio that duration is greater than the terminal device of very first time threshold value, and judge that webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, and then when being judged as YES, carry out alarming processing, thereby can find in time webpage abnormal conditions, improve webpage abnormality processing efficiency.
Based on the identical technical conceive of said method embodiment, the embodiment of the present invention also provides a kind of webpage abnormality processing equipment, can be applied in said method embodiment.
As shown in Figure 4, the structural representation of a kind of webpage abnormality processing equipment providing for the embodiment of the present invention, can comprise:
Receiver module 401, the web page access information reporting for receiving terminal apparatus, described web page access information comprises webpage load time information;
Statistical module 402, for according to described web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value;
Judge module 403, for judging that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
Alarm module 404, for when described judge module is judged as YES, carries out alarming processing.
In optional embodiment, described judge module 403 can be specifically for, realizes in the following manner and judge that described webpage loads the ratio that duration is greater than the terminal device of very first time threshold value and whether meets the alarm triggered condition of presetting:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and whether the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of consecutive days duration is greater than very first time threshold value is greater than threshold value,
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
In optional embodiment, described judge module 403 can be specifically for, realizes in the following manner and judge that described webpage loads the ratio that duration is greater than the terminal device of very first time threshold value and whether meets the alarm triggered condition of presetting:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of time cycle duration is greater than very first time threshold value is more than or equal to predetermined threshold value;
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
In optional embodiment, described web page access information can also comprise: content load time information;
Correspondingly, described statistical module 402 can also be for, and according to described web page access information, statistical content loads the ratio that duration is greater than the terminal device of the second time threshold;
Described judge module 403 can also be for, judges that described content loads the ratio that duration is greater than the terminal device of the second time threshold and whether meets default alarm triggered condition;
Described alarm module 404 can also be for, when described judge module judges that described content loads ratio that duration is greater than the terminal device of the second time threshold and meets default alarm triggered condition, carries out alarming processing.
In optional embodiment, described judge module 403 can be specifically for, judges that in the following manner described content loads the ratio that duration is greater than the terminal device of the second time threshold and whether meets default alarm triggered condition:
Judge that in current statistical time range, content loading duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of consecutive days duration is greater than the second time threshold;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
In optional embodiment, described judge module 403 can be specifically for, judges that in the following manner described content loads the ratio that duration is greater than the terminal device of the second time threshold and whether meets default alarm triggered condition:
Judge that the interior content loading of current statistical time range duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of time cycle duration is greater than the second time threshold is more than or equal to predetermined threshold value;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
Fig. 5 is the structural representation of the another kind of webpage abnormality processing equipment that provides in the embodiment of the present invention.As shown in Figure 5, this webpage abnormality processing equipment comprises: at least one processor 501, CPU for example, at least one user interface 503, storer 504, at least one communication bus 502.Wherein, communication bus 502 is for realizing the connection communication between these assemblies.Wherein, user interface 503 can comprise display screen (Display), keyboard (Keyboard), and selectable user interface 503 can also comprise wireline interface, the wave point of standard.Storer 504 can be high-speed RAM storer, also can the unsettled storer of right and wrong (non-volatile memory), for example at least one magnetic disk memory.Storer 504 can also be optionally that at least one is positioned at the memory storage away from aforementioned processing device 501.Wherein in storer 504, store batch processing code, and processor 501 calls in storer 504 program code of storage, for carrying out following operation:
The web page access information that receiving terminal apparatus reports, described web page access information comprises webpage load time information;
According to described web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value;
Judge that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as YES, carry out alarming processing.
In optional embodiment, the program code that processor 501 calls storage in storer 504 judges that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, can specifically comprise:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and whether the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of consecutive days duration is greater than very first time threshold value is greater than threshold value,
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
In optional embodiment, the program code that processor 501 calls storage in storer 504 judges that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value, can specifically comprise:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of time cycle duration is greater than very first time threshold value is more than or equal to predetermined threshold value;
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
In optional embodiment, described web page access information also comprises: content load time information;
Correspondingly, processor 501 calls the program code of storing in storer 504 and can also carry out following operation:
According to described web page access information, statistical content loads the ratio that duration is greater than the terminal device of the second time threshold;
Judge that described content loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as YES, carry out alarming processing.
In optional embodiment, the program code that processor 501 calls storage in storer 504 judges that described content loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold, comprising:
Judge that in current statistical time range, content loading duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of consecutive days duration is greater than the second time threshold;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
In optional embodiment, the program code that processor 501 calls storage in storer 504 judges that described content loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold, comprising:
Judge that the interior content loading of current statistical time range duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of time cycle duration is greater than the second time threshold is more than or equal to predetermined threshold value;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
The embodiment of the present invention also provides a kind of terminal, can comprise the arbitrary webpage abnormality processing equipment as shown in Fig. 4-5.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, to the schematic statement of above-mentioned term not must for be identical embodiment or example.And, the specific features of description, structure, material or feature can one or more embodiment in office or example in suitable mode combination.In addition,, not conflicting in the situation that, those skilled in the art can carry out combination and combination by the feature of the different embodiment that describe in this instructions or example and different embodiment or example.
In addition, term " first ", " second " be only for describing object, and can not be interpreted as indication or hint relative importance or the implicit quantity that indicates indicated technical characterictic.Thus, at least one this feature can be expressed or impliedly be comprised to the feature that is limited with " first ", " second ".In description of the invention, the implication of " a plurality of " is at least two, for example two, and three etc., unless otherwise expressly limited specifically.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in process flow diagram, represent or otherwise describe at this, for example, can be considered to for realizing the sequencing list of the executable instruction of logic function, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), use, or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), the erasable ROM (read-only memory) (EPROM or flash memory) of editing, fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanning, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.Although illustrated and described embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, modification, replacement and modification.

Claims (13)

1. a webpage abnormality eliminating method, is characterized in that, comprising:
The web page access information that receiving terminal apparatus reports, described web page access information comprises webpage load time information;
According to described web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value;
Judge that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as YES, carry out alarming processing.
2. the method for claim 1, is characterized in that, whether the described ratio that judges that described webpage loading duration is greater than the terminal device of very first time threshold value meets default alarm triggered condition, comprising:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and whether the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of consecutive days duration is greater than very first time threshold value is greater than threshold value,
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
3. the method for claim 1, is characterized in that, whether the described ratio that judges that described webpage loading duration is greater than the terminal device of very first time threshold value meets default alarm triggered condition, comprising:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of time cycle duration is greater than very first time threshold value is more than or equal to predetermined threshold value;
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
4. the method for claim 1, is characterized in that, described web page access information also comprises: content load time information;
Described method also comprises:
According to described web page access information, statistical content loads the ratio that duration is greater than the terminal device of the second time threshold;
Judge that described content loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as YES, carry out alarming processing.
5. method as claimed in claim 4, is characterized in that, whether the described ratio that judges that described content loading duration is greater than the terminal device of the second time threshold meets default alarm triggered condition, comprising:
Judge that in current statistical time range, content loading duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of consecutive days duration is greater than the second time threshold;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
6. method as claimed in claim 4, is characterized in that, whether the described ratio that judges that described content loading duration is greater than the terminal device of the second time threshold meets default alarm triggered condition, comprising:
Judge that the interior content loading of current statistical time range duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of time cycle duration is greater than the second time threshold is more than or equal to predetermined threshold value;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
7. a webpage abnormality processing equipment, is characterized in that, comprising:
Receiver module, the web page access information reporting for receiving terminal apparatus, described web page access information comprises webpage load time information;
Statistical module, for according to described web page access information, statistical web page loads the ratio that duration is greater than the terminal device of very first time threshold value;
Judge module, for judging that described webpage loads the whether satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
Alarm module, for when described judge module is judged as YES, carries out alarming processing.
8. equipment as claimed in claim 7, is characterized in that, described judge module specifically for, realize in the following manner and judge that described webpage loads the ratio that duration is greater than the terminal device of very first time threshold value and whether meets the alarm triggered condition of presetting:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and whether the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of consecutive days duration is greater than very first time threshold value is greater than threshold value,
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
9. equipment as claimed in claim 7, is characterized in that, described judge module specifically for, realize in the following manner and judge that described webpage loads the ratio that duration is greater than the terminal device of very first time threshold value and whether meets the alarm triggered condition of presetting:
Judge that the interior webpage loading of current statistical time range duration is greater than the ratio of terminal device of very first time threshold value and the difference of the ratio of the terminal device that the interior webpage loading of a upper same statistical time range of time cycle duration is greater than very first time threshold value is more than or equal to predetermined threshold value;
If be judged as YES, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value;
If be judged as NO, judge that described webpage loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of very first time threshold value.
10. equipment as claimed in claim 7, is characterized in that, described web page access information also comprises: content load time information;
Described statistical module also for, according to described web page access information, statistical content loads the ratio that duration is greater than the terminal device of the second time threshold;
Described judge module also for, judge that described content loads the ratio that duration is greater than the terminal device of the second time threshold and whether meets default alarm triggered condition;
Described alarm module also for, when described judge module judges that described content loads ratio that duration is greater than the terminal device of the second time threshold and meets default alarm triggered condition, carry out alarming processing.
11. equipment as claimed in claim 10, is characterized in that, described judge module specifically for, judge that in the following manner described content loads the ratio that duration is greater than the terminal device of the second time threshold and whether meets default alarm triggered condition:
Judge that in current statistical time range, content loading duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of consecutive days duration is greater than the second time threshold;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
12. equipment as claimed in claim 10, is characterized in that, described judge module specifically for, judge that in the following manner described content loads the ratio that duration is greater than the terminal device of the second time threshold and whether meets default alarm triggered condition:
Judge that the interior content loading of current statistical time range duration is greater than the ratio of terminal device of the second time threshold and the difference of the ratio of the terminal device that the interior content loading of a upper same statistical time range of time cycle duration is greater than the second time threshold is more than or equal to predetermined threshold value;
If be judged as YES, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold;
If be judged as NO, judge that described content loads the satisfied default alarm triggered condition of ratio that duration is greater than the terminal device of the second time threshold.
13. 1 kinds of terminals, is characterized in that, comprise the webpage abnormality processing equipment described in claim 7-12 any one.
CN201410443903.7A 2014-09-02 2014-09-02 A kind of webpage abnormality eliminating method and equipment Expired - Fee Related CN104200157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410443903.7A CN104200157B (en) 2014-09-02 2014-09-02 A kind of webpage abnormality eliminating method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410443903.7A CN104200157B (en) 2014-09-02 2014-09-02 A kind of webpage abnormality eliminating method and equipment

Publications (2)

Publication Number Publication Date
CN104200157A true CN104200157A (en) 2014-12-10
CN104200157B CN104200157B (en) 2018-01-23

Family

ID=52085448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410443903.7A Expired - Fee Related CN104200157B (en) 2014-09-02 2014-09-02 A kind of webpage abnormality eliminating method and equipment

Country Status (1)

Country Link
CN (1) CN104200157B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391518A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 Count system, the method and device of page load performance information
CN110071912A (en) * 2019-03-26 2019-07-30 阿里巴巴集团控股有限公司 Data checking method, device and system
CN110825951A (en) * 2019-10-30 2020-02-21 百度在线网络技术(北京)有限公司 Webpage processing method and device and electronic equipment
CN110990080A (en) * 2019-12-03 2020-04-10 北京三快在线科技有限公司 Page retirement rate determination method and device, computer equipment and storage medium
CN111783010A (en) * 2020-01-19 2020-10-16 北京无限光场科技有限公司 Webpage blank page monitoring method, device, terminal and storage medium
CN113364602A (en) * 2020-03-03 2021-09-07 阿里巴巴集团控股有限公司 Method, device and storage medium for triggering page fault alarm

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083188A1 (en) * 2000-11-02 2002-06-27 Webtrends Corporation Method for determining web page loading and viewing times
KR20050015529A (en) * 2003-08-06 2005-02-21 엔에이치엔(주) Method for Checking Speed of Contents Data
CN103067230A (en) * 2013-01-23 2013-04-24 江苏天智互联科技有限公司 Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
CN103412812A (en) * 2013-08-23 2013-11-27 北京奇虎科技有限公司 Method and device for monitoring running status of browser
CN103650569A (en) * 2013-07-22 2014-03-19 华为技术有限公司 Fault diagnosis method and device of wireless network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020083188A1 (en) * 2000-11-02 2002-06-27 Webtrends Corporation Method for determining web page loading and viewing times
KR20050015529A (en) * 2003-08-06 2005-02-21 엔에이치엔(주) Method for Checking Speed of Contents Data
CN103067230A (en) * 2013-01-23 2013-04-24 江苏天智互联科技有限公司 Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
CN103650569A (en) * 2013-07-22 2014-03-19 华为技术有限公司 Fault diagnosis method and device of wireless network
CN103412812A (en) * 2013-08-23 2013-11-27 北京奇虎科技有限公司 Method and device for monitoring running status of browser

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391518A (en) * 2016-05-17 2017-11-24 腾讯科技(深圳)有限公司 Count system, the method and device of page load performance information
CN110071912A (en) * 2019-03-26 2019-07-30 阿里巴巴集团控股有限公司 Data checking method, device and system
CN110071912B (en) * 2019-03-26 2021-05-04 创新先进技术有限公司 Data inspection method, device and system
CN110825951A (en) * 2019-10-30 2020-02-21 百度在线网络技术(北京)有限公司 Webpage processing method and device and electronic equipment
CN110990080A (en) * 2019-12-03 2020-04-10 北京三快在线科技有限公司 Page retirement rate determination method and device, computer equipment and storage medium
CN111783010A (en) * 2020-01-19 2020-10-16 北京无限光场科技有限公司 Webpage blank page monitoring method, device, terminal and storage medium
CN111783010B (en) * 2020-01-19 2023-09-19 北京有竹居网络技术有限公司 Webpage blank page monitoring method, device, terminal and storage medium
CN113364602A (en) * 2020-03-03 2021-09-07 阿里巴巴集团控股有限公司 Method, device and storage medium for triggering page fault alarm

Also Published As

Publication number Publication date
CN104200157B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN104200157A (en) Webpage exception handling method and equipment
CN107341098B (en) Software performance testing method, platform, equipment and storage medium
CN110826071B (en) Software vulnerability risk prediction method, device, equipment and storage medium
CN110309051B (en) Method, system, equipment and storage medium for managing test cases
CN109933760A (en) List generation method, device, computer equipment and computer readable storage medium
CN107908680A (en) Management method, electronic device and the computer-readable recording medium of wechat public platform
CN104333465A (en) Heartbeat interval setting method, device and system
CN108984370A (en) A kind of method and apparatus of determining monitoring threshold value
CN109257200A (en) The method and apparatus of big data platform monitoring
CN105654291A (en) Method and device for seamless electronic channel payment mode switching
CN106155699B (en) A kind of management method and mobile terminal of background process
CN101937335B (en) Method for generating Widget icon, method for generating Widget summary document and Widget engine
CN108255896A (en) Webpage pre-head method, Web access method, equipment and electronic equipment
CN104794049A (en) Application program test method and device
CN110515795A (en) A kind of monitoring method of big data component, device, electronic equipment
CN108958788A (en) The method, apparatus and computer equipment of automatic synchronization refreshing browser
CN111124917A (en) Public test case management and control method, device, equipment and storage medium
CN104133676A (en) Function execution method and function execution device based on scripts
CN104123496A (en) Rogue software interception method, device and terminal
CN109558325A (en) A kind of delay statistics method, apparatus and computer readable storage medium
CN113806155A (en) Industrial equipment management method and system based on Internet of things
CN109240916A (en) Information output controlling method, device and computer readable storage medium
CN110347546B (en) Dynamic adjustment method, device, medium and electronic equipment for monitoring task
CN107124713A (en) One kind customization update method and mobile terminal
CN109522507B (en) Method for uniformly managing webpage components

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 510623 01-B sixth unit, Guangzhou bank building, 30 Zhujiang East Road, Tianhe District, Guangzhou, Guangdong.

Patentee after: Guangzhou cheetah Network Technology Co.,Ltd.

Address before: 510623 01-B sixth unit, Guangzhou bank building, 30 Zhujiang East Road, Tianhe District, Guangzhou, Guangdong.

Patentee before: GUANGZHOU KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP02 Change in the address of a patent holder

Address after: 510623 07, 08A unit, fifteenth floor of agile center, 26 Huaxia Road, Tianhe District, Guangzhou, Guangdong.

Patentee after: Guangzhou cheetah Network Technology Co.,Ltd.

Address before: 510623 01-B sixth unit, Guangzhou bank building, 30 Zhujiang East Road, Tianhe District, Guangzhou, Guangdong.

Patentee before: Guangzhou cheetah Network Technology Co.,Ltd.

CP02 Change in the address of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180123