CN109818787A - Service exception detection method, device and storage medium - Google Patents
Service exception detection method, device and storage medium Download PDFInfo
- Publication number
- CN109818787A CN109818787A CN201910052289.4A CN201910052289A CN109818787A CN 109818787 A CN109818787 A CN 109818787A CN 201910052289 A CN201910052289 A CN 201910052289A CN 109818787 A CN109818787 A CN 109818787A
- Authority
- CN
- China
- Prior art keywords
- information
- log
- target journaling
- service
- label
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
This application involves a kind of service exception detection method, device and storage mediums, belong to field of computer technology, this method comprises: obtaining at least one log information that each business service is sent;Target journaling information at least one log information with specified format is parsed, parsing result is obtained;The specified format is different from the journal format of other log informations, and it is log information to be resolved that the specified format, which is used to indicate the target journaling information,;It is deposited in the business service of parsing result instruction and sends the target journaling information to Network Management System when abnormal, to trigger the Network Management System outputting alarm;It can solve, and when therein submodule exception Network Management System undetectable problem normal in business service overall operation;Business service is checked due to that can be parsed to every target log information with the presence or absence of exception, it is thus possible to improve the timeliness of detection business service exception.
Description
Technical field
This application involves service exception detection method, device and storage mediums, belong to field of computer technology.
Background technique
Distributed Services, which refer to, is divided into multiple business service modules, at least two different business for entire operation system
On service arrangement to different servers, data interaction is carried out by interface between at least two different business service.
In order to facilitate each business service is managed, Network Management System (Network can be set in distribution service
Management System, NMS) operating condition of each business service is monitored, some business clothes are detected in NMS
Outputting alarm when abnormal is deposited in business.
However, current Network Management System can only detect some business service entirety whether normal operation, for entire
Business service integrally operate normally but the situation of the submodule exception inside the business service can not outputting alarm, this will lead to
The problem of exception can not find and handle in time.
Summary of the invention
This application provides a kind of service exception detection method, device and storage mediums, can solve whole in business service
Running body is normal, and Network Management System undetectable problem when submodule exception therein.The application provides following technology
Scheme:
In a first aspect, providing a kind of service exception detection method, which comprises
Obtain at least one log information that each business service is sent;
Target journaling information at least one log information with specified format is parsed, parsing knot is obtained
Fruit;The specified format is different from the journal format of other log informations, and the specified format is used to indicate the target journaling
Information is log information to be resolved;
It is deposited in the business service of parsing result instruction and sends the target journaling to Network Management System when abnormal
Information, to trigger the Network Management System outputting alarm.
Optionally, the target journaling information with specified format is the log information for carrying specified label;It is described
Specified label is used to indicate the operating condition that the business service of the target journaling information is written.
Optionally, the specified label includes following label substance:
Tag identifier, for identifying different labels;
Static data and/or dynamic data are used to indicate the label substance of the specified label;
Wherein, static data is in the specified label not with the data of operation variation;The dynamic data is the finger
With the data of operation variation in calibration label.
Optionally, the specified label includes following at least one of several:
Source label is used to indicate and generates first belonging to the first process and first process of the target journaling information
Business service;
Purpose label, be used to indicate with second belonging to the second process of first process communication and second process
Business service;
Operational attribute label is used to indicate the type of operation performed by first process;
Abnormal identification (RFID) tag, for identifying the reason of being operating abnormally.
Optionally, the method also includes:
Determine that correlation log information, the correlation log information have the specified lattice based on the target journaling information
Formula, the correlation log information is for assisting positioning service service existing abnormal;
Show the target journaling information and the correlation log information.
It is optionally, described that correlation log information is determined based on the target journaling information, comprising:
Obtain the generation time of the target journaling information;It obtains in the time interval determined based on the generation time
Correlation log information, the time interval include the generation time;And/or
Obtain the target journaling information middle finger calibration label;It determines at least one label having in the specified label
The correlation log information of appearance.
Second aspect provides a kind of service exception detection method, which comprises
The original log information of log processing system to be written is obtained in the process of running;
The target journaling information with specified format is generated according to the original log information;
The log processing system is written into the target journaling information, so that the log processing system is parsed,
And deposited in the business service of parsing result instruction and send the target journaling information to Network Management System when abnormal, with triggering
The Network Management System outputting alarm.
It is optionally, described that the target journaling information with specified format is generated according to the original log information, comprising:
The specified label of the original log information is obtained, the specified label is used to indicate the fortune of current business service
Market condition;
The specified label is added in the original log information, the target journaling information is obtained.
The third aspect, provides a kind of service exception detection device, and described device includes:
Log acquisition module, at least one log information sent for obtaining each business service;
Log analysis module, for at least one log information with specified format target journaling information into
Row parsing, obtains parsing result;The specified format is different from the journal format of other log informations, and the specified format is used for
Indicate that the target journaling information is log information to be resolved;
Log sending module, the business service for indicating in the parsing result are deposited when abnormal to Network Management System
The target journaling information is sent, to trigger the Network Management System outputting alarm.
Fourth aspect, provides a kind of service exception detection device, and described device includes:
Log acquisition module, for obtaining the original log information of log processing system to be written in the process of running;
Log processing module, for generating the target journaling information with specified format according to the original log information;
Log writing module, for the log processing system to be written in the target journaling information, for the log
Processing system is parsed, and is deposited in the business service of parsing result instruction and sent the mesh to Network Management System when abnormal
Log information is marked, to trigger the Network Management System outputting alarm.
5th aspect, provides a kind of service exception detection device, described device includes processor and memory;The storage
Program is stored in device, described program is loaded as the processor and executed to realize that service exception described in first aspect detects
Method;Alternatively, realizing service exception detection method described in second aspect.
Fourth aspect provides a kind of computer readable storage medium, program, described program is stored in the storage medium
It is loaded as the processor and is executed to realize service exception detection method described in first aspect;Alternatively, realizing second aspect
The service exception detection method.
The beneficial effects of the present application are as follows: at least one log information sent by obtaining each business service;To extremely
The target journaling information with specified format is parsed in a few log information, obtains parsing result;Specified format is used for
Instruction target journaling information is log information to be resolved;It deposits when abnormal in the business service of parsing result instruction to network pipe
Reason system sends target journaling information, and the target journaling information is for triggering Network Management System outputting alarm;It can solve
Business service overall operation is normal, and Network Management System undetectable problem when submodule exception therein;Due to can be with
Every target log information is parsed to check business service with the presence or absence of exception, it is thus possible to improve detection business clothes
The timeliness for exception of being engaged in.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application,
And can be implemented in accordance with the contents of the specification, with the preferred embodiment of the application and cooperate attached drawing below detailed description is as follows.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the service exception detection system that the application one embodiment provides;
Fig. 2 is the flow chart for the service exception detection method that the application one embodiment provides;
Fig. 3 is the block diagram for the service exception detection device that the application one embodiment provides;
Fig. 4 is the block diagram for the service exception detection device that the application one embodiment provides;
Fig. 5 is the block diagram for the service exception detection device that the application one embodiment provides.
Specific embodiment
With reference to the accompanying drawings and examples, the specific embodiment of the application is described in further detail.Implement below
Example is not limited to scope of the present application for illustrating the application.
Fig. 1 is the structural schematic diagram for the service exception detection system that the application one embodiment provides, as shown in Figure 1, should
System includes at least: at least one business service 110, log processing system 120 and Network Management System (Network
Management System, NMS) 130.
Wherein, business service 110 is used to execute certain business function in operation system.Such as: in video conference service
Conference dispatching service, convention business management service, agreement access service, managing medium resource service or code stream forwarding pipe
Reason service etc..
Schematically, business service 110 is used to obtain the original day of log processing system 120 to be written in the process of running
Will information;The target journaling information with specified format is generated according to the original log information;Day is written into target journaling information
So that log processing system 120 is parsed, and there is exception in the business service of parsing result instruction in will processing system 120
When to Network Management System 130 send target journaling information, to trigger 130 outputting alarm of Network Management System.
Business service 110 and log processing system 120 and Network Management System 130 are based on wire communication or wireless communication
Establish communication connection.
Optionally, log processing system 120 can be run in same equipment with business service 110;Alternatively, log processing
System 120 can also be run in distinct device with business service 110.Log processing system 120 is each for receiving and storing
The log information that business service 110 is sent;And the log information is handled.
Schematically, log processing system 120 obtains at least one log information that business service 110 is sent;To at least
Target journaling information in one log information with specified format is parsed, and parsing result is obtained;It is indicated in parsing result
Business service deposit when abnormal to Network Management System 130 send target journaling information, it is defeated to trigger Network Management System 130
It alerts out.Wherein, specified format is different from the journal format of other log informations, which is used to indicate target journaling letter
Breath is log information to be resolved.
Optionally, at least one log information is written in journal file log processing system 120.
Optionally, log processing system 120 parses the target journaling information with specified format, should to not having
The log information of specified format is without parsing.Original log processing system 120 has simple classification feature, such as: make
With the log categorization module in log processing system 120 shown in FIG. 1 to log information according to time, process identification (PID), journal stage
Not, business service mark and/or log content etc. are classified;On this basis, the log processing system 120 in the application is gone back
With the function of being parsed to target journaling information, such as: use the log solution in log processing system 120 shown in FIG. 1
Analysis module parses the target journaling information with specified format.
In the present embodiment, establishing between log processing system 120 and Network Management System 130 has communication connection.Such as: day
Log analyzing module is installed in will processing system 120, the log analyzing module is with to the target journaling with specified format
The function that information is parsed, and have to deposit in parsing result for business service 110 and when abnormal send target journaling information
To the function of Network Management System 130.Optionally, the log analyzing module in log processing system 120 can also tie parsing
Fruit is written in journal file.
In the application, by the communication connection established between log processing system 120 and Network Management System 130, so that
Log processing system 120 can be deposited in parsing 110 operational process of business service and when abnormal send target journaling information
To Network Management System 130,130 positioning service of assisted network management system is abnormal, and can be fast according to the target journaling information
Speed positioning abnormal position, direction etc., improve the timeliness of abnormality detection.
Network Management System 130 can be run in same equipment with log processing system 120;Alternatively, can also be with day
Will processing system 120 is run in distinct device.
Network Management System 130 is used to detect the operating status of 110 corresponding hardware device and software program of business service,
The outputting alarm when detecting that hardware device and/or software program occur abnormal.In addition, in the application, Network Management System 130
The target journaling information of the transmission of log processing system 120 can be also obtained, and according to the target journaling information outputting alarm.Such as:
The outputting alarm when receiving target journaling information of Network Management System 130;Alternatively, Network Management System 130 is receiving mesh
Outputting alarm and the target journaling information is shown when marking log information.
Fig. 2 is the flow chart for the service exception detection method that the application one embodiment provides, and the present embodiment is in this way
Applied to being illustrated in service exception detection system shown in FIG. 1.This method includes at least following steps:
Step 201, business service obtains the original log information of log processing system to be written in the process of running.
Optionally, business service is based on original log protocol and generates original log information.Schematically, the original log
Information includes but is not limited to the following contents:
1, the time is generated, the time that business service generates original log information is used to indicate;
2, process identification (PID), for generating the process of the original log information in identification service service, such as: process identification (PID) is
Process number and/or process title etc.;
3, log rank is used to indicate the significance level of original log information;
4, business service identifies, and for identify the business service for generating original log information, which identifies can be with
It is the title of business service;
5, log content, the operational process for record traffic service.
Step 202, business service generates the target journaling information with specified format according to original log information.
Business service enhances original log protocol on the basis of original log protocol, and original log is believed
Breath is converted to the target journaling information with specified format.Specified format and other log informations (are assisted based on original log
Discuss the log information generated) journal format it is different, it is log to be resolved which, which is used to indicate target journaling information,
Information.In this way, target journaling information is after being written log processing system, can by log processing system to the target journaling information into
Row parsing is to determine that with the presence or absence of exception, the abnormal timeliness of detection is can be improved in business service.
Optionally, the target journaling information with specified format can be to carry the original log information of specified label;
Alternatively, can be the log information for rearranging original log information according to specified format, it is of course also possible to be other
Generating mode, the present embodiment do not limit the mode for generating target journaling information.
It schematically, is that specified mark is added on the head of original log information with the target journaling information with specified format
It is illustrated for label.The specified label of business service acquisition log information;Specified label is added in original log information,
Obtain target journaling information.Wherein, specified label is used to indicate the operating condition of current business service.
Optionally, specified label includes following label substance: tag identifier, for identifying different labels;Static data
And/or dynamic data, it is used to indicate the label substance of specified label.Wherein, static data is not become with operation in specified label
The data of change;Dynamic data is the data in specified label with operation variation.Schematically, the format of label is specified are as follows: [#
Tag name # static data # dynamic data].
Optionally, label is specified with reference to shown in following table one, specified label includes following at least one of several: source mark
Label are used to indicate the first business service belonging to the first process and the first process for generating target journaling information;Purpose label is used
The second business service belonging to second process and second process of the instruction with the first process communication;Operational attribute label, is used for
Indicate the type of operation performed by the first process;Abnormal identification (RFID) tag, for identifying the reason of being operating abnormally, every kind of abnormal mark
Know label and corresponds to a kind of declaration of exception.Wherein, source label and purpose label are used to deposit in target journaling information instruction business service
Abnormal source is positioned when abnormal.Service identifiers (including first service mark and second service mark) in table one can be industry
The title of business service;Process identification (PID) (including the first process identification (PID) and second process identification (PID)) can be process title and/or process
Number.
Table one:
It should be added that specifying label shown in table one is that schematically, in actual implementation, this specifies mark
Label can also expand other labels, and the present embodiment will not enumerate herein.
Optionally, every target log information may include at least one specified label.
Such as: the target journaling message that business service generates is as follows:
2018/08/17 20:09:18cmu MCU_CONF K 2403[#conf#3330888][#src#CM][#op#
Set] [#dst#mt0512121885896] [#ret#ok] setting broadcast successfully
2018/08/17 20:09:20cmu MCU_UNTER W 2403[#conf#3330079][#src#MC][#op#
Start] [#dst#pair15] [#ret#fail] [#err#20385] media resource deficiency
Wherein, 2018/08/17 20:09:18 and 2018/08/17 20:09:20 is the generation time of target journaling message
(or generation time for the corresponding original log information of target journaling message), every string string content that [] separates are
Each specified label.
Optionally, all log informations can be converted to the target journaling message with specified format by business service;
Alternatively, can also be the target journaling message with specified format by partial log message transformation, such as: specified process is generated
Log information be converted into the target journaling message with specified format;For another example: the more log information of frequency of abnormity is turned
Turn to the target journaling message with specified format.The type sum number for the log information that the present embodiment does not convert business service
Amount limits.
Step 203, log processing system is written in target journaling information by business service.
Wherein, target journaling information is written log processing system and parsed for log processing system by business service,
And deposited in the business service of parsing result instruction and send target journaling information to Network Management System when abnormal, to trigger network
Management system outputting alarm.
Step 204, log processing system obtains at least one log information that each business service is sent.
Wherein, at least one log information includes original log information and/or target journaling information.
Optionally, log processing system writes at least one log information after getting at least one log information
Enter journal file.
Step 205, log processing system at least one log information with specified format target journaling information into
Row parsing, obtains parsing result.
Wherein, specified format is different from the journal format of other log informations, and specified format is used to indicate target journaling letter
Breath is log information to be resolved.
In one example, log processing system parses target journaling information, obtains parsing result, comprising: solution
Analyse whether target journaling information includes abnormal identification (RFID) tag;The parsing obtained when target journaling information includes abnormal identification (RFID) tag
As a result there is abnormal, execution step 206 for business service;The solution obtained when target journaling information does not include abnormal identification (RFID) tag
Analysing result is business service there is no exception, and log processing system executes step 205 again.
Optionally, journal file can be also written in parsing result by log processing system.
Step 206, it is deposited when abnormal in the business service of parsing result instruction, log processing system is to Network Management System
Target journaling information is sent, to trigger Network Management System outputting alarm.
Optionally, log processing system can be deposited when abnormal in the business service that parsing result indicates actively to network pipe
Reason system sends target journaling information;Alternatively, can also be tied according to the log acquisition instructions that Network Management System is sent in parsing
The business service of fruit instruction is deposited sends the target journaling information when abnormal.Certainly, parsing result instruction business service not
It deposits when abnormal, target journaling information can also be sent to Network Management System by log processing system, such as: Network Management Department
It unites and sends log acquisition instructions to log processing system, log processing system is according to the log acquisition instructions by not sent target
Log information is sent to Network Management System;For another example: log processing system is every preset duration by not sent target journaling
Information is sent to Network Management System.
Optionally, log processing system can also determine the correlation log information of target journaling information, and by the relevant date
Will information is sent to Network Management System, so that Network Management System positions exception.At this point, determining phase based on target journaling information
Log information is closed, which has specified format, and correlation log information is for assisting existing for positioning service service
It is abnormal;Displaying target log information and correlation log information.
Wherein, correlation log information is determined based on target journaling information, comprising: when obtaining the generation of target journaling information
Between;It obtains based on the correlation log information generated in the time interval that the time determines, which includes generating the time.Than
Such as: the first preset duration between before generation being determined as to the target journaling information in the second preset duration later related
Log information, wherein the first preset duration and the second preset duration are same or different, the first preset duration can for 2 minutes,
1 minute etc.;Second preset duration is also possible to 2 minutes, 1 minute etc., and the present embodiment does not determine time zone to based on the generation time
Between mode limit.
And/or log processing system obtains target journaling information middle finger calibration label;Determining has in specified label at least
The correlation log information of one label substance.Such as: obtain in specified label source label and purpose label it is identical related
Log information.
In conclusion service exception detection method provided in this embodiment, is sent extremely by obtaining each business service
A few log information;Target journaling information at least one log information with specified format is parsed, is solved
Analyse result;It is log information to be resolved that specified format, which is used to indicate target journaling information,;In the business clothes of parsing result instruction
Business, which is deposited, sends target journaling information to Network Management System when abnormal, and the target journaling information is for triggering Network Management System
Outputting alarm;It can solve normal in business service overall operation, and Network Management System can not when submodule exception therein
The problem of detection;It is abnormal to check that business service whether there is due to that can be parsed to every target log information,
The timeliness of detection business service exception can be improved.
In addition, target journaling information is sent to network when abnormal since log processing system parses business service and deposits
Management system, the target journaling information carry active label and purpose label and can assist quickly locating abnormal source, improve
Position abnormal efficiency.
In addition, target journaling information is obtained by adding specified label for log information, it can be to need according to specified label
The target journaling information to be checked is indexed, and filters out unrelated log information, such as the log information generated by maloperation
Deng the search efficiency of raising target journaling information.
Fig. 3 is the block diagram for the service exception detection device that the application one embodiment provides, and the present embodiment is answered with the device
For being illustrated for the log processing system 120 in service exception detection system shown in FIG. 1.The device include at least with
Under several modules: log acquisition module 310, log analysis module 320 and log sending module 330.
Log acquisition module 310, at least one log information sent for obtaining each business service;
Log analysis module 320, for believing the target journaling at least one log information with specified format
Breath is parsed, and parsing result is obtained;The specified format is different from the journal format of other log informations, the specified format
Being used to indicate the target journaling information is log information to be resolved;
Log sending module 330, the business service for indicating in the parsing result are deposited when abnormal to network management
System sends the target journaling information, to trigger the Network Management System outputting alarm.
Correlative detail refers to above method embodiment.
Fig. 4 is the block diagram for the service exception detection device that the application one embodiment provides, and the present embodiment is answered with the device
For being illustrated for the business service 110 in service exception detection system shown in FIG. 1.The device includes at least following several
A module: log acquisition module 410, log processing module 420 and log writing module 430.
Log acquisition module 410, for obtaining the original log information of log processing system to be written in the process of running;
Log processing module 420 for being generated according to the original log information there is the target journaling of specified format to believe
Breath;
Log writing module 430, for the log processing system to be written in the target journaling information, for the day
Will processing system is parsed, and is deposited when abnormal in the business service of parsing result instruction to described in Network Management System transmission
Target journaling information, to trigger the Network Management System outputting alarm.
Correlative detail refers to above method embodiment.
It should be understood that the service exception detection device provided in above-described embodiment is when carrying out service exception detection,
Only the example of the division of the above functional modules, it in practical application, can according to need and by above-mentioned function distribution
It is completed by different functional modules, i.e., the internal structure of service exception detection device is divided into different functional modules, with complete
At all or part of function described above.In addition, service exception detection device provided by the above embodiment and service exception
Detection method embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Fig. 5 is the block diagram for the service exception detection device that the application one embodiment provides, which can be shown in Fig. 1
Service exception detection system in log processing system 120;Alternatively, the business clothes being also possible in service exception detection system
Business 110.The device includes at least processor 501 and memory 502.
Processor 501 may include one or more processing cores, such as: 4 core processors, 5 core processors etc..Place
Reason device 501 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 501 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 501 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 501 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 502 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 502 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 502 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 501 for realizing this Shen
Please in embodiment of the method provide service exception detection method.
In some embodiments, service exception detection device is also optional includes: peripheral device interface and at least one outside
Peripheral equipment.It can be connected by bus or signal wire between processor 501, memory 502 and peripheral device interface.Each periphery
Equipment can be connected by bus, signal wire or circuit board with peripheral device interface.Schematically, peripheral equipment includes but unlimited
In: radio circuit, touch display screen, voicefrequency circuit and power supply etc..
Certainly, service exception detection device can also include less or more component, and the present embodiment is not construed as limiting this.
Optionally, the application is also provided with a kind of computer readable storage medium, in the computer readable storage medium
It is stored with program, described program is loaded by processor and executed the service exception detection method to realize above method embodiment.
Optionally, the application is also provided with a kind of computer product, which includes computer-readable storage medium
Matter is stored with program in the computer readable storage medium, and described program is loaded by processor and executed to realize above-mentioned side
The service exception detection method of method embodiment.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (11)
1. a kind of service exception detection method, which is characterized in that the described method includes:
Obtain at least one log information that each business service is sent;
Target journaling information at least one log information with specified format is parsed, parsing result is obtained;
The specified format is different from the journal format of other log informations, and the specified format is used to indicate the target journaling information
For log information to be resolved;
It is deposited in the business service of parsing result instruction and sends the target journaling information to Network Management System when abnormal,
To trigger the Network Management System outputting alarm.
2. the method according to claim 1, wherein the target journaling information with specified format is to carry
There is the log information of specified label;The specified label is used to indicate the operation that the business service of the target journaling information is written
Situation.
3. according to the method described in claim 2, it is characterized in that, the specified label includes following label substance:
Tag identifier, for identifying different labels;
Static data and/or dynamic data are used to indicate the label substance of the specified label;
Wherein, static data is in the specified label not with the data of operation variation;The dynamic data is the specified mark
With the data of operation variation in label.
4. according to the method described in claim 2, it is characterized in that, the specified label include it is following it is several at least one
Kind:
Source label is used to indicate and generates the first business belonging to the first process and first process of the target journaling information
Service;
Purpose label is used to indicate and the second business belonging to the second process of first process communication and second process
Service;
Operational attribute label is used to indicate the type of operation performed by first process;
Abnormal identification (RFID) tag, for identifying the reason of being operating abnormally.
5. method according to any one of claims 1 to 4, which is characterized in that the method also includes:
Determine that correlation log information, the correlation log information have the specified format, institute based on the target journaling information
Correlation log information is stated for assisting positioning service service existing abnormal;
Show the target journaling information and the correlation log information.
6. according to the method described in claim 5, it is characterized in that, described determine correlation log based on the target journaling information
Information, comprising:
Obtain the generation time of the target journaling information;Obtain the correlation in the time interval determined based on the generation time
Log information, the time interval include the generation time;And/or
Obtain the target journaling information middle finger calibration label;Determine at least one label substance having in the specified label
Correlation log information.
7. a kind of service exception detection method, which is characterized in that the described method includes:
The original log information of log processing system to be written is obtained in the process of running;
The target journaling information with specified format is generated according to the original log information;
The log processing system is written into the target journaling information, so that the log processing system is parsed, and
The business service of parsing result instruction, which is deposited, sends the target journaling information to Network Management System when abnormal, described in triggering
Network Management System outputting alarm.
8. a kind of service exception detection device, which is characterized in that described device includes:
Log acquisition module, at least one log information sent for obtaining each business service;
Log analysis module, for being solved to the target journaling information at least one log information with specified format
Analysis, obtains parsing result;The specified format is different from the journal format of other log informations, and the specified format is used to indicate
The target journaling information is log information to be resolved;
Log sending module, the business service for indicating in the parsing result is deposited to be sent to Network Management System when abnormal
The target journaling information, to trigger the Network Management System outputting alarm.
9. a kind of service exception detection device, which is characterized in that described device includes:
Log acquisition module, for obtaining the original log information of log processing system to be written in the process of running;
Log processing module, for generating the target journaling information with specified format according to the original log information;
Log writing module, for the log processing system to be written in the target journaling information, at for the log
Reason system is parsed, and is deposited in the business service of parsing result instruction and sent the target to Network Management System when abnormal
Log information, to trigger the Network Management System outputting alarm.
10. a kind of service exception detection device, which is characterized in that described device includes processor and memory;The memory
In be stored with program, described program is loaded by the processor and is executed to realize such as industry as claimed in any one of claims 1 to 6
Business method for detecting abnormality;Alternatively, realizing service exception detection method as claimed in claim 7.
11. a kind of computer readable storage medium, which is characterized in that be stored with program, described program quilt in the storage medium
For realizing service exception detection method such as claimed in any one of claims 1 to 6 when processor executes;Alternatively, realizing as weighed
Benefit require 7 described in service exception detection method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910052289.4A CN109818787A (en) | 2019-01-21 | 2019-01-21 | Service exception detection method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910052289.4A CN109818787A (en) | 2019-01-21 | 2019-01-21 | Service exception detection method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109818787A true CN109818787A (en) | 2019-05-28 |
Family
ID=66604635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910052289.4A Pending CN109818787A (en) | 2019-01-21 | 2019-01-21 | Service exception detection method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109818787A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110620685A (en) * | 2019-09-04 | 2019-12-27 | 视联动力信息技术股份有限公司 | Method and device for reporting device exception |
CN110764988A (en) * | 2019-10-31 | 2020-02-07 | 郑州悉知信息科技股份有限公司 | Alarm method, device and system |
CN110768843A (en) * | 2019-10-31 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Network problem analysis method, device, terminal and storage medium |
CN111143325A (en) * | 2019-12-23 | 2020-05-12 | 北京明略软件系统有限公司 | Data acquisition monitoring method, monitoring device and readable storage medium |
CN111324510A (en) * | 2020-02-21 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Log processing method and device and electronic equipment |
CN111459782A (en) * | 2020-04-02 | 2020-07-28 | 网易(杭州)网络有限公司 | Method and device for monitoring business system, cloud platform system and server |
CN111901174A (en) * | 2020-07-30 | 2020-11-06 | 腾讯科技(深圳)有限公司 | Service state notification method, related device and storage medium |
CN112540906A (en) * | 2020-12-24 | 2021-03-23 | 北京志翔能源技术有限公司 | Probe-based intelligent analysis method and system for business and data relationship |
CN113691395A (en) * | 2021-08-04 | 2021-11-23 | 曙光信息产业(北京)有限公司 | Network operation and maintenance method and device, computer equipment and storage medium |
CN114153712A (en) * | 2021-11-22 | 2022-03-08 | 深圳市晨北科技有限公司 | Exception handling method, device, equipment and storage medium |
CN114201201A (en) * | 2021-12-15 | 2022-03-18 | 建信金融科技有限责任公司 | A kind of abnormal detection method, device and equipment for business system |
CN115002013A (en) * | 2022-08-08 | 2022-09-02 | 浙江华创视讯科技有限公司 | Method and device for determining running state, storage medium and electronic device |
CN118426996A (en) * | 2024-05-11 | 2024-08-02 | 北京优特捷信息技术有限公司 | Fault positioning method, device, equipment and medium in containerized application system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105183609A (en) * | 2015-09-16 | 2015-12-23 | 焦点科技股份有限公司 | Real-time monitoring system and method applied to software system |
US20170279661A1 (en) * | 2013-02-13 | 2017-09-28 | International Business Machines Corporation | Service failover and failback using enterprise service bus |
CN108259269A (en) * | 2017-12-30 | 2018-07-06 | 上海陆家嘴国际金融资产交易市场股份有限公司 | The monitoring method and system of the network equipment |
CN108769255A (en) * | 2018-06-26 | 2018-11-06 | 铭阳数通科技(西安)有限公司 | The acquisition of business data and administering method |
-
2019
- 2019-01-21 CN CN201910052289.4A patent/CN109818787A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170279661A1 (en) * | 2013-02-13 | 2017-09-28 | International Business Machines Corporation | Service failover and failback using enterprise service bus |
CN105183609A (en) * | 2015-09-16 | 2015-12-23 | 焦点科技股份有限公司 | Real-time monitoring system and method applied to software system |
CN108259269A (en) * | 2017-12-30 | 2018-07-06 | 上海陆家嘴国际金融资产交易市场股份有限公司 | The monitoring method and system of the network equipment |
CN108769255A (en) * | 2018-06-26 | 2018-11-06 | 铭阳数通科技(西安)有限公司 | The acquisition of business data and administering method |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110620685A (en) * | 2019-09-04 | 2019-12-27 | 视联动力信息技术股份有限公司 | Method and device for reporting device exception |
CN110764988A (en) * | 2019-10-31 | 2020-02-07 | 郑州悉知信息科技股份有限公司 | Alarm method, device and system |
CN110768843A (en) * | 2019-10-31 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Network problem analysis method, device, terminal and storage medium |
CN111143325B (en) * | 2019-12-23 | 2023-11-03 | 北京明略软件系统有限公司 | Data acquisition monitoring method, monitoring device and readable storage medium |
CN111143325A (en) * | 2019-12-23 | 2020-05-12 | 北京明略软件系统有限公司 | Data acquisition monitoring method, monitoring device and readable storage medium |
CN111324510A (en) * | 2020-02-21 | 2020-06-23 | 腾讯科技(深圳)有限公司 | Log processing method and device and electronic equipment |
CN111324510B (en) * | 2020-02-21 | 2024-04-02 | 腾讯科技(深圳)有限公司 | Log processing method and device and electronic equipment |
CN111459782B (en) * | 2020-04-02 | 2024-04-12 | 网易(杭州)网络有限公司 | Method and device for monitoring service system, cloud platform system and server |
CN111459782A (en) * | 2020-04-02 | 2020-07-28 | 网易(杭州)网络有限公司 | Method and device for monitoring business system, cloud platform system and server |
CN111901174A (en) * | 2020-07-30 | 2020-11-06 | 腾讯科技(深圳)有限公司 | Service state notification method, related device and storage medium |
CN111901174B (en) * | 2020-07-30 | 2024-04-26 | 腾讯科技(深圳)有限公司 | Service state notification method, related device and storage medium |
CN112540906A (en) * | 2020-12-24 | 2021-03-23 | 北京志翔能源技术有限公司 | Probe-based intelligent analysis method and system for business and data relationship |
CN112540906B (en) * | 2020-12-24 | 2024-04-26 | 北京志翔信息技术有限公司 | Intelligent analysis method and system for business and data relationship based on probe |
CN113691395A (en) * | 2021-08-04 | 2021-11-23 | 曙光信息产业(北京)有限公司 | Network operation and maintenance method and device, computer equipment and storage medium |
CN114153712A (en) * | 2021-11-22 | 2022-03-08 | 深圳市晨北科技有限公司 | Exception handling method, device, equipment and storage medium |
CN114201201A (en) * | 2021-12-15 | 2022-03-18 | 建信金融科技有限责任公司 | A kind of abnormal detection method, device and equipment for business system |
CN114201201B (en) * | 2021-12-15 | 2024-12-20 | 建信金融科技有限责任公司 | A method, device and equipment for detecting abnormality in a business system |
CN115002013A (en) * | 2022-08-08 | 2022-09-02 | 浙江华创视讯科技有限公司 | Method and device for determining running state, storage medium and electronic device |
CN115002013B (en) * | 2022-08-08 | 2022-12-06 | 浙江华创视讯科技有限公司 | Method and device for determining running state, storage medium and electronic device |
CN118426996A (en) * | 2024-05-11 | 2024-08-02 | 北京优特捷信息技术有限公司 | Fault positioning method, device, equipment and medium in containerized application system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109818787A (en) | Service exception detection method, device and storage medium | |
CN107562556B (en) | Failure recovery method, recovery device and storage medium | |
CN111008109B (en) | Monitoring data processing method and device, electronic equipment and storage medium | |
US20130283242A1 (en) | Tracing Closures in a Callback Environment | |
CN109471845A (en) | Log management method, server, and computer-readable storage medium | |
CN112311617A (en) | A configuration data monitoring and alarming method and system | |
CN103577319A (en) | Source code file detection method, source code file detection device and file release system | |
CN112714047A (en) | Industrial control protocol flow based test method, device, equipment and storage medium | |
US11449488B2 (en) | System and method for processing logs | |
CN109995612B (en) | Service inspection method and device and electronic equipment | |
CN112905323B (en) | Data processing method, device, electronic equipment and storage medium | |
CN112540808B (en) | Recording method of program behavior hierarchy call relationship and related equipment | |
CN113014587B (en) | API detection method and device, electronic equipment and storage medium | |
CN112100239A (en) | Portrait generation method and apparatus for vehicle detection device, server and readable storage medium | |
CN108228417B (en) | Internet of vehicles log processing method and device | |
CN112257065A (en) | Process event processing method and device | |
CN113742099B (en) | Message consumption method, production method, system and storage medium based on collection | |
US10977603B2 (en) | Content based message routing for supply chain information sharing | |
CN112035312A (en) | Method and device for detecting available state of Leader process in Kafka cluster | |
CN114546793A (en) | A log generation method, apparatus and computer-readable storage medium | |
CN108270604B (en) | Method and system for tracking service data change | |
CN108494634A (en) | A kind of network availability monitoring system based on cloud computing | |
US8977901B1 (en) | Generating service call patterns for systems under test | |
CN116431275B (en) | Tolerance configuration method, device, computer equipment and storage medium | |
CN109933493A (en) | Information processing method and its device, computer system and computer-readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190528 |
|
RJ01 | Rejection of invention patent application after publication |