CN107294792A - The message informing method and device of a kind of application server - Google Patents

The message informing method and device of a kind of application server Download PDF

Info

Publication number
CN107294792A
CN107294792A CN201710611241.3A CN201710611241A CN107294792A CN 107294792 A CN107294792 A CN 107294792A CN 201710611241 A CN201710611241 A CN 201710611241A CN 107294792 A CN107294792 A CN 107294792A
Authority
CN
China
Prior art keywords
application server
message informing
approach
message
notice
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.)
Pending
Application number
CN201710611241.3A
Other languages
Chinese (zh)
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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering Co 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Priority to CN201710611241.3A priority Critical patent/CN107294792A/en
Publication of CN107294792A publication Critical patent/CN107294792A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Abstract

The invention discloses a kind of message informing method of application server and device, this method includes:The notice approach for carrying out message informing is set;Judge whether stateful event occurs during application server operation;If it is, being converted accordingly to state event according to the content of state event, to be notified message;By notification message by notifying approach to be fed back.Therefore, in method provided by the present invention, announcement information timely can be fed back to user by application server, allow users to the situation that the situation or function of the more specific state for being apparent from application server are performed.It can be seen that, this method further increases the overall practicality of application server and the experience property of user on the basis of existing application server technology.In addition, the present invention also provides a kind of message informing device of application server, beneficial effect is as described above.

Description

The message informing method and device of a kind of application server
Technical field
The present invention relates to the message informing field of service, the message informing method of more particularly to a kind of application server and Device.
Background technology
With continuing to develop for domestic application server, client is also more next for the function and performance requirement of application server It is higher.
In the application server cluster environment of medium-and-large-sized enterprise, the quantity of application server is often all hundreds and thousands of Platform, when the such huge application server of quantity works simultaneously, the unavoidable application server having in cluster is because visit capacity mistake Big the reason for, causes performance to reduce and need to inform the situation of user.In addition, application server is performing some services of itself User needs to learn the range of information such as specific implementation status and carries out subsequent operation after function.It can be seen that application server to The feedback that user carries out message can be more convenient understanding of the user for application server situation.
But current domestic application server is gone back in terms of the feedback of the information after itself goes wrong and after perform function Be short of, thus can cause user can not specifically be apparent from application server state situation or function perform Situation, and then reduce the overall utility of application server and the experience property of user.
As can be seen here there is provided a kind of message informing method of application server to improve the overall utility of application server And the experience sense of user, it is those skilled in the art's urgent problem to be solved.
The content of the invention
It is an object of the invention to provide a kind of message informing method of application server and device, application is further increased The overall practicality of server and the experience property of user.
In order to solve the above technical problems, the present invention provides a kind of message informing method of application server, including:
The notice approach for carrying out message informing is set;
Judge whether stateful event occurs during application server operation;
If it is, being converted accordingly to state event according to the content of state event, to be notified message;
By notification message by notifying approach to be fed back.
It is preferred that, before the notice approach for carrying out message informing is set, this method further comprises:
It is provided for being turned on and off the configuration parameter of message informing function;
Wherein, configuration parameter, which is characterized, opens message informing function.
It is preferred that, before the notice approach for carrying out message informing is set, this method further comprises:
Obtain the configured list including all selectable notice approach;
Accordingly, the notice approach for carrying out message informing is set, is specially:
The notice approach for carrying out message informing is set in configured list.
It is preferred that, after by notification message by notifying that approach is fed back, this method further comprises:
By notification message write into Databasce.
It is preferred that, notice approach is specially journal file approach,
Accordingly, it is specially by notifying approach to be fed back by notification message:
Notification message is write journal file to be fed back.
It is preferred that, state event is specially:
There is performance fault in application server.
In addition, the present invention also provides a kind of message informing device of application server, including:
Setup module, the notice approach of message informing is carried out for setting;
Event judge module, for judging that whether stateful event occurs during application server operation, if it is performs Event conversion module;
Event conversion module, is converted, to be led to accordingly for the content according to state event to state event Know message;
Feedback module, for by notification message by notifying approach to be fed back.
It is preferred that, the device further comprises:
Function start and stop module, the configuration parameter for being provided for being turned on and off message informing function.
It is preferred that, the device further comprises:
Approach list acquisition module, for obtaining the configured list including all selectable notice approach.
It is preferred that, the device further comprises:
Database writing module, for by notification message write into Databasce.
In the process of running whether the message informing method of application server provided by the present invention, judge application server State event is generated, if so, then according to the Content Transformation of the state event of application server into feedback notification can be carried out Notification message, and then notification message is notified according to set notice approach to user.Therefore, it is provided by the present invention Method in, announcement information timely can be fed back to user by application server, allow users to more specific be apparent from The situation that the situation or function of the state of application server are performed.It can be seen that, base of this method in existing application server technology The overall practicality of application server and the experience property of user are further increased on plinth.In addition, the present invention also provides a kind of answer With the message informing device of server, beneficial effect is as described above.
Brief description of the drawings
In order to illustrate the embodiments of the present invention more clearly, the required accompanying drawing used in embodiment will be done simply below Introduce, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ordinary skill people For member, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the message informing method of application server provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the message informing method of another application server provided in an embodiment of the present invention;
Fig. 3 is a kind of message informing device structure chart of application server provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are not under the premise of creative work is made, and what is obtained is every other Embodiment, belongs to the scope of the present invention.
The core of the present invention is to provide a kind of message informing method of application server, improves application server entirety Practicality and the experience property of user.
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Embodiment one
Fig. 1 is a kind of flow chart of the message informing method of application server provided in an embodiment of the present invention.It refer to figure 1, the specific steps of the message informing method of application server include:
Step S10:The notice approach for carrying out message informing is set.
It is understood that the mode by message informing to user can have multiple choices, it is therefore desirable in this step The concrete ways that message is notified are set, to be taken in subsequent step when application server has notification message The desired suitable manner of user carries out notice service to user.Wherein, notify approach can for Email, JMS, SNMP, Event Bus, Hipchat, Slack, XMPP, Datadog etc., and can be led to according to specific needs using number of ways Know the realization of service, do not limit herein.
Step S11:Judge whether stateful event occurs during application server operation, if it is, only carrying out step S12.
In this step, state event is produced mainly when application server is run or when performing some functions Status information.Status information can be that application server resource is occurred deadlock situation, application server execution by excessive take Sql sentences tracking function or request following function obtain corresponding result etc..Application server determines whether above-mentioned situation Generation, if so, then starting follow-up corresponding countermeasure.
Step S12:State event is converted accordingly according to the content of state event, to be notified message.
It is understood that because the content of different state events is different and there may be readable relatively low lack Point, can increase difficulty of the user for the detailed understanding of state event.Accordingly, it would be desirable to according to the particular content of state event by state Event is converted accordingly, to obtain the notification message for understanding its content that user can be clear and intuitive.
Step S13:By notification message by notifying approach to be fed back.
Due to being set in step before for notice approach, therefore in this step according to set notice Approach is notified that the purpose that smoothly can be received with arrival notice message by user is easy to user's application server state Detailed understanding or recorded according to notification message application server the problem of carry out corresponding subsequent treatment.
In the process of running whether the message informing method of application server provided by the present invention, judge application server State event is generated, if so, then according to the Content Transformation of the state event of application server into feedback notification can be carried out Notification message, and then notification message is notified according to set notice approach to user.Therefore, it is provided by the present invention Method in, announcement information timely can be fed back to user by application server, allow users to more specific be apparent from The situation that the situation or function of the state of application server are performed.It can be seen that, base of this method in existing application server technology The overall practicality of application server and the experience property of user are further increased on plinth.
Embodiment two
Fig. 2 is the flow chart of the message informing method of another application server provided in an embodiment of the present invention.Walked in Fig. 2 Rapid S10-S13 is identical with Fig. 1, will not be repeated here.
As shown in Fig. 2 being used as a kind of preferred embodiment, before the notice approach for carrying out message informing is set, the party Method further comprises:
Step S20:It is provided for being turned on and off the configuration parameter of message informing function.
Wherein, configuration parameter, which is characterized, opens message informing function.In this step, open for message informing function setting The configuration parameter for opening and closing, it is therefore an objective to be capable of being opened and closed message informing function of selectivity.Such benefit It is, can be turned off when user does not temporarily need message informing function, relative can saves the available of application server Resource, to improve application server performance.In actual operation, it can be realized and disappeared by way of changing profile parameters Breath notifies the opening and closing of service.Control message informing function is set for example in configuration file to open and stop Notification-service-configuration enable parameter tagses, if the value of the corresponding parameter tags is True, then open message informing function;Opposite, if the value of the parameter tags is false, close message informing function.
As shown in Fig. 2 being used as a kind of preferred embodiment, before the notice approach for carrying out message informing is set, the party Method further comprises:
Step S21:Obtain the configured list including all selectable notice approach.
Accordingly, the notice approach for carrying out message informing is set, is specially to set to carry out message informing in configured list Notice approach.
It should be noted that notice approach often has many kinds, and user is frequently necessary to according to different types of message The notice approach for notifying selection corresponding.In the present embodiment, notice approach user generally used is in configuration file Configured list is integrated into, each notice approach has corresponding parameter tags.Therefore, user can be directly in configuration row Notice approach used in being set in table, this has further facilitated the use of user.Certainly, user can also simultaneous selection it is a variety of Notice approach carries out message informing, does not limit herein.It should be noted that the execution sequence between this step and step S20 Do not fix, can also carry out simultaneously.
As shown in Fig. 2 as a kind of preferred embodiment, should after by notification message by notifying that approach is fed back Method further comprises:
Step S22:By notification message write into Databasce.
It is understood that the purpose that notification message is stored to database is, when user reads again or repeatedly When notification message carries out follow-up operation, it is ensured that notification message is not in loss or the situation of damage, it is ensured that notice disappears The security and availability of breath.
In addition, on the basis of above-described embodiment, as a preferred embodiment, notice approach is specially daily record text Part approach.
Accordingly, by notification message by notifying approach to be fed back, specifically, by notification message write journal file with Fed back.
It is understood that message informing write-in journal file is advantageous in that into user can be looked into by journal file Find the notification message of application server at any time, and the range of information relevant with notification message.In application service When device performs itself function, the function implementation status of application server can be learnt by journal file, in addition, working as application service During device failure state, the reason for can be by log file analysis failure, be carried out according to failure cause application server Corresponding troubleshooting or optimization, and then can further improve the overall performance of application server.
In addition, on the basis of above-described embodiment, as a preferred embodiment, state event is specially:
There is performance fault in application server.
Because the performance of application server is user's emphasis of interest, therefore when performance fault occurs for application server When, if having whether message informing and message informing fast accurately just become the aspect that user relatively values.Therefore apply The message informing of server can be used for the performance state information for feeding back application server with emphasis.
Embodiment three
Hereinbefore it is described in detail for a kind of embodiment of the message informing method of application server, this hair It is bright that a kind of message informing device of application server is also provided, due to the embodiment and the embodiment phase of method part of device part Mutually correspondence, therefore device part embodiment refer to method part embodiment description, wouldn't repeat here.
Fig. 3 is a kind of message informing device structure chart of application server provided in an embodiment of the present invention.As shown in figure 3, A kind of message informing device of application server provided in an embodiment of the present invention, including:
Setup module 10, the notice approach of message informing is carried out for setting.
Event judge module 11, for judging that whether stateful event occurs during application server operation, if it is holds Act part conversion module.
Event conversion module 12, is converted, to obtain accordingly for the content according to state event to state event Notification message.
Feedback module 13, for by notification message by notifying approach to be fed back.
In the process of running whether the message informing device of application server provided by the present invention, judge application server State event is generated, if so, then according to the Content Transformation of the state event of application server into feedback notification can be carried out Notification message, and then notification message is notified according to set notice approach to user.Therefore, it is provided by the present invention Device in, announcement information timely can be fed back to user by application server, allow users to more specific be apparent from The situation that the situation or function of the state of application server are performed.It can be seen that, base of the present apparatus in existing application server technology The overall practicality of application server and the experience property of user are further increased on plinth.
On the basis of embodiment three, as a preferred embodiment, the device further comprises:
Function start and stop module, the configuration parameter for being provided for being turned on and off message informing function.
On the basis of embodiment three, as a preferred embodiment, the device further comprises:
Approach list acquisition module, for obtaining the configured list including all selectable notice approach.
On the basis of embodiment three, as a preferred embodiment, the device further comprises:
Database writing module, for by notification message write into Databasce.
The message informing method and device of a kind of application server provided by the present invention are described in detail above. The embodiment of each in specification is described by the way of progressive, what each embodiment was stressed be with other embodiment not Between same part, each embodiment identical similar portion mutually referring to.For device disclosed in embodiment, due to it Correspond to the method disclosed in Example, so description is fairly simple, related part is referring to method part illustration.Should Point out, for those skilled in the art, under the premise without departing from the principles of the invention, can also be to this hair Bright to carry out some improvement and modification, these are improved and modification is also fallen into the protection domain of the claims in the present invention.
It should also be noted that, in this manual, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include that A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged Except also there is other identical element in the process including the key element, method, article or equipment.

Claims (10)

1. a kind of message informing method of application server, it is characterised in that including:
The notice approach for carrying out message informing is set;
Judge whether stateful event occurs during application server operation;
If it is, being converted accordingly to the state event according to the content of the state event, disappeared with being notified Breath;
The notification message is fed back by the notice approach.
2. according to the method described in claim 1, it is characterised in that it is described set carry out message informing notice approach it Before, this method further comprises:
It is provided for being turned on and off the configuration parameter of message informing function;
Wherein, the configuration parameter, which is characterized, opens message informing function.
3. according to the method described in claim 1, it is characterised in that it is described set carry out message informing notice approach it Before, this method further comprises:
Obtain the configured list including all selectable notice approach;
Accordingly, it is described that the notice approach for carrying out message informing is set, be specially:
The notice approach for carrying out message informing is set in the configured list.
4. according to the method described in claim 1, it is characterised in that the notification message is passed through into the notice approach described After being fed back, this method further comprises:
By the notification message write into Databasce.
5. the method according to Claims 1-4 any one, it is characterised in that the notice approach is specially daily record text Part approach,
Accordingly, it is described to be fed back the notification message by the notice approach, be specially:
The notification message is write journal file to be fed back.
6. the method according to Claims 1-4 any one, it is characterised in that the state event is specially:
There is performance fault in application server.
7. a kind of message informing device of application server, it is characterised in that including:
Setup module, the notice approach of message informing is carried out for setting;
Event judge module, for judging that whether stateful event occurs during application server operation, if it is performs event Conversion module;
The event conversion module, is converted accordingly for the content according to the state event to the state event, To be notified message;
Feedback module, for the notification message to be fed back by the notice approach.
8. device according to claim 7, it is characterised in that the device further comprises:
Function start and stop module, the configuration parameter for being provided for being turned on and off message informing function.
9. device according to claim 7, it is characterised in that the device further comprises:
Approach list acquisition module, for obtaining the configured list including all selectable notice approach.
10. device according to claim 7, it is characterised in that the device further comprises:
Database writing module, for by the notification message write into Databasce.
CN201710611241.3A 2017-07-25 2017-07-25 The message informing method and device of a kind of application server Pending CN107294792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710611241.3A CN107294792A (en) 2017-07-25 2017-07-25 The message informing method and device of a kind of application server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710611241.3A CN107294792A (en) 2017-07-25 2017-07-25 The message informing method and device of a kind of application server

Publications (1)

Publication Number Publication Date
CN107294792A true CN107294792A (en) 2017-10-24

Family

ID=60102553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710611241.3A Pending CN107294792A (en) 2017-07-25 2017-07-25 The message informing method and device of a kind of application server

Country Status (1)

Country Link
CN (1) CN107294792A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005663A (en) * 2006-11-15 2007-07-25 深圳凯虹移动通信有限公司 Mobile terminal with lost tracking function and lost tracking method of mobile terminal
WO2008071083A1 (en) * 2006-12-14 2008-06-19 Huawei Technologies Co., Ltd. A method and apparatus for processing flow media service anomaly
CN101335650A (en) * 2007-06-26 2008-12-31 上海岱嘉医学信息系统有限公司 Server system operation situation monitoring early-warning processing method
CN103701996A (en) * 2014-01-09 2014-04-02 厦门美图之家科技有限公司 Quick opening and closing method for application program notification of mobile terminal
CN104010007A (en) * 2013-02-21 2014-08-27 中兴通讯股份有限公司 Server remote monitoring method and system
US20150106658A1 (en) * 2012-06-25 2015-04-16 Fujitsu Limited Information processing apparatus and failure detection method of information processing apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005663A (en) * 2006-11-15 2007-07-25 深圳凯虹移动通信有限公司 Mobile terminal with lost tracking function and lost tracking method of mobile terminal
WO2008071083A1 (en) * 2006-12-14 2008-06-19 Huawei Technologies Co., Ltd. A method and apparatus for processing flow media service anomaly
CN101335650A (en) * 2007-06-26 2008-12-31 上海岱嘉医学信息系统有限公司 Server system operation situation monitoring early-warning processing method
US20150106658A1 (en) * 2012-06-25 2015-04-16 Fujitsu Limited Information processing apparatus and failure detection method of information processing apparatus
CN104010007A (en) * 2013-02-21 2014-08-27 中兴通讯股份有限公司 Server remote monitoring method and system
CN103701996A (en) * 2014-01-09 2014-04-02 厦门美图之家科技有限公司 Quick opening and closing method for application program notification of mobile terminal

Similar Documents

Publication Publication Date Title
US20170264505A1 (en) Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
CN110278097B (en) Server operation and maintenance system and method based on Android system
CN106557909A (en) Work ticket automatic generation system
CN109688046A (en) Issue management method, apparatus, equipment and storage medium
US20210232725A1 (en) System and method for testing an integrated monitoring system
CN110661811A (en) Firewall policy management method and device
CN111400465B (en) Generation method and device of customer service robot, electronic equipment and medium
CN105528337A (en) Method for exporting PPT reports from performance management system through data conversion
US10083070B2 (en) Log file reduction according to problem-space network topology
CN104698374A (en) Method for improving testing efficiency and accuracy of automatic relay protecting tester
US10447622B2 (en) Identifying trending issues in organizational messaging
CN105487970A (en) Interface display method and apparatus
CN104133915A (en) Monitoring method and system for operation and maintenance behavior of database administrator
CN103854230A (en) Electric power security risk management and control system and method
CN107294792A (en) The message informing method and device of a kind of application server
CN110532305A (en) A kind of business datum method for cutting over and system
CN109039776B (en) System for realizing unified account management of multiple systems by simulating HTTP (hyper text transport protocol) request
US20180260294A1 (en) Subscription methods and systems for component information of a system
CN107632899A (en) A kind of snapshot service method and device of application server
US9824566B1 (en) Alert management based on alert rankings
CN109871267B (en) One-key start-stop method and system for base priority
CN115827394A (en) Monitoring alarm method based on Zabbix
CN112463587B (en) Ice service monitoring method based on QOS
CN117076264A (en) Alarm event processing method, device, equipment and storage medium
CN106651297B (en) Session access control method based on service module in ERP system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171024