Disclosure of Invention
The embodiment of the invention provides a state monitoring method and device, electronic equipment and a computer readable storage medium.
In a first aspect, an embodiment of the present invention provides a condition monitoring method.
Specifically, the state monitoring method includes:
acquiring a state monitoring command, wherein the state monitoring command comprises a state monitoring field specific language statement and state monitoring object identification information;
acquiring state monitoring data according to the state monitoring command;
and calculating to obtain a state monitoring result according to the state monitoring data.
With reference to the first aspect, in a first implementation manner of the first aspect, the obtaining state monitoring data according to the state monitoring command includes:
preprocessing the specific language statements in the state monitoring field to obtain state monitoring data request parameters;
generating a state monitoring data request according to the state monitoring data request parameters and the state monitoring object identification information;
and sending the state monitoring data request to a state monitoring object to obtain state monitoring data.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the preprocessing includes one or more of the following processes: lexical analysis, syntactic analysis, parsing processing, and syntactic analysis.
With reference to the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the preprocessing the state monitoring domain specific language statement to obtain a state monitoring data request parameter includes:
preprocessing the state monitoring field specific language sentence to obtain a state monitoring field specific language element;
constructing a state monitoring abstract syntax tree according to the specific language elements of the state monitoring field;
and traversing the state monitoring abstract syntax tree to obtain a state monitoring data request parameter.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the generating a status monitoring data request according to the status monitoring data request parameter and the status monitoring object identification information includes:
determining data interface information according to the state monitoring object identification information and the state monitoring data request parameter;
and generating a state monitoring data interface calling request according to the data interface information and the state monitoring data request parameters.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, and the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the calculating to obtain the state monitoring result according to the state monitoring data includes:
comparing the status monitoring data to the status monitoring data request parameter;
and calculating according to the comparison result to obtain a state monitoring result.
In a second aspect, an embodiment of the present invention provides a condition monitoring apparatus.
Specifically, the state monitoring device includes:
the system comprises a first acquisition module, a second acquisition module and a state monitoring module, wherein the first acquisition module is configured to acquire a state monitoring command, and the state monitoring command comprises a state monitoring field specific language statement and state monitoring object identification information;
a second obtaining module configured to obtain status monitoring data according to the status monitoring command;
and the calculation module is configured to calculate a state monitoring result according to the state monitoring data.
With reference to the second aspect, in a first implementation manner of the second aspect, the embodiment of the present invention includes:
the first preprocessing submodule is configured to preprocess the state monitoring field specific language statement to obtain a state monitoring data request parameter;
the first generation submodule is configured to generate a state monitoring data request according to the state monitoring data request parameter and the state monitoring object identification information;
and the sending submodule is configured to send the state monitoring data request to a state monitoring object to obtain state monitoring data.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the preprocessing includes one or more of the following processes: lexical analysis, syntactic analysis, parsing processing, and syntactic analysis.
With reference to the second aspect, the first implementation manner of the second aspect, and the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the first preprocessing submodule includes:
the second preprocessing submodule is configured to preprocess the state monitoring field specific language statement to obtain a state monitoring field specific language element;
a construction submodule configured to construct a state monitoring abstract syntax tree from the state monitoring domain specific language elements;
and the traversal submodule is configured to traverse the state monitoring abstract syntax tree to obtain a state monitoring data request parameter.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, and the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the first generation submodule includes:
the determining submodule is configured to determine data interface information according to the state monitoring object identification information and the state monitoring data request parameters;
and the second generation submodule is configured to generate a state monitoring data interface calling request according to the data interface information and the state monitoring data request parameter.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, and the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the computing module includes:
a comparison sub-module configured to compare the status monitoring data with the status monitoring data request parameter;
and the calculation submodule is configured to calculate a state monitoring result according to the comparison result.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory and a processor, where the memory is used to store one or more computer instructions that support a status monitoring apparatus to execute the status monitoring method in the first aspect, and the processor is configured to execute the computer instructions stored in the memory. The condition monitoring device may further comprise a communication interface for the condition monitoring device to communicate with other devices or a communication network.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium for storing computer instructions for a condition monitoring apparatus, where the computer instructions include computer instructions for executing the condition monitoring method in the first aspect.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the technical scheme, the monitoring rules are abstracted into the field specific language sentences, namely, the corresponding monitoring rules are realized by means of the field specific language sentences, then the state monitoring data are obtained according to the field specific language sentences, and further, the state monitoring results are determined according to the obtained state monitoring data. The technical scheme is free from the constraint of java codes, the corresponding java codes do not need to be rewritten no matter the internal logic of the rules changes or the number of the rules is increased to some extent, the rules can be directly operated by modifying the specific language sentences in the field, the flow is simple, the universality is strong, the change of the rules can be quickly reflected, and the data processing efficiency is greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
Detailed Description
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Furthermore, parts that are not relevant to the description of the exemplary embodiments have been omitted from the drawings for the sake of clarity.
In the embodiments of the present invention, it is to be understood that terms such as "including" or "having", etc., are intended to indicate the presence of the features, numbers, steps, actions, components, parts, or combinations thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, actions, components, parts, or combinations thereof may be present or added.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. Embodiments of the present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
According to the technical scheme provided by the embodiment of the invention, the monitoring rule is abstracted into the field specific language statement, namely, the corresponding monitoring rule is realized by means of the field specific language statement, then the state monitoring data is obtained according to the field specific language statement, and further the state monitoring result is determined according to the obtained state monitoring data. The technical scheme is free from the constraint of java codes, the corresponding java codes do not need to be rewritten no matter the internal logic of the rules changes or the number of the rules is increased, the statements in the specific language of the field are modified to directly run, the flow is simple, the universality is strong, the change of the rules can be quickly reflected, and the data processing efficiency is greatly improved.
Fig. 1 shows a flow chart of a condition monitoring method according to an embodiment of the invention, as shown in fig. 1, the condition monitoring method comprising the following steps S101-S103:
in step S101, a state monitoring command is obtained, where the state monitoring command includes a state monitoring domain specific language statement and state monitoring object identification information;
in step S102, acquiring status monitoring data according to the status monitoring command;
in step S103, a state monitoring result is calculated according to the state monitoring data.
As mentioned above, with the development of data services, data computing tasks grow exponentially, and thus many computing devices carry high-load data computing tasks. In order to ensure the normal operation of the computing devices and the reliability of data operation, the operating states of the computing devices need to be effectively monitored in real time, so that some computing devices can respond in time when a fault or other problems occur. However, in the prior art, the corresponding monitoring rule is usually realized by means of java code, but if internal logic of the rule changes or the number of the rule increases, the corresponding java code needs to be rewritten and issued to be online, and such a processing mode has a complex flow and poor universality, cannot quickly reflect the change of the rule, and further causes the data processing efficiency to decrease.
In view of the above problem, in this embodiment, a state monitoring method is provided, in which a monitoring rule is abstracted into a domain-specific language statement, that is, a corresponding monitoring rule is implemented by using the domain-specific language statement, then state monitoring data is obtained according to the domain-specific language statement, and a state monitoring result is determined according to the obtained state monitoring data. The technical scheme is free from the constraint of java codes, the corresponding java codes do not need to be rewritten no matter the internal logic of the rules changes or the number of the rules is increased to some extent, the rules can be directly operated by modifying the specific language sentences in the field, the flow is simple, the universality is strong, the change of the rules can be quickly reflected, and the data processing efficiency is greatly improved.
The domain-specific language (DSL) refers to a computer language that is dedicated to a certain application program domain, and is also called a domain-specific language. The domain specific language can be used to achieve a certain purpose in a certain application program domain, and a construction model with a certain achieving purpose is abstracted. The state monitoring domain specific language statement is a statement generated based on the domain specific language for the purpose of state monitoring.
The state monitoring object identification information refers to information that can uniquely identify the state monitoring object, such as state monitoring object address information and the like. Based on the state monitoring object identification information, it can be definitely determined who an object targeted by a certain operation is, and the position of the state monitoring object can also be locked.
The state monitoring command is composed of the state monitoring field specific language statements and the state monitoring object identification information, and state monitoring operation limited by the state monitoring field specific language statements can be executed on the state monitoring object identified by the state monitoring object identification information according to the state monitoring command. For example, if the status monitoring domain specific language statement in a status monitoring command is: ceVersion > '4.0.0' and server: 192.8.8.1, then the implication of this status monitor command is: the monitoring IP address is: 192.8.8.1, and the current cpu usage is greater than >10, where ce refers to a type of java container.
In an optional implementation manner of this embodiment, as shown in fig. 2, the step S102, namely the step of acquiring the state monitoring data according to the state monitoring command, includes the following steps S201 to S203:
in step S201, preprocessing the state monitoring domain specific language statement to obtain a state monitoring data request parameter;
in step S202, a status monitoring data request is generated according to the status monitoring data request parameter and the status monitoring object identification information;
in step S203, the state monitoring data request is sent to a state monitoring object, so as to obtain state monitoring data.
In the embodiment, the state monitoring data request is generated based on the state monitoring domain specific language statement, and then the corresponding state monitoring data is obtained through the state monitoring data request. Specifically, firstly, preprocessing a specific language statement in the state monitoring field to obtain a state monitoring data request parameter; then generating a state monitoring data request according to the state monitoring data request parameters and the state monitoring object identification information; and finally, sending the state monitoring data request to a state monitoring object to obtain state monitoring data.
In an optional implementation manner of this embodiment, the preprocessing includes one or more of the following processes: lexical analysis, syntactic analysis, parsing processing, and syntactic analysis. In practical applications, of course, a suitable preprocessing method may be selected according to the needs of practical applications and the characteristics of the domain-specific language, and the present invention is not limited thereto.
In an optional implementation manner of this embodiment, as shown in fig. 3, the step S201 of preprocessing the statement in the specific language of the status monitoring domain to obtain the status monitoring data request parameter includes the following steps S301 to S303:
in step S301, preprocessing the state monitoring domain specific language sentence to obtain a state monitoring domain specific language element;
in step S302, a state monitoring abstract syntax tree is constructed according to the state monitoring domain specific language element;
in step S303, the state monitoring abstract syntax tree is traversed to obtain a state monitoring data request parameter.
In order to improve the completeness of the state monitoring data request parameter, in this embodiment, the state monitoring domain specific language statement is preprocessed first to obtain a state monitoring domain specific language element; then constructing a state monitoring abstract syntax tree according to the specific language elements in the state monitoring field; and finally, traversing the state monitoring abstract syntax tree to obtain a state monitoring data request parameter.
The state monitoring domain specific language element refers to an object element, an operation element, a logic element or a numerical value element related to the state monitoring, which are obtained based on analysis and processing of a state monitoring domain specific language statement.
In the above example, if a status monitoring domain specific language statement is: ceVersion > '4.0.0' and server: server, ceversion, >, 4.0.0, and, server, cpu, >, 10; then, based on the obtained specific language elements of the state monitoring field, a state monitoring abstract syntax tree can be constructed, as shown in fig. 4; and traversing the abstract syntax tree based on the abstract syntax tree to obtain complete state monitoring data request parameters which are subsequently used for generating the state monitoring data request.
In an optional implementation manner of this embodiment, as shown in fig. 5, the step S202, that is, the step of generating the status monitoring data request according to the status monitoring data request parameter and the status monitoring object identification information, includes the following steps S501 to S502:
in step S501, data interface information is determined according to the status monitoring object identification information and the status monitoring data request parameter;
in step S502, a status monitoring data interface call request is generated according to the data interface information and the status monitoring data request parameter.
In view of the fact that the status monitoring data generally exists in the computing device or other data sources, in order to facilitate obtaining the corresponding status monitoring data and ensure the security of the obtained data, in this embodiment, the status monitoring data is obtained by means of an interface request. Specifically, firstly, determining data interface information according to the state monitoring object identification information and the state monitoring data request parameter; and then generating a state monitoring data interface calling request according to the data interface information and the state monitoring data request parameters, wherein the state monitoring data interface calling request is used for acquiring interface calling permission so as to acquire state monitoring data by means of the interface.
Still taking the above example as an example, based on the status monitoring data interface call request, the callable IP address is: 192.8.8.1, and further by means of the status monitoring data request parameter, the IP address can be obtained as: 192.8.8.1, the CE version information of the server corresponding to the status monitoring data interface call request is 4.0.1, and the callable IP address based on the status monitoring data interface call request is: 192.8.8.1, and further obtaining the IP address as follows by the status monitoring data request parameter: 192.8.8.1 corresponds to a cpu usage of 0.7.
In an optional implementation manner of this embodiment, as shown in fig. 6, the step S103 of calculating a status monitoring result according to the status monitoring data includes the following steps S601 to S602:
in step S601, comparing the status monitoring data with the status monitoring data request parameter;
in step S602, a condition monitoring result is calculated based on the comparison result.
In this embodiment, after obtaining the status monitoring data, the status monitoring data may be compared to the status monitoring data request parameter; and then obtaining a state monitoring result according to the comparison result.
The state monitoring data refers to current corresponding state monitoring data of a state monitoring object, and the state monitoring data request parameter comprises requirements for the state monitoring data.
Still by way of example above, it is mentioned above that the obtained condition monitoring data includes: the CE version information of the server with an IP address of 192.8.8.1 is 4.0.1, the cpu utilization of the server with an IP address of 192.8.8.1 is 0.7, and the requirement for the status detection data in the status monitoring data request parameter is: ceVersion > '4.0.0' and server; and the current cpu utilization of the target server is 0.7, which is smaller than the required cpu utilization 10, that is, the current cpu utilization of the target server does not meet the corresponding cpu utilization requirement. Finally, according to the comparison result, the condition monitoring result of the target server is not satisfied. In this embodiment, as long as one of the status monitoring data does not satisfy the requirement, the status monitoring result of the target server is considered not to satisfy the relevant requirement. However, in practical applications, the determination mechanism of the monitoring result may be set and adjusted according to the requirements of practical applications and the specific requirements of monitoring, and the present invention is not limited thereto.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention.
Fig. 7 shows a block diagram of a status monitoring apparatus according to an embodiment of the present invention, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 7, the state monitoring device includes:
a first obtaining module 701, configured to obtain a status monitoring command, where the status monitoring command includes a status monitoring domain specific language statement and status monitoring object identification information;
a second obtaining module 702 configured to obtain status monitoring data according to the status monitoring command;
a calculating module 703 configured to calculate a status monitoring result according to the status monitoring data.
As mentioned above, with the development of data services, data computing tasks grow exponentially, and thus many computing devices carry high-load data computing tasks. In order to ensure the normal operation of the computing devices and the reliability of data operation, the operating states of the computing devices need to be effectively monitored in real time, so that some computing devices can respond in time when a fault or other problems occur. However, in the prior art, the corresponding monitoring rule is usually realized by means of java code, but if internal logic of the rule changes or the number of the rule increases, the corresponding java code needs to be rewritten and issued to be online, and such a processing mode has a complex flow and poor universality, cannot quickly reflect the change of the rule, and further causes the data processing efficiency to decrease.
In view of the above problem, in this embodiment, a status monitoring device is provided, which abstracts a monitoring rule into a domain-specific language statement, that is, implements a corresponding monitoring rule by means of the domain-specific language statement, then obtains status monitoring data according to the domain-specific language statement, and determines a status monitoring result according to the obtained status monitoring data. The technical scheme is free from the constraint of java codes, the corresponding java codes do not need to be rewritten no matter the internal logic of the rules changes or the number of the rules is increased to some extent, the rules can be directly operated by modifying the specific language sentences in the field, the flow is simple, the universality is strong, the change of the rules can be quickly reflected, and the data processing efficiency is greatly improved.
The domain-specific language (DSL) refers to a computer language that is dedicated to a certain application program domain, and is also called a domain-specific language. The domain specific language can be used to achieve a certain purpose in a certain application program domain, and a construction model with a certain achieving purpose is abstracted. The state monitoring domain specific language statement is a statement generated based on the domain specific language for the purpose of state monitoring.
The state monitoring object identification information refers to information that can uniquely identify the state monitoring object, such as state monitoring object address information and the like. The object to which a certain operation is directed can be definitely determined based on the state monitoring object identification information, and the position of the state monitoring object can also be locked.
The state monitoring command is composed of the state monitoring domain specific language statement and the state monitoring object identification information, and the state monitoring operation limited by the state monitoring domain specific language statement can be executed on the state monitoring object identified by the state monitoring object identification information according to the state monitoring command. For example, if the specific language statement of the status monitoring domain in a status monitoring command is: ceVersion > '4.0.0' and server: 192.8.8.1, then the meaning of this status monitor command is: the monitoring IP address is: 192.8.8.1, and the current cpu usage is greater than >10, where ce refers to a type of java container.
In an optional implementation manner of this embodiment, as shown in fig. 8, the second obtaining module 702 includes:
a first preprocessing submodule 801 configured to preprocess the state monitoring domain specific language statement to obtain a state monitoring data request parameter;
a first generating submodule 802 configured to generate a status monitoring data request according to the status monitoring data request parameter and the status monitoring object identification information;
the sending sub-module 803 is configured to send the state monitoring data request to a state monitoring object, so as to obtain state monitoring data.
In the embodiment, the state monitoring data request is generated based on the state monitoring domain specific language statement, and then the corresponding state monitoring data is obtained through the state monitoring data request. Specifically, the first preprocessing submodule 801 preprocesses the state monitoring domain specific language statement to obtain a state monitoring data request parameter; the first generation submodule 802 generates a state monitoring data request according to the state monitoring data request parameter and the state monitoring object identification information; the sending submodule 803 sends the state monitoring data request to a state monitoring object to obtain state monitoring data.
In an optional implementation manner of this embodiment, the preprocessing includes one or more of the following processes: lexical analysis, syntactic analysis, parsing processing, and syntactic analysis. Of course, in practical application, a suitable preprocessing mode can be selected according to the needs of practical application and the characteristics of the domain-specific language, and the invention is not limited in particular.
In an optional implementation manner of this embodiment, as shown in fig. 9, the first preprocessing sub-module 801 includes:
a second preprocessing submodule 901, configured to preprocess the statement in the domain of monitoring status to obtain a language element in the domain of monitoring status;
a construction submodule 902 configured to construct a state monitoring abstract syntax tree from the state monitoring domain specific language elements;
and the traversing submodule 903 is configured to traverse the state monitoring abstract syntax tree to obtain a state monitoring data request parameter.
In order to improve the completeness of the request parameter of the state monitoring data, in this embodiment, the second preprocessing sub-module 901 first preprocesses the state monitoring domain specific language statements to obtain state monitoring domain specific language elements; the construction sub-module 902 constructs a state monitoring abstract syntax tree according to the specific language elements in the state monitoring field; the traversal submodule 903 traverses the state monitoring abstract syntax tree to obtain a state monitoring data request parameter.
The state monitoring domain specific language element refers to an object element, an operation element, a logic element or a numerical value element related to the state monitoring, which are obtained based on analysis and processing of a state monitoring domain specific language statement.
For the above example, if a status monitoring domain specific language statement is: ceVersion > '4.0.0' and server: server, ceversion, >, 4.0.0, and, server, cpu, >, 10; then, based on the obtained specific language elements of the state monitoring field, a state monitoring abstract syntax tree can be constructed, as shown in fig. 4; traversing the abstract syntax tree based on the abstract syntax tree to obtain complete state monitoring data request parameters which are subsequently used for generating the state monitoring data request.
In an optional implementation manner of this embodiment, as shown in fig. 10, the first generation sub-module 802 includes:
a determining submodule 1001 configured to determine data interface information according to the status monitoring object identification information and the status monitoring data request parameter;
the second generating submodule 1002 is configured to generate a status monitoring data interface call request according to the data interface information and the status monitoring data request parameter.
In view of the fact that the status monitoring data generally exists in the computing device or other data sources, in order to facilitate obtaining the corresponding status monitoring data and ensure the security of the obtained data, in this embodiment, the status monitoring data is obtained by means of an interface request. Specifically, the determining submodule 1001 determines data interface information according to the status monitoring object identification information and the status monitoring data request parameter; the second generation submodule 1002 generates a status monitoring data interface call request according to the data interface information and the status monitoring data request parameter, where the status monitoring data interface call request is used to obtain an interface call permission, so as to obtain status monitoring data through the interface.
Still taking the above example as an example, based on the status monitoring data interface call request, the callable IP address is: 192.8.8.1, and further by means of the status monitoring data request parameter, the IP address can be obtained as: the CE version information of the server corresponding to 192.8.8.1 is 4.0.1, and the callable IP address based on the status monitoring data interface call request is: 192.8.8.1, and further obtaining the IP address as follows by the status monitoring data request parameter: 192.8.8.1 corresponds to a cpu usage of 0.7.
In an optional implementation manner of this embodiment, as shown in fig. 11, the calculating module 703 includes:
a comparison submodule 1101 configured to compare the status monitoring data with the status monitoring data request parameter;
and a calculation submodule 1102 configured to calculate a state monitoring result according to the comparison result.
In this embodiment, after obtaining the status monitoring data, the comparing sub-module 1101 may compare the status monitoring data with the status monitoring data request parameter; the calculation submodule 1102 may obtain a state monitoring result according to the comparison result.
The state monitoring data refers to current corresponding state monitoring data of a state monitoring object, and the state monitoring data request parameter comprises requirements for the state monitoring data.
Still by way of example above, it is mentioned above that the obtained condition monitoring data includes: the CE version information of the server with an IP address of 192.8.8.1 is 4.0.1, the cpu utilization of the server with an IP address of 192.8.8.1 is 0.7, and the requirement for the status detection data in the status monitoring data request parameter is: ceVersion > '4.0.0' and server; and the current cpu utilization of the target server is 0.7, which is less than the required cpu utilization 10, that is, the current cpu utilization of the target server does not meet the corresponding cpu utilization requirement. Finally, according to the comparison result, the condition monitoring result of the target server is not satisfied. In this embodiment, as long as one of the status monitoring data does not satisfy the requirement, the status monitoring result of the target server is considered not to satisfy the relevant requirement. However, in practical applications, the determination mechanism of the monitoring result may be set and adjusted according to the requirements of practical applications and the specific requirements of monitoring, and the present invention is not limited thereto.
Fig. 12 is a block diagram illustrating a structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 12, the electronic device 1200 includes a memory 1201 and a processor 1202; wherein,
the memory 1201 is used to store one or more computer instructions, which are executed by the processor 1202 to implement any of the method steps described above.
FIG. 13 is a schematic block diagram of a computer system suitable for implementing a condition monitoring method according to an embodiment of the present invention.
As shown in fig. 13, the computer system 1300 includes a Central Processing Unit (CPU) 1301 that can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM) 1302 or a program loaded from a storage section 1308 into a Random Access Memory (RAM) 1303. In the RAM1303, various programs and data necessary for the operation of the system 1300 are also stored. The CPU1301, the ROM1302, and the RAM1303 are connected to each other via a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.
The following components are connected to the I/O interface 1305: an input portion 1306 including a keyboard, a mouse, and the like; an output portion 1307 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1308 including a hard disk and the like; and a communication section 1309 including a network interface card such as a LAN card, a modem, or the like. The communication section 1309 performs communication processing via a network such as the internet. A drive 1310 is also connected to the I/O interface 1305 as needed. A removable medium 1311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1310 as needed, so that a computer program read out therefrom is mounted in the storage section 1308 as needed.
In particular, the above described methods may be implemented as computer software programs according to embodiments of the present invention. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the condition monitoring method. In such embodiments, the computer program may be downloaded and installed from a network via communications component 1309 and/or installed from removable media 1311.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium may be a computer-readable storage medium included in the apparatus in the foregoing embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in embodiments of the invention.
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention according to the embodiments of the present invention is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept. For example, the above features and (but not limited to) features with similar functions disclosed in the embodiments of the present invention are replaced with each other to form a technical solution.