CN103856368B - A kind of method and system of monitoring programme - Google Patents

A kind of method and system of monitoring programme Download PDF

Info

Publication number
CN103856368B
CN103856368B CN201310386636.XA CN201310386636A CN103856368B CN 103856368 B CN103856368 B CN 103856368B CN 201310386636 A CN201310386636 A CN 201310386636A CN 103856368 B CN103856368 B CN 103856368B
Authority
CN
China
Prior art keywords
program
client
server
information
described program
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.)
Expired - Fee Related
Application number
CN201310386636.XA
Other languages
Chinese (zh)
Other versions
CN103856368A (en
Inventor
曹镇
石晓虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310386636.XA priority Critical patent/CN103856368B/en
Priority claimed from CN 201110175595 external-priority patent/CN102368718B/en
Publication of CN103856368A publication Critical patent/CN103856368A/en
Application granted granted Critical
Publication of CN103856368B publication Critical patent/CN103856368B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application discloses a kind of method and system of monitoring programme;Wherein, this method includes:When client executing program down operation, if failed download, program failed download information is sent to server;And/or when client executing program installation operation, if install failure, program install failure information is sent to server;And/or operated when client executing program is run, there is exception if there is operation, then send program operation exception information to server;Failure that server is sent according to client or exception information statistics program failed download quantity, program install failure quantity, program operation exception client terminal quantity in one or more;According to the comparison result of above-mentioned counted quantity and corresponding predetermined threshold value, respective handling is carried out to described program.Using the method and system of the embodiment of the present application, influence of the program of the failed download or install failure for client can be effectively reduced, greatly reduces the error probability of client.

Description

A kind of method and system of monitoring programme
Present patent application is the applying date on June 27th, 2011, application No. is " 201110175595.0 ", invention names A kind of referred to as divisional application of the Chinese invention patent application of " method and system of monitoring programme ".
Technical field
This application involves field of computer technology, more particularly to a kind of method and system of monitoring programme.
Background technology
In the various application processes of current computer, various operating systems in a network can be usually found, using journey Sequence etc. there are problem or loophole, and these problems or loophole can make user interfered when using operating system or program or Person causes program to be unable to normal use or leads to the reduction of program safety performance.
In the prior art, the special website of some operating systems or application program can regularly publish the journey in a period of time Sequence, however, inventor has found in the research process to the prior art, the program of special website publication is often deposited in the prior art It can not be installed after client can not be downloaded, be downloaded or abnormal situation occurs in program operation, and if such case cannot It finds in time and makes respective handling, the inconvenient for use of client may be caused or computer system or application program are formed Serious threat in addition can sometimes cause client operating system program occur mistake or crash phenomena such as, directly Influence the normal operation of client.
Invention content
The embodiment of the present application provides a kind of method and system of monitoring programme, with solve in the prior art due to program without Method download or installation caused by client there are the problem of.
In order to solve the above-mentioned technical problem, the embodiment of the present application discloses following technical solution:
A kind of method of monitoring programme, applied to program publication special website, including:
When client executing program down operation, if failed download, program failed download information is sent to server; And/or when client executing program installation operation, if install failure, program install failure information is sent to server; And/or operated when client executing program is run, if exception occurs in operation, program operation exception letter is sent to server Breath;Wherein, the program down operation of the client executing includes:The special website that the client is issued from program downloads institute State program;Wherein, judge whether described program is downloaded successfully to include:Program download link address is obtained, if the program is downloaded Chained address can not access, then show program failed download;Otherwise, program download link address is accessed, if the program obtained File can not open, decompress or file format None- identified, then shows program failed download;
Judge whether the mode of operation exception includes described program:It is different to judge whether described program runs using stack information Often;And/or using system the daily record that reports an error judge described program whether operation exception;And/or it is shared by program by checking Unite resource whether be more than threshold decision program whether operation exception;
The failure or exception information statistics program failed download quantity, program install failure that server is sent according to client Quantity, program operation exception client terminal quantity in one or more;As one in above-mentioned counted quantity or It is multiple be higher than corresponding predetermined threshold value when, to described program carry out respective handling;
Wherein, corresponding processing is carried out to described program to include:
When the client terminal quantity of program operation exception is higher than predetermined threshold value, server notice is not downloaded under client pause Carry described program or notice do not install client pause installation described program or notice do not install client to described program into Row delete operation or notice have installed client and unloading operation are carried out to described program or notifies to have installed client to described Program is replaced or covers operation or advising process operation exception client carries out updating operation.
Preferably, it further includes:
When client downloads successfully described program, sent to server and download successful information;And/or work as client When installing successfully to described program, installation successful information is sent to server;And/or when client runs just described program Chang Shi sends normal operation information to server.
Preferably, server is downloaded natural rate of interest, program installation natural rate of interest, program according to obtained information statistical program and is transported One or more in row natural rate of interest, and when one or more of above-mentioned natural rate of interest is less than corresponding predetermined threshold value, to institute It states program and carries out respective handling.
Preferably, the statistics is counted including server by set, wherein attribute of the set by client Client is divided;And according to the statistical result in the set, by server or client to described in the set Program carries out respective handling.
Preferably, the set includes the affiliated software environment set of client, the affiliated hardware configuration set of client, visitor The affiliated region set in family end.
Preferably, the program down operation of the client executing includes:The client is issued from server or program Special website download described program.
Preferably, judge whether described program installs success in the following manner:
Judge whether described program installs success using the key value information in registration table;
And/or judge whether the program installs success using the relevant information for having downloaded program.
Preferably, when program install failure quantity is higher than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server notice does not download client pause and downloads described program or notify not installing described in client pause installation Program or notice do not install client and delete operation are carried out to described program or install failure client is notified to be updated behaviour Make or notice install failure client carries out updating operation.
Preferably, before the client executing program down operation, the server obtains program.
Preferably, the mode of the server acquisition program includes:
The program publication page is periodically flushed using third party's tool;
When the described program publication page, whether there are during fresh information, judge in the new information comprising program update chain It connects;Refresh operation is performed if it is not, then returning;Otherwise,
Described program more new link is accessed, downloads and captures described program file.
Preferably, the program includes application software or loophole patch.
A kind of system for realizing monitoring programme, applied to program publication special website, including:Client and server; Wherein, the client is used to, when client executing program down operation, if failed download, send under program to server Carry failure information;And/or when client executing program installation operation, if install failure, program installation is sent to server Failure information;And/or operated when client executing program is run, if exception occurs in operation, program fortune is sent to server Row exception information;Wherein, the program down operation of the client executing includes:The special net that the client is issued from program It stands and downloads described program;
The client includes:The acquisition module of program download link address is obtained, if what the acquisition module was got Program download link address can not access, then show described program failed download;
The access modules of program download link address are accessed, if the access modules access the program obtained after described address File can not open, decompress or file format None- identified, then shows described program failed download;
Third judgment module, for using stack information judge described program whether operation exception;
4th judgment module, for using the daily record that reports an error of system judge described program whether operation exception;
5th judgment module, for by checking whether system resource shared by program run more than threshold decision program It is abnormal;
The server is used to issue program to the client, and receives the program failed download that the client is sent One or more in information, program install failure information or program operation exception information;When in above-mentioned counted quantity One or more be higher than corresponding predetermined threshold value when, to described program carry out respective handling;
Wherein, the server is additionally operable to when the client terminal quantity of program operation exception is higher than predetermined threshold value, server Notice does not download client pause and downloads described program or notify not installing client pause installation described program or notice not Installation client to described program carry out delete operation or notice installed client to described program carry out unloading operation or Notice installed client described program is replaced or cover operate or advising process operation exception client rise Grade operation.
Preferably, the client is additionally operable to when client downloads successfully described program, under server transmission Carry successful information;And/or when client installs successfully described program, installation successful information is sent to server;And/or When client is to described program normal operation, normal operation information is sent to server.
The server is additionally operable to server and downloads natural rate of interest, program installation normally according to obtained information statistical program One or more in rate, program normal operation rate, and when one or more of above-mentioned natural rate of interest is less than accordingly default threshold During value, respective handling is carried out to described program.
Preferably, the client includes:
First judgment module, for judging whether described program installs success using the key value information in registration table;Second Judgment module, for judging whether the program installs success using the relevant information for having downloaded program.
Preferably, the server further includes:Obtain the acquiring unit of program.
As can be seen from the above-described embodiment, it is anti-to server after client downloads procedure failure in the embodiment of the present application Failed download information is presented, when the backward server feedback install failure information of installation program of client failure or works as client-side program During operation exception, operation exception information is sent to server, server is according to the failed download of the information statistical program received Quantity, install failure quantity, the quantity of the client of program operation exception one or more of, then with it is corresponding preset Threshold value is compared, and if above the predetermined threshold value, then respective handling is carried out to described program, so as to effectively reduce institute Influence of the program of failed download or install failure for client is stated, greatly reduces the error probability of client.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or it will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is a kind of flow diagram of the method for monitoring programme of the application;
Whether Fig. 2 downloads successful flow diagram for a kind of determining program of the method for monitoring programme of the application;
Fig. 3 is a kind of first embodiment flow chart of the method for monitoring programme of the application;
Fig. 4 is a kind of second embodiment flow diagram of the method for monitoring programme of the application;
Fig. 5 is the method flow schematic diagram that program is obtained in the application second embodiment;
Fig. 6 is the system structure schematic block diagram of the application monitoring programme.
Specific embodiment
The basic thought of the present invention is after client downloads procedure failure to server feedback failed download information, when Installation program of client fails backward server feedback install failure information or when client-side program operation exception, to service Device send operation exception information, server according to the failed download quantity of the information statistical program received, install failure quantity, One or more of the quantity of the client of program operation exception, then it is compared with corresponding preset threshold value, if Higher than the predetermined threshold value, then respective handling is carried out to described program, so as to effectively reduce the failed download or installation Influence of the program of failure for client greatly reduces the error probability of client..
In order to which those skilled in the art is made to more fully understand the technical solution in the embodiment of the present application, and make the application real Apply the above-mentioned purpose of example, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings to technical side in the embodiment of the present application Case is described in further detail.
It is a kind of flow diagram of the method for monitoring programme of the application referring to Fig. 1;
Step 50:When client executing program down operation, if failed download, send program to server and download mistake Lose information;And/or when client executing program installation operation, if install failure, program install failure is sent to server Information;And/or operated when client executing program is run, there is exception if there is operation, then send program fortune to server Row exception information;
Wherein, the program includes application software and loophole patch, and application software such as Games Software, video playing is soft Part etc., loophole patch is such as Games Software or the edition upgrading patch of operating system or error compensation patch.
Specifically, in practical operation, client can download program from server, the special website that can be also issued from program It downloads, this is not especially limited herein;Wherein, whether determining program is downloaded and successfully be may be accomplished by, but not This is confined to, as shown in Figure 2:
S111:Program download link address is obtained, if the program download link address can not access, is shown under program Carry failure;Otherwise,
S112:Access program download link address, if the program file obtained can not open, decompress or file format without Method identifies, then shows program failed download.
In addition, it may include but be not limited in the program failed download information that the user end to server is sent:Client The IP address at end, physical address, the version number of the corresponding local program of program of failed download, program name information, program class Type information, program level information, program issue date information, procedure bulletin URL(Universal Resource Locator, Uniform resource locator)Information, the size information of program, program running parameter information, the version information of program, program description letter Breath etc..
Specifically, whether any one in the following two kinds mode can be used in successful judgment mode for described program installation, But not limited to this:
A:Judge whether described program installs success using the key value information in registration table;
For example, to determining program KB979099 whether installing engineering, first in the following items of registration table inquiry be It is no to have the key assignments comprising KB979099:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersi on\ Component Based Servicing\Packages\
If the program is installed successfully, similar Package_for_ is certainly existed in the project of above-mentioned registration table The register button of KB979099_RTM~31bf3856ad364e35~x86~~6.1.1.0 exists, and is described program in this key Mount message;It can determine whether that described program has installed success with this, otherwise, show the program install failure.
B:Judge whether the program installs success using the relevant information for having downloaded program;
Specifically, can be judged using the fileversion number in the information for having downloaded program or filename etc., But not limited to this:Such as if this has downloaded program as more new procedures, effect is to make its corresponding application program update to version This is 10.1.102.64;To judge whether the program installs success, then the version query under drive catalogue where the application program This whether there is for the file of 10.1.102.64, if the file exists, can confirm that described program has been mounted to Work(;Otherwise, show the program install failure.
It is worth noting that, also it may include but not in the program install failure information sent in the user end to server It is confined to:The IP address of client, physical address, the version number of the corresponding local program of program of failed download, program name Information, Program Type information, program level information, program issue date information, procedure bulletin URL(Universal Resource Locator, uniform resource locator)Information, the size information of program, program running parameter information, the version of program This information, program description information etc..
Specifically, any one in following three kinds of modes can be used in the whether abnormal judgment mode of described program operation, But not limited to this:
C:Using stack information judge described program whether operation exception;
After exception occurs in program operation, for example blue screen or occur mistake after program operation a period of time and cannot open Situation can all have relevant parameter one-to-one correspondence in system stack, institute is just can confirm that by tracking the corresponding relevant parameter of this program Whether abnormal state program operation.
D:Using the daily record that reports an error judge described program whether operation exception;
Program run-time error can be recorded inside the daily record that reports an error of system, be checked just by the tracking to the daily record that reports an error Can determining program whether operation exception.
E:By check system resource shared by program whether be more than threshold decision program whether operation exception.
Specifically, it can check whether system resource shared by relative program is more than threshold value by establishing a monitoring software Come determining program whether operation exception, for example, when certain program is run, the memory source occupied causes always more than 80%s System is slow, then it may determine that this program operation exception.
Step 60:The failure or exception information statistics program failed download quantity, program that server is sent according to client Install failure quantity, program operation exception client terminal quantity in one or more;When in above-mentioned counted quantity When one or more is higher than corresponding predetermined threshold value, respective handling is carried out to described program.
In practice, according to the program failed download information or program install failure information or operation exception of client transmission Information, the server can count the total failed download number of described program and/or total install failure number and/or Total operation exception number.
Information is obtained according to step 50, server is counted accordingly.For example, it is downloaded when step 50 only has sent program Failure information, then then server is judged, if should with regard to statistics program failed download quantity according to predetermined threshold value Carry out respective handling;
Alternatively, when step 50 only has sent program install failure information, then server is with regard to statistics program install failure Then quantity is judged according to predetermined threshold value, if should carry out respective handling;
Alternatively, when step 50 only has sent program operation exception information, then server is with regard to statistics program operation exception The quantity of client, is then judged according to predetermined threshold value, if should carry out respective handling;
Alternatively, when step 50 only has sent program failed download information and program install failure information, then server was both It can be among statistics program failed download quantity and program install failure quantity one, can also both count, then Whether respective handling should be carried out according to corresponding threshold decision.
Alternatively, when step 50 has sent program failed download information, program install failure information and program operation exception letter Breath, then server can statistics program failed download quantity, program install failure quantity and program operation exception client Quantity in one or more, whether respective handling then should be carried out according to respective threshold decision.
Wherein, the threshold value is generally set, for example work as service according to the number of the server result to be counted Device only counts one in above-mentioned three quantity, then sets respective threshold just for the object of statistics;If statistics is multiple, Corresponding threshold value is set separately for the object counted.For example, when only counting failed download quantity, threshold value can be set as 300, when failed download quantity has been more than 300, respective handling just is carried out to described program;
Or when statistics failed download quantity, the quantity of program install failure quantity and program operation exception client, 300 are can be set as the threshold value of failed download quantity, can be set as the threshold value of the quantity of program install failure 200,150 are can be set as the threshold value of the quantity of program operation exception client, when failed download quantity, program installation is lost When losing one of those or several respectively higher than respective thresholds of the quantity of quantity and program operation exception client, it is possible to it Carry out respective handling.
Certainly, those of ordinary skill in the art are it will be readily apparent that other situations can also similar process.
In practical applications, server can also be made to be counted by set, wherein attribute of the set by client Client is divided;And according to statistical result in the set, respective handling is carried out to described program in the set.Described Set includes the affiliated software border of client and gathers, for example windows, linux are exactly two software environment set, belonging to client Hardware configuration set, for example be configured by video card, the set of memory configurations classification, the affiliated region set of client, such as North China Gather in area.Certainly it can also include other kinds of set.And according to the statistical result in set, pass through clothes in the set Business device or client carry out respective handling to described program.
For example, in practical applications, server can have multigroup, can also be carried for different zones with different servers For service.In North China's set, counted by the server for managing north China Region, when the failed download of server statistics One or more of client terminal quantity when being higher than respective threshold of amount, install failure amount, operation exception, then can by North China Area's server carries out corresponding operating to corresponding program.
When the set that server is divided by the user of certain video card, in the user of this set, if some journey The failed download amount of sequence, install failure amount, operation exception one or more of client terminal quantity when being higher than respective threshold, then Respective handling, such as the client with certain video card carry out described program by server or client in this set The game of certain ultra-large type is downloaded, but video card does not support this ultra-large type to play, then server can suspend with such video card Client go to download such ultra-large type game either notice do not install such ultra-large type game client stop downloading or Server notice do not install the game of such ultra-large type client stop installation or server actively stop at do not install it is such The client of ultra-large type game is installed or server notice has been installed the client that such ultra-large type is played and unloaded It carries or server actively unloads etc. in the client for having installed such ultra-large type game.
It can include but is not limited to unload in above-mentioned respective handling, delete, update, replace, cover the side such as described program Formula;Client can also be notified to be unloaded by server, delete, update, replacing, covering the modes such as described program;It can be with Using other modes.
For example, when program failed download quantity, program install failure quantity, program operation exception client terminal quantity in When one or more is higher than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server adjustment programme distributing policy, temporary close described program channel;
The program is debugged, the download channel of open described program after the completion of debugging.
For another example, when program failed download quantity is higher than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server notice does not download client pause and downloads described program.
For another example, when program install failure quantity is higher than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server notice does not download client pause and downloads described program or notify not installing described in client pause installation Program or notice do not install client and delete operation are carried out to described program or install failure client is notified to be updated behaviour Make or notice install failure client carries out updating operation.
For another example, when the client terminal quantity of program operation exception is higher than predetermined threshold value, described program is carried out corresponding Processing includes:
Server notice does not download client pause and downloads described program or notify not installing described in client pause installation Program or notice do not install client to described program carry out delete operation or notice installed client to described program into Row unloading operation or notice installed client described program is replaced or cover operation or advising process run it is different Normal client carries out updating operation.
Wherein updating operation can be realized by installing patch, when the shapes such as abnormal occur in client install failure or operation After condition, server can require client to install upgrade patch or the loophole patch of the program to correct install failure either The situations such as operation exception.
Wherein, the update operation includes:If include its corresponding update patch in the information that the patch includes Uniform resource position mark URL is downloaded, then notifies client accesses according to the update patch download URL and downloads the update to mend Fourth, the installation procedure for the update patch that reruns complete the update operation of the patch.The delete operation includes:Notify Software of the third party performs the delete operation of the patch.The unloading operation includes:It performs the Uninstaller of the patch itself or is It unites preset Uninstaller, completes the unloading operation of the patch.
Certainly, those of ordinary skill in the art are it will be readily apparent that there may also be a variety of to the respective handling of described program Mode.
Preferably, on the basis of Fig. 1, the application further includes following situation:
When client downloads successfully described program, sent to server and download successful information;And/or work as client When installing successfully to described program, installation successful information is sent to server;And/or when client runs just described program Chang Shi sends normal operation information to server.
The application can just count whole number of downloads and/or integral installation quantity and/or the client for running program in this way The quantity at end, and can respective handling more accurately be carried out to program according to obtained overall quantity.
Preferably, it after overall quantity is obtained, further includes:Server is downloaded normal according to obtained information statistical program Rate, program install one or more in natural rate of interest, program normal operation rate, and when one or more of above-mentioned natural rate of interest During less than corresponding predetermined threshold value, respective handling is carried out to described program.
The method of the step and Fig. 1 are substantially similar.The difference lies in:The threshold value is ratio, and described normal Rate just carries out respective handling less than the respective threshold to described program.
For example, when one or more in program download natural rate of interest, program installation natural rate of interest, program normal operation rate is low When predetermined threshold value, corresponding processing is carried out to described program and is included:
Server adjustment programme distributing policy, temporary close described program channel;
The program is debugged, the download channel of open described program after the completion of debugging.
For another example, when program, which downloads natural rate of interest, is less than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server notice does not download client pause and downloads described program.
For another example, when program installation natural rate of interest is less than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server notice does not download client pause and downloads described program or notify not installing described in client pause installation Program or notice do not install client and delete operation are carried out to described program or install failure client is notified to be updated behaviour Make or notice install failure client carries out updating operation.
For another example, when program normal operation rate is less than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server notice does not download client pause and downloads described program or notify not installing described in client pause installation Program or notice do not install client to described program carry out delete operation or notice installed client to described program into Row unloading operation or notice installed client described program is replaced or cover operation or advising process run it is different Normal client carries out updating operation.
Certainly, those of ordinary skill in the art are it will be readily apparent that there may also be a variety of to the respective handling of described program Mode is exemplified below, but not limited to this:
Such as:It is 80% that pre-set programs, which download natural rate of interest threshold value and install natural rate of interest threshold value for 95%, program, and normal operation rate is 85%, then when the data of server analysis show that the natural rate of interest of downloading of the program is less than 95%, and/or the installation natural rate of interest of the program Respective handling just is carried out to the program during less than 80% and/or when the normal operation rate of the program is less than 85%, is specifically as follows: Adjustment programme distributing policy such as temporarily allows scanning input less than the program;Then the program is debugged, when debugging completion Allow this program again afterwards by client scan and download installation;Specific processing mode can also use existing other modes into Row, repeats no more herein.
The application can also be by the relevant information of statistics program in monitoring demand at the appointed time section, for example, passing through service Device while March in 2011 relevant information to the program between 30 days April in 2011 on the 1st.
It is a kind of first embodiment flow chart of monitoring programme method of the application referring to Fig. 3:
Step 110:Client executing program down operation if failed download, sends program to server and downloads mistake Lose information;
Step 120:Client executing program installation operation if install failure, sends program installation to server and loses Lose information;
Step 130:Client runs program, if program operation exception, operation exception information is sent to client
Step 140:Server difference statistics program is downloading natural rate of interest and/or program installation natural rate of interest and/or operation just Normal rate;And when the download natural rate of interest and/or program installation natural rate of interest and/or normal operation rate are less than corresponding predetermined threshold value When, respective handling is carried out to described program.
It is a kind of second embodiment flow chart of monitoring programme method of the application in addition, referring to Fig. 4;The side of the embodiment The method and step of method and above-described embodiment is substantially similar, and the difference lies in this method further includes before step 110:
Step 100:Server obtains program;Wherein, which can be used manual type and unartificial mode all may be used; Specifically acquisition modes can be realized by following step, but not limited to this, as shown in Figure 5:
S101:The program publication page is periodically flushed using third party's tool;
For example, the program that Microsoft is periodically flushed using brush screen program issues the page;It may be alternatively provided as after program is issued Refresh the described program publication page in a period of time;
S102:When the described program publication page, there are during fresh information, judge whether include program more in the new information New link;If it is, performing step S103, otherwise return and perform step S101;
Specific deterministic process is realized using the judgment technology of page keyword in the prior art:Such as analyze current page Source code information, if wherein containing keyword " update " etc., you can confirm current page contain program more new link; Particular content repeats no more herein;
S103:Described program more new link is accessed, downloads and captures described program file.
As can be seen that using the method for the above embodiments of the present application, lost by the failed download quantity of statistics program, installation One among quantity, program operation exception number clients dose rate is lost, is then compared itself and preset threshold value, if high In the corresponding predetermined threshold value, alternatively, by the download natural rate of interest of statistics program, installation natural rate of interest, program normal operation rate it In one, then itself and preset threshold value are compared, if less than if the corresponding predetermined threshold value person to described program Respective handling is carried out, so as to effectively reduce influence of the defective mode for client of described program, greatly reduces visitor The error probability at family end.
Corresponding with the embodiment of the method for the application monitoring programme, present invention also provides the realities for the system for realizing this method Apply example.
Referring to Fig. 6, the system structure diagram for the application monitoring programme:The system 500, including:510 kimonos of client Business device 520;Wherein, the client 510, if failed download, sends for performing program down operation to server 520 Program failed download information;Fruit install failure then sends program install failure information to server 520;If program operation is different Often, then program operation exception information is sent to server 520;
The server 520 is used to issue program, and send according to the client 510 received to the client 510 Information statistical program failed download quantity, program install failure quantity, program operation exception client terminal quantity in one It is or multiple;According to above-mentioned counted number and the comparison result of corresponding predetermined threshold value, respective handling is carried out to described program.
Wherein, the client can be also used for when client downloads successfully described program, under server transmission Carry successful information;And/or when client installs successfully described program, installation successful information is sent to server;And/or When client is to described program normal operation, normal operation information is sent to server.
The server can be also used for server and download natural rate of interest, program peace according to obtained information statistical program One or more in natural rate of interest, program normal operation rate is filled, and when one or more of above-mentioned natural rate of interest is less than corresponding During predetermined threshold value, respective handling is carried out to described program.
Wherein, the client 510 includes(It is not shown in Fig. 6):The acquisition module of program download link address is obtained, such as The program download link address that the fruit acquisition module is got can not access, then show described program failed download;Access program The access modules of download link address, if the access modules access the program file obtained after described address and can not open, solve Pressure or file format None- identified, then show described program failed download.
Wherein, the client 510 further includes(It is not shown in Fig. 6):First judgment module, for using in registration table Key value information judges whether described program installs success;Second judgment module, for being sentenced using the relevant information for having downloaded program Whether the program of breaking installs success.
In addition, the client 510 further includes(It is not shown in Fig. 6):Third judgment module, for being sentenced using stack information Disconnected described program whether operation exception;4th judgment module, for using report an error daily record judge described program whether operation exception; 5th judgment module, for by check system resource shared by program whether be more than threshold decision program whether operation exception.
It is worth noting that, the server 520 includes the respective handling that program performs unloading, deletes, update, replaces Or covering described program, also include notice client 510 and perform the operations such as unloading, deletion, update, replacement or covering.
In addition, the server 520 includes(It is not shown in Fig. 5):First processing module issues plan for adjustment programme Slightly, temporary close described program channel;Second processing module, it is open after the completion of debugging for being debugged to described program The download channel of described program.
In addition to this, the server 520 further includes(It is not shown in Fig. 5):Obtain the acquiring unit of program.Wherein, institute The mode for stating acquiring unit acquisition program includes but not limited to:The program publication page is periodically flushed using third party's tool;Work as institute Stating the program publication page, whether there are during fresh information, judge in the new information comprising program more new link;If it is not, then it returns Receipt row refresh operation;Otherwise, described program more new link is accessed, downloads and captures described program file.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present application can add by program The mode of general hardware platform realize.Based on such understanding, the technical solution in the embodiment of the present application substantially or It says and the part that the prior art contributes can be embodied in the form of a program product, which can deposit Storage is in storage medium, such as ROM/RAM, magnetic disc, CD, is used including some instructions so that a computer equipment(It can be with It is personal computer, server or the network equipment etc.)Perform certain part institutes of each embodiment of the application or embodiment The method stated.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for system reality For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Above-described the application embodiment, does not form the restriction to the application protection domain.It is any in the application Spirit and principle within the modifications, equivalent substitutions and improvements made etc., should be included within the protection domain of the application.

Claims (13)

1. a kind of method of monitoring programme, the special website applied to program publication, which is characterized in that including:
When client executing program down operation, if failed download, program failed download information is sent to server;With/ Or, when client executing program installation operation, if install failure, program install failure information is sent to server;With/ Or, operated when client executing program is run, if exception occurs in operation, program operation exception information is sent to server; Wherein, the program down operation of the client executing includes:The special net that the client is issued from server or program It stands and downloads described program;
Wherein, judge whether described program is downloaded successfully to include:Program download link address is obtained, if the program download link Address can not access, then show program failed download;Otherwise, program download link address is accessed, if the program file obtained It can not open, decompress or file format None- identified, then show program failed download;
Judge whether described program is installed successfully to include:Utilize the fileversion number or file in the information for having downloaded program Name judges whether described program installs success;
Judge whether the mode of operation exception includes described program:Using stack information judge described program whether operation exception; And/or using system the daily record that reports an error judge described program whether operation exception;And/or by checking that system shared by program provides Source whether be more than threshold decision program whether operation exception;
The failure or exception information statistics program failed download quantity, program install failure number that server is sent according to client Amount, program operation exception client terminal quantity in one or more;As one in above-mentioned counted quantity or more It is a be higher than corresponding predetermined threshold value when, to described program carry out respective handling;
Wherein, corresponding processing is carried out to described program to include:
When the client terminal quantity of program operation exception is higher than predetermined threshold value, server notice does not download client pause and downloads institute It states program or notice does not install client pause installation described program or notice does not install client and described program is deleted Division operation or notice have installed client and unloading operation are carried out to described program or notifies to have installed client to described program It is replaced or covers operation or advising process operation exception client carries out updating operation.
2. it according to the method described in claim 1, it is characterized in that, further includes:
When client downloads successfully described program, sent to server and download successful information;And/or when client is to institute When stating program and installing successfully, installation successful information is sent to server;And/or when client is to described program normal operation, Normal operation information is sent to server.
3. according to the method described in claim 2, it is characterized in that:
Server is downloaded according to obtained information statistical program in natural rate of interest, program installation natural rate of interest, program normal operation rate One or more, and when one or more of above-mentioned natural rate of interest be less than corresponding predetermined threshold value when, to described program carry out Respective handling.
4. according to the method described in claim 1, it is characterized in that:
The statistics is counted including server by set, wherein the set is drawn client by the attribute of client Point;And according to the statistical result in the set, phase is carried out to described program by server or client in the set It should handle.
5. according to the method described in claim 4, it is characterized in that:
The set includes the affiliated software environment set of client, the affiliated hardware configuration set of client, client institute possession Gather in domain.
6. according to the method described in claim 1, it is characterized in that, judge whether described program is mounted in the following manner Work(:
Judge whether described program installs success using the key value information in registration table;
And/or judge whether the program installs success using the relevant information for having downloaded program.
7. according to the method described in claim 1, it is characterized in that:
When program install failure quantity is higher than predetermined threshold value, corresponding processing is carried out to described program and is included:
Server notice does not download client pause and downloads described program or notify that not installing client pause installs the journey Sequence or notice do not install client and delete operation are carried out to described program or install failure client is notified to be updated operation, Or notice install failure client carries out updating operation.
8. according to the method described in claim 1, it is characterized in that, this method further includes:
Before the client executing program down operation, the server obtains program.
9. according to the method described in claim 8, it is characterized in that, the mode that the server obtains program includes:
The program publication page is periodically flushed using third party's tool;
When the described program publication page, whether there are during fresh information, judge in the new information comprising program more new link;Such as Fruit is no, then returns to execution refresh operation;Otherwise,
Described program more new link is accessed, downloads and captures described program file.
10. according to the method described in claim 1 to 9 any one, it is characterised in that:
The program includes application software or loophole patch.
11. a kind of system for realizing monitoring programme, the special website applied to program publication, which is characterized in that including:Client And server;Wherein, the client is used for when client executing program down operation, if failed download, to server Send program failed download information;And/or it when client executing program installation operation, if install failure, is sent out to server Send program install failure information;And/or operated when client executing program is run, if there is exception in operation, to server Send program operation exception information;Wherein, the program down operation of the client executing includes:The client is sent out from program The special website of cloth downloads described program;
The client includes:The acquisition module of program download link address is obtained, if the program that the acquisition module is got Download link address can not access, then show described program failed download;
The access modules of program download link address are accessed, if the access modules access the program file obtained after described address It can not open, decompress or file format None- identified, then show described program failed download;
6th judgment module, for judging that described program is using the fileversion number in the information for having downloaded program or filename It is no to install successfully;
Third judgment module, for using stack information judge described program whether operation exception;
4th judgment module, for using the daily record that reports an error of system judge described program whether operation exception;
5th judgment module, for by checking it is different whether system resource shared by program run more than threshold decision program Often;
The server is used to issue program to the client, and receives the program failed download letter that the client is sent One or more in breath, program install failure information or program operation exception information;When in above-mentioned counted quantity When one or more is higher than corresponding predetermined threshold value, respective handling is carried out to described program;
Wherein, the server includes being additionally operable to:
When the client terminal quantity of program operation exception is higher than predetermined threshold value, server notice does not download client pause and downloads institute It states program or notice does not install client pause installation described program or notice does not install client and described program is deleted Division operation or notice have installed client and unloading operation are carried out to described program or notifies to have installed client to described program It is replaced or covers operation or advising process operation exception client carries out updating operation.
12. system according to claim 11, which is characterized in that the client includes:
First judgment module, for judging whether described program installs success using the key value information in registration table;Second judges Module, for judging whether the program installs success using the relevant information for having downloaded program.
13. according to the system described in claim 11 to 12 any one, which is characterized in that the server further includes:It obtains The acquiring unit of program.
CN201310386636.XA 2011-06-27 2011-06-27 A kind of method and system of monitoring programme Expired - Fee Related CN103856368B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310386636.XA CN103856368B (en) 2011-06-27 2011-06-27 A kind of method and system of monitoring programme

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201110175595 CN102368718B (en) 2011-06-27 2011-06-27 Monitoring program method and system thereof
CN201310386636.XA CN103856368B (en) 2011-06-27 2011-06-27 A kind of method and system of monitoring programme

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN 201110175595 Division CN102368718B (en) 2011-06-27 2011-06-27 Monitoring program method and system thereof

Publications (2)

Publication Number Publication Date
CN103856368A CN103856368A (en) 2014-06-11
CN103856368B true CN103856368B (en) 2018-06-26

Family

ID=50863608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310386636.XA Expired - Fee Related CN103856368B (en) 2011-06-27 2011-06-27 A kind of method and system of monitoring programme

Country Status (1)

Country Link
CN (1) CN103856368B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268080A (en) * 2014-09-25 2015-01-07 北京金山安全软件有限公司 Software exception handling method and device
CN106162609B (en) * 2015-05-11 2019-12-24 腾讯科技(深圳)有限公司 Data pushing method and device
CN105045617B (en) * 2015-07-03 2019-11-12 Tcl集团股份有限公司 A kind of application recovery method and system of android system
CN105095006B (en) * 2015-07-21 2018-07-10 北京金山安全软件有限公司 Method and device for repairing software installation failure
CN106209417A (en) * 2016-06-23 2016-12-07 努比亚技术有限公司 The monitoring processing system of a kind of resource downloading link availability and method
CN106155746B (en) * 2016-07-13 2019-12-03 珠海豹趣科技有限公司 A kind of installation file processing method and processing device, server
CN106708734B (en) * 2016-12-13 2020-01-10 腾讯科技(深圳)有限公司 Software anomaly detection method and device
CN107220080A (en) * 2017-05-12 2017-09-29 深圳市酷开网络科技有限公司 A kind of intelligent television software rollback method, intelligent television and storage medium
CN109284608B (en) * 2017-07-19 2022-10-18 阿里巴巴集团控股有限公司 Method, device and equipment for identifying Legionella software and safety processing method
CN109445971A (en) * 2018-09-11 2019-03-08 珠海格力电器股份有限公司 Exception information detection method, device, terminal and storage medium
CN110069925B (en) * 2019-04-03 2020-09-25 奇安信科技集团股份有限公司 Software monitoring method, system and computer readable storage medium
CN110825396B (en) * 2019-10-31 2023-07-25 Oppo(重庆)智能科技有限公司 Exception handling method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006121646A2 (en) * 2005-05-10 2006-11-16 Microsoft Corporation Automated client device management
CN101771563A (en) * 2008-12-30 2010-07-07 北大方正集团有限公司 Method for monitoring network service program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030110248A1 (en) * 2001-02-08 2003-06-12 Ritche Scott D. Automated service support of software distribution in a distributed computer network
JP4905150B2 (en) * 2007-01-22 2012-03-28 富士通株式会社 Software operation result management system, method and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006121646A2 (en) * 2005-05-10 2006-11-16 Microsoft Corporation Automated client device management
CN101771563A (en) * 2008-12-30 2010-07-07 北大方正集团有限公司 Method for monitoring network service program

Also Published As

Publication number Publication date
CN103856368A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
CN103856368B (en) A kind of method and system of monitoring programme
CN102368718B (en) Monitoring program method and system thereof
KR102419574B1 (en) Systems and methods for correcting memory corruption in computer applications
KR101801432B1 (en) Providing transparent failover in a file system
US8756462B2 (en) Configurable alert delivery for reducing the amount of alerts transmitted in a distributed processing system
US8676883B2 (en) Event management in a distributed processing system
US9419650B2 (en) Flexible event data content management for relevant event and alert analysis within a distributed processing system
US8639980B2 (en) Administering incident pools for event and alert analysis
US20090254313A1 (en) Determining computer system usage from logged events
US8943366B2 (en) Administering checkpoints for incident analysis
US7757129B2 (en) Generalized trace and log facility for first error data collection
US20120110153A1 (en) Administering Incident Pools For Event And Alert Analysis
US10122815B1 (en) Dynamic class mapping in messaging middleware
US7624309B2 (en) Automated client recovery and service ticketing
US9086968B2 (en) Checkpointing for delayed alert creation
US20120304013A1 (en) Administering Event Pools For Relevant Event Analysis In A Distributed Processing System
WO2012076380A1 (en) Dynamic administration of event pools for relevent event and alert analysis during event storms
CN105653329A (en) Application management method, apparatus and system
US20170161138A1 (en) Processing run-time error messages and implementing security policies in web hosting
US11582083B2 (en) Multi-tenant event sourcing and audit logging in a cloud-based computing infrastructure
CN107077412A (en) Individual layer or the automation basic reason analysis of N layers of application
US20120222009A1 (en) Defective code warning resolution analysis
US8478705B2 (en) Portable data management using rule definitions
CN113391944A (en) Deferred server recovery in a computing system
US20040122940A1 (en) Method for monitoring applications in a network which does not natively support monitoring

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180626