CN102761432A - CGI (Common Gateway Interface) monitoring method, device and system thereof - Google Patents

CGI (Common Gateway Interface) monitoring method, device and system thereof Download PDF

Info

Publication number
CN102761432A
CN102761432A CN 201110110847 CN201110110847A CN102761432A CN 102761432 A CN102761432 A CN 102761432A CN 201110110847 CN201110110847 CN 201110110847 CN 201110110847 A CN201110110847 A CN 201110110847A CN 102761432 A CN102761432 A CN 102761432A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
cgi
configuration information
monitoring
monitor
server
Prior art date
Application number
CN 201110110847
Other languages
Chinese (zh)
Other versions
CN102761432B (en )
Inventor
莫璇
Original Assignee
腾讯科技(深圳)有限公司
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

Links

Abstract

The invention discloses a CGI (Common Gateway Interface) monitoring method, a device and a system thereof. According to the invention, a local agent is set by corresponding to a CGI server, and CGI monitoring configuration information synchronized and updated from a configuration information server is stored in the local agent. The method comprises the following steps of: after a CGI service request is received by the CGI server, judging whether the CGI monitoring configuration information stored in the CGI server is the same as the CGI monitoring configuration information stored in the corresponding local agent; if not, updating the CGI monitoring configuration information stored in the CGI server according to the CGI monitoring configuration information stored in the local agent; and motoring a processing process of the CGI service request according to the updated CGI monitoring configuration information. In the invention, the consistency and the timeliness of the monitoring configuration information are maintained, and the flexibility of CGI monitoring is improved.

Description

CGI监控方法及其装置和系统 CGI monitoring method and apparatus and systems

技术领域 FIELD

[0001] 本发明涉及互联网领域的CGI (Common Gateway Interface,通用网关接口)监控技术,尤其涉及一种CGI监控方法及其装置和系统。 [0001] The present invention relates to the field of Internet CGI (Common Gateway Interface, Common Gateway Interface) monitoring technology, particularly to a method and apparatus to monitor and CGI systems.

背景技术 Background technique

[0002] CGI是运行在Web服务器上的程序,由浏览器的输入触发,用于处理客户端的请求,并根据客户端的请求向客户端返回处理结果。 [0002] CGI program running on the Web server, the browser is triggered by the input, the processing for requesting the client, and returns a processing result to the client end according to the client's request. 通过在CGI执行的业务逻辑中插入监控点的方式,可以对CGI执行业务逻辑的情况进行监控,以便在需要时获知CGI的运行状况,根据获取到CGI运行状况进行相应的系统维护。 , The situation can be monitored by a CGI execution of business logic to monitor the insertion point in the execution of business logic CGI manner, in order to know when the health of the CGI necessary, appropriate maintenance system based on the acquired operating conditions CGI.

[0003] 现有技术中,CGI监控方式主要有两种方式: (1)将CGI运行状况记录在日志文件中; [0003] In the prior art, CGI monitoring There are two main ways: (1) The operating conditions CGI recorded in the log file;

(2)将CGI运行状况上报给服务器。 (2) The CGI reported to the health of the server.

[0004] 通过记录日志文件的方式可以很好地记录CGI运行路径,对调试CGI程序或者定位CGI出错情况很有帮助。 [0004] may well documented CGI run log file path by the way, error conditions helpful for debugging CGI programs or locate CGI. 但是,因为CGI可以分机器部署(即部署在不同服务器上),所以这种监控方式很难满足统计CGI调用API (Application Programming Interface,应用编程接口)的成功率以及CGI运行时间均值等方面的需求。 However, because the CGI can be divided machine deployment (ie, deployed on different servers), so this monitoring method is difficult to meet the needs of statistical CGI calls API (Application Programming Interface, Application Programming Interface) CGI success rate and the average running time, etc. . 而通过将CGI运行状况上报给服务器的方式可以较好地满足CGI统计方面的需求,但当CGI错误率较高时,却很难给出出错路径,使开发人员难以快速定位。 And can better meet the needs of statistics by way of CGI CGI reported to the health of the server, but when CGI higher error rate, but it is difficult to give wrong path, allowing developers to quickly locate difficult.

[0005] 由此可见,目前亟需一种能够根据不同情况灵活运用CGI监控方式的技术方案。 [0005] Thus, the current urgent need for technical solutions which can utilize CGI monitored mode depending on the situation.

[0006] 发明内容 [0006] SUMMARY OF THE INVENTION

本发明提供一种CGI监控方法及其装置和系统,以维护CGI监控配置信息的一致性和时效性,并提高CGI服务器对CGI监控的灵活性。 The present invention provides a method and apparatus to monitor CGI and system monitor configured to maintain consistency and CGI timeliness of the information, and improve flexibility of the CGI server CGI monitored. 为此,本发明实施例采用如下技术方案:一种通用网关接口CGI监控方法,对应CGI服务器设置有本地代理,所述本地代理中存储有从配置信息服务器同步更新得到的CGI监控配置信息,该方法包括: To this end, embodiments of the present invention uses the following technical solutions: a common gateway interface CGI monitoring method, there is provided a corresponding local proxy server CGI, the home agent stores a CGI synchronization update configuration information obtained from the monitoring server configuration information, the methods include:

CGI服务器接收到CGI业务请求后,判断自身存储的CGI监控配置信息与对应的本地代理中存储的CGI监控配置信息是否相同; After CGI server receives a service request CGI, CGI monitor determines its own monitoring information stored in the configuration CGI corresponding home agent information stored in the configuration are the same;

若所述CGI服务器判断为不相同,则根据所述本地代理中存储的CGI监控配置信息更新CGI服务器自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息,对所述CGI业务请求的处理过程进行监控。 If the determination is not the same CGI servers, the configuration server CGI CGI monitoring information updating configuration information stored by the home agent monitoring according to CGI stored, monitoring and configuration information updated CGI, CGI the service request the process is monitored.

[0007] 本发明实施例还提供一种通用网关接口CGI服务器,应用于WEB系统中,所述WEB系统中对应CGI服务器设置有本地代理,所述本地代理中存储有从配置信息服务器同步更新得到的CGI监控配置信息,该CGI服务器包括: [0007] Embodiments of the present invention further provides a Common Gateway Interface CGI servers, WEB system is applied, the WEB server CGI system is provided with a corresponding home agent, the home agent stores the configuration information obtained from the synchronization update server the CGI monitor configuration information, the CGI server includes:

存储模块,用于存储CGI监控配置信息; A storage module for storing configuration information CGI monitor;

接收模块,用于接收CGI业务请求; Receiving means for receiving a service request for CGI;

判断模块,用于当所述接收模块接收到CGI业务请求后,判断所述存储模块存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同;更新模块,用于当所述判断模块判断为不相同时,根据所述本地代理中存储的CGI监控配置信息更新所述存储模块存储的CGI监控配置信息; A determining module, configured to, when the receiving module receives a service request to a CGI, CGI monitoring module determines whether the stored configuration stored CGI monitoring information stored in the home agent and the configuration information are the same; updating module, configured to, when said determination module is determined not the same, updating the configuration information stored CGI monitoring module stores the configuration information to the home agent monitoring CGI stored;

监控模块,用于根据更新后的CGI监控配置信息对所述CGI业务请求的处理过程进行监控。 A monitoring module configured to monitor CGI configuration information after the update processing of service request to monitor CGI.

[0008] 本发明实施例还提供一种WEB系统,包括本地代理、配置信息服务器以及上述CGI服务器;其中, [0008] Embodiments of the present invention further provides a WEB system comprising a home agent, and said configuration information server CGI servers; wherein,

所述配置信息服务器用于,获取CGI监控配置信息,并将获取到的CGI监控配置信息发送给所述本地代理; The configuration information server to acquire configuration information to monitor CGI, CGI and the acquired configuration information to the monitor local agent;

所述本地代理用于,根据接收到的CGI监控配置信息进行CGI监控配置信息同步更 The home agent for monitoring CGI configuration information is received configuration information synchronization monitor CGI more

新; new;

所述CGI服务器用于,在接收到CGI业务请求后,判断自身存储的CGI监控配置信息与对应的本地代理中存储的CGI监控配置信息是否相同;若所述CGI服务器判断为不相同,则根据所述本地代理中存储的CGI监控配置信息更新CGI服务器自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息,对所述CGI业务请求的处理过程进行监控。 The CGI server for, upon receiving a service request to a CGI, CGI monitor determines its own monitoring information stored in the configuration CGI corresponding home agent information is stored in the same configuration; if the server CGI is determined not identical, in accordance with CGI monitoring the home agent updates the configuration information stored in the server CGI CGI configuration information stored by the monitoring, and configuration information updated monitoring CGI, CGI for processing the service request to monitor.

[0009] 与现有技术相比,本发明实施例具有以下优点: [0009] Compared with the prior art, embodiments of the present invention has the following advantages:

对应CGI服务器设置的本地代理从配置信息服务器同步更新得到CGI监控配置信息,CGI服务器接收到CGI业务请求后,可以判断自身存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同,并当判断为不相同时,根据本地代理中存储的CGI监控配置信息更新CGI服务器自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息进行CGI监控,维护了CGI监控配置信息的一致性和时效性,且提高了CGI监控的灵活性。 After the corresponding CGI servers provided a home agent to obtain CGI monitor from the configuration information server synchronization update configuration information, CGI server receives the CGI service request, based on CGI monitor their own stored configuration CGI monitoring information with the home agent stores the configuration information is the same, consistent with and when it is determined not the same, the configuration information update CGI server itself stored in accordance CGI monitor local agent stored CGI monitor configuration information and configuration information CGI monitored according CGI monitoring updated, maintained CGI monitor configuration information and timeliness and enhance the flexibility of CGI monitored.

附图说明 BRIEF DESCRIPTION

[0010] 图I为本发明实施例提供的CGI监控方法流程示意图; [0010] Figure I a schematic view of the present disclosure CGI process monitoring method according to an embodiment;

图2为本发明实施例提供的CGI服务器的结构示意图; FIG 2 a schematic structural diagram of the embodiment of the CGI server according to the present invention;

图3为本发明实施例提供的WEB系统的示意图。 FIG 3 is a schematic WEB system according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0011] 针对上述现有技术中的问题,本发明实施例提供一种CGI监控的技术方案,对应CGI服务器设置的本地代理从配置信息服务器同步更新得到CGI监控配置信息,CGI服务器接收到CGI业务请求后,判断自身存储的CGI监控配置信息与对应的本地代理中存储的CGI监控配置信息是否相同,并当判断为不同时,根据本地代理中的CGI监控配置信息更新自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息进行CGI监控,维护了CGI监控配置信息的一致性和时效性,并提高了CGI监控的灵活性。 [0011] For the above-described problems of the prior art, provides a technical solution to monitor CGI embodiment of the present invention, the corresponding local proxy server CGI configuration information provided from the server to monitor synchronization update configuration information obtained CGI, CGI CGI server receives service after the request, it determines its own stored CGI monitoring configuration CGI monitoring information corresponding to the home agent stores the configuration information is the same, and when it is determined as not the same, the configuration information update CGI monitor their own stored according to the local agent in CGI monitor configuration information and configuration information based on monitoring of the updated CGI CGI monitoring, maintenance, monitoring the CGI configuration consistency and timeliness of information, and improve the flexibility of CGI monitored.

[0012] 其中,CGI监控配置信息中指示出了CGI服务器监控的监控对象(如CGI执行业务逻辑的返回值、CGI执行业务逻辑的失败率等),CGI监控配置信息中还包含有监控规则,监控规则规定了监控对象在满足一定的监控动作触发条件(如CGI执行业务逻辑的失败率高于阈值)时,执行相应的监控动作,监控动作可以包括将业务逻辑的运行情况记录在本地日志中或上报给服务器。 [0012] wherein, CGI monitor configuration information indicating a monitoring target CGI servers monitored (e.g., CGI execution of business logic of the return value, CGI execution failure rate business logic, etc.), CGI monitor configuration information further includes monitoring rules, monitoring rules of the monitoring object is satisfied constant monitoring operation trigger condition (such as a CGI failed execution of business logic is higher than a threshold), performs the corresponding control operation, the monitoring operation may include the operation of the business logic is recorded in the local log or reported to the server.

[0013] 本发明实施例涉及WEB系统架构,该WEB系统中包括CGI服务器,对应CGI服务器设置有本地代理,还设置有配置信息服务器。 [0013] The present invention relates to system architecture WEB, WEB system which includes a CGI servers, CGI servers are provided corresponding to the local proxy, provided configuration information server. 配置信息服务器中可设置有数据库或可访问设置于其它设备的数据库,该数据库中维护有CGI监控配置信息;配置信息服务器能够与本地代理进行通信,将数据库中的CGI监控配置信息同步更新到本地代理中;CGI服务器可根据接收到的业务请求执行CGI业务逻辑,CGI服务器中存储有CGI配置信息,CGI服务器可根据其存储的CGI配置信息对CGI业务逻辑的执行进行监控。 Configuration information server may be provided with a database, or access is provided to the other device's database, the database maintains CGI monitor configuration information; configuration information server capable of communicating with the home agent, the CGI monitoring database configuration information synchronization update to the local agent; CGI server may request service according to the received service logic execution CGI, CGI servers stores configuration information CGI, CGI servers may store configuration information for execution of CGI CGI business logic to monitor.

[0014] 为了维护CGI监控配置信息的一致性和时效性,本地代理中存储的CGI监控配置信息要根据配置信息服务器中的CGI监控配置信息进行同步更新,该同步更新可以具体通过以下方式实现: [0014] In order to maintain consistency CGI monitor configuration information and timeliness, is stored in the home agent to monitor the configuration information to CGI configuration information synchronization update in accordance with the configuration information server CGI monitor, the synchronization update may be embodied in the following ways:

方式一:当数据库中的CGI监控配置信息更新后, 配置信息服务器从数据库中读取更新后的CGI监控配置信息,并主动将更新后的CGI监控配置信息发送给本地代理,本地代理根据接收到的CGI监控配置信息更新自身存储的CGI监控配置信息。 One way: When the CGI monitoring database and update the configuration information, the configuration server reads the updated CGI monitor the configuration information from the database, CGI and actively monitoring the updated configuration information to the home agent, the home agent in accordance with the received the CGI CGI surveillance monitoring updated configuration information stored in its own configuration information.

[0015] 方式二:可以在配置信息服务器中预先设置CGI监控配置信息更新周期,配置信息服务器根据预设周期周期性地向本地代理发送CGI监控配置信息。 [0015] Second way: CGI can be set in advance to monitor the configuration information update cycle, CGI server sends configuration information to the home agent monitoring according to a preset cycle periodically arranged in the configuration information server. 本地代理接收到配置信息服务器发送的CGI监控配置信息后,比较接收到的CGI监控配置信息与本地代理自身存储的CGI监控配置信息,若二者不同,则根据接收到的CGI配置信息更新自身存储的CGI监控配置信息。 After the home agent receives the configuration information sent by the server CGI monitor configuration information, compares the received CGI monitor configuration information stored by the home agent to monitor the configuration information of CGI, if two different, update the configuration information stored in itself based on the received CGI the CGI monitor configuration information.

[0016] 系统可根据业务需要,实时更新数据库中的CGI监控配置信息,更新的CGI监控配置信息会通过上述同步方式发送到本地代理中。 [0016] The system may be based on business needs, CGI updated in real time to monitor the configuration information in the database, updating the CGI monitoring configuration will be sent to the home agent via the synchronous mode. 利用本地代理中更新的CGI监控配置信息,本发明实施例提供的CGI监控过程中,当CGI服务器接收到CGI业务请求时,可以判断自身存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同,当判断为不同时,根据本地代理中的CGI监控配置信息更新自身存储的CGI监控配置信息,从而根据该更新的CGI监控配置信息进行CGI监控。 Using the home agent updates CGI monitor configuration information embodiments CGI monitoring process provided by the present invention, when the CGI server receives CGI service request, based on CGI Monitoring Configuration CGI monitor their own configuration information stored in the home agent stored information is the same, is not the same when it is determined, according to the configuration information in the home agent updates the monitoring CGI CGI monitor their own configuration information stored, thereby updating the configuration information for monitoring CGI CGI monitor.

[0017] 其中,本地代理可以采用文件方式存储CGI监控配置信息,也可以将CGI监控配置信息缓存在共享内存中,前者安全性较高,不易丢失,但该方式下CGI服务器读取CGI监控配置信息较慢;后者CGI服务器读取配置信息较快,但安全性较低,易因本地代理断电或内存被破坏而丢失。 [0017] wherein the local proxy files can be used to monitor the configuration information stored CGI, CGI also monitor configuration information can be cached in shared memory, the former high security, easy to lose, but CGI CGI monitoring server reads the configuration mode slow information; CGI server which reads the configuration information faster, but less secure, easy because of power failure or the home agent memory is destroyed and lost. 系统用户可根据需要采用相应的方式在本地代理中存储CGI监控配置信 The system user can use the appropriate manner required to monitor CGI storage channel arranged in the home agent

肩、O Shoulder, O

[0018] 下面结合附图对本发明实施例提供的技术方案进行详细描述。 [0018] The following detailed description in conjunction with the accompanying drawings provide technical solutions of the present invention.

[0019] 如图I所示,为本发明实施例提供的CGI监控方法流程的示意图,可以包括以下步骤: [0019] As shown in FIG I, a schematic diagram of CGI process monitoring method according to an embodiment the invention, may comprise the steps of:

步骤101、CGI服务器接收CGI业务请求。 Step 101, CGI CGI server receives a service request.

[0020] 步骤102、CGI服务器判断是否需要更新自身存储的CGI监控配置信息,若判断为是,则转至步骤103,否则,转至步骤106 ; [0020] Step 102, determining whether to update the server CGI CGI monitor their own configuration information stored, if the determination is yes, then go to step 103, otherwise, go to step 106;

具体的,当CGI服务器接收到CGI业务请求时,可以访问本地代理,并判断自身存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同,若二者不同,则认为本地代理中存储的CGI监控配置信息发生了更新,即需要更新自身存储的CGI监控配置信息;若二者相同,则认为本地代理中存储的CGI监控配置信息未发生更新,即不需要更新自身存储的CGI监控配置信息。 Specifically, when the server receives the CGI request to a CGI service, access to the local proxy, and determines its own stored CGI CGI configuration monitoring agent monitoring information locally stored configuration information is identical, if the difference between the two is that the home agent CGI monitor configuration information stored in the update occurs, i.e. to update the CGI monitor their own configuration information stored; if they are the same, then the home agent monitoring CGI that stores configuration information update does not occur, i.e., does not need to monitor their own stored update CGI configuration information.

[0021] 为了在一定程度上提高CGI监控的效率,并降低系统负担,可以在CGI服务器中预先设置CGI监控配置信息更新周期,当CGI服务器接收到CGI业务请求时,可以先判断接收到该CGI业务请求的时间(即当前时间)与CGI监控配置信息的上一次更新时间的时间差是否大于预设的更新周期,当判断为大于时,则表明当前距离上次CGI监控配置信息更新操作已经有较长一段时间,有可能本地代理中的CGI监控配置信息在此期间进行了更新,此种情况下认为需要更新自身存储的CGI监控配置信息,进而通过访问本地代理更新自身存储的CGI监控配置信息;当判断为不大于时,则认为不需要更新自身存储的CGI监控配置信息,直接根据自身存储的CGI监控配置信息进行后续流程。 [0021] In order to improve to some extent the efficiency of CGI monitor and reduce burden on the system may be preset CGI monitor configuration information update cycle CGI servers, when the CGI server receives CGI service request can first determines whether the received the CGI if the last update time of the time difference in time (i.e. current time) the service request to the CGI configuration information update period greater than a preset monitoring, when the judgment is yes, it indicates that the current configuration information is updated from the last CGI monitoring operations have been more for a long time, there are likely to monitor local CGI proxy configuration information updated during this time that this case needs to update their configuration information stored CGI monitor, then monitor their own CGI proxy update configuration information stored by visiting local; when it is determined not, the saw no need to update their configuration information stored in the monitor CGI, CGI directly according to the configuration information stored in itself for subsequent monitoring process. 其中,CGI服务器更新自身存储的CGI监控配置信息的同时,还可以更新时间戳,以记录CGI监控配置信息更新的时间。 Wherein Meanwhile, the server updates its own stored CGI CGI monitor configuration information may also be updated time stamp to record the time configuration monitoring CGI updated information.

[0022] 步骤103、CGI服务器更新自身存储的CGI监控配置信息。 [0022] Step 103, CGI server updates its own configuration information stored in the monitor CGI.

[0023] 步骤104、CGI服务器根据存储的CGI监控配置信息对CGI执行业务逻辑的运行情况进行监控。 [0023] Step 104, CGI server CGI configuration information stored in the monitoring of the operation of CGI execution of business logic to monitor.

[0024] 具体的,当CGI服务器接收到CGI业务请求时,CGI服务器通过CGI执行相应的业务逻辑,并根据自身存储的CGI监控配置信息对CGI执行业务逻辑的运行情况进行监控。 [0024] Specifically, when the CGI server receives a service request to a CGI, CGI servers execute business logic corresponding CGI, and configured to run business logic implementation of CGI information monitor according to CGI monitor their storage. 其中,可以通过在业务逻辑中插入监控点或在CGI执行相应业务逻辑所调用的API中插入监控点的方式实现对CGI执行业务逻辑的运行情况的监控。 Wherein, by inserting monitoring point in the business logic or the monitoring point insertion API corresponding service logic in the manner called for monitoring the operation of CGI execution of business logic in CGI. 其中,CGI服务器可根据CGI监控配置信息中指示出的监控对象,如CGI服务器对CGI执行业务逻辑的业务返回值、CGI执行业务逻辑的执行时间或CGI执行业务逻辑的业务失败率等,对CGI执行业务逻辑的运行情况进行监控。 Wherein, CGI servers can be configured according CGI monitoring monitoring target information indicating, as CGI servers execute business logic for CGI business return value, CGI execution service logic execution time or CGI execution of business logic service failure rate, for CGI operation to monitor the implementation of business logic.

[0025] 步骤105、CGI服务器判断是否满足监控动作触发条件,是则转至步骤106 ;否则,转至步骤104。 [0025] Step 105, CGI server judges whether the trigger condition monitoring operation is then go to step 106; otherwise, go to step 104.

[0026] 具体的,CGI监控配置信息中可以针对不同的监控对象设置不同的监控动作触发条件。 [0026] Specifically, CGI configuration information may be provided to monitor different monitoring operation trigger condition for a different monitoring objects. 例如,当CGI监控配置信息指示CGI服务器对CGI执行业务逻辑的返回值进行监控时,监控规则可以是当CGI执行业务逻辑的返回值不合法时,将CGI执行业务逻辑的运行情况记录在本地日志中(本地日志可以记录CGI执行相应业务逻辑的详细步骤,当开发人员发现CGI执行该业务逻辑的业务失败率较高时,可以查询本地日志,了解CGI执行该业务逻辑的具体情况,并查询出具体哪个步骤出错,进行统计分析);当CGI监控配置信息执行CGI服务器对CGI执行业务逻辑的失败率进行监控时,监控规则可以是当CGI执行业务逻辑的失败率超过30%时,将CGI执行业务逻辑的运行情况上报给服务器。 For example, when a CGI monitor configuration information indicates CGI server for CGI execution of business logic of the return value is monitored, the monitoring rule may be when the CGI execution of business logic return value is not valid, the CGI execution of business logic operation recorded in the local log the (local log may be recorded CGI detailed steps corresponding service logic, when executed CGI developers find higher failure rate of the service business logic, can query the local log for the specific implementation of the CGI business logic, and the query which specific steps the error, statistical analysis); when the CGI monitor configuration information to execute CGI server performs the failure rate of business logic to monitor the CGI, monitoring rules can be when CGI execution of business logic failure rate of over 30%, will execute CGI the operation of the business logic of the report to the server.

[0027] CGI监控配置信息中还可以针对相同的监控对象设置不同的监控动作触发条件。 [0027] CGI monitoring arrangement may also be provided to monitor different conditions for the same operation trigger information of the monitored object. 例如,当CGI监控配置信息执行CGI服务器对CGI执行业务逻辑的失败率进行监控时,监控规则可以是当CGI执行业务逻辑的失败率超过30%时,将CGI执行业务逻辑的运行情况记录在本地日志中;当CGI执行业务逻辑的失败率超过50%时,将CGI执行业务逻辑的运行情况上报给服务器。 For example, when a CGI monitor configuration information performed when CGI server CGI failure rate execute business logic to monitor, the monitoring rule may be when the failure rate CGI execution of business logic of more than 30%, the operation of CGI execution business logic recorded in the local log; CGI execution when the business logic of the failure rate exceeds 50%, the operation of CGI execution reported to the business logic server.

[0028] 以步骤104中的CGI监控配置信息为指示CGI服务器对CGI执行业务逻辑的失败率进行监控为例。 [0028] The configuration information in step 104 to indicate the CGI monitor monitoring server CGI execution failure rate business logic for CGI for example. 对应于该CGI监控配置信息的监控规则可以是当CGI执行相应业务逻辑的业务失败率超过30%时,将CGI执行该业务逻辑的运行情况记录在本地日志中。 Monitoring configuration corresponding to the CGI information monitoring rules may be performed when CGI corresponding service logic service failure rate exceeds 30%, the CGI execution of the service logic operation log recorded in the local. CGI服务器统计CGI执行相应业务逻辑的业务失败率后,判断该业务失败率是否超过30%(若业务失败率超过30%,则认为满足监控动作触发条件),若判断为是,则将CGI执行该业务逻辑的运行情况记录在本地日志中。 After statistical CGI CGI server business failure rate of implementation of the corresponding business logic to determine whether the business failure rate of over 30% (if the business failure rate of over 30% is considered to meet the monitoring action trigger conditions) If a decision is yes, the CGI execution the service logic operation recorded in the local log. [0029] 为了对CGI执行业务逻辑的运行情况进行更加全面的监控,CGI监控配置信息中可以同时配置对CGI执行业务逻辑的返回值、执行时间、失败率等进行监控,相应的,对应的监控规则可以是CGI执行业务逻辑的返回值不合法时将CGI执行业务逻辑的运行情况上报给统计/分析服务器或记录在本地日志中,CGI执行业务逻辑的业务执行时间超过预设阈值时将CGI执行业务逻辑的运行情况上报给统计/分析服务器或记录在本地日志中,CGI执行业务逻辑的业务失败率超过预设阈值时将CGI执行业务逻辑的运行情况上报给统计/分析服务器或记录在本地日志。 [0029] In order to CGI more comprehensive monitoring the implementation of the operation of the business logic, CGI monitor configuration information may be configured to execute business logic for CGI return value while monitoring the execution time, failure rate, etc. Accordingly, the corresponding monitoring rules can be CGI execute business logic of the return value is not lawful to report the CGI execute business logic operation to the statistical / analytics server or recorded in the local log, CGI execute business logic of business execution time exceeds a preset threshold will execute CGI the operation of the business logic reported to the statistical / analytics server or recorded in the local log, CGI execute business logic of business failure rate exceeds a preset threshold operation of CGI execution of business logic reporting local logs to the statistics / analysis server or record .

[0030] 步骤106、CGI服务器执行相应的监控动作。 [0030] Step 106, CGI server performs the corresponding control operation.

[0031] 通过以上流程,本地代理中存储的CGI监控信息可以根据配置信息服务器中的CGI监控配置信息进行同步更新;CGI服务器接收到CGI业务请求后,可以判断自身存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同,并当判断为不同时,根据本地代理中的CGI监控配置信息更新CGI服务器自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息对CGI业务请求的处理情况进行CGI监控,维护了CGI监控配置信息的一致性和时效性,且提高了CGI监控的灵活性。 [0031] Through the above process, CGI monitoring information home agent stored may configuration information according to the configuration information of the server CGI monitor synchronization update; the CGI server receives CGI service request, based on CGI monitor their own configuration information stored locally CGI monitoring agent stored configuration information is the same, and when it is determined as not the same, the configuration information update CGI server according to the home agent in CGI monitor CGI monitor their own stored configuration information and configuration information CGI service according CGI monitoring updated CGI handling of requests were monitoring, maintenance, monitoring the CGI configuration consistency and timeliness of information, and improve the flexibility of CGI monitored.

[0032] 基于上述CGI监控方法相同的发明构思,本发明实施例还提供了一种CGI服务器,应用于WEB系统中。 [0032] Based on the same inventive concept CGI monitoring method, embodiments of the present invention further provides a CGI server, WEB system applied. 该WEB系统中对应CGI服务器设置有本地代理,所述本地代理中存储有从配置信息服务器同步更新得到的CGI监控配置信息。 The WEB server CGI system is provided with a corresponding home agent, the home agent stores a CGI synchronization update configuration information obtained from the monitoring server configuration information.

[0033] 如图2所示,为本发明实施例提供的CGI服务器的结构示意图,可以包括: CGI structural diagram of embodiment of the server according to the [0033] 2, the present invention may comprise:

存储模块21,用于存储CGI监控配置信息; A storage module 21, configured to store configuration information CGI monitor;

接收模块22,用于接收CGI业务请求; A receiving module 22, configured to receive a service request CGI;

判断模块23,用于当接收模块22接收到CGI业务请求后,判断存储模块21中存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同; Determining module 23, configured to, when the receiving module 22 receives the service request to a CGI, CGI monitoring module 21 determines the memory configuration information stored in the home agent monitoring CGI stored configuration information is identical;

更新模块24,用于当判断模块23判断为不相同时,根据本地代理中存储的CGI监控配置信息更新存储模块21中存储的CGI监控配置信息; Updating module 24, configured to, when the determining module 23 determines the same time, updating the configuration information stored in the storage module 21 configured to monitor CGI information not in the home agent monitoring according to CGI stored;

监控模块25,用于根据更新后的CGI监控配置信息对CGI业务请求的处理过程进行监控。 A monitoring module 25 for monitoring CGI configuration information after the update processing of the service request to monitor CGI.

[0034] 为了在一定程度上提高CGI监控的效率,并降低系统负担,接收模块22接收到CGI业务请求时,判断模块23可以先判断接收模块22接收到CGI业务请求的时间与上一次更新模块24更新CGI监控配置信息的时间的时间差是否大于预设更新周期,并当判断为是时,获取本地代理中存储的CGI监控配置信息,并判断存储模块21中存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同,当二者不同时,则认为需要更新CGI监控配置信息,当二者相同时,则认为不需要更新CGI监控配置信息。 [0034] In order to improve to some extent the efficiency of CGI monitor and reduce burden on the system, the receiving module 22 receives the CGI service request determination module 23 may first determine the receiving module 22 receives the time of CGI service request and the last update module if the time difference 24 updates CGI monitor configuration information of time greater than a predetermined update period, and when the determination is YES, obtaining the home agent stored CGI monitor configuration information, and determines the storage module stored CGI monitor 21 the configuration information of the local proxy CGI monitoring configuration information stored is the same, if not both, is considered to need to update the configuration information for monitoring CGI, when both are the same, it is considered necessary to update the configuration information to monitor CGI.

[0035] 其中,当接收模块22接收到CGI业务请求的时间与更新模块24上一次更新CGI监控配置信息的时间的时间差不大于预设更新周期时,判断模块23可以直接判断为不需要更新自身存储的CGI监控配置信息,监控模块25直接根据存储模块21中存储的CGI监控配置信息进行CGI监控。 When [0035] wherein, when the receiving module 22 receives the CGI module update time of the service request time update configuration information on the CGI monitor 24 is not greater than a preset time difference update period determination module 23 may be directly determined that no update itself CGI configuration information stored monitoring, the monitoring module 25 directly from the CGI configuration information stored in the storage monitoring module 21 for monitoring CGI.

[0036] 其中,CGI监控配置信息中针对监控对象设置有第一监控动作触发条件和第二监控动作触发条件,第一监控动作触发条件对应的监控动作为将CGI执行业务逻辑的运行情况记录在本地日志中,第二监控动作触发条件对应的监控动作为将CGI执行业务逻辑的运行情况上报给服务器;监控模块25可以具体用于,根据监控配置信息监控CGI执行业务逻辑的运行情况,当CGI执行业务逻辑的运行情况满足第一监控动作触发条件时,将CGI执行业务逻辑的运行情况记录在本地日志中;当CGI执行业务逻辑的运行情况满足第二监控动作触发条件时,将CGI执行业务逻辑的运行情况上报给服务器。 [0036] wherein, CGI configuration information for monitoring the monitored object is provided with a first and a second monitoring operation of the monitoring operation triggers the trigger condition, monitoring the operation of a first operating condition corresponding to the trigger to monitor the operation of CGI to execute business logic recorded local log, a second monitoring operation of the monitoring operation trigger condition corresponding to the CGI execution reporting business logic operation to the server; monitoring module 25 may be specifically configured to monitor the running status of the CGI execution information according to the monitoring service logic, when CGI performing service logic operation to monitor the operation of the trigger satisfies a first condition, the operation of the business logic of the CGI execution recorded in the local log; CGI execution when the operating conditions satisfy the business logic to monitor the operation of the second trigger condition, the CGI execution business the operation of the logic of the report to the server.

[0037] 通过本发明实施例提供的技术方案,CGI服务器可以灵活调整监控策略,并及时更新监控配置信息,维护了监控配置信息的一致性和时效性,并提高了CGI监控的灵活性。 [0037] The technical solution provided by the embodiment of the present invention, can be flexibly adjusted CGI server monitoring policy, monitor and update the configuration information, the maintenance monitoring configuration consistency and timeliness of the information, and improve the flexibility of CGI monitored.

[0038] 本发明实施例还提供一种WEB系统,如图3所示,包括配置信息服务器31,本地代理32以及CGI服务器33 ;其中, [0038] Embodiments of the present invention further provides a WEB system, shown in Figure 3, includes configuration information server 31, the home agent 32 and the server CGI 33; wherein,

配置信息服务器31,用于将CGI监控配置信息发送给所述本地代理; 本地代理32,用于根据接收到的CGI监控配置信息更新本地代理自身存储的CGI监控配置信息; 31 is configuration information server, the CGI is used to monitor the configuration information to the home agent; home agent 32, the home agent to update its own configuration information stored CGI monitor configuration information received CGI monitor;

CGI服务器33,用于在接收到CGI业务请求后,判断自身存储的CGI监控配置信息与对应的本地代理中存储的CGI监控配置信息是否相同;若所述CGI服务器判断为不相同,则根据所述本地代理中存储的CGI监控配置信息更新CGI服务器自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息,对所述CGI业务请求的处理过程进行监控。 CGI server 33, upon receiving a service request to a CGI, CGI monitor determines its own storage configuration monitoring CGI configuration information corresponding to the local storage agent are the same; determines if the server CGI are not identical, in accordance with the said home agent to monitor the configuration stored CGI information updating stored by the server CGI CGI monitor configuration information, configuration information and the updated monitoring CGI, CGI for processing the service request to monitor.

[0039] 其中,配置信息服务器31可以具体用于,当配置信息服务器数据库中CGI监控配置信息发生更新时,获取更新后的CGI监控配置信息,并将获取到的CGI监控配置信息发送给本地代理。 [0039] wherein the configuration server 31 can be configured, when the configuration information in the server database is updated configuration information to monitor CGI, CGI obtain updated monitor the configuration information and configuration information to the home agent of the acquired monitor CGI .

[0040] 其中,配置信息服务器31可以具体用于,以预设周期向本地代理发送CGI监控配 [0040] wherein the configuration server 31 can be configured to monitor a preset period CGI transmitted to the home agent with

置信息; Configuration information;

本地代理32则可以具体用于,比较接收到的CGI监控配置信息与本地代理自身存储的CGI监控配置信息是否相同,并当二者不同时,根据接收到的CGI监控配置信息更新本地代理中存储的CGI监控配置信息。 Local proxy 32 may be configured to compare the received CGI monitor configuration information stored by the home agent monitoring CGI configuration information is the same, and if not both, in accordance with the received CGI monitor configuration information stored in the home agent updates the CGI monitor configuration information.

[0041] 通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。 [0041] By the above described embodiments, those skilled in the art may clearly understand that the present invention may be implemented by software plus a necessary universal hardware platform, also be implemented by hardware, but the former is in many cases more good embodiments. 基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。 Based on such understanding, the technical solutions of the present invention in essence or the part contributing to the prior art may be embodied in a software product, which computer software product is stored in a storage medium and includes several instructions to enable a a computer device (may be a personal computer, a server, or network device) to execute the methods according to embodiments of the present invention.

[0042] 本领域技术人员可以理解附图只是一个优选实施例的示意图,附图中的模块或流程并不一定是实施本发明所必须的。 [0042] Those skilled in the art will be appreciated the drawings are merely schematic diagram of a preferred embodiment, the modules or processes in the accompanying drawings are not necessarily embodiments of the present invention it is necessary.

[0043] 本领域技术人员可以理解实施例中的装置中的模块可以按照实施例描述进行分布于实施例的装置中,也可以进行相应变化位于不同于本实施例的一个或多个装置中。 [0043] Those skilled in the art will be appreciated apparatus embodiment that the modules can be distributed in accordance with an embodiment of the apparatus of the embodiment may be performed according to the present embodiment which are different from one case or more devices. 上述实施例的模块可以合并为一个模块,也可以进一步拆分成多个子模块。 Modules of the embodiments may be combined into one module, or split into multiple submodules.

[0044] 以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。 Only a few [0044] above disclosed specific embodiments of the present invention, however, the present invention is not limited thereto, anyone skilled in the art can think of variations shall fall within the scope of the present invention.

Claims (11)

  1. 1. 一种通用网关接口CGI监控方法,其特征在于,对应CGI服务器设置有本地代理,所述本地代理中存储有从配置信息服务器同步更新得到的CGI监控配置信息,该方法包括: CGI服务器接收到CGI业务请求后,判断自身存储的CGI监控配置信息与对应的本地代理中存储的CGI监控配置信息是否相同; 若所述CGI服务器判断为不相同,则根据所述本地代理中存储的CGI监控配置信息更新CGI服务器自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息,对所述CGI业务请求的处理过程进行监控。 CGI Common Gateway Interface A monitoring method, wherein there are provided corresponding to the server CGI home agent, the home agent stores a CGI synchronization update configuration information obtained from the monitoring server configuration information, the method comprising: receiving the server CGI service request to the CGI, CGI monitor determines its own monitoring information stored in the configuration CGI corresponding home agent information stored in the configuration are the same; determining if the server is not the same as CGI, CGI is monitored according to the stored home agent updating the configuration information stored by the server CGI CGI monitor configuration information, configuration information and the updated monitoring CGI, CGI for processing the service request to monitor.
  2. 2.如权利要求I所述的方法,其特征在于,所述CGI服务器判断自身存储的CGI监控配置信息与对应的本地代理中存储的CGI监控配置信息是否相同,具体为: 所述CGI服务器判断接收到所述CGI业务请求的时间与上一次CGI监控配置信息更新的时间的时间差是否大于预设更新周期,并当判断为是时,获取本地代理中存储的CGI监控配置信息,并判断自身存储的CGI监控配置信息与所述本地代理中存储的CGI监控配置息是否相同。 2. The method of claim I, wherein said CGI server CGI monitor determines its own monitoring information stored in the configuration CGI corresponding home agent information is stored in the same configuration, specifically: the server determines CGI receives the CGI request service time and the last time the configuration is CGI monitor the updated time difference information is greater than a predetermined update period, and when the determination is YES, obtaining the home agent monitoring CGI stored configuration information, and determines that it stores the CGI monitor configuration information stored in the home agent to monitor the configuration information is the same CGI.
  3. 3.如权利要求I所述的方法,其特征在于,本地代理从配置信息服务器同步更新得到CGI监控配置信息的过程,具体为: 当配置信息服务器数据库中CGI监控配置信息发生更新时,所述配置信息服务器获取更新后的CGI监控配置信息,并将获取到的CGI监控配置信息发送给本地代理; 所述本地代理根据接收到的CGI监控配置信息更新本地代理自身存储的CGI监控配置信息。 3. The method of claim I, wherein the local proxy server configuration information obtained from the synchronization update process monitor CGI configuration information, in particular: when the configuration information in the database server CGI monitor configuration information is updated, the acquiring the configuration information of the server CGI CGI monitor monitoring the updated configuration information and the acquired configuration information to the home agent; the home agent home agent updates its own configuration information stored CGI monitor configuration information received CGI monitor.
  4. 4.如权利要求I所述的方法,其特征在于,本地代理从配置信息服务器同步更新得到CGI监控配置信息的过程,具体为: 所述配置信息服务器以预设周期向本地代理发送CGI监控配置信息,所述本地代理比较接收到的CGI监控配置信息与本地代理自身存储的CGI监控配置信息是否相同,并当二者不同时,根据接收到的CGI监控配置信息更新本地代理中存储的CGI监控配置信息。 4. The method of claim I, wherein the process of obtaining the home agent monitoring CGI configuration information from the configuration information synchronization update server, specifically: the configuration information server to transmit a preset period CGI arranged to monitor the local proxy information, the home agent compares the received CGI monitor configuration information stored by the home agent monitoring CGI configuration information is the same, and if not both, CGI monitor configuration information update stored in the home agent based on the received monitor CGI configuration information.
  5. 5.如权利要求1-4任一项所述的方法,其特征在于,所述CGI监控配置信息中针对监控对象设置有第一监控动作触发条件和第二监控动作触发条件,所述第一监控动作触发条件对应的监控动作为将CGI执行业务逻辑的运行情况记录在本地日志中,所述第二监控动作触发条件对应的监控动作为将CGI执行业务逻辑的运行情况上报给服务器;所述CGI服务器对所述CGI业务请求的处理过程进行监控,具体为: 所述CGI服务器根据CGI监控配置信息监控CGI执行业务逻辑的运行情况; 当所述CGI服务器判断所述CGI执行业务逻辑的运行情况满足第一监控动作触发条件时,将所述CGI执行业务逻辑的运行情况记录在本地日志中; 当所述CGI服务器判断所述CGI执行业务逻辑的运行情况满足第二监控动作触发条件时,将所述CGI执行业务逻辑的运行情况上报给服务器。 5. The method of any one of claims 1 to 4, wherein the configuration information for monitoring CGI monitored object is provided with a first and a second monitoring operation of the monitoring operation triggers the trigger condition, the first monitoring operation of the monitoring operation of the trigger condition corresponding to the CGI to execute business logic operation log recorded in the local, the second monitoring operation of the monitoring operation of the trigger condition corresponding to the CGI execution reporting business logic operation to the server; the CGI server CGI process the service request to monitor, specifically: the CGI server is configured to monitor the operation of information service logic in accordance with CGI execution monitor CGI; CGI server when determining the operating conditions of the CGI execution business logic a first monitoring operation when satisfying the trigger condition, the operation of the business logic of the CGI execution recorded in the local log; CGI server determines if the operation of the CGI execution of business logic to monitor the operation trigger satisfies a second condition, the the CGI execution of business logic of the operation is reported to the server.
  6. 6. 一种CGI服务器,应用于WEB系统,其特征在于,所述WEB系统中对应CGI服务器设置有本地代理,所述本地代理中存储有从配置信息服务器同步更新得到的CGI监控配置信息,该CGI服务器包括: 存储模块,用于存储CGI监控配置信息; 接收模块,用于接收CGI业务请求;判断模块,用于当所述接收模块接收到CGI业务请求后,判断所述存储模块存储的CGI监控配置信息与本地代理中存储的CGI监控配置信息是否相同; 更新模块,用于当所述判断模块判断为不相同时,根据所述本地代理中存储的CGI监控配置信息更新所述存储模块存储的CGI监控配置信息; 监控模块,用于根据更新后的CGI监控配置信息对所述CGI业务请求的处理过程进行监控。 A CGI servers, WEB system is applied, characterized in that the WEB server CGI system is provided with a corresponding home agent, the home agent stores a CGI synchronization update configuration information obtained from the monitoring server configuration information, the CGI servers comprising: a storage module for storing configuration information monitor CGI; receiving means for receiving a service request CGI; determining module, configured to, when receiving the service request to a CGI, determining the storage module stored CGI said receiving module monitoring configuration information stored in the home agent to monitor the configuration information is the same CGI; updating module, configured to, when the determination means determines at the same time, updating the configuration information stored in the storage module according to the home agent monitoring CGI is stored not in CGI's monitor configuration information; monitoring module configured to process the service request to the CGI CGI is monitored according to the monitoring updated configuration information.
  7. 7.如权利要求6所述的CGI服务器,其特征在于,所述判断模块具体用于,判断所述接收模块接收到所述CGI业务请求的时间与上一次CGI监控配置信息更新的时间的时间差是否大于预设更新周期,并当判断为是时,获取本地代理中存储的CGI监控配置信息,并判断自身存储的CGI监控配置信息与所述本地代理中存储的CGI监控配置信息是否相同。 7. The CGI server according to claim 6, wherein the determining module for determining whether the receiving module receives the CGI request service time and the last time the configuration CGI monitoring time difference information update It is greater than a predetermined update period, and when the determination is YES, obtaining the home agent monitoring CGI stored configuration information stored by the monitoring and determining CGI CGI configuration monitoring information stored in the home agent is the same configuration information.
  8. 8.如权利要求6或7所述的CGI服务器,其特征在于,所述CGI监控配置信息中针对监控对象设置有第一监控动作触发条件和第二监控动作触发条件,所述第一监控动作触发条件对应的监控动作为将CGI执行业务逻辑的运行情况记录在本地日志中,所述第二监控动作触发条件对应的监控动作为将CGI执行业务逻辑的运行情况上报给服务器;所述监控模块具体用于,根据CGI监控配置信息监控CGI执行业务逻辑的运行情况,当所述CGI执行业务逻辑的运行情况满足第一监控动作触发条件时,将所述CGI执行业务逻辑的运行情况记录在本地日志中;当所述CGI执行业务逻辑的运行情况满足第二监控动作触发条件时,将所述CGI执行业务逻辑的运行情况上报给服务器。 8. CGI servers 6 or claim 7, wherein said CGI monitor configuration information set for monitoring the operation of monitoring a subject in a first and a second monitoring operation triggers the trigger condition, monitoring the first operation monitoring operation of the trigger condition corresponding to the CGI execution of business logic operation log recorded in the local, the second monitoring operation of the monitoring operation trigger condition corresponding to the CGI execution reporting business logic operation to the server; the monitoring module in particular for the operation of the configuration information monitoring service logic in accordance with CGI execution monitor CGI, CGI execution when the operating conditions satisfy the business logic to monitor the operation of the first trigger condition, the operation of the CGI execution is recorded in the local business logic log; CGI execution when the operating conditions satisfy the business logic to monitor the operation of the second trigger condition, the operation of the service logic execution CGI reported to the server.
  9. 9. 一种WEB系统,其特征在于,包括本地代理、配置信息服务器以及如权利要求6-8任一项所述的CGI服务器;其中, 所述配置信息服务器用于,将CGI监控配置信息发送给所述本地代理; 所述本地代理用于,根据接收到的CGI监控配置信息更新本地代理自身存储的CGI监控配置信息; 所述CGI服务器用于,在接收到CGI业务请求后,判断自身存储的CGI监控配置信息与对应的本地代理中存储的CGI监控配置信息是否相同;若所述CGI服务器判断为不相同,则根据所述本地代理中存储的CGI监控配置信息更新CGI服务器自身存储的CGI监控配置信息,并根据更新后的CGI监控配置信息,对所述CGI业务请求的处理过程进行监控。 A WEB system comprising a home agent and the configuration server CGI server as claimed in claim any one of claims 6-8; wherein the configuration information for the server, the configuration information monitor CGI to the home agent; the home agent for monitoring according to the received CGI updated configuration information stored by the home agent monitoring CGI configuration information; for the CGI servers, CGI after receiving the service request, determines that it stores monitoring configuration of CGI CGI monitoring information corresponding home agent information is stored in the same configuration; if the server CGI is determined not identical, updating the configuration information stored by the server CGI CGI CGI monitor according to the stored home agent monitoring configuration information, configuration information and the updated monitoring CGI, CGI for processing the service request to monitor.
  10. 10.如权利要求9所述的WEB系统,其特征在于, 所述配置信息服务器具体用于,当配置信息服务器数据库中CGI监控配置信息发生更新时,获取更新后的CGI监控配置信息,并将获取到的CGI监控配置信息发送给本地代理。 10. The WEB system according to claim 9, wherein the configuration information for the particular server, the configuration information when the server database is updated configuration information to monitor CGI, CGI monitor updates the configuration information acquisition, and CGI acquired monitor configuration information to a local agent.
  11. 11.如权利要求9所述的WEB系统,其特征在于, 所述配置信息服务器具体用于,以预设周期向本地代理发送CGI监控配置信息; 所述本地代理具体用于,比较接收到的CGI监控配置信息与本地代理自身存储的CGI监控配置信息是否相同,并当二者不同时,根据接收到的CGI监控配置信息更新本地代理中存储的CGI监控配置信息。 11. The WEB system according to claim 9, wherein the configuration information server configured to transmit a preset period CGI configuration information to the home agent monitoring; the home agent specific for comparing the received CGI monitor configuration information stored by the home agent monitoring CGI configuration information is the same, and if not both, according to the received configuration information update monitor CGI CGI monitor local agent stored configuration information.
CN 201110110847 2011-04-29 2011-04-29 Cgi monitoring method and apparatus and systems CN102761432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110110847 CN102761432B (en) 2011-04-29 2011-04-29 Cgi monitoring method and apparatus and systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110110847 CN102761432B (en) 2011-04-29 2011-04-29 Cgi monitoring method and apparatus and systems

Publications (2)

Publication Number Publication Date
CN102761432A true true CN102761432A (en) 2012-10-31
CN102761432B CN102761432B (en) 2016-03-30

Family

ID=47055759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110110847 CN102761432B (en) 2011-04-29 2011-04-29 Cgi monitoring method and apparatus and systems

Country Status (1)

Country Link
CN (1) CN102761432B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7289967B1 (en) * 2000-04-13 2007-10-30 Siebel Systems, Inc. Methods of updating information maintained at an intermediary web site
CN101340444A (en) * 2008-08-26 2009-01-07 华为技术有限公司 Fireproof wall and server policy synchronization method, system and apparatus
CN102006182A (en) * 2010-10-15 2011-04-06 广东九博电子科技有限公司 Equipment WEB network management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7289967B1 (en) * 2000-04-13 2007-10-30 Siebel Systems, Inc. Methods of updating information maintained at an intermediary web site
CN101340444A (en) * 2008-08-26 2009-01-07 华为技术有限公司 Fireproof wall and server policy synchronization method, system and apparatus
CN102006182A (en) * 2010-10-15 2011-04-06 广东九博电子科技有限公司 Equipment WEB network management system

Also Published As

Publication number Publication date Type
CN102761432B (en) 2016-03-30 grant

Similar Documents

Publication Publication Date Title
US20030105604A1 (en) Real-time streaming media measurement system and method
US20050256935A1 (en) System and method for managing a network
US7925856B1 (en) Method and apparatus for maintaining an amount of reserve space using virtual placeholders
US20120311562A1 (en) Extendable event processing
CN1668015A (en) Cooperative intrusion detection based large-scale network security defense system
US20060277295A1 (en) Monitoring system and monitoring method
CN102739802A (en) Service application-oriented IT contralized operation and maintenance analyzing system
US20090204696A1 (en) Service dependency discovery in enterprise networks
CN101826993A (en) Method, system and device for monitoring security event
CN101854270A (en) Multisystem running state monitoring method and system
CN103812699A (en) Monitoring management system based on cloud computing
CN102750324A (en) File storage system, file storage device and file access method
CN104618343A (en) Method and system for detecting website threat based on real-time log
CN102970158A (en) Log storage and processing method and log server
CN102368718A (en) Monitoring program method and system thereof
Cui et al. QuickSync: Improving synchronization efficiency for mobile cloud storage services
US20110320870A1 (en) Collecting network-level packets into a data structure in response to an abnormal condition
CN102761454A (en) Method and system for monitoring internet of things
US20120311611A1 (en) Extendable event processing through services
US9167028B1 (en) Monitoring distributed web application transactions
CN101778105A (en) Method, system and equipment for obtaining real-time performance monitoring indicated numbers based on WEB
CN103605722A (en) Method, device and equipment for database monitoring
CN1874267A (en) Method for ensuring accordant configuration information in cluster system
US7480651B1 (en) System and method for notification of group membership changes in a directory service
Rodrigues et al. Automatic reconfiguration for large-scale reliable storage systems

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model