CN106708706A - Task program exception alarm information processing method and apparatus - Google Patents

Task program exception alarm information processing method and apparatus Download PDF

Info

Publication number
CN106708706A
CN106708706A CN201510777377.2A CN201510777377A CN106708706A CN 106708706 A CN106708706 A CN 106708706A CN 201510777377 A CN201510777377 A CN 201510777377A CN 106708706 A CN106708706 A CN 106708706A
Authority
CN
China
Prior art keywords
alarm
information
warning message
task program
destination address
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.)
Granted
Application number
CN201510777377.2A
Other languages
Chinese (zh)
Other versions
CN106708706B (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.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology 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 Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201510777377.2A priority Critical patent/CN106708706B/en
Publication of CN106708706A publication Critical patent/CN106708706A/en
Application granted granted Critical
Publication of CN106708706B publication Critical patent/CN106708706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Alarm Systems (AREA)

Abstract

The invention discloses a task program exception alarm information processing method and apparatus. The method comprises the steps of obtaining alarm information, wherein the alarm information is information sent when a task program is exceptional; obtaining a target address corresponding to the alarm information, wherein the target address is used for receiving the alarm information; determining alarm content configuration information according to the target address; and generating alarm contents according to the alarm content configuration information, and sending the alarm contents. Through the method and the apparatus, the problem of low efficiency of processing the task program exception alarm information in related information is solved.

Description

Task program abnormal alarm information processing method and device
Technical field
The application is related to program alarm field, in particular to the alarm information processing side that a kind of task program is abnormal Method and device.
Background technology
At present, in the system of application task program, there is the task program of many timing operations on backstage, each task journey Sequence completes a single task.For example, daily record analysis program is responsible for the daily record letter that resolution server is received per hour Breath, statistical reliability data program is responsible for counting per hour the exposure and click of each advertisement.Each task program is configured There is the contact information of related director, abnormal information is sent to related director in task program operation exception. In correlation technique, abnormal information correlation director information dispersion storage in the configuration file of each task program, The related director's information of modification is very inconvenient, while also very numb if necessary to extension sending method (such as SMS notification) Tired, each task program will set sending module to send warning message, cause task program function burden, in phase When the contact method for closing director's information changes, the function of increasing sending module is also pretty troublesome, therefore causes to appointing The alarm information processing efficiency of program exception of being engaged in is low.
For problem low to the abnormal alarm information processing efficiency of task program in relevant information, not yet propose have at present The solution of effect.
The content of the invention
The main purpose of the application is to provide a kind of task program abnormal alarm information processing method and device, to solve The certainly low problem of alarm information processing efficiency abnormal to task program in relevant information.
To achieve these goals, according to the one side of the application, there is provided a kind of abnormal alarm signal of task program Breath processing method.The method includes:Warning message is obtained, wherein, warning message is that task program is sent out when occurring abnormal The information for going out;Destination address corresponding with warning message is obtained, wherein, destination address is used to receive warning message;Root Determine alarm content configuration information according to destination address;And alarm content is generated according to alarm content configuration information, concurrently Send alarm content.
Further, obtaining destination address corresponding with warning message includes:Task program name in parsing warning message Claim;The corresponding destination address of task program title is obtained, determines that alarm content configuration information includes according to destination address: The sending method of alarm sub-information and alarm sub-information is determined according to destination address, wherein, alarm sub-information is alarm signal The information sent to destination address is needed in breath;Alarm content is generated according to alarm content configuration information, concurrently deliver newspaper police Content includes:According to alarm sub-information and sending method generation alarm content, alarm content is sent.
Further, obtaining the corresponding destination address of task program title includes:From the corresponding task of task program title The corresponding destination address of task program title is extracted in the configuration file of program, or, obtained in the first presetting database The corresponding destination address of task program title is taken, wherein, task program name is previously stored with the first presetting database Claim destination address corresponding with task program title.
Further, sending method includes lettergram mode, generates alarm content according to alarm content configuration information, concurrently Sending alarm content includes:According to alarm sub-information and lettergram mode generation alarm mail;And send alarm mail.
Further, sending method includes short message mode, generates alarm content according to alarm content configuration information, concurrently Sending alarm content includes:According to alarm sub-information and short message mode generation alarming short message;And send alarming short message.
Further, obtaining warning message includes:Whether Detection task program there is exception;If detecting task journey There is exception in sequence, call the data-interface for pre-setting;And the warning message of task program is received by data-interface.
Further, after warning message is obtained, before acquisition destination address corresponding with warning message, the party Method also includes:Warning message is adjusted to the warning message of preset format;And store the warning message of preset format To the second presetting database, obtaining destination address corresponding with warning message includes:Read from the second presetting database The warning message of preset format, and obtain destination address corresponding with the warning message of preset format.
To achieve these goals, according to the another aspect of the application, there is provided a kind of abnormal alarm signal of task program Breath processing unit.The device includes:First acquisition unit, for obtaining warning message, wherein, warning message is to appoint The information that business program sends when occurring abnormal;Second acquisition unit, for obtaining destination address corresponding with warning message, Wherein, destination address is used to receive warning message;Determining unit, for determining that alarm content is configured according to destination address Information;And processing unit, for generating alarm content according to alarm content configuration information, concurrently send alarm content.
Further, second acquisition unit includes:Parsing module, for parsing the task program title in warning message; Acquisition module, for obtaining the corresponding destination address of task program title, determining unit includes:Determining module, is used for The sending method of alarm sub-information and alarm sub-information is determined according to destination address, wherein, alarm sub-information is alarm signal The information sent to destination address is needed in breath;Processing unit includes:Processing module, for according to alarm sub-information and Sending method generates alarm content, sends alarm content.
Further, sending method includes lettergram mode, and processing unit includes:Generation module, for according to alarm Information and lettergram mode generation alarm mail;And sending module, for sending alarm mail.
By the application, using following steps:Warning message is obtained, wherein, warning message is that task program generation is different The information sent when often;Destination address corresponding with warning message is obtained, wherein, destination address is used to receive alarm signal Breath;Alarm content configuration information is determined according to destination address;And alarm content is generated according to alarm content configuration information, Concurrently send alarm content, solve the problems, such as it is low to the abnormal alarm information processing efficiency of task program in relevant information, And then reached the effect for improving the abnormal alarm information processing efficiency of task program.
Brief description of the drawings
The accompanying drawing for constituting the part of the application is used for providing further understanding of the present application, the schematic reality of the application Apply example and its illustrate for explaining the application, do not constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the flow chart according to the abnormal alarm information processing method of the task program of the embodiment of the present application;And
Fig. 2 is the schematic diagram according to the abnormal warning information processing device of the task program of the embodiment of the present application.
Specific embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.Describe the application in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order that those skilled in the art more fully understand application scheme, below in conjunction with the embodiment of the present application Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present application, it is clear that described embodiment The only embodiment of the application part, rather than whole embodiments.Based on the embodiment in the application, ability The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, should all belong to The scope of the application protection.
It should be noted that term " first ", " in the description and claims of this application and above-mentioned accompanying drawing Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this The data that sample is used can be exchanged in the appropriate case, so as to embodiments herein described herein.Additionally, term " comprising " and " having " and their any deformation, it is intended that covering is non-exclusive to be included, for example, comprising The process of series of steps or unit, method, system, product or equipment are not necessarily limited to those steps clearly listed Rapid or unit, but may include not listing clearly or intrinsic for these processes, method, product or equipment Other steps or unit.
According to embodiments herein, there is provided a kind of abnormal alarm information processing method of task program.
Fig. 1 is the flow chart according to the abnormal alarm information processing method of the task program of the embodiment of the present application.Such as Fig. 1 Shown, the method is comprised the following steps:
Step S101, obtains warning message, wherein, warning message is the information sent when task program occurs abnormal.
Task program in task program system is in startup or operation, it may occur that program operation exception, produces report Alert information.When task program is due to occurring abnormal alert, the warning message is received.In task program system In system, for example, Android (Android) system, Enterprise Resources Planning (Enterprise Resource Planning, letter Claim ERP) system etc., there is the task program of many backstage timing operations, each background task program completes one individually Task, for example, the log information that each hour timing resolution server of daily record analysis program is received, basic data Statistics program is responsible for exposure and the click volume that timing in each hour counts each advertisement, also has in task program system Task program and the task program of these task program Background schedulings that user starts.Each task program is equipped with The contact method of related director, when task program operation occurs abnormal by the abnormal warning message for producing according to contact Mode is sent to related director.The contact method of related director can be stored in the configuration text of each task program In part, for example, file of the file name with the entitled .Config of extension.Can also by each task program title with it is each The contact method of the corresponding related director of individual task program title is stored in the first presetting database.Wherein, it is related The contact method of director can be mailbox message, phone number, Tencent QQ number, the micro-signal of related director Etc. the information of different contact methods.When task program occurs abnormal, can receive comprising task program name information, The warning message of the information such as task program abnormal class and time of origin, task program exception rank.
Alternatively, in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, alarm is obtained Information can realize whether Detection task program occurs exception by following steps, if detecting task program generation It is abnormal, then the data-interface for pre-setting is called, the warning message of task program is received by data-interface.This implementation The alarm information processing method of the task program exception that example is provided provides a data-interface, for each task in system Program is called when occurring abnormal, detects task program and the data-interface for calling this to pre-set after exception occurs, and is led to Cross the data-interface and receive the warning message that task program is produced extremely.
Alternatively, in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, can first by Warning message is stored in storage device, and the warning message is read in storage device.
Alternatively, in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, reported obtaining After alert information, before acquisition destination address corresponding with warning message, the method also includes:Warning message is adjusted Whole is the warning message of preset format, and the form can be the form for pre-setting, by extracting warning message in Default preset format is adjusted to after different information, the warning message of preset format is stored to the second presetting database, Second presetting database can be for backing up these warning messages, in case inquiring about, calling or count.Second presets Each abnormal corresponding alarm signal preserved with the preset format of each task program can be previously stored with database Breath, and the warning message of each preset format for prestoring correspond to the destination address of the task program.The preset format Warning message can be as shown in table 1, the present embodiment is not particularly limited to the form of the warning message of the preset format.
Table 1
Step S102, obtains destination address corresponding with warning message.
After warning message is received, destination address corresponding with warning message is obtained, destination address is used to receive Warning message.I.e. the destination address is the address information of responsible treatment exception in the corresponding task program of warning message. The particular content of destination address can be the phone number of related director, Tencent QQ number, wechat number or mailbox The modes such as address.If destination address includes various contact methods, priority ordering can be carried out to various contact methods, Preferentially choose a kind of contact method or sent as destination address by the various contact methods of priority ordering sequential selection and alarm Information, the present embodiment is not specifically limited to this.
Alternatively, in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, obtain and report The corresponding destination address of police's information can also be realized by following steps:Task program title in parsing warning message, Obtain the corresponding destination address of task program title.
Because the contact method of related director can be stored in the configuration file of each task program, it is also possible to The contact method storage of each task program title related director corresponding to each task program title is pre- first If in database.Therefore, obtaining the corresponding destination address of task program title includes:It is corresponding from task program title The corresponding destination address of task program title is extracted in the configuration file of task program, or, in the first presetting database It is middle to obtain the corresponding destination address of task program title, wherein, task journey is previously stored with the first presetting database Sequence title and the corresponding destination address of task program title.
Specifically, the acquisition modes to destination address can recall related bearing in each task program of system in advance Blame the contact method of people and be summarised in a form or document (the first above-mentioned presetting database of correspondence), obtaining The warning message post analysis warning messages is which task program sends, and inquires about corresponding in the form or document for collecting Destination address;Can also extract phase in the configuration file that abnormal task program occurs after obtaining warning message Close the contact method of director;Can also contain destination address in warning message, directly in warning message Corresponding destination address is extracted, can also be that also stored for each task program in the first presetting database may occur The all abnormal warning messages adjustment for producing after preset format warning message, and the alarm signal with preset format Corresponding destination address is ceased, after warning message is received, warning message is adjusted to the warning message of preset format, The corresponding destination address of warning message of the preset format is inquired in the first presetting database, the present embodiment is to target The acquisition modes of address are not specifically limited.
It should be noted that being summarised in a form by by the contact method of the related director in each task program Or in document (the first presetting database), when needing to modify the information of multiple correlation directors, Ke Yi Carry out unifying modification in database, and need not be to changing related being responsible for one by one in the configuration file of each task program The information of people, i.e., realize the unified management of the information to related director in this application, can very easily change The information of related director.
Step S103, alarm content configuration information is determined according to destination address.
After destination address is obtained, alarm content configuration information is determined according to destination address.The alarm content matches somebody with somebody confidence Breath can determine according to the particular content of destination address, can be responsible for including the correlation that abnormal task program occurs The contact method of people or the sending method to warning message.For example, phone number, the Tencent QQ of related director Number, wechat number or email address etc..Priority ordering can be carried out to various contact methods, it is preferential to choose a kind of connection It is mode or by the various contact methods of priority ordering sequential selection.
Alternatively, in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, obtain and report The corresponding destination address of police's information includes:Task program title in parsing warning message, obtains task program title pair The destination address answered, determines that alarm content configuration information includes determining alarm son letter according to destination address according to destination address The sending method of breath and alarm sub-information, alarm sub-information is the information for needing in warning message to send to destination address.
For example, destination address is the contact method of related director, the contact method is QQ numbers or wechat number, The sending method for determining alarm sub-information is by QQ message or wechat message.By alarm in warning message Information analysis out, are organized into QQ message or wechat form of message, can be document form, or sectional drawing The form of picture, the present embodiment is not particularly limited to form, determine alarm sub-information send to the QQ numbers or Person's wechat number.Alarm sub-information can include occurring abnormal task program title, abnormal title, abnormal rank and At least one in the abnormal time for occurring.The form of sub-information of alarming can according to the difference of alarm sub-information sending method To do different choice.
It should be noted that being not limited in alarm content configuration information in the application only comprising alarm sub-information and report The sending method of alert sub-information, can also include other information, be not construed as limiting in this application.
Step S104, alarm content is generated according to alarm content configuration information, concurrently send alarm content.
After alarm content configuration information is determined, generate alarm content and send.Alarm content configuration information Can include that alarm needs the address that be sent to, the particular content with alarm sends to needing hair the particular content of alarm Transmission of the past address to complete to alarm.
Alternatively, after alarm content configuration information is determined according to destination address, alarm son letter is determined according to destination address The sending method of breath and alarm sub-information, alarm sub-information is the information for needing in warning message to send to destination address, According to alarm sub-information and sending method generation alarm content, alarm content is sent.
Alternatively, in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, sending method Including lettergram mode, alarm content is generated according to alarm content configuration information, concurrently send alarm content to include according to alarm Sub-information and lettergram mode generate alarm mail and send the alarm mail.Mail Contents can include alarm sub-information The information content, form can be the form that mail transmission can be carried, for example, word, form, picture or annex.
Alternatively, in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, sending method Including short message mode, alarming short message is generated according to alarm sub-information and short message mode and the alarming short message is sent.
It should be noted that in the abnormal alarm information processing method of the task program that the embodiment of the present application is provided, hair Send mode to be not limited to lettergram mode or short message method, can also be wechat mode and QQ modes, according to alarm Sub-information and wechat mode generate alarm wechat message or alarm sub-information and QQ modes generate alarm QQ message, Send alarm wechat message or QQ message of alarming, the alarm content of wechat message or QQ message can include hair Screenshot picture etc., the application is sent to be not specifically limited the sending method of alarm content.
By above step, the function of sending warning message is splitted out from each task program, by advance The interface of setting is obtained after the warning message of each application program, in the configuration file generation alarm according to application program Hold, be sent out for alarm content by unification, can very easily manage each task program needs the correlation for notifying to be responsible for People and content of announcement.The correlation function of alarm content is sent by being managed collectively, other hairs can also be easily extended Mode is sent, without being respectively modified each task program, so as to improve to the abnormal alarm information processing of task program Efficiency.
The alarm information processing method of the task program exception that the embodiment of the present application is provided, by obtaining warning message, its In, warning message is the information sent when task program occurs abnormal;Destination address corresponding with warning message is obtained, Wherein, destination address is the information sent warning message to destination address;Determine that alarm content is matched somebody with somebody according to destination address Confidence ceases;And alarm content is generated according to alarm content configuration information, and alarm content is concurrently sent, solve related letter The problem low to the abnormal alarm information processing efficiency of task program in breath, and then reached raising task program exception The effect of alarm information processing efficiency.
It should be noted that can be in such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated Performed in computer system, and, although logical order is shown in flow charts, but in some cases, can Shown or described step is performed with different from order herein.
The embodiment of the present application additionally provides a kind of abnormal warning information processing device of task program, it is necessary to illustrate, The abnormal warning information processing device of the task program of the embodiment of the present application can be used for execution the embodiment of the present application and be provided The alarm information processing method abnormal for task program.The task program exception for providing the embodiment of the present application below Warning information processing device be introduced.
Fig. 2 is the schematic diagram according to the abnormal warning information processing device of the task program of the embodiment of the present application.Such as Fig. 2 Shown, the device includes:First acquisition unit 10, second acquisition unit 20, determining unit 30 and processing unit 40.
First acquisition unit 10, for obtaining warning message, wherein, warning message is that task program is sent out when occurring abnormal The information for going out.
Second acquisition unit 20, for obtaining destination address corresponding with warning message, wherein, destination address is used to connect Receive warning message.
Determining unit 30, for determining alarm content configuration information according to destination address.
Processing unit 40, for generating alarm content according to alarm content configuration information, concurrently send alarm content.
The warning information processing device of the task program exception that the embodiment of the present application is provided, by first acquisition unit 10 Obtain warning message;Second acquisition unit 20 obtains destination address corresponding with warning message, wherein, destination address is used In reception warning message;Determining unit 30 determines alarm content configuration information according to destination address;And processing unit 40 generate alarm content according to alarm content configuration information, concurrently send alarm content, solve in relevant information to task The low problem of the alarm information processing efficiency of program exception, and then reached and improve at the abnormal warning message of task program Manage the effect of efficiency.
Alternatively, in the abnormal warning information processing device of the task program that the embodiment of the present application is provided, second obtains Unit 20 includes:Parsing module, for parsing the task program title in warning message;Acquisition module, for obtaining The corresponding destination address of task program title, determining unit 30 includes:Determining module, for being determined according to destination address The sending method of alarm sub-information and alarm sub-information, wherein, alarm sub-information is to need to send to mesh in warning message Mark the information of address;Processing unit 40 includes:Processing module, for according to alarm sub-information and sending method generation report Alert content, sends alarm content.
Alternatively, in the abnormal warning information processing device of the task program that the embodiment of the present application is provided, sending method Including lettergram mode, processing unit 40 includes:Generation module, for according to alarm sub-information and lettergram mode generation report Alert mail;And sending module, for sending alarm mail.
Alternatively, in the abnormal warning information processing device of the task program that the embodiment of the present application is provided, first obtains Unit 10 includes:Whether detection module, there is exception for Detection task program;Calling module, if for detecting There is exception to task program, call the data-interface for pre-setting;And receiver module, for by data-interface Receive the warning message of task program.
The abnormal warning information processing device of the task program includes processor and memory, above-mentioned first acquisition unit, Second acquisition unit, determining unit and processing unit etc. in memory, are held as program unit storage by processor Row storage said procedure unit in memory realizes corresponding function.
Kernel is included in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can set one Or more, by the warning message for adjusting kernel parameter process task program exception.
Memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/ Or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory, memory includes at least one Individual storage chip.
Present invention also provides a kind of embodiment of computer program product, when being performed on data processing equipment, fit In the program code for performing initialization there are as below methods step:Warning message is obtained, wherein, warning message is task journey The information that sequence sends when occurring abnormal;Destination address corresponding with warning message is obtained, wherein, destination address is to report Alert information is sent to the information of destination address;Alarm content configuration information is determined according to destination address;And according to alarm Content profile information generates alarm content, concurrently send alarm content.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as one it is The combination of actions of row, but those skilled in the art should know, and the application is not limited by described sequence of movement System, because according to the application, some steps can sequentially or simultaneously be carried out using other.Secondly, art technology Personnel should also know that embodiment described in this description belongs to preferred embodiment, involved action and module Not necessarily necessary to the application.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by other sides Formula is realized.For example, device embodiment described above is only schematical, such as the division of described unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can To combine or be desirably integrated into another system, or some features can be ignored, or not perform.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to On multiple NEs.Some or all of unit therein can be according to the actual needs selected to realize the present embodiment The purpose of scheme.
In addition, during each functional unit in the application each embodiment can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
Obviously, those skilled in the art should be understood that each module or each step of above-mentioned the application can be with general Computing device realize that they can be concentrated on single computing device, or be distributed in multiple computing device institutes On the network of composition, alternatively, they can be realized with the executable program code of computing device, it is thus possible to It is stored in being performed by computing device in storage device, or they is fabricated to each integrated circuit die respectively Block, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So, the application Any specific hardware and software is not restricted to combine.
The preferred embodiment of the application is the foregoing is only, the application is not limited to, for those skilled in the art For member, the application can have various modifications and variations.It is all within spirit herein and principle, made it is any Modification, equivalent, improvement etc., should be included within the protection domain of the application.

Claims (10)

1. the abnormal alarm information processing method of a kind of task program, it is characterised in that including:
Warning message is obtained, wherein, the warning message is the information sent when task program occurs abnormal;
Destination address corresponding with the warning message is obtained, wherein, the destination address is used to receive the report Alert information;
Alarm content configuration information is determined according to the destination address;And
Alarm content is generated according to the alarm content configuration information, and sends the alarm content.
2. method according to claim 1, it is characterised in that
Obtaining destination address corresponding with the warning message includes:Parse the task program in the warning message Title;The corresponding destination address of the task program title is obtained,
Determine that alarm content configuration information includes according to the destination address:Determined to alarm according to the destination address The sending method of sub-information and the alarm sub-information, wherein, the alarm sub-information is in the warning message Need the information sent to destination address;
Generating alarm content according to the alarm content configuration information, and send the alarm content includes:According to The alarm sub-information and described sender formula generate the alarm content, send the alarm content.
3. method according to claim 2, it is characterised in that obtain the corresponding target ground of the task program title Location includes:
The task program title pair is extracted from the configuration file of the corresponding task program of the task program title The destination address answered,
Or,
The corresponding destination address of the task program title is obtained in the first presetting database, wherein, described The task program title and the corresponding target of the task program title are previously stored with first presetting database Address.
4. method according to claim 2, it is characterised in that described sender formula includes lettergram mode, according to institute Stating alarm content configuration information generation alarm content, and send the alarm content includes:
According to the alarm sub-information and lettergram mode generation alarm mail;And
Send the alarm mail.
5. method according to claim 2, it is characterised in that described sender formula includes short message mode, according to institute Stating alarm content configuration information generation alarm content, and send the alarm content includes:
According to the alarm sub-information and short message mode generation alarming short message;And
Send the alarming short message.
6. method according to claim 1, it is characterised in that obtaining the warning message includes:
Detect whether the task program occurs exception;
If detecting the task program occurs exception, the data-interface for pre-setting is called;And
The warning message of the task program is received by the data-interface.
7. method according to claim 1, it is characterised in that
After the warning message is obtained, before destination address corresponding with the warning message is obtained, institute Stating method also includes:The warning message is adjusted to the warning message of preset format;And by the default lattice The warning message of formula is stored to the second presetting database,
Obtaining destination address corresponding with the warning message includes:Institute is read from second presetting database The warning message of preset format is stated, and obtains destination address corresponding with the warning message of the preset format.
8. the abnormal warning information processing device of a kind of task program, it is characterised in that including:
First acquisition unit, for obtaining warning message, wherein, the warning message is that task program generation is different The information sent when often;
Second acquisition unit, for obtaining destination address corresponding with the warning message, wherein, the target Address is used to receive the warning message;
Determining unit, for determining alarm content configuration information according to the destination address;And
Processing unit, for generating alarm content according to the alarm content configuration information, and sends the alarm Content.
9. device according to claim 8, it is characterised in that
The second acquisition unit includes:Parsing module, for parsing the name of the task program in the warning message Claim;Acquisition module, for obtaining the corresponding destination address of the task program title,
The determining unit includes:Determining module, for determining alarm sub-information and institute according to the destination address The sending method of alarm sub-information is stated, wherein, it is described to alarm sub-information to need to send extremely in the warning message The information of destination address;
The processing unit includes:Processing module, for according to the alarm sub-information and the life of described sender formula Into the alarm content, the alarm content is sent.
10. device according to claim 9, it is characterised in that described sender formula includes lettergram mode, the place Reason unit includes:
Generation module, for according to the alarm sub-information and lettergram mode generation alarm mail;And
Sending module, for sending the alarm mail.
CN201510777377.2A 2015-11-12 2015-11-12 Alarm information processing method and device for task program abnormity Active CN106708706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510777377.2A CN106708706B (en) 2015-11-12 2015-11-12 Alarm information processing method and device for task program abnormity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510777377.2A CN106708706B (en) 2015-11-12 2015-11-12 Alarm information processing method and device for task program abnormity

Publications (2)

Publication Number Publication Date
CN106708706A true CN106708706A (en) 2017-05-24
CN106708706B CN106708706B (en) 2020-07-03

Family

ID=58931838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510777377.2A Active CN106708706B (en) 2015-11-12 2015-11-12 Alarm information processing method and device for task program abnormity

Country Status (1)

Country Link
CN (1) CN106708706B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090561A (en) * 2019-11-22 2020-05-01 厦门海迈科技股份有限公司 Abnormal alarm processing method and device for application program
CN114996098A (en) * 2022-06-24 2022-09-02 中电金信软件有限公司 Exception handling method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409638A (en) * 2008-11-19 2009-04-15 阿里巴巴集团控股有限公司 Method, system and apparatus for warning distributed business system fault
US20150089043A1 (en) * 2013-09-20 2015-03-26 Lingua Next Technologies Pvt. Ltd. User Device Monitoring

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409638A (en) * 2008-11-19 2009-04-15 阿里巴巴集团控股有限公司 Method, system and apparatus for warning distributed business system fault
US20150089043A1 (en) * 2013-09-20 2015-03-26 Lingua Next Technologies Pvt. Ltd. User Device Monitoring

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090561A (en) * 2019-11-22 2020-05-01 厦门海迈科技股份有限公司 Abnormal alarm processing method and device for application program
CN114996098A (en) * 2022-06-24 2022-09-02 中电金信软件有限公司 Exception handling method and device
CN114996098B (en) * 2022-06-24 2024-04-09 中电金信软件有限公司 Exception handling method and device

Also Published As

Publication number Publication date
CN106708706B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
US9705831B2 (en) Apparatus and method for maintaining a message thread with opt-in permanence for entries
CN104992096B (en) A kind of data guard method and mobile terminal
JP2018529148A (en) Group message prompt method and apparatus for instant messaging application
AU2012348048A1 (en) Contextual and location awareness for device interaction
US9800488B2 (en) Method for setting heartbeat timer, terminal and server
TW201804826A (en) Application message pushing method and device
CN110351182B (en) Mail sending method, device, equipment and computer readable storage medium
CN109756528B (en) Frequency control method and device, equipment, storage medium and server
US10659335B1 (en) Contextual analyses of network traffic
US20150310086A1 (en) System for decomposing clustering events from managed infrastructures coupled to a data extraction device
CN105553770B (en) Data acquisition control method and device
WO2018182758A1 (en) Techniques for templated messages
CN108989365B (en) Information processing method, server, terminal equipment and storage medium
CN103763181A (en) Automatic attribute setting device and method
WO2016101446A1 (en) Data analysis method, apparatus, system, and terminal, and server
CN107948242A (en) More service number template message sending methods and system
CN106708706A (en) Task program exception alarm information processing method and apparatus
CN112260933B (en) Communication method, communication device, electronic equipment and medium
CN106485520A (en) Across channel communicating control method and server
US10320737B2 (en) Device and method for temporal correlation of communication types
CN108924840B (en) Blacklist management method and device and terminal
CN109391537B (en) Information processing method and device and computer storage medium
WO2021244548A1 (en) Instant message processing method and device
CN108880986B (en) Information interaction method, system and server
WO2016150111A1 (en) Data processing method, device and system based on call reminder

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant