The content of the invention
This specification embodiment purpose is to provide a kind of front end abnormality alarming processing method, apparatus and system, there is provided low
The mode of cost lightweight carries out the collection and alarm of Data Frontend abnormality alarming data, it is possible to achieve the scanning of data, cleaning,
The operation of alarm etc can be completed in the backstage alerting service of access, reduce human cost.
A kind of front end abnormality alarming processing method of this specification embodiment offer, apparatus and system are to include in the following manner
Realize:
A kind of front end abnormality alarming processing method, methods described include:
Front end captures page exception, and abnormal log corresponding to the page exception is sent into daily record maintenance system;
The daily record maintenance system receives the abnormal log, and the abnormal log and corresponding system identifier are write
Journal file, the system identifier include the systematic name life based on the front end said system for accessing the daily record maintenance system
Into;
Journal file described in alarm server timing acquisition, judged whether to meet the alarm set according to the journal file
Condition;
If it is satisfied, then the alarm server sends the warning information corresponding to the front end said system.
A kind of front end abnormality alarming processing method, methods described include:
The abnormal log that receiving front-end is sent;
By the abnormal log and corresponding system identifier write-in journal file, the system identifier includes being based on connecing
Enter the systematic name generation of the front end said system of the daily record maintenance system;
The journal file is sent to the alerting service by the log acquisition instructions based on the alarm server received
Device, so that the alarm server sends corresponding warning information when being determined based on the journal file and being reached alarm conditions.
A kind of front end abnormality alarming processing method, methods described include:
Timing obtains journal file from daily record maintenance system, and the journal file includes the exception based on the front end received
Daily record and the generation of corresponding system identifier, the system identifier are included based on the front end institute for accessing the daily record maintenance system
The systematic name generation of category system;
The alarm conditions for judging whether to reach setting according to the journal file;
If it is satisfied, then the alarm server sends the warning information corresponding to the front end said system.
A kind of front end abnormality alarming processing method, methods described include:
The abnormal log that receiving front-end is sent, the abnormal log and corresponding system identifier are write into journal file,
The system identifier includes the systematic name generation based on the front end said system for accessing the daily record maintenance system;
Judged whether to meet the alarm conditions set according to the journal file;
If it is satisfied, then send the warning information corresponding to the front end said system.
Server, backstage alarm server are safeguarded in a kind of front end abnormality alarming processing system, including daily record,
Server is safeguarded in the daily record, the abnormal log sent for receiving front-end;Be additionally operable to the abnormal log and
Corresponding system identifier writes journal file, and the system identifier is included based on the front end for accessing the daily record maintenance system
The systematic name generation of said system;
The alarm server, safeguard that server obtains journal file from daily record for timing;It is additionally operable to according to the day
Will file judges whether to meet the alarm conditions set;And when meeting the alarm conditions, send corresponding to the front end
The warning information of said system.
A kind of front end abnormality alarming processing unit, described device include:
Daily record receiving module, the abnormal log sent for receiving front-end;
Logger module, for the abnormal log and corresponding system identifier to be write into journal file, the system
Identifier of uniting includes the systematic name generation based on the front end said system for accessing the daily record maintenance system;
Daily record sending module, the journal file is sent out for the log acquisition instructions based on the alarm server received
The alarm server is given, so that the alarm server is sent when being determined based on the journal file and being reached alarm conditions
Corresponding warning information.
A kind of front end abnormality alarming processing unit, described device include:
Log acquisition module, journal file is obtained from daily record maintenance system for timing, the journal file includes being based on
The abnormal log of the front end received and the generation of corresponding system identifier, the system identifier were included based on the access day
The systematic name generation of the front end said system of will maintenance system;
Judge module, for the alarm conditions for judging whether to reach setting according to the journal file;
Alarm module, for if it is satisfied, then the alarm server sends the announcement corresponding to the front end said system
Alert information.
A kind of front end abnormality alarming processing unit, described device include:
Logger module, the abnormal log sent for receiving front-end, by the abnormal log and corresponding system mark
Know symbol write-in journal file, the system identifier including being based on the front end said system for accessing the daily record maintenance system
Title of uniting generation;
Judge module, for being judged whether to meet the alarm conditions set according to the journal file;
Alarm module, for when meeting alarm conditions, sending the warning information corresponding to the front end said system.
A kind of front end abnormality alarming processing unit, including processor and the storage for storing processor-executable instruction
Device, realized described in the computing device during instruction:
The abnormal log that receiving front-end is sent;
By the abnormal log and corresponding system identifier write-in journal file, the system identifier includes being based on connecing
Enter the systematic name generation of the front end said system of the daily record maintenance system;
The journal file is sent to the alerting service by the log acquisition instructions based on the alarm server received
Device, so that the alarm server sends corresponding warning information when being determined based on the journal file and being reached alarm conditions.
A kind of front end abnormality alarming processing unit, including processor and the storage for storing processor-executable instruction
Device, realized described in the computing device during instruction:
Timing obtains journal file from daily record maintenance system, and the journal file includes the exception based on the front end received
Daily record and the generation of corresponding system identifier, the system identifier are included based on the front end institute for accessing the daily record maintenance system
The systematic name generation of category system;
The alarm conditions for judging whether to reach setting according to the journal file;
If it is satisfied, then the alarm server sends the warning information corresponding to the front end said system.
A kind of front end abnormality alarming processing unit, including processor and the storage for storing processor-executable instruction
Device, realized described in the computing device during instruction:
The abnormal log that receiving front-end is sent, the abnormal log and corresponding system identifier are write into journal file,
The system identifier includes the systematic name generation based on the front end said system for accessing the daily record maintenance system;
Judged whether to meet the alarm conditions set according to the journal file;
If it is satisfied, then send the warning information corresponding to the front end said system.
A kind of front end abnormality alarming processing method of this specification one or more embodiment offer, apparatus and system, place
The data volume magnitude of the abnormal log of reason, which is far smaller than, buries a data volume magnitude for processing, therefore the data that server is carried out automatically
Scanning, the complexity of cleaning can also decline to a great extent, while the operation of the scanning of data, cleaning, alarm etc can be in access
Completed in the alerting service of backstage, the workload that operating personnel participates in front end abnormality alarming can be substantially reduced, reduce human cost.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in this specification embodiment, below in conjunction with
Accompanying drawing in this specification embodiment, the technical scheme in this specification one or more embodiment is carried out clearly and completely
Description, it is clear that described embodiment is only this specification one or more embodiment part of the embodiment, rather than all
Embodiment.Based on the embodiment in this specification one or more embodiment, those of ordinary skill in the art are not making
The every other embodiment obtained under the premise of creative work, it should all belong to the scope of the protection of this specification embodiment.
Fig. 1 is a kind of schematic flow sheet of front end abnormality alarming processing method embodiment described in this specification.Although this
Specification is provided such as following embodiments or method operating procedure shown in the drawings or apparatus structure, but based on conventional or need not
Performing creative labour can include operating procedure or module less after more or part merges in methods described or device
Unit.Necessary causality is not present in logicality the step of or in structure, the execution sequence of these steps or the mould of device
Block structure is not limited to this specification one or more embodiment or execution sequence shown in the drawings or modular structure.Described method
, can be according to shown in embodiment or accompanying drawing or the device in practice of modular structure, server or end product be when applying
Method or the execution of modular structure carry out order it is either parallel perform (such as the environment of parallel processor or multiple threads,
Even including distributed treatment, the implementation environment of server cluster).
A kind of specific embodiment as shown in figure 1, a kind of front end abnormality alarming processing method that this specification provides one
In kind embodiment, methods described can include:
S2:Front end captures page exception, and abnormal log corresponding to the page exception is sent into daily record maintenance system;
S4:The daily record maintenance system receives the abnormal log, by the abnormal log and corresponding system identifier
Journal file is write, the system identifier includes the system name based on the front end said system for accessing the daily record maintenance system
Claim generation;
S6:Journal file described in alarm server timing acquisition, judged whether to meet what is set according to the journal file
Alarm conditions;
S8:If it is satisfied, then the alarm server sends the warning information corresponding to the front end said system.
Front end described in the present embodiment, typically refer to operate in the five application page of subscription client side, such as intelligence is whole
The page applied in end, page of browser etc..For website, typically refer to, the foreground partition of website, mainly including net
The presentation layer and structure sheaf stood.In general, develop design, test etc. of front end are realized by the foreground code of website, bag
Include design language HTML, CSS and JavaScript/ajax etc..
Fig. 2 is a kind of embodiment of methods described that this specification provides and the processing procedure contrast schematic diagram of Normal practice.
As shown in Fig. 2 needing the work of manpower many in Normal practice, including bury a little, draw data, clean data, processing collects, and alerts
Deng.Scheme can only need 4 steps after this specification one or more embodiment is improved, wherein 1,2,3 three step can
To carry out configuration in background monitoring service (backstage alarm server) in advance by operating personnel.It can be captured in front end page different
Often, abnormal log can be generated after obtaining abnormal information.Then abnormal log can be sent to backstage by front end, by recording from the background
Lower abnormal log.Remaining work can be automatically performed by backstage alarm server.From figure 2 it can be seen that the present embodiment carries
The mode of confession largely simplifies the process step of front end alarming mechanism, the operation of the scanning of data, cleaning, alarm etc
It can be completed in the backstage alerting service of access, therefore the operation that operating personnel participates in front end abnormality alarming can be substantially reduced
Amount, reduce human cost.
Described backstage can be the processing equipment for the recording exceptional daily record being separately provided, and be serviced as abnormal log records
Device.It can also be the abnormal log tape deck being arranged on the backstage alarm server in other embodiments.
Fig. 3 is the processing procedure schematic diagram in the methods described another kind embodiment scene that this specification provides.This implementation
The front end abnormality alarming mechanism concrete processing procedure realized in example can include:
The intermediate system of a daily record maintenance system is established, the system can be with a server, or distribution system
System or server cluster, the abnormal log that JSONP technologies receiving front-end can be utilized to send, and the abnormal day of front end can be safeguarded
Will.Backstage alarm server can regularly fish for the daily record of this intermediate system.Front end abnormality alarming can so be simplified is
System processing operation.It is mainly configured in advance abnormality alarming condition that front end, which needs the work done, according to turning day after then catching the exception
The form agreement of will maintenance system sends JSONP requests.Now alarm server built-in system in backstage need not can invade
The change of original system.Exception can be captured in front end page, abnormal log can be generated after obtaining abnormal information.Then front end
Abnormal log can be sent to the daily record maintenance system of setting, daily record is being recorded by daily record maintenance system from the background.Backstage takes
Business device timing fishes for log folder from daily record maintenance system, judges whether to send out based on journal file and the alarm conditions set
Go out alarm.
Idiographic flow is as shown in figure 3, operating personnel can pre-save the alarm of access system in daily record maintenance system
Condition, write daily record monitoring service.Then a journal file is safeguarded, can specifically be included in and receive an abnormal day every time
The abnormal log and systematic name are write into the journal file during will.For the consideration of secure context, daily record maintenance system with
When putting alarm conditions, a string of identification codes can be generated according to systematic name, the mark as access warning service (is referred to here as
System identifier).If the error message that the abnormal log for receiving front end includes, but the system identifier mark of the abnormal log
Knowledge code is invalid, and it is not the daily record safeguarded needed for daily record maintenance system that can be expressed as the abnormal log, can not have to be recorded in day
In will file, then the abnormal log is now abandoned.Can specifically be set by alarm configuration information needs which system safeguarded
Under front end the abnormal log come occurs, and other relevant configuration on alarm triggered, statistics, recording mode etc. is believed
Breath.These configuration informations can be synchronized to backstage alarm server, make backstage alarm server renewal alarm conditions, make newest
Warning strategies are come into force in time, and page code is write to adjust parameter or modification code to redeploy compared in existing way
Deng, warning information configuration, modification, the convenience safeguarded can be greatly improved, thus can further improve the ageing of alarm
And treatment effeciency.Therefore, in another embodiment of methods described, can also include:
S10:Alarm configuration information is provided, the alarm configuration information is used to be synchronized to the alarm server, with renewal
Alarm conditions in the alarm server.
Describe the realization of the mechanism in detail by taking some front-end product application APP log analysis product systems as an example below.
The relevant information that can be monitored and alert firstly the need of configuration log, table 1 below are shown for one alarm configuration information of the present embodiment
Expectation:
The daily record monitoring of table 1 and alarm configuration information table
Front end can be caught the exception using window.onerror, collected abnormal information and be sent to defined interface.Day
Will maintenance system recorded these data in daily record when receiving front end request.The abnormal log form recorded can following institute
Show:
Certainly, in other embodiments, the alarm conditions that triggering backstage alarm server is alerted can be according to institute
The configuration claim of the alarm server used is set accordingly.As exceeded setting when the abnormal log for meeting certain condition
Alarm can be sent during threshold value, or finds to send alarm etc. during more serious exception.This specification is one or more to be implemented
In the methods described that example provides, the alarm conditions can include at least one of following:
S602:Within the record time of setting, the abnormal log quantity for reaching alarm level exceedes default alarm threshold;
S604:Detect the abnormal log of preferential alarm level.
Compared with prior art buries the front end abnormality alarming mechanism of point mode, this specification one or more embodiment provides
Embodiment need not can specially dispose the tasks of scan abnormalities, can be configured by warning information and realize monitoring before which
Hold abnormality alarming.The data volume that mechanism needs in original technology scan is big, and useful ratio data is minimum, and this specification
The embodiment that one or more embodiments provide can only need to scan particular log, and substantially reducing order of magnitude difference causes to accuse
Alert timeliness difference.In addition, mechanism of the prior art notifies list etc if necessary to change such as alarm threshold, or
Page oneself is write to adjust parameter, is redeployed or going to change code, operate, interaction it is very cumbersome.This specification one or more
The modification that individual exemplary embodiment only can need to carry out corresponding configuration in the daily record maintenance system of centre can be given birth in real time
Effect, operation is easier, more efficient.
It is above-mentioned to survey terminal from the access front end of front end abnormality alarming service, daily record maintenance system, the backstage alarm server more
Interaction describes the embodiment of this specification one or more embodiment.For processing for unilateral server, this explanation
Book one or more embodiment provides a kind of front end for the intermediate system that can be used for for example above-mentioned daily record maintenance system and accused extremely
Alert processing method.Fig. 4 is a kind of schematic flow sheet for front end abnormality alarming processing method embodiment that this specification provides, specifically
As shown in figure 4, can include:
S20:The abnormal log that receiving front-end is sent;
S22:By the abnormal log and corresponding system identifier write-in journal file, the system identifier includes base
In the systematic name generation for the front end said system for accessing the daily record maintenance system;
S24:The journal file is sent to the alarm by the log acquisition instructions based on the alarm server received
Server, so that the alarm server sends corresponding alarm letter when being determined based on the journal file and being reached alarm conditions
Breath.
Such as foregoing more top-cross, mutual embodiment description is understood, for the intermediate system of similar daily record maintenance system, institute
The method of stating can also include:
S26:Alarm configuration information is provided, the alarm configuration information is used to be synchronized to the alarm server, with renewal
Alarm conditions in the alarm server.
Likewise, the alarm conditions can also be set including at least one of following:
S242:Within the record time of setting, the abnormal log quantity for reaching alarm level exceedes default alarm threshold;
S244:Detect the abnormal log of preferential alarm level.
Likewise, for processing for unilateral server, this specification one or more embodiment provides one kind can be with
Front end abnormality alarming processing method for for example above-mentioned backstage alarm server side.Fig. 5 is this specification one or more
The schematic flow sheet for a kind of front end abnormality alarming processing method embodiment that embodiment provides, specifically as shown in figure 5, can wrap
Include:
S30:Timing obtains journal file from daily record maintenance system, and the journal file is included based on the front end received
Abnormal log and the generation of corresponding system identifier, before the system identifier is included based on the daily record maintenance system is accessed
Hold the systematic name generation of said system;
S32:The alarm conditions for judging whether to reach setting according to the journal file;
S34:If it is satisfied, then the alarm server sends the warning information corresponding to the front end said system.
Accordingly, methods described can also include:
S36:Alarm configuration information is provided, the alarm configuration information includes the announcement of at least one of following triggering alarms
Alert condition:
Within the record time of setting, the abnormal log quantity for reaching alarm level exceedes default alarm threshold;
Detect the abnormal log of preferential alarm level.
And in another embodiment of methods described, after warning information is sent, methods described can also include:
S38:The notification message for sending the warning information is pushed to predetermined alarm recipient.
In specific implement scene, daily record maintenance system can only need to receive daily record number embodiment described above
According to storing.The operation of data scanning, cleaning, alarm etc can be completed in existing backstage alerting service.
Substantially reduce human cost and improve the ageing of alarm.
Above embodiment described the abnormal log that front end is sent can be recorded by intermediate system, then by accusing from the background
Alert server timing is fished for.In another or multiple embodiments of the methods described that this specification provides, caused by the front end
Abnormal log can be transmitted directly to backstage alarm server, by the direct record storage of backstage alarm server, then according to announcement
Alert configuration information, by the automatic monitoring to abnormal log, screening etc., realizes automatic data processing, sends alarm.Specifically such as
Shown in Fig. 6, Fig. 6 be this specification provide another front end abnormality alarming processing method embodiment schematic flow sheet, this theory
In a kind of front end abnormality alarming processing method that bright book one or more embodiment provides, it can include:
S40:The abnormal log that receiving front-end is sent, the abnormal log and corresponding system identifier are write into daily record text
Part, the system identifier include the systematic name generation based on the front end said system for accessing the daily record maintenance system;
S42:Judged whether to meet the alarm conditions set according to the journal file;
S44:If it is satisfied, then send the warning information corresponding to the front end said system.
This specification one or more embodiment provide a kind of front end abnormality alarming processing method, can use into
Front end exception is collected and counted to ripe backstage alarming mechanism, is alerted in real time or under requirement quasi real time.This specification
One or more embodiments can use the ripe log system in backstage, can by existing outfit UI operation interface,
By simply, efficiently alarm configuration can be achieved, the hardware cost such as deployment-specific buries point server can be saved.This theory
The order of magnitude of the abnormal log handled in bright book one or more embodiment is far smaller than the data volume magnitude buried a little, therefore is taking
Business device carry out automatically data scanning, cleaning complexity can also decline to a great extent, so this specification one or more embodiment
Alarm real-time or quasi real time improved a lot in front end in property.
Based on front end abnormality alarming processing method described above, this specification one or more embodiment also provides one kind
Front end abnormality alarming processing unit.Described device can include the use of this specification one or more embodiment methods described
System (including distributed system), software (application), module, component, server, client, quantum computer etc. and combine
The necessary device for implementing hardware.Based on same innovation thinking, the device that this specification one or more embodiment provides is as follows
Described in the embodiment in face.It is similar to method to solve the implementation of problem due to device, therefore this specification is one or more real
The implementation for applying the specific device of example may refer to the implementation of preceding method, repeats part and repeats no more.It is used below, term
" unit " or " module " can realize the combination of the software and/or hardware of predetermined function.Although described by following examples
Device is preferably realized with software, but hardware, or software and hardware combination realization and may and be contemplated.
Specifically, Fig. 7 is a kind of modular structure schematic diagram for front end abnormality alarming processing unit embodiment that this specification provides, such as scheme
Shown in 7, described device can include:
Daily record receiving module 101, it can be used for the abnormal log of receiving front-end transmission;
Logger module 102, it can be used for the abnormal log and corresponding system identifier write-in journal file,
The system identifier includes the systematic name generation based on the front end said system for accessing the daily record maintenance system;
Daily record sending module 103, it can be used for the log acquisition instructions based on the alarm server received by the day
Will file is sent to the alarm server, so that the alarm server is determining to reach alarm bar based on the journal file
Corresponding warning information is sent during part.
Described device concrete implementation can be able to be independent such as the daily record maintenance system as described in above-mentioned embodiment of the method
Daily record safeguard the equipment such as server, or server cluster.
This specification one or more embodiment also provides another kind and can be used for for example described in above method embodiment
The front end abnormality alarming processing unit of backstage alarm server, described device can couple/be embedded in existing backstage alarm clothes
It is engaged in device.A kind of specifically, as shown in figure 8, module knot for front end abnormality alarming processing unit embodiment that this specification provides
Structure schematic diagram, it can include:
Log acquisition module 201, it can be used for timing and obtain journal file, the journal file bag from daily record maintenance system
Including the abnormal log based on the front end received and the generation of corresponding system identifier, the system identifier is included based on access
The systematic name generation of the front end said system of the daily record maintenance system;
Judge module 202, it can be used for judging whether the alarm conditions that reach setting according to the journal file;
Alarm module 203, can be when meeting alarm conditions, and the alarm server is sent corresponding to belonging to the front end
The warning information of system.
Certainly, as described in preceding method, the abnormal log of front end can also be transmitted directly to the place of backstage alarm server
Device is managed, by directly recording from the background and regularly fishing for processing.Fig. 9 is a kind of front end abnormality alarming processing dress that this specification provides
Put the modular structure schematic diagram of embodiment.Therefore, accuse extremely another front end that this specification one or more embodiment provides
In the embodiment of alert processing unit, it can include:
Logger module 301, it can be used for the abnormal log of receiving front-end transmission, by the abnormal log and corresponding
System identifier writes journal file, and the system identifier including being belonging to the front end based on the access daily record maintenance system
The systematic name generation of system;
Judge module 302, it can be used for being judged whether to meet the alarm conditions set according to the journal file;
Alarm module 303, it can be used for when meeting alarm conditions, sending the alarm corresponding to the front end said system
Information.
This specification one or more embodiment provide front end abnormality alarming processing method can in a computer by
Reason device performs corresponding programmed instruction to realize, is such as realized using the c++ language of windows operating systems at PC ends, or other
Such as realization of Linux, android, iOS system respective application design language etc., and the processing based on quantum computer patrols
Collect realization etc..Specifically, this specification one or more embodiment provides a kind of front end abnormality alarming processing unit, described device
Processor and the memory for storing processor-executable instruction can be included, it is real during instruction described in the computing device
It is existing:
The abnormal log that receiving front-end is sent;
By the abnormal log and corresponding system identifier write-in journal file, the system identifier includes being based on connecing
Enter the systematic name generation of the front end said system of the daily record maintenance system;
The journal file is sent to the alerting service by the log acquisition instructions based on the alarm server received
Device, so that the alarm server sends corresponding warning information when being determined based on the journal file and being reached alarm conditions.
In a kind of front end abnormality alarming processing unit that this specification one or more embodiment provides, described device can be with
Including processor and for storing the memory of processor-executable instruction, realized described in the computing device during instruction:
Timing obtains journal file from daily record maintenance system, and the journal file includes the exception based on the front end received
Daily record and the generation of corresponding system identifier, the system identifier are included based on the front end institute for accessing the daily record maintenance system
The systematic name generation of category system;
The alarm conditions for judging whether to reach setting according to the journal file;
If it is satisfied, then the alarm server sends the warning information corresponding to the front end said system.
In a kind of front end abnormality alarming processing unit that this specification one or more embodiment provides, described device can be with
Including processor and for storing the memory of processor-executable instruction, realized described in the computing device during instruction:
The abnormal log that receiving front-end is sent, the abnormal log and corresponding system identifier are write into journal file,
The system identifier includes the systematic name generation based on the front end said system for accessing the daily record maintenance system;
Judged whether to meet the alarm conditions set according to the journal file;
If it is satisfied, then send the warning information corresponding to the front end said system.
It should be noted that this specification one or more embodiment device described above is according to related method embodiment
Description can also include other embodiments.Each embodiment in this specification is described by the way of progressive, respectively
Identical similar part is mutually referring to what each embodiment stressed is and other embodiment between individual embodiment
Difference.For hardware+program class embodiment, because it is substantially similar to embodiment of the method, so description
Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the order in embodiment
Perform and still can realize desired result.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable
Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can
With or be probably favourable.
The abnormality alarming processing unit of front end always that this specification one or more embodiment provides, utilizes block chain network
Network identity isolate the communication request of different blocks chain network, data storage, reading and writing data etc., can make multiple sector chain
Multimeshed network node in network can add different block chain networks simultaneously, realize and handle multiple block chain networks simultaneously
Data-handling capacity.Using this specification one or more exemplary embodiment, system can be effectively reduced in multimeshed network
The complexity of node O&M, the operation system for participating in whole network can be reduced in node O&M, the component difficulty of system interaction,
Improve the data-handling capacity and the stability of a system, reliability of multiple sector chain network.
Device or method described above can be used in the front end abnormality alarming processing system of multiple operation systems, each
Operation system can include multiple front ends, and caused abnormal log can be sent to abnormal announcement by each front end when occurring abnormal
In alert processing system, the real-time or quasi real time acquisition front end error message of simple, facility, lightweight, low cost is realized.Specifically
, this specification one or more embodiment provides a kind of front end abnormality alarming processing system, can include daily record and safeguard service
Device, backstage alarm server,
Server is safeguarded in the daily record, can be used for the abnormal log of receiving front-end transmission;It is additionally operable to the abnormal day
Will and corresponding system identifier write-in journal file, the system identifier are included based on the access daily record maintenance system
The systematic name generation of front end said system;
The alarm server, it can be used for timing and safeguard that server obtains journal file from daily record;It is additionally operable to according to institute
Journal file is stated to judge whether to meet the alarm conditions set;And when meeting the alarm conditions, send corresponding to described
The warning information of front end said system.
Need what is illustrated, device described above or system can also include others in fact according to the description of embodiment of the method
Mode is applied, concrete implementation mode is referred to the description of embodiment of the method, do not repeated one by one herein.
A kind of front end abnormality alarming processing method of this specification one or more embodiment offer, apparatus and system, are adopted
Front end exception is collected and counted with ripe backstage alarming mechanism, is alerted under requirement in real time or quasi real time.
This specification one or more embodiment can use the ripe log system in backstage, can pass through existing outfit UI behaviour
Make interface, by it is simple, efficiently alarm configuration can be achieved, can save the hardware such as deployment-specific buries point server into
This.The order of magnitude of the abnormal log handled in this specification one or more embodiment is far smaller than the data volume magnitude buried a little,
Therefore the data scanning carried out automatically in server, the complexity cleaned can also decline to a great extent, so this specification one or more
Alerted in front end real-time of individual embodiment quasi real time improves a lot in property.
Although mentioned in this specification one or more embodiment content log recording mode, alarm configuration data field,
The timing of daily record is fished for, the data of alarm information noticing or the like are set, obtain, interaction, the description such as calculates, judges, still, this
Specification one or more embodiment is not limited to meet industry communication standard, standard block chain data storage, meter
Situation described by the processing of calculation machine and storage rule or this specification one or more embodiment.Some professional standards or use
Embodiment amended slightly can also realize above-described embodiment phase on the practice processes of self-defined mode or embodiment description
The implementation result being anticipated that after same, equivalent or close or deformation.Using the data acquisition after these modifications or deformation, store, sentence
The embodiment of the acquisitions such as disconnected, processing mode, still may belong within the scope of the optional embodiment of this specification.
In the 1990s, the improvement for a technology can clearly distinguish be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And as the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, without asking chip maker to design and make
Special IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " patrols
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed are most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also should
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
Can is readily available the hardware circuit for realizing the logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device
Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller include but is not limited to following microcontroller
Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited
Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with
Pure computer readable program code mode realized beyond controller, completely can be by the way that method and step is carried out into programming in logic to make
Controller is obtained in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact
Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it
The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions regards
For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or the unit that above-described embodiment illustrates, it can specifically be realized by computer chip or entity,
Or realized by the product with certain function.One kind typically realizes that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, vehicle-mounted human-computer interaction device, cell phone, camera phone, smart phone, individual
Digital assistants, media player, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or
The combination of any equipment in these equipment of person.
Although this specification one or more embodiment provides the method operating procedure as described in embodiment or flow chart,
But more or less operating procedures can be included based on the conventional means either without creativeness.The step of being enumerated in embodiment
Order is only a kind of mode in numerous step execution sequences, does not represent unique execution sequence.Device in practice or
When end product performs, can according to embodiment either method shown in the drawings order perform or it is parallel perform it is (such as parallel
The environment of processor or multiple threads, even distributed data processing environment).Term " comprising ", "comprising" or its
Any other variant is intended to including for nonexcludability so that process, method, product including a series of elements or
Equipment not only includes those key elements, but also the other element including being not expressly set out, or also include for this process,
Method, product or the intrinsic key element of equipment.In the absence of more restrictions, it is not precluded from including the key element
Other identical or equivalent elements in process, method, product or equipment also be present.
For convenience of description, it is divided into various modules during description apparatus above with function to describe respectively.Certainly, this is being implemented
The function of each module can be realized in same or multiple softwares and/or hardware during specification one or more embodiment,
The module for realizing same function can also be realized by the combination of multiple submodule or subelement etc..Device described above is real
Apply that example is only schematical, for example, the division of the unit, only a kind of division of logic function can be with when actually realizing
There is other dividing mode, such as multiple units or component can combine or be desirably integrated into another system, or some spies
Sign can be ignored, or not perform.Another, shown or discussed mutual coupling or direct-coupling or communication connection can
Can be electrical, mechanical or other forms to be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit.
It is also known in the art that in addition to realizing controller in a manner of pure computer readable program code, it is complete
Entirely can by by method and step carry out programming in logic come controller with gate, switch, application specific integrated circuit, may be programmed
The form of logic controller and embedded microcontroller etc. realizes identical function.Therefore this controller is considered one kind
Hardware component, and what its inside was included is used to realize that the device of various functions can also to be considered as the structure in hardware component.Or
Person even, not only can be able to will be the software module of implementation method but also can be hardware for realizing that the device of various functions is considered as
Structure in part.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved
State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable
Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein
Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It will be understood by those skilled in the art that the embodiment of this specification one or more embodiment can be provided as method, be
System or computer program product.Therefore, this specification one or more embodiment can use complete hardware embodiment, complete software
The form of embodiment in terms of embodiment or combination software and hardware.Moreover, this specification one or more embodiment can use
The computer-usable storage medium for wherein including computer usable program code in one or more (includes but is not limited to disk
Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment can computer executable instructions it is general on
Described in hereafter, such as program module.Usually, program module includes performing particular task or realizes particular abstract data type
Routine, program, object, component, data structure etc..Can also put into practice in a distributed computing environment this specification one or
Multiple embodiments, in these DCEs, by being performed by communication network and connected remote processing devices
Task.In a distributed computing environment, the local and remote computer that program module can be located at including storage device is deposited
In storage media.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ",
The description of " specific example " or " some examples " etc. means to combine specific features, structure, material that the embodiment or example describe
Or feature is contained at least one embodiment or example of this specification.In this manual, to the signal of above-mentioned term
Property statement be necessarily directed to identical embodiment or example.Moreover, specific features, structure, material or the feature of description
It can be combined in an appropriate manner in any one or more embodiments or example.In addition, in the case of not conflicting, this
The technical staff in field can be by the different embodiments or example described in this specification and the spy of different embodiments or example
Sign is combined and combined.
The embodiment of this specification one or more embodiment is the foregoing is only, is not limited to this specification
One or more embodiments.To those skilled in the art, this specification one or more embodiment can have it is various more
Change and change.It is all this specification one or more embodiment spirit and principle within made any modification, equivalent substitution,
Improve etc., it should be included within the right of this specification.