CN106354620B - Resource monitoring method and system - Google Patents

Resource monitoring method and system Download PDF

Info

Publication number
CN106354620B
CN106354620B CN201610797218.3A CN201610797218A CN106354620B CN 106354620 B CN106354620 B CN 106354620B CN 201610797218 A CN201610797218 A CN 201610797218A CN 106354620 B CN106354620 B CN 106354620B
Authority
CN
China
Prior art keywords
query
file
resource
host
file name
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.)
Active
Application number
CN201610797218.3A
Other languages
Chinese (zh)
Other versions
CN106354620A (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201610797218.3A priority Critical patent/CN106354620B/en
Publication of CN106354620A publication Critical patent/CN106354620A/en
Application granted granted Critical
Publication of CN106354620B publication Critical patent/CN106354620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request

Abstract

The invention discloses a resource monitoring method and a system, wherein the method comprises the following steps: the method comprises the steps that a host terminal inquires all environmental resources configured in advance according to a first time interval, and if abnormal environmental resources are inquired, a first file is generated and contains related information of the abnormal resources; registering a first file name of the first file in a query log, and sending abnormal alarm information to a front end; and after receiving the abnormal alarm information, the front end reads the latest registered first file name from the query log, and downloads the first file according to the first file name. The invention can improve the positioning efficiency of abnormal resources.

Description

resource monitoring method and system
Technical Field
The present invention relates to the field of monitoring technologies, and in particular, to a resource monitoring method and system.
Background
in the process of overseas core bank construction, it is found that many development problems are caused by System environment resource problems, such as CICS (Customer Information Control System, which is a product middleware for IBM to provide online transaction processing and transaction management) resources and MQ (Message Queue, which is a middleware for IBM to provide a communication mode management) resources, and the like.
the environment manager cannot grasp the running state of the environment resource in real time, and can only locate and search specific abnormal resources in the background in a manual mode. However, the problem resources cannot be located in real time in a manual mode, the amount of environment resource information is large, and the environment management personnel is required to deeply know the environment resources of the host, so that the environment management personnel is required to have higher technical knowledge and rich experience, and the reasons all result in longer time consumption and lower efficiency for locating abnormal resources.
Disclosure of Invention
in view of this, embodiments of the present invention mainly provide a resource monitoring method and system, which can improve the efficiency of locating an abnormal resource.
the embodiment of the invention provides a resource monitoring method, which comprises the following steps:
The method comprises the steps that a host terminal inquires all environmental resources configured in advance according to a first time interval, and if abnormal environmental resources are inquired, a first file is generated and contains related information of the abnormal resources; registering a first file name of the first file in a query log, and sending abnormal alarm information to a front end;
And after receiving the abnormal alarm information, the front end reads the latest registered first file name from the query log, and downloads the first file according to the first file name.
optionally, the method further includes:
and after the front end downloads the first file, recording part or all of the content in the first file in a chart form.
Optionally, the method further includes:
the host queries all the environmental resources configured in advance according to a second time interval, wherein the second time interval is greater than the first time interval, so that a query result forms a second file, and a second file name of the second file is registered in a query log;
and the front end reads the second file name from the query log and downloads the second file according to the second file name.
Optionally, the method further includes:
And after the front end downloads the second file, recording part or all of the content in the second file in a chart form.
Optionally, the method further includes:
The front end sends a query request carrying resource query conditions to the host end;
After receiving the query request, the host terminal queries the corresponding environmental resource according to the resource query condition, so that the front terminal can obtain the corresponding environmental resource from the host terminal.
Optionally, the sending, by the front end, the query request carrying the resource query condition to the host end includes:
The front end sends a query request carrying a resource query condition and a query task code to the host end;
correspondingly, after receiving the query request, the host terminal queries the corresponding environment resource according to the resource query condition, so that the front terminal obtains the corresponding environment resource from the host terminal, including:
After the host computer end detects the query request, the environment resource is queried according to the resource query condition, and a query file is formed by a query result;
And storing the query file into a specified directory by taking the query task code as a file name so that the front end can download the query file from the specified directory according to the query task code.
Optionally, the method further includes:
and after the front end downloads the query file, recording part or all of the content in the query file in a chart form.
The embodiment of the invention also provides a resource monitoring system, which comprises a host end and a front end:
the host side is used for inquiring all the environmental resources configured in advance according to a first time interval, and if abnormal environmental resources are inquired, a first file is generated, wherein the first file contains related information of the abnormal resources; registering a first file name of the first file in a query log, and sending abnormal alarm information to the front end;
and the front end is used for reading the latest registered first file name from the query log after receiving the abnormal alarm information, and downloading the first file according to the first file name.
optionally, the host is further configured to query all the pre-configured environment resources according to a second time interval, where the second time interval is greater than the first time interval, so that the query result forms a second file, and register a second file name of the second file in the query log;
The front end is further configured to read the second file name from the query log, and download the second file according to the second file name.
Optionally, the front end is further configured to send a query request carrying the resource query condition to the host end;
and the host end is further used for querying the corresponding environment resource according to the resource query condition after receiving the query request, so that the front end can obtain the corresponding environment resource from the host end.
optionally, the front end is specifically configured to send a query request carrying a resource query condition and a query task code to the host end;
the host is specifically configured to, after detecting the query request, query the environmental resources according to the resource query condition, and form a query file with a query result; and storing the query file into a specified directory by taking the query task code as a file name so that the front end can download the query file from the specified directory according to the query task code.
according to the resource monitoring method and system of the host system provided by the embodiment of the invention, a host terminal inquires all environmental resources configured in advance according to a first time interval, and if abnormal environmental resources are inquired, a first file is generated, wherein the first file comprises related information of the abnormal resources; registering a first file name of the first file in a query log, and sending abnormal alarm information to a front end; and after receiving the abnormal alarm information, the front end reads the latest registered first file name from the query log, and downloads the first file according to the first file name. Therefore, the host end can automatically monitor the abnormal resources and immediately inform the abnormal information to the user through the front end, so that the positioning efficiency of the abnormal resources is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a resource monitoring method according to an embodiment of the present invention;
FIG. 2 is a second flowchart illustrating a resource monitoring method according to an embodiment of the present invention;
FIG. 3 is a third flowchart illustrating a resource monitoring method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating a resource query method according to an embodiment of the present invention;
Fig. 5 is a schematic composition diagram of a resource monitoring system according to an embodiment of the present invention.
Detailed Description
in order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a resource monitoring method according to an embodiment of the present invention, and the following describes the embodiment of the present invention with reference to fig. 1.
Referring to fig. 2, a second flowchart of a resource monitoring method according to an embodiment of the present invention is shown, where the method includes steps 201 and 202:
step 201: the method comprises the steps that a host terminal inquires all environmental resources configured in advance according to a first time interval, and if abnormal environmental resources are inquired, a first file is generated and contains related information of the abnormal resources; and registering the first file name of the first file in a query log, and sending abnormal alarm information to the front end.
In this embodiment, it is necessary to configure all environments, for example, a plurality of development test environments for each operation project (such as a banking project), an assembly test environment for different operation projects, and the like, in advance on the host side, configure an environment resource list for each environment, and configure a resource state identification condition for each environment resource, which is an abnormal resource in which case, and a normal resource in which case. It should be noted that, for a certain type of resource, for example, a CICS resource, different resource state identification conditions may be set for different specific resources contained in the resource.
After the configuration is completed, a persistent job for monitoring the environment is set at the host, which can query all environment resources in the environment resource list configured at the host at the first time interval (e.g. 1 second, 2 seconds, etc.), determine whether each resource is an abnormal resource according to the queried resource state, if the resource is an abnormal resource, immediately form an abnormal result file, i.e. the first file, for the abnormal resource, and store the abnormal result file in a specified directory, e.g. in a specified folder of a specified storage device, where the abnormal result file may include related description information of the abnormal resource, e.g. which abnormal resources are involved, which abnormal situations occur, and the like. The frequently-hanging operation also configures a file name for the abnormal result file, registers the file name in a specified query log, and immediately sends an abnormal alarm message to the front end to inform the front end of monitoring abnormal resources.
To facilitate understanding of the above step 201, the following is exemplified:
For example, in a CICS resource, a plurality of AORs (Application-associated regions) and a plurality of TORs (Terminal-associated regions) may be configured, but at least one AOR and at least one TOR must be guaranteed to work in the environment, so that the respective numbers of AORs and TORs in a working state may be used as a resource state identification condition for a specific resource, AORs and TORs, in the CICS resource, where the resource state identification condition is specifically: and if the number of the AORs in the working state is more than 1, the AORs are normal resources, otherwise, the AORs are abnormal resources, if the number of the TORs in the working state is more than 1, the TORs are normal resources, and otherwise, the TORs are abnormal resources.
assuming that the host-side hanging job queries that there are 4 AORs and 4 TORs in total in the CICS resource, wherein there are 1 AOR and 1 TOR state being active, 2 AOR and 2 TOR states being running, 1 AOR and 1 TOR state being inactive, that is, there are 3 AORs and 3 TORs in working state, and the AORs and TORs at this time are considered as normal resources; if 1 AOR and 1 TOR state are active, and other AOR and TOR states are not active, namely 1 AOR and 1 TOR are in working state, the resource state is in critical normal state, the AOR and TOR at the moment are regarded as abnormal resources, the hanging operation can generate an abnormal result file, and an abnormal alarm message can be sent to the front end; if only 1 AOR or only 1 TOR state is active, and other AOR and TOR states are not active, namely only 1 AOR or only 1 TOR is in a working state, the AOR and the TOR at the moment are also regarded as abnormal resources, and the frequent hang operation can generate an abnormal result file and send an abnormal alarm message to the front end. The abnormal result file may include the number of AORs and TORs in the working state, and the number of AORs and TORs in the resource abnormal condition, that is, the respective working number of AORs and/or TORs is less than 1.
step 202: and after receiving the abnormal alarm information, the front end reads the latest registered first file name from the query log, and downloads the first file according to the first file name.
in step 202, the first file may be obtained by any one of the following manners:
In the first mode, the front end can automatically acquire an abnormal result file (namely the first file). Specifically, after receiving the abnormality alarm information, the front end may immediately read the query log, obtain a file name of the latest registered abnormality result file from the query log, and then download the abnormality result file corresponding to the file name from the specified directory according to the file name.
In the second mode, the front end can passively acquire an abnormal result file (i.e. the first file). Specifically, after the front end receives the abnormal alarm information, a user can access the query log through the front end, obtain a file name of any registered abnormal result file from the query log, and download the abnormal result file corresponding to the file name from the specified directory according to the file name; the generation time may be configured for each file name registered in the query log, so that the user may query the file name of the abnormal result file not downloaded from the generation time according to the time.
further, after step 202, the method may further include: and after the front end downloads the first file, recording part or all of the content in the first file in a chart form. Specifically, the user equipment includes a front end and a back end, the front end may include a graph generation module shown in fig. 1, the back end may include a data analysis module shown in fig. 1 and a communication module for communicating with the host end, the front end may analyze the first file through the data analysis module shown in fig. 1 to generate a required data index, and store the generated data index into a database for recording abnormal resource information, the front end accesses the data index in the database through the graph generation module shown in fig. 1, and generates and displays a graph according to the data indexes.
In the resource monitoring method of the host system provided by the embodiment of the present invention, the host queries all the environmental resources configured in advance according to a first time interval, and if an abnormal environmental resource is queried, generates a first file, where the first file includes related information of the abnormal resource; registering a first file name of the first file in a query log, and sending abnormal alarm information to a front end; and after receiving the abnormal alarm information, the front end reads the latest registered first file name from the query log, and downloads the first file according to the first file name. Therefore, the host end can automatically monitor the abnormal resources and immediately inform the abnormal information to the user through the front end, so that the positioning efficiency of the abnormal resources is improved.
further, fig. 3 is a third schematic flow chart of the resource monitoring method according to the embodiment of the present invention, and the embodiment of the present invention may further include steps 301 and 302:
step 301: and the host terminal inquires all the pre-configured environment resources according to a second time interval, wherein the second time interval is greater than the first time interval, so that the inquiry result forms a second file, and the second file name of the second file is registered in the inquiry log.
Regarding the frequently-hanging job set by the host, it can also query the states of all environment resources configured by the host at a second time interval (e.g. 30 seconds, or 60 seconds, etc.) by itself within the time period of this time interval, and form a resource result file, i.e. the second file, for the obtained query result, and store it in a specified directory, e.g. in a specified folder of a specified storage device, where the resource result file may include related description information of each specific resource, e.g. which resources are related, what normal state or abnormal state these resources are in at different times, and so on. The persistent job may register the file name of the resource result file in a specified query log so that the user can query the status of all resources in the interval period through the front end.
Step 302: and the front end reads the second file name from the query log and downloads the second file according to the second file name.
In step 302, the second file may be obtained by any one of the following manners:
in the first mode, the front end may automatically obtain the resource result file (i.e., the second file). Specifically, the persistent job may send a resource update notification to the front end immediately after generating a new resource result file, and the front end may read the query log immediately after receiving the resource update notification, obtain a file name of the latest registered resource result file from the query log, and then download the resource result file corresponding to the file name from the specified directory according to the file name.
In the second mode, the front end may passively obtain the resource result file (i.e., the second file). Specifically, after generating a new resource result file, the above-mentioned frequent hanging job may immediately send a resource update notification to the front end, and after the front end receives the resource update notification, the user may access the query log through the front end, obtain a file name of any registered resource result file from the query log, and download the resource result file corresponding to the file name from the directory according to the file name; the generation time can be configured for each file name registered in the query log, so that the user can query the file names of the resource result files which are not downloaded according to the time.
further, after step 302, the method may further include: and after the front end downloads the second file, recording part or all of the content in the second file in a chart form. Specifically, the user equipment includes a front end and a back end, the front end may include a graph generation module shown in fig. 1, the back end may include a data analysis module shown in fig. 1 and a communication module for communicating with the host end, the front end may analyze the second file through the data analysis module shown in fig. 1 to generate a required data index, and store the generated data index into a database for recording environment resource information, the front end accesses the data index in the database through the graph generation module shown in fig. 1, and generates and displays a graph according to the data index.
further, the embodiment of the present invention also supports a resource query function, referring to a flow diagram of a resource query method shown in fig. 4, which may include steps 401 and 402:
Step 401: the front end sends a query request carrying resource query conditions to the host end.
in this embodiment, a user may perform resource query through the front end as needed, for example, query an operating environment of a specific tool, query a certain environment or all environments, query a certain type of resources or all resources, and the like, and the user may input a query resource condition in a resource query interface provided by the front end, for example, input "CICS resources, and then send a query request carrying" CICS resources, where the query period is 2016 year 8, month 1 ", to the host end, so that the host end queries related information of the CICS resources.
In some embodiments, step 401 may comprise: the front end sends a query request carrying the resource query condition and the query task code to the host end. In this embodiment, the front end may generate a unique query task number after acquiring the resource query condition input by the user, and send the query request carrying the resource query condition and the query task number to the host end.
Step 402: after receiving the query request, the host terminal queries the corresponding environmental resource according to the resource query condition, so that the front terminal can obtain the corresponding environmental resource from the host terminal.
In this embodiment, after receiving the query request, the host analyzes the resource query condition from the query request, for example, analyzes "CICS resource, and the query time period is 2016 year 8 month 1 day", at this time, the host queries the relevant information of the CICS resource in 2016 year 8 month 1 day, and returns the query result to the front end or is downloaded by the front end.
when sending the query request to the host, the front end may send the resource query condition and the query task number to the host in a manner of a command File plus a command signal, for example, in a manner of a command File using an FTP (File Transfer Protocol), and send the command signal to the host.
In some embodiments, step 402 comprises: after the host computer end detects the query request, the environment resource is queried according to the resource query condition, and a query file is formed by a query result; and storing the query file into a specified directory by taking the query task code as a file name so that the front end can download the query file from the specified directory according to the query task code. In this embodiment, the host end detects the command signal at a time interval (e.g., 1 second, 2 seconds, etc.) when the normal hanging operation is performed, and performs resource query by using the resource query condition in the corresponding command file after detecting the command signal, and forms a file of the query result according to the agreed format to be stored in the directory, for example, the file is stored in a designated folder of a designated storage device, the file name of the query file is the query task number, the host end can directly return the query file to the front end, or can send a query completion notification to the front end, so that the user downloads the query file through the front end, that is, the query file is downloaded by accessing the designated directory by using the query task code.
Further, after step 402, the method may further include: and after the front end downloads the query file, recording part or all of the content in the query file in a chart form. Specifically, the user equipment includes a front end and a back end, the front end may include a graph generation module shown in fig. 1, the back end may include a data analysis module shown in fig. 1 and a communication module for communicating with the host end, the front end may analyze the query file through the data analysis module shown in fig. 1 to generate a required data index, and store the generated data index into a database for recording environment resource information, the front end accesses the data index in the database through the graph generation module shown in fig. 1, and generates and displays a graph according to the data index.
By the method, the embodiment of the invention can enable the environment management personnel to maintain the environment without manual background maintenance, provides an easy-to-operate front end for the environment management personnel, facilitates daily maintenance, improves project execution efficiency, can monitor the environment condition in real time, collects system resource information in real time, performs multi-dimensional statistical analysis, displays the environment condition in a graphical mode and provides an automatic early warning function.
to implement the above method, the present embodiment may adopt the following programming languages, communication protocols, file codes and database forms:
the host-side programming language may employ: IBM COBOL, IBM REXX;
the front-end programming language may employ: JAVA \ PHP;
the network communication protocol between the host end and the front end can adopt TCP/IP and FTP;
The file code system can adopt: EBCDIC, ASCII and UNICODE code systems;
the database may employ: DB2, MYSQL.
Referring to fig. 5, a schematic diagram of a resource monitoring system provided in an embodiment of the present invention includes a host 501 and a front end 502:
The host 501 is configured to query all pre-configured environmental resources at a first time interval, and if abnormal environmental resources are queried, generate a first file, where the first file includes related information of the abnormal resources; registering a first file name of the first file in a query log, and sending abnormal alarm information to the front end 502;
The front end 502 is configured to, after receiving the abnormal alarm information, read the latest registered first filename from the query log, and download the first file according to the first filename.
the front end 502 is further configured to record, in a form of a graph, part or all of the content in the first file after being downloaded to the first file.
In some embodiments, the host 501 is further configured to query all the environmental resources configured in advance according to a second time interval, where the second time interval is greater than the first time interval, so that the query result forms a second file, and a second file name of the second file is registered in the query log;
The front end 502 is further configured to read the second file name from the query log, and download the second file according to the second file name.
the front end 502 is further configured to record, in a form of a graph, part or all of the content in the second file after being downloaded to the second file.
in some embodiments, the front end 502 is further configured to send a query request carrying a resource query condition to the host 501;
the host 501 is further configured to query, after receiving the query request, the corresponding environment resource according to the resource query condition, so that the front end 502 obtains the corresponding environment resource from the host 501.
The front end 502 is specifically configured to send a query request carrying a resource query condition and a query task code to the host 501;
The host 501 is specifically configured to, after detecting the query request, query the environmental resource according to the resource query condition, and form a query file with a query result; and storing the query file into a specified directory by taking the query task code as a file name so that the front end 502 can download the query file from the specified directory according to the query task code.
the front end 502 is further configured to record part or all of the content in the query file in a form of a graph after the query file is downloaded.
as can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present invention.
it should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
the previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (11)

1. a method for resource monitoring, comprising:
the method comprises the steps that a host terminal inquires all environmental resources configured in advance according to a first time interval, and if abnormal environmental resources are inquired, a first file is generated and contains related information of the abnormal resources; registering a first file name of the first file in a query log, and sending abnormal alarm information to a front end; the query log is a pre-designated log;
And after receiving the abnormal alarm information, the front end reads the latest registered first file name from the query log, and downloads the first file according to the first file name.
2. The method of claim 1, further comprising:
And after the front end downloads the first file, recording part or all of the content in the first file in a chart form.
3. The method of claim 1, further comprising:
The host queries all the environmental resources configured in advance according to a second time interval, wherein the second time interval is greater than the first time interval, so that a query result forms a second file, and a second file name of the second file is registered in a query log;
And the front end reads the second file name from the query log and downloads the second file according to the second file name.
4. The method of claim 3, further comprising:
and after the front end downloads the second file, recording part or all of the content in the second file in a chart form.
5. the method according to any one of claims 1 to 4, further comprising:
the front end sends a query request carrying resource query conditions to the host end;
After receiving the query request, the host terminal queries the corresponding environmental resource according to the resource query condition, so that the front terminal can obtain the corresponding environmental resource from the host terminal.
6. The method of claim 5, wherein the sending, by the front end, the query request carrying the resource query condition to the host end comprises:
the front end sends a query request carrying a resource query condition and a query task code to the host end;
Correspondingly, after receiving the query request, the host terminal queries the corresponding environment resource according to the resource query condition, so that the front terminal obtains the corresponding environment resource from the host terminal, including:
After the host computer end detects the query request, the environment resource is queried according to the resource query condition, and a query file is formed by a query result;
And storing the query file into a specified directory by taking the query task code as a file name so that the front end can download the query file from the specified directory according to the query task code.
7. the method of claim 6, further comprising:
and after the front end downloads the query file, recording part or all of the content in the query file in a chart form.
8. A resource monitoring system is characterized by comprising a host end and a front end:
the host side is used for inquiring all the environmental resources configured in advance according to a first time interval, and if abnormal environmental resources are inquired, a first file is generated, wherein the first file contains related information of the abnormal resources; registering a first file name of the first file in a query log, and sending abnormal alarm information to the front end; the query log is a pre-designated log;
And the front end is used for reading the latest registered first file name from the query log after receiving the abnormal alarm information, and downloading the first file according to the first file name.
9. The system of claim 8,
the host side is further configured to query all the environmental resources configured in advance according to a second time interval, where the second time interval is greater than the first time interval, so that the query result forms a second file, and a second file name of the second file is registered in the query log;
The front end is further configured to read the second file name from the query log, and download the second file according to the second file name.
10. The system of claim 8 or 9,
the front end is also used for sending a query request carrying resource query conditions to the host end;
and the host end is further used for querying the corresponding environment resource according to the resource query condition after receiving the query request, so that the front end can obtain the corresponding environment resource from the host end.
11. The system of claim 10,
The front end is specifically used for sending a query request carrying a resource query condition and a query task code to the host end;
The host is specifically configured to, after detecting the query request, query the environmental resources according to the resource query condition, and form a query file with a query result; and storing the query file into a specified directory by taking the query task code as a file name so that the front end can download the query file from the specified directory according to the query task code.
CN201610797218.3A 2016-08-31 2016-08-31 Resource monitoring method and system Active CN106354620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610797218.3A CN106354620B (en) 2016-08-31 2016-08-31 Resource monitoring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610797218.3A CN106354620B (en) 2016-08-31 2016-08-31 Resource monitoring method and system

Publications (2)

Publication Number Publication Date
CN106354620A CN106354620A (en) 2017-01-25
CN106354620B true CN106354620B (en) 2019-12-10

Family

ID=57858800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610797218.3A Active CN106354620B (en) 2016-08-31 2016-08-31 Resource monitoring method and system

Country Status (1)

Country Link
CN (1) CN106354620B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897873B (en) * 2018-07-03 2022-05-27 中国银行股份有限公司 Method and device for generating job file, storage medium and processor

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009883A (en) * 2014-05-09 2014-08-27 烽火通信科技股份有限公司 Computer resource centralized remote real-time monitoring system and method
CN104123104A (en) * 2014-08-13 2014-10-29 中国银行股份有限公司 Log control system and method
CN104182683A (en) * 2014-07-30 2014-12-03 中国工商银行股份有限公司 Method, device and system for monitoring online transactions
CN104375921A (en) * 2014-10-29 2015-02-25 中国建设银行股份有限公司 Method and system specially for checking IBM mainframe
CN104468725A (en) * 2014-11-06 2015-03-25 浪潮(北京)电子信息产业有限公司 High-availability cluster software maintaining method, device and system
CN104639374A (en) * 2015-03-03 2015-05-20 上海瀚银信息技术有限公司 Application program deployment management system
CN105279651A (en) * 2015-11-16 2016-01-27 中国建设银行股份有限公司 Transaction data monitoring processing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040093348A1 (en) * 2002-02-22 2004-05-13 Ovidiu Stavrica Method for automated management and intelligent administration of compliant computers

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009883A (en) * 2014-05-09 2014-08-27 烽火通信科技股份有限公司 Computer resource centralized remote real-time monitoring system and method
CN104182683A (en) * 2014-07-30 2014-12-03 中国工商银行股份有限公司 Method, device and system for monitoring online transactions
CN104123104A (en) * 2014-08-13 2014-10-29 中国银行股份有限公司 Log control system and method
CN104375921A (en) * 2014-10-29 2015-02-25 中国建设银行股份有限公司 Method and system specially for checking IBM mainframe
CN104468725A (en) * 2014-11-06 2015-03-25 浪潮(北京)电子信息产业有限公司 High-availability cluster software maintaining method, device and system
CN104639374A (en) * 2015-03-03 2015-05-20 上海瀚银信息技术有限公司 Application program deployment management system
CN105279651A (en) * 2015-11-16 2016-01-27 中国建设银行股份有限公司 Transaction data monitoring processing method and system

Also Published As

Publication number Publication date
CN106354620A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
EP3811201B1 (en) Reducing overhead of software deployment based on existing deployment occurrences
Mayer et al. An approach to extract the architecture of microservice-based software systems
EP2808790B1 (en) Migration assessment for cloud computing platforms
US9015315B2 (en) Identification and monitoring of distributed business transactions
CN111723313A (en) Page jump processing method, device, equipment and storage medium
US11372635B2 (en) In-memory software package installation and testing
US20140344273A1 (en) System and method for categorizing time expenditure of a computing device user
US20060116981A1 (en) Method and system for automated data collection and analysis of a computer system
CN102915269B (en) Method analyzed in the general journal of a kind of B/S software system
EP3759611A1 (en) Data retention handling for data object stores
CN111355622A (en) Container traffic monitoring method, system and computer readable storage medium
CN113434464A (en) Distributed log processing system and method
CN112084249A (en) Access record extraction method and device
CA2668958A1 (en) System and method for managing batch production
CN110688354B (en) Analysis method of slow log file in database, terminal and storage medium
CN106354620B (en) Resource monitoring method and system
CN111782481A (en) Universal data interface monitoring system and monitoring method
CN112416701B (en) Service data monitoring method and device, computer equipment and readable storage medium
CN114328152A (en) Log recording method, device, equipment and medium
CN110413496B (en) Method for realizing componentized collection of electronic license operation data
CN113656378A (en) Server management method, device and medium
CN110852743A (en) Data acquisition method and device
CN113051329B (en) Data acquisition method, device, equipment and storage medium based on interface
US20230244686A1 (en) Automatic determination of alternative paths for a process flow using machine learning
CN110351293B (en) Method, device and system for sending information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant