CN106878085A - A kind of realization method and system of the system journal record based on message informing - Google Patents

A kind of realization method and system of the system journal record based on message informing Download PDF

Info

Publication number
CN106878085A
CN106878085A CN201710124824.3A CN201710124824A CN106878085A CN 106878085 A CN106878085 A CN 106878085A CN 201710124824 A CN201710124824 A CN 201710124824A CN 106878085 A CN106878085 A CN 106878085A
Authority
CN
China
Prior art keywords
message
message informing
informing
system journal
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710124824.3A
Other languages
Chinese (zh)
Inventor
张利
马伟
鲍龙飞
余斌
胡养成
胡永全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Great Wisdom Technology Co Ltd
Original Assignee
Anhui Great Wisdom Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui Great Wisdom Technology Co Ltd filed Critical Anhui Great Wisdom Technology Co Ltd
Priority to CN201710124824.3A priority Critical patent/CN106878085A/en
Publication of CN106878085A publication Critical patent/CN106878085A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/234Monitoring or handling of messages for tracking messages

Abstract

The invention discloses a kind of realization method and system of the system journal record based on message informing;The described method comprises the following steps:S1, be system journal create message informing;S2, Message Processing is carried out to message informing according to message content and type of message, and the result of message informing is back to server;The message informing that S3, delete processing are completed.The system includes:Message informing creation module is used to create message informing for system journal;Message informing processing module is used to carry out message informing Message Processing according to message content and type of message, and the result of message informing is back into server;Message informing removing module, deletes for will process the message informing for completing.The present invention improves the specific aim and efficiency to system journal treatment, it is ensured that the autgmentability of system journal record, significantly reduces the coupling between system journal record and software agent business, lifts software performance.

Description

A kind of realization method and system of the system journal record based on message informing
Technical field
The present invention relates to system journal processing technology field, more particularly to a kind of system journal record based on message informing Implementation method.
Background technology
The record of system journal, is that any one software is all essential, but relative to the specific business operation of software, System journal is again relatively secondary, on the premise of the specific business of software is unaffected, the record importance level of system journal It is not relatively low, i.e., when mistake or problem occurs in system journal record, should ensure that the specific business of software continues to move.
Based on above mentioned problem, it is necessary to research and develop a kind of realization method and system of the system journal record based on message informing, To reduce the coupling between system journal record and software operation main body, the performance of software is lifted.
The content of the invention
Based on the technical problem that background technology is present, the present invention proposes a kind of system journal record based on message informing Realization method and system.
The implementation method of the system journal record based on message informing proposed by the present invention, comprises the following steps:
S1, be system journal create message informing;The message informing at least includes message content and type of message;
S2, Message Processing is carried out to message informing according to message content and type of message, and by the treatment knot of message informing Fruit is back to server;
The message informing that S3, delete processing are completed.
Preferably, the message informing also includes that message sends position, message and sends time, message level.
Preferably, specifically included in step S2:
After receiving message informing, message content, type of message, message according to message informing send position, message hair Sending time, message level carries out message storage to message informing, writes journal file, sends short message, alarm operation, and at message Message informing treatment is completed into result after the completion of reason and is back to server.
Preferably, specifically included in step S3:
After server receives message informing treatment completion result, the message informing that delete processing is completed.
The system of the system journal record based on message informing proposed by the present invention, including:
Message informing creation module, for creating message informing for system journal;The message informing at least includes message Content and type of message;
Message informing processing module, for carrying out Message Processing to message informing according to message content and type of message, and The result of message informing is back to server;
Message informing removing module, deletes for will process the message informing for completing.
Preferably, the message informing also includes that message sends position, message and sends time, message level.
Preferably, message informing processing module specifically for:
After receiving message informing, message content, type of message, message according to message informing send position, message hair Sending time, message level carries out message storage to message informing, writes journal file, sends short message, alarm operation, and at message Message informing treatment is completed into result after the completion of reason and is back to server.
Preferably, message informing removing module specifically for:
After server receives message informing treatment completes result, the message informing that delete processing is completed.
The present invention creates message informing for system journal first, message content, type of message is included in message informing, is disappeared Breath sends position, message and sends time, message level, and detailed mark is carried out by message informing, is conducive to server root The message informing received according to above-mentioned detailed information butt joint is put in storage, writes journal file, sends the different types such as short message, alarm Operation treatment, not only increase to system journal treatment specific aim and efficiency, and ensure that system journal record expansion Malleability;Further, it is that system journal creates message informing, and for the format and content of message informing formulates standard, it is unified The pattern of message informing, improves the normalization of system journal record;Further, led to by creating message to system journal Know, the content further according to message informing carries out corresponding operation treatment, and deletes message informing after the completion of operation treatment, has Reduce to effect the coupling between system journal record and software agent business so that the record operation of system journal does not influence The operation of software, so as to lift software performance, ensures the normal table operation of software.
Brief description of the drawings
The step of Fig. 1 is a kind of implementation method of system journal record based on message informing schematic diagram;
Fig. 2 is a kind of structural representation of the system of the system journal record based on message informing.
Specific embodiment
As shown in Figure 1 and Figure 2, Fig. 1, Fig. 2 are a kind of reality of system journal record based on message informing proposed by the present invention Existing method and system.
Reference picture 1, the implementation method of the system journal record based on message informing proposed by the present invention, including following step Suddenly:
S1, be system journal create message informing;The message informing at least includes message content and type of message;It is above-mentioned Message content and message informing are conducive to system to be processed message informing according to its information;The message informing also includes disappearing Breath sends position, message and sends time, message level, and above- mentioned information is conducive to server to be made to message informing according to above- mentioned information Further treatment;And various information is created by system journal, be conducive to, to the unitized management of system journal record, improve The normalization of system journal record.
S2, Message Processing is carried out to message informing according to message content and type of message, and by the treatment knot of message informing Fruit is back to server;
Specifically included in step S2:
After receiving message informing, message content, type of message, message according to message informing send position, message hair Sending time, message level carries out message storage to message informing, writes journal file, sends short message, alarm operation, and at message Message informing treatment is completed into result after the completion of reason and is back to server;Adopted by each side information to message informing Collection, is conducive to server that all kinds of different treatment are carried out to message informing according to above-mentioned comprehensive information, significantly reduces and is Coupling between system log recording and software agent business, improves software performance on the premise of running software is not influenceed.
The message informing that S3, delete processing are completed;
Specifically included in step S3:After server receives message informing treatment completion result, what delete processing was completed disappears Breath is notified;The message informing for completing will be processed in time to delete, and reduce the memory capacity of server, further lifting server Operational efficiency.
Reference picture 2, the system of the system journal record based on message informing proposed by the present invention, including:
Message informing creation module, for creating message informing for system journal;The message informing at least includes message Content and type of message;Above-mentioned message content and message informing are conducive to system to be processed message informing according to its information; The message informing also includes that message sends position, message and sends time, message level, and above- mentioned information is conducive to server Message informing is for further processing according to above- mentioned information;And various information is created by system journal, be conducive to system The unitized management of log recording, improves the normalization of system journal record.
Message informing processing module, for carrying out Message Processing to message informing according to message content and type of message, and The result of message informing is back to server;
Message informing processing module specifically for:
After receiving message informing, message content, type of message, message according to message informing send position, message hair Sending time, message level carries out message storage to message informing, writes journal file, sends short message, alarm operation, and at message Message informing treatment is completed into result after the completion of reason and is back to server;Adopted by each side information to message informing Collection, is conducive to server that all kinds of different treatment are carried out to message informing according to above-mentioned comprehensive information, significantly reduces and is Coupling between system log recording and software agent business, improves software performance on the premise of running software is not influenceed.
Message informing removing module, deletes for will process the message informing for completing;
Message informing removing module specifically for:
After server receives message informing treatment completes result, the message informing that delete processing is completed;In time will place Manage the message informing for completing to delete, reduce the memory capacity of server, further the operational efficiency of lifting server.
Present embodiment creates message informing for system journal first, and message content, message class are included in message informing Type, message send position, message and send time, message level, and detailed mark is carried out by message informing, are conducive to service Device is put in storage according to the message informing that above-mentioned detailed information butt joint is received, writes journal file, sends the differences such as short message, alarm The operation treatment of type, not only increases the specific aim and efficiency to system journal treatment, and ensure that system journal is recorded Autgmentability;Further, it is that system journal creates message informing, and for the format and content of message informing formulates standard, system One pattern of message informing, improves the normalization of system journal record;Further, disappear by system journal establishment Breath notifies that the content further according to message informing carries out corresponding operation treatment, and deletion message is led to after the completion of operation treatment Know, significantly reduce the coupling between system journal record and software agent business so that the record operation of system journal The operation of software is not influenceed, so as to lift software performance, ensures the normal table operation of software.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto, Any one skilled in the art the invention discloses technical scope in, technology according to the present invention scheme and its Inventive concept is subject to equivalent or change, should all be included within the scope of the present invention.

Claims (8)

1. the implementation method that a kind of system journal based on message informing is recorded, it is characterised in that comprise the following steps:
S1, be system journal create message informing;The message informing at least includes message content and type of message;
S2, Message Processing is carried out to message informing according to message content and type of message, and the result of message informing is returned It is back to server;
The message informing that S3, delete processing are completed.
2. the implementation method that the system journal based on message informing according to claim 1 is recorded, it is characterised in that described Message informing also includes that message sends position, message and sends time, message level.
3. the implementation method that the system journal based on message informing according to claim 2 is recorded, it is characterised in that step Specifically included in S2:
After receiving message informing, when message content, type of message, message according to message informing send position, message transmission Between, message level message storage is carried out to message informing, journal file is write, is sent short message, alarm operation, it is and complete in Message Processing Message informing treatment is completed into result after and is back to server.
4. the implementation method that the system journal based on message informing according to claim 3 is recorded, it is characterised in that step Specifically included in S3:
After server receives message informing treatment completion result, the message informing that delete processing is completed.
5. the system that a kind of system journal based on message informing is recorded, it is characterised in that including:
Message informing creation module, for creating message informing for system journal;The message informing at least includes message content And type of message;
Message informing processing module, for carrying out Message Processing to message informing according to message content and type of message, and will disappear Cease the result for notifying and be back to server;
Message informing removing module, deletes for will process the message informing for completing.
6. the system that the system journal based on message informing according to claim 5 is recorded, it is characterised in that described Message informing also includes that message sends position, message and sends time, message level.
7. the system that the system journal based on message informing according to claim 6 is recorded, it is characterised in that message informing Processing module specifically for:
After receiving message informing, when message content, type of message, message according to message informing send position, message transmission Between, message level message storage is carried out to message informing, journal file is write, is sent short message, alarm operation, it is and complete in Message Processing Message informing treatment is completed into result after and is back to server.
8. the system that the system journal based on message informing according to claim 7 is recorded, it is characterised in that message informing Removing module specifically for:
After server receives message informing treatment completes result, the message informing that delete processing is completed.
CN201710124824.3A 2017-03-03 2017-03-03 A kind of realization method and system of the system journal record based on message informing Pending CN106878085A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710124824.3A CN106878085A (en) 2017-03-03 2017-03-03 A kind of realization method and system of the system journal record based on message informing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710124824.3A CN106878085A (en) 2017-03-03 2017-03-03 A kind of realization method and system of the system journal record based on message informing

Publications (1)

Publication Number Publication Date
CN106878085A true CN106878085A (en) 2017-06-20

Family

ID=59170475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710124824.3A Pending CN106878085A (en) 2017-03-03 2017-03-03 A kind of realization method and system of the system journal record based on message informing

Country Status (1)

Country Link
CN (1) CN106878085A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7624177B2 (en) * 2005-05-25 2009-11-24 Hewlett-Packard Development Company, L.P. Syslog message handling
CN102064969A (en) * 2010-12-27 2011-05-18 大唐移动通信设备有限公司 Method and equipment for processing logs
CN103209153A (en) * 2012-01-16 2013-07-17 阿里巴巴集团控股有限公司 Method, device and system for processing messages
CN103945013A (en) * 2013-01-17 2014-07-23 方正宽带网络服务股份有限公司 Data transmission interface device and data transmission method
CN104144071A (en) * 2013-05-10 2014-11-12 北京新媒传信科技有限公司 System log processing method and platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7624177B2 (en) * 2005-05-25 2009-11-24 Hewlett-Packard Development Company, L.P. Syslog message handling
CN102064969A (en) * 2010-12-27 2011-05-18 大唐移动通信设备有限公司 Method and equipment for processing logs
CN103209153A (en) * 2012-01-16 2013-07-17 阿里巴巴集团控股有限公司 Method, device and system for processing messages
CN103945013A (en) * 2013-01-17 2014-07-23 方正宽带网络服务股份有限公司 Data transmission interface device and data transmission method
CN104144071A (en) * 2013-05-10 2014-11-12 北京新媒传信科技有限公司 System log processing method and platform

Similar Documents

Publication Publication Date Title
CN104503863B (en) Kernel state and User space method for interchanging data for virtual container system disaster tolerance
CN103428164A (en) User social network relationship division method and system
CN103119550A (en) Storing electronic content with time-varying properties
CN104484242B (en) During a kind of Copy on write snapshot can breakpoint transmission method
CN107315659A (en) The redundancy backup method and device of a kind of metadata
CN107041017A (en) UE contextual informations restoration methods, device and system
CN107678883A (en) A kind of cluster recovery method and apparatus based on storage system
CN104462562A (en) Data migration system and method based on data warehouse automation
CN107402870A (en) The processing method and processing device of daily record section in a kind of meta data server
CN107908505A (en) A kind of date storage method, device, equipment and system
CN105607606B (en) A kind of data acquisition device and method based on double mainboard frameworks
CN101610402B (en) Method and system for recovering interrupted video in video monitoring process
CN106878085A (en) A kind of realization method and system of the system journal record based on message informing
CN206596012U (en) A kind of Jingwutong's information transmission system
CN101458496A (en) Double mainframe backup control method
CN108920725A (en) A kind of method and object storage gateway of object storage
CN103761156A (en) Online repair method aimed at file system
CN203164957U (en) Enterprise-level data base backup system
CN107888430A (en) Virtual Machine Manager operates synchronous method and device
CN109739340A (en) A kind of data processing method and terminal of energy saving
CN112468387A (en) Template message sending method, computer equipment and computer storage medium
CN104680307A (en) Method and device for processing item transaction
CN102118256A (en) Method for acquiring simple network management protocol (SNMP) data and equipment-side device
CN107656936A (en) A kind of terminal data base construction method in instant messaging field
CN106453567A (en) Anti-interruption storage processing system in communication network

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: 20170620

RJ01 Rejection of invention patent application after publication