Snapshot service method and apparatus for application server

A technology of application server and service method, which is applied in the field of server snapshots, can solve the problems of limited quantity of content, insufficient customization, failure information cannot be collected comprehensively, etc., and achieve the effect of increasing the quantity of content and high degree of customization

Active Publication Date: 2018-01-26
山东中创软件商用中间件股份有限公司
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the existing technology, the snapshot rules of the snapshot service are fixed, and the customization is insufficient. The operation and maintenance personnel can only use the default snapshot rules provided by the snapshot service to set the rules; in addition, the snapshot service only supports one snapshot rule. Execution, and the amount of content monitored by the application server in the snapshot rules is also strictly limited, resulting in failure information often not being fully collected

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Snapshot service method and apparatus for application server
  • Snapshot service method and apparatus for application server
  • Snapshot service method and apparatus for application server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 It is a flow chart of a snapshot service method of an application server provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the snapshot service method of the application server include:

[0041] Step S10: Obtain at least two snapshot rules.

[0042] It can be understood that, in a snapshot rule, the amount of content to be monitored on an application server is strictly limited, so only part of the application server information can be monitored in a snapshot rule. Therefore, the advantage of obtaining multiple snapshot rules is that the information of the application server can be monitored more comprehensively, and the user can set multiple types of monitoring content in different snapshot rules according to needs, and the customization is stronger.

[0043] Step S11: Set the execution time of the snapshot rule in the timer.

[0044] To ensure the orderly progress of the snapshot rules, the execution time ...

Embodiment 2

[0049] figure 2 It is a flow chart of another snapshot service method of an application server provided by an embodiment of the present invention. figure 2 In steps S10-S12 and figure 1 Same, no more details here.

[0050] Such as figure 2 As shown, on the basis of the above embodiments, as a preferred implementation manner, after obtaining at least two snapshot rules, the method further includes:

[0051] Step S20: An interface for editing the snapshot rule is established in the snapshot rule by way of annotation.

[0052] In the prior art, the modification or editing of snapshot rules by reading XML configuration files in the way of DOM flow model is generally used, but editing and modification of snapshot rules through configuration files will cause a large number of configuration files to exist in the application. server, resulting in redundant configuration files and reduced readability. Therefore, after an interface for editing snapshot rules is established in th...

Embodiment 3

[0072] The embodiment of the snapshot service method of the application server has been described in detail above, and the present invention also provides a snapshot service device of the application server corresponding to the method, because the embodiment of the device part and the embodiment of the method part are mutually Correspondingly, for the embodiment of the device part, please refer to the description of the embodiment of the method part, and details will not be repeated here.

[0073] image 3 It is a structural diagram of a snapshot service device of an application server provided by an embodiment of the present invention. The snapshot service device of the application server provided by the embodiment of the present invention specifically includes:

[0074] The rule acquisition module 10 is configured to acquire at least two kinds of snapshot rules.

[0075] The setting module 11 is configured to set the execution time of the snapshot rule in the timer.

[00...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a snapshot service method and apparatus for an application server. The method includes the steps of acquiring at least two types of snapshot rules; setting an execution time ofeach snapshot rule in a timer; and sequentially controlling the timer to execute each snapshot rule according to the execution time. Therefore, by setting the execution time of each snapshot rule, the method realizes the execution of multiple snapshot rules according to the execution time in sequence so that information of an application server in the event of a failure can be more completely collected. In addition, since multiple snapshot rules can be executed, a user can customize and apply a corresponding snapshot rule to the application server snapshot service, the snapshot rule is therefore not limited to what the snapshot service provides by default and the customization degree of the snapshot rule is higher. In addition, the snapshot service apparatus for the application server also has the above effects.

Description

technical field [0001] The invention relates to the field of server snapshots, in particular to a snapshot service method and device for an application server. Background technique [0002] With the continuous development of Internet technology, the number of application servers in the cluster is increasing, and because the failure of the application server in the cluster usually lasts for a short time, it is difficult to be checked by the operation and maintenance personnel at the first time, so the operation and maintenance personnel The monitoring of the working conditions of the application servers is gradually reduced. Based on the above situation, there is an urgent need for operation and maintenance personnel to be able to monitor and collect application server faults during the running phase, so the snapshot service of application servers came into being. The snapshot service can respond quickly when the application server fails, and collects the software and hardwa...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 杨传艳赵欣翟鲁超李新峰谭昭
Owner 山东中创软件商用中间件股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products