CN106161050B - Problem resource indicating device and problem resource indicating method - Google Patents

Problem resource indicating device and problem resource indicating method Download PDF

Info

Publication number
CN106161050B
CN106161050B CN201510145085.7A CN201510145085A CN106161050B CN 106161050 B CN106161050 B CN 106161050B CN 201510145085 A CN201510145085 A CN 201510145085A CN 106161050 B CN106161050 B CN 106161050B
Authority
CN
China
Prior art keywords
resource
state
information
indication
server
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
CN201510145085.7A
Other languages
Chinese (zh)
Other versions
CN106161050A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510145085.7A priority Critical patent/CN106161050B/en
Publication of CN106161050A publication Critical patent/CN106161050A/en
Application granted granted Critical
Publication of CN106161050B publication Critical patent/CN106161050B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a problem resource indicating device, which is applied to a system with at least one resource, and comprises: the resource state query module is configured to perform dynamic resource state query and acquire resource state information of the resource; a resource status analysis module configured to analyze the resource status information acquired by the resource status query module; and a problem resource indication module configured to provide indication information indicating a resource in which a problem occurs when the analysis satisfies a first condition.

Description

Problem resource indicating device and problem resource indicating method
Technical Field
The present invention relates to a problem resource indicating device and a problem resource indicating method, and more particularly, to a problem resource indicating device and a problem resource indicating method capable of quickly and efficiently locating a problem resource.
Background
Conventional log processing methods are generally unable to locate problem resources quickly and efficiently. For example, in the field of cloud computing, log generation and analysis tools such as log4j are used to print and analyze logs, and operation logs of different resources by different users are mixed together and uniformly processed, which is not only inefficient, but also fails to automatically ensure the regularity of the states of the operated resources, and therefore, related problems of resources in the cloud computing environment cannot be quickly and effectively located, and even potential problems of the system cannot be effectively discovered.
Disclosure of Invention
In order to solve the above technical problems, an object of the present invention is to provide a problem resource indicating apparatus and a problem resource indicating method capable of quickly and efficiently locating a problem resource.
According to an aspect of the present invention, there is provided a problem resource indicating apparatus for use in a system having at least one resource, the problem resource indicating apparatus comprising: the resource state query module is configured to perform dynamic resource state query and acquire resource state information of the resource; a resource status analysis module configured to analyze the resource status information acquired by the resource status query module; and a problem resource indication module configured to provide indication information indicating a resource in which a problem occurs when the analysis satisfies a first condition.
According to another aspect of the present invention, there is provided a problem resource indicating method, which is applied to a system having at least one resource, the problem resource indicating method including: performing dynamic resource state query and acquiring resource state information of the resource; analyzing the acquired resource state information; and providing indication information indicating the resource with the problem when the analysis meets the first condition.
Technical effects
Therefore, according to the problem resource indicating device and the problem resource indicating method, the resource state information is acquired and analyzed, and when the analysis meets the first condition, the indicating information is provided to indicate the resource with the problem, so that the problem resource positioning efficiency is improved, the regularity of the resource state is ensured, and the potential problem of the system is found.
Drawings
The above and other objects, advantages and features of the present invention can be more fully understood by referring to the accompanying drawings in which:
fig. 1 is a functional block diagram showing a configuration of an issue resource indicating apparatus according to an embodiment of the present invention; and
FIG. 2 is a flow diagram illustrating a problem resource indication method according to an embodiment of the present invention.
The drawings are intended to depict example embodiments of the invention, and should not be interpreted as limiting the scope of the invention. The drawings are not to be considered as drawn to scale unless explicitly indicated.
Detailed Description
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the present specification and the drawings, substantially the same elements and functions will be denoted by the same reference numerals, and repetitive description thereof will be omitted. Moreover, descriptions of functions and constructions well known in the art may be omitted for clarity and conciseness.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a functional block diagram showing a configuration of an issue resource indicating apparatus 1 according to an embodiment of the present invention. The problem resource indicating apparatus 1 according to the embodiment of the present invention can be applied to a system having at least one resource. The resource may be various types, and may be an electronic device such as a server, a desktop computer, a notebook computer, a tablet computer, a smartphone, a personal digital assistant, a smart wearable device, or the like, or an application program, a URL address, an IP address, a virtual machine, or the like. The system may be an internet system, a local area network system, a cloud system, etc. including the above-described electronic devices.
As shown in fig. 1, the problem resource indicating apparatus 1 includes a resource status query module 11, a resource status analysis module 12, and a problem resource indicating module 13. The resource status query module 11, the resource status analysis module 12, and the problem resource indication module 13 will be described in detail below.
The resource status query module 11 is configured to perform dynamic resource status query and obtain resource status information of the resource. The categories of resource states also differ for different categories of resources. For example, if the resource is an IP address, the resource status includes: IP address unassigned for use, IP address assigned but unbound, IP address assigned and bound, etc.; if the resource is a server, the resource state includes: server startup, server restart, server dormancy, server shutdown and the like; if the resource is an application, the resource state includes: the application is not installed, the application is not started, the application is upgraded, the application is exited, and the like. Although the resource status is shown by way of example, the present invention is not limited thereto, and those skilled in the art can query the corresponding resource status and obtain the resource status information according to the actually used system and resource.
Preferably, the resource status query module 11 queries the resource status information and obtains the resource status information by: and calling a resource log, inquiring the state of the resource in the resource log by using an inquiry algorithm, and extracting resource state information of the resource. The resource log may be stored in a non-volatile memory such as a hard disk, a flash memory, or the like in the form of a log file, in which case the resource status query module 11 obtains the required resource status information by reading the log file from the non-volatile memory and invoking an application such as a log4j log analysis tool to analyze the extracted log file. The resource log may also be recorded in a database in the form of a list or an item, in which case, the resource status query module 11 may construct a database query statement through a default parameter or a parameter set by a user, so as to query and acquire a resource status corresponding to the parameter and acquire resource status information.
It should be noted that the resource status information acquired by the resource status query module 11 includes not only the current resource status information of the queried resource but also the historical resource status information of the queried resource. For example, if the resource queried by the resource status query module 11 is a server, and the server is currently in a dormant state, and undergoes power-on and reboot operations before the dormant state, the resource status information obtained by the resource status query module 11 may be as follows: server startup-server restart-server hibernation.
In addition, the resource status information obtained by the resource status query module 11 may be a single item of information such as "server boot" and "IP address allocated and bound" as described above, or may be multiple items of information including other associated contents, such as "server boot, time 09:00, USER1, …", where the resource status information in the form of multiple items of information is beneficial to the operations of the resource status analysis module 12 (described later) and the problem resource indication module 13 (described later), thereby helping to more efficiently locate a resource with a problem and providing more comprehensive problem resource information to the USER, and helping to solve the problem of the resource for the USER.
It should be noted that the resource status query module 11 may obtain the resource status information in real time, for example, monitor the update condition of the resource log list or resource log items in the database in real time through the database query statement, or select the resource status information according to the needs of the user, for example, when it is necessary to determine whether a resource has a problem according to the settings of the user, establish the database query statement to obtain the resource status information of the resource.
Although the resource status information is obtained by querying the resource log, the present invention is not limited thereto, and the resource status information may be obtained by other means. For example, the resource status query module 11 may maintain an associated state machine for each resource to be queried, where the state machine records resource status information of each resource in real time.
The resource status analysis module 12 is configured to analyze the resource status information acquired by the resource status query module 11.
Preferably, the analysis of the resource status information by the resource status analysis module 12 includes analyzing whether specific information is missing from the resource status information.
The specific information may be time-related information, that is, a plurality of resource status information that are temporally consecutive in the running process of the resource. Taking a server as an inquiry object of the resource status inquiry module 11 and an analysis object of the resource status analysis module 12 as an example, under a normal condition, an operation process of the server is generally divided into the following stages in sequence: starting up the server, restarting the server and shutting down the server. It is assumed that the resource status information acquired by the resource status query module 11 is: in this case, the resource state analysis module 12 analyzes the resource state to obtain: the acquired resource status information does not lack specific information. It is assumed that the resource status information acquired by the resource status query module 11 is: in this case, since the server lacks the power-on operation, the resource state analysis module 12 analyzes the resource state to obtain: the acquired resource status information lacks specific information.
The specific information may also be condition-related information, i.e. a plurality of resource states of the resource which are successive in terms of conditions during the operation process. Taking an application as an inquiry object of the resource status inquiry module 11 and an analysis object of the resource status analysis module 12 as an example, as known by those skilled in the art, a precondition for upgrading the application is that an available application upgrade package exists, and therefore, under a normal condition, the resource status information of the application may be as follows: the application detects an available upgrade package-application upgrade. Assuming that the application resource status information acquired by the resource status query module 11 does not include "the application detects an available upgrade package", in this case, the resource status analysis module 12, after performing the analysis, yields: the acquired resource status information lacks specific information.
Although the specific information is shown above by way of example, the present invention is not limited thereto, and the specific information may also be other information associated with the resource status information acquired by the resource status query module 11.
Preferably, the analyzing of the resource state information by the resource state analyzing module 12 includes analyzing a life cycle of the resource, where the resource state analyzing module 12 maintains a related state machine for each running resource, and the state machine judges whether a current resource state is normal in real time.
The judgment of the state machine on whether the resource state is normal or not may be based on the judgment of a plurality of resource state information which are temporally successive. The resource status changes usually satisfy a certain rule with regularity. Taking a server as an inquiry object of the resource state inquiry module 11 and an analysis object of the resource state analysis module 12 as examples, assuming that a normal life cycle of the server is as follows: server startup-server restart-server shutdown, i.e., "server startup" is the beginning of the server lifecycle, and "server shutdown" is the end of the server lifecycle. If the resource status information obtained by the resource status query module 11 is: the server is in a sleep state before the server is in the shutdown operation, in this case, the state machine judges that the life cycle of the server is abnormal, and the current sleep state is an abnormal state, namely the server should not enter the sleep state after shutdown. By prompting the user to solve the problem that the server enters the dormant state after being shut down, the regularity of the server resource state can be restored.
The judgment of the state machine on whether the resource state is normal or not can also be the judgment on the resource state information type of the resource. Still taking the server as the query object of the resource status query module 11 and the analysis object of the resource status analysis module 12 as examples, it is assumed that the resource status information of the server includes the following: if the resource state information of the server is inquired by the resource state inquiry module 11 to be 'application program starting', the state machine judges that the server has an abnormal state. The problem resource indication module 13 (described in detail below) prompts the abnormal state to help the user to find and solve the problem of the server, so as to ensure the regularity of the resource state of the server.
The problem resource indication module 13 is configured to provide indication information indicating a resource in which a problem occurs when the analysis satisfies a first condition.
Preferably, the first condition is that the resource status analysis module 12 analyzes that specific information is absent from the resource status information. As described above, the specific information may be time-related information, i.e., a plurality of resource state information of the resource temporally successive in the running process, or may be condition-related information, i.e., a plurality of resource states of the resource conditionally successive in the running process. For examples of the specific information, see above, and are not described herein again.
Preferably, the first condition is that the resource status analysis module 12 analyzes that the life cycle of the resource is abnormal. The resource status analysis module 12 may maintain a relevant state machine for each running resource, and the state machine may determine whether the current resource status is normal in real time. For an example of the determination of the state machine, reference is made above, and details are not repeated here.
The indication information may be a prompt dialog box popped up on a display of the electronic device, or a prompt voice output through a speaker of the electronic device, or a resource log indicating a resource with a problem in the resource log by outputting the resource log. It should be noted that the prompt message can either briefly prompt the resource with the problem or indicate the resource with the problem, what the specific problem is, and other contents in detail. For example, as described above, it is assumed that the resource status information acquired by the resource status query module 11 is: the server is restarted, the server is shut down, and the resource state analysis module 12 analyzes the resource state to obtain: the acquired resource status information lacks specific information, and in this case, the indication information may display "the server lacks a power-on operation" by popping up a prompt dialog box on the display.
Although several forms of indication information are shown above by way of example, the present invention is not limited thereto, and those skilled in the art can select different forms of indication information as needed as long as they can function as a resource for indicating that a problem occurs.
Furthermore, the problem resource indicating apparatus according to an embodiment of the present invention may further include a resource log output module configured to output a resource log based on the resource status information and the indication information. The resource log may be further analyzed using a log analysis tool. Since the resource and corresponding problem indicated by the hint information may be only one representation of the problem behind which other problems of the system may be hidden, further analysis of the resource log by using a logging tool helps to discover and resolve potential problems with the system based on locating the problem resource.
As can be seen from this, the problem resource indicating apparatus 1 according to the embodiment of the present invention implements resource-oriented analysis by acquiring resource status information and analyzing the resource status information, and providing indication information to indicate a resource in which a problem occurs when the analysis satisfies a first condition, so that the resource in which a problem occurs can be quickly located, and it is helpful to quickly analyze the cause of the problem and solve the problem, thereby overcoming the defect in the prior art that only a fault can be prompted through the fault-oriented analysis, and the source and the cause of the fault cannot be located.
A problem resource indication method 200 according to an embodiment of the present invention will be described in detail below with reference to fig. 2. For convenience of description, the respective components of the problem resource indicating apparatus 1 shown in fig. 1 will be explained herein with reference to the drawings, and thus detailed descriptions thereof will be omitted.
As shown in fig. 2, in step S201, a dynamic resource status query is performed and resource status information of the resource is acquired.
Specifically, the resource status query module 11 performs dynamic resource status query and obtains the resource status information of the resource. The categories of resource states also differ for different categories of resources. For example, if the resource is an IP address, the resource status includes: IP address unassigned for use, IP address assigned but unbound, IP address assigned and bound, etc.; if the resource is a server, the resource state includes: server startup, server restart, server dormancy, server shutdown and the like; if the resource is an application, the resource state includes: the application is not installed, the application is not started, the application is upgraded, the application is exited, and the like. Although the resource status is shown by way of example, the present invention is not limited thereto, and those skilled in the art can query the resource status query module 11 for the corresponding resource status and obtain the resource status information according to the actually used system and resource.
Preferably, the resource status information is queried and obtained by the following method: and calling a resource log, inquiring the state of the resource in the resource log by using an inquiry algorithm, and extracting resource state information of the resource. The resource log may be stored in a non-volatile memory such as a hard disk, a flash memory, or the like in the form of a log file, in which case the resource status query module 11 obtains the required resource status information by reading the log file from the non-volatile memory and invoking an application such as a log4j log analysis tool to analyze the extracted log file. The resource log may also be recorded in a database in the form of a list or an item, in which case, the resource status query module 11 may construct a database query statement through a default parameter or a parameter set by a user, so as to query and acquire a resource status corresponding to the parameter and acquire resource status information.
It should be noted that the resource status information acquired in step S201 includes not only the current resource status information of the queried resource but also the historical resource status information of the queried resource. For example, if the resource queried by the resource status querying module 11 is a server, and the server is currently in a dormant state, and is subjected to power-on and reboot operations before the dormant state, the resource status information obtained in step S201 may be as follows: server startup-server restart-server hibernation.
In addition, the resource status information obtained in step S201 may be a single item of information such as "server boot" and "IP address allocated and bound" as described above, or may be multiple items of information including other associated contents, such as "server boot, time 09:00, USER1, …", where the multiple items of information are in the form of resource status information that facilitates operations of step S202 (described later) and step S203 (described later), thereby facilitating more efficient location of a resource that has a problem and providing more comprehensive problem resource information to the USER, and facilitating solution of the problem of the resource for the USER.
It should be noted that, in step S201, the resource status query module 11 may obtain the resource status information in real time, for example, the update condition of the resource log list or resource log items in the database is monitored in real time through the database query statement, or the resource status information of a resource is obtained by establishing the database query statement according to the needs of the user, for example, when it is needed to determine whether a resource has a problem according to the settings of the user.
Although the resource status information is obtained by querying the resource log, the present invention is not limited thereto, and the resource status information may be obtained by other means. For example, in step S201, an associated state machine may be maintained for each resource to be queried, and the state machine records resource state information of each resource in real time.
In step S202, the acquired resource status information is analyzed.
Preferably, the resource status analysis module 12 analyzes the resource status information obtained in step S201, and the analysis includes analyzing whether specific information is absent in the resource status information.
The specific information may be time-related information, that is, a plurality of resource status information that are temporally consecutive in the running process of the resource. Taking the server as the query object in step S201 and the analysis object in step S202 as an example, under normal conditions, the operation process of the server is generally divided into the following stages in sequence: starting up the server, restarting the server and shutting down the server. It is assumed that the resource status information acquired by the resource status query module 11 is: in this case, the resource state analysis module 12 analyzes the resource state to obtain: the acquired resource status information does not lack specific information. Assume that the resource status information acquired at step S201 is: server restart-server shutdown, that is, in the current state, the server is in the shutdown state, and before that, the server has only a restart operation, in this case, since the server lacks a startup operation, step S202, after analyzing the resource state, obtains: the acquired resource status information lacks specific information.
The specific information may also be condition-related information, i.e. a plurality of resource states of the resource which are successive in terms of conditions during the operation process. Taking the application as the query object in step S201 and the analysis object in step S202 as an example, as known to those skilled in the art, the precondition of the application upgrade is that there is an available application upgrade package, so under normal circumstances, the resource state information of the application may be as follows: the application detects an available upgrade package-application upgrade. Assuming that the application resource status information acquired by step S201 does not include "application detected available upgrade package", in this case, step S202, after analysis, yields: the acquired resource status information lacks specific information.
Although the specific information is shown above by way of example, the present invention is not limited thereto, and the specific information may also be other information associated with the resource status information acquired at step S201.
Preferably, the analyzing of the resource state information obtained in step S201 by the resource state analyzing module 12 includes analyzing a life cycle of the resource, where the resource state analyzing module 12 maintains a related state machine for each running resource, and the state machine judges whether a current resource state is normal in real time.
The judgment of the state machine on whether the resource state is normal or not may be based on the judgment of a plurality of resource state information which are temporally successive. The resource status changes usually satisfy a certain rule with regularity. Taking the server as the query object in step S201 and the analysis object in step S202 as examples, it is assumed that the normal life cycle of the server is: server startup-server restart-server shutdown, i.e., "server startup" is the beginning of the server lifecycle, and "server shutdown" is the end of the server lifecycle. If the resource status information acquired by step S201 is: the server is in a sleep state before the server is in the shutdown operation, in this case, the state machine judges that the life cycle of the server is abnormal, and the current sleep state is an abnormal state, namely the server should not enter the sleep state after shutdown. By prompting the user to solve the problem that the server enters the dormant state after being shut down, the regularity of the server resource state can be restored.
The judgment of the state machine on whether the resource state is normal or not can also be the judgment on the resource state information type of the resource. Still taking the server as the query object in step S201 and the analysis object in step S202 as examples, it is assumed that the resource status information of the server includes the following: if the resource state information of the server inquired in step S201 is "application program start", the state machine determines that the server is in an abnormal state. Prompting the abnormal state through step S203 (described in detail below) is beneficial for the user to find and solve the problem of the server, thereby ensuring the regularity of the resource state of the server.
In step S203, when the analysis satisfies the first condition, indication information indicating the resource in which the problem occurs is provided.
Preferably, the first condition is that specific information is absent from the resource status information analyzed in step S202. As described above, the specific information may be time-related information, i.e., a plurality of resource state information of the resource temporally successive in the running process, or may be condition-related information, i.e., a plurality of resource states of the resource conditionally successive in the running process. For examples of the specific information, see above, and are not described herein again.
Preferably, the first condition is that a lifecycle exception of the resource is analyzed in step S202. In step S202, a related state machine may be maintained for each running resource, and the state machine determines whether the current resource state is normal in real time. For an example of the determination of the state machine, reference is made above, and details are not repeated here.
The indication information may be a prompt dialog box popped up on a display of the electronic device, or a prompt voice output through a speaker of the electronic device, or a resource log indicating a resource with a problem in the resource log by outputting the resource log. It should be noted that the prompt message can either briefly prompt the resource with the problem or indicate the resource with the problem, what the specific problem is, and other contents in detail. For example, as described above, it is assumed that the resource status information acquired in step S201 is: server restart-server shutdown, in step S202, after analyzing the resource status, the following results are obtained: the acquired resource status information lacks specific information, and in this case, the indication information may display "the server lacks a power-on operation" by popping up a prompt dialog box on the display.
Although several forms of indication information are shown above by way of example, the present invention is not limited thereto, and those skilled in the art can select different forms of indication information as needed as long as they can function as a resource for indicating that a problem occurs.
Furthermore, the problem resource indicating method according to the embodiment of the present invention may further include outputting a resource log based on the resource status information and the indication information. The resource log may be further analyzed using a log analysis tool. Since the resource and corresponding problem indicated by the hint information may be only one representation of the problem behind which other problems of the system may be hidden, further analysis of the resource log by using a logging tool helps to discover and resolve potential problems with the system based on locating the problem resource.
Therefore, according to the problem resource indication method 200 of the embodiment of the present invention, by acquiring the resource state information and analyzing the resource state information, and providing the indication information to indicate the resource with a problem when the analysis meets the first condition, the resource-oriented analysis is implemented, so that the resource with a problem can be quickly located, and the reason for the problem can be quickly analyzed and solved, thereby overcoming the defect that the fault source and the reason cannot be located because the fault can only be prompted by the fault-oriented analysis in the prior art.
It should be noted that, in the present specification, 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 … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those skilled in the art will appreciate that the embodiments disclosed herein can be implemented in electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
Those skilled in the art will understand that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art may modify the technical solutions described in the foregoing embodiments or may substitute some or all of the technical features; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (12)

1. An issue resource indication apparatus for use in a system having at least one resource, the issue resource indication apparatus comprising:
the resource state query module is configured to perform dynamic resource state query and acquire resource state information of the resource;
a resource status analysis module configured to analyze the resource status information acquired by the resource status query module; and
a problem resource indication module configured to provide indication information indicating a resource in which a problem occurs when the analysis satisfies a first condition, wherein,
the resource state query module queries the resource state information and obtains the resource log, queries the state of the resource in the resource log by using a query algorithm and extracts the resource state information of the resource.
2. The issue resource indication apparatus of claim 1, wherein,
the first condition is that the resource state analysis module analyzes that specific information is absent in the resource state information.
3. The issue resource indication apparatus of claim 1, wherein,
the first condition is that the resource state analysis module analyzes that the life cycle of the resource is abnormal.
4. The issue resource indication apparatus of claim 1, wherein,
the resource status analysis module analyzing the resource status information includes analyzing a lifecycle of the resource, wherein analyzing the lifecycle
The resource state analysis module maintains a relevant state machine for each running resource, and the state machine judges whether the current resource state is normal or not in real time.
5. The issue resource indication apparatus of claim 1, wherein,
the resource state analysis module analyzes the resource state information, including analyzing whether specific information is absent in the resource state information.
6. The problem resource indicating apparatus according to claim 1, further comprising a resource log output module configured to output a resource log based on the resource status information and the indication information.
7. A problem resource indication method is applied to a system with at least one resource, and comprises the following steps:
performing dynamic resource state query and acquiring resource state information of the resource;
analyzing the acquired resource state information; and
providing indication information indicating the resource with the problem when the analysis satisfies a first condition, wherein
The dynamic resource state query and the resource state information acquisition of the resource comprise the steps of calling a resource log, querying the state of the resource in the resource log by utilizing a query algorithm and extracting the resource state information of the resource.
8. The problem resource indication method of claim 7 wherein
The first condition is that specific information is analyzed to be absent in the resource state information.
9. The problem resource indication method of claim 7 wherein
The first condition is that a life cycle abnormality of the resource is analyzed.
10. The problem resource indication method of claim 7 wherein
Analyzing the obtained resource status information comprises analyzing a lifecycle of the resource, wherein analyzing the obtained resource status information comprises analyzing a lifecycle of the resource
And maintaining a relevant state machine for each running resource, and judging whether the current resource state is normal in real time by the state machine.
11. The problem resource indication method of claim 7 wherein
The analyzing the acquired resource status information includes analyzing whether specific information is absent from the resource status information.
12. The problem resource indication method of claim 7 further comprising outputting a resource log based on the resource status information and the indication information.
CN201510145085.7A 2015-03-30 2015-03-30 Problem resource indicating device and problem resource indicating method Active CN106161050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510145085.7A CN106161050B (en) 2015-03-30 2015-03-30 Problem resource indicating device and problem resource indicating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510145085.7A CN106161050B (en) 2015-03-30 2015-03-30 Problem resource indicating device and problem resource indicating method

Publications (2)

Publication Number Publication Date
CN106161050A CN106161050A (en) 2016-11-23
CN106161050B true CN106161050B (en) 2020-12-18

Family

ID=57340522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510145085.7A Active CN106161050B (en) 2015-03-30 2015-03-30 Problem resource indicating device and problem resource indicating method

Country Status (1)

Country Link
CN (1) CN106161050B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107743171A (en) * 2017-09-29 2018-02-27 广东欧珀移动通信有限公司 Application resource methods of exhibiting, mobile terminal and computer-readable recording medium
CN109417739B (en) * 2018-09-26 2022-01-11 北京小米移动软件有限公司 Resource determination method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873334A (en) * 2009-04-24 2010-10-27 同济大学 State-driven executable service flow execution method
CN101916405A (en) * 2010-08-26 2010-12-15 北京天融信科技有限公司 Asset weakness management device
CN102103518A (en) * 2011-02-23 2011-06-22 运软网络科技(上海)有限公司 System for managing resources in virtual environment and implementation method thereof
CN103281306A (en) * 2013-05-03 2013-09-04 四川省电力公司信息通信公司 Virtualized infrastructure platform for cloud data centers
CN103369012A (en) * 2012-04-09 2013-10-23 中兴通讯股份有限公司 Service logic execution device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101069384B (en) * 2004-12-09 2010-05-05 国际商业机器公司 Method and system for managing message-based work load in network environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873334A (en) * 2009-04-24 2010-10-27 同济大学 State-driven executable service flow execution method
CN101916405A (en) * 2010-08-26 2010-12-15 北京天融信科技有限公司 Asset weakness management device
CN102103518A (en) * 2011-02-23 2011-06-22 运软网络科技(上海)有限公司 System for managing resources in virtual environment and implementation method thereof
CN103369012A (en) * 2012-04-09 2013-10-23 中兴通讯股份有限公司 Service logic execution device and method
CN103281306A (en) * 2013-05-03 2013-09-04 四川省电力公司信息通信公司 Virtualized infrastructure platform for cloud data centers

Also Published As

Publication number Publication date
CN106161050A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN107665233B (en) Database data processing method and device, computer equipment and storage medium
US20220179682A1 (en) Task processing method, apparatus, and system based on distributed system
CN108804618B (en) Database configuration method, device, computer equipment and storage medium
CN107896162B (en) Deployment method and device of monitoring system, computer equipment and storage medium
US9003239B2 (en) Monitoring and resolving deadlocks, contention, runaway CPU and other virtual machine production issues
CN107562556B (en) Failure recovery method, recovery device and storage medium
WO2019075774A1 (en) Device parameter configuration method and apparatus, computer device and storage medium
US20130086584A1 (en) Control device, control method, and control program
US8694831B2 (en) Automatic bug reporting tool
CN104580302A (en) Cloud service management system and cloud-cloud management system
CN106873970B (en) Installation method and device of operating system
US9727394B2 (en) Establishing causality order of computer trace records
CN103678053A (en) Computer self-check method and system
CN115509858A (en) Business system monitoring method and device, storage medium and computer equipment
CN103064705B (en) Computer system starting processing method and device
CN106161050B (en) Problem resource indicating device and problem resource indicating method
WO2019161620A1 (en) Application dependency update method, terminal and device, and storage medium
CN111580948A (en) Task scheduling method and device and computer equipment
JP2014194665A (en) Verification program, verification method, and verification device
CN111047434A (en) Operation record generation method and device, computer equipment and storage medium
CN114006815B (en) Automatic deployment method and device for cloud platform nodes, nodes and storage medium
CN106897063B (en) Method and system for permanently adding OS boot entry to BIOS based on EFI
CN109669727B (en) Server configuration method, system and related components
US20120191968A1 (en) System and method for optimizing and digitally correcting errors on a computer system
CN113238778B (en) Method, system, equipment and medium for upgrading BIOS firmware

Legal Events

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