CN102694693B - A kind of log recording method of network management system - Google Patents

A kind of log recording method of network management system Download PDF

Info

Publication number
CN102694693B
CN102694693B CN201210217768.5A CN201210217768A CN102694693B CN 102694693 B CN102694693 B CN 102694693B CN 201210217768 A CN201210217768 A CN 201210217768A CN 102694693 B CN102694693 B CN 102694693B
Authority
CN
China
Prior art keywords
log
information
processing
log information
management system
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.)
Active
Application number
CN201210217768.5A
Other languages
Chinese (zh)
Other versions
CN102694693A (en
Inventor
段雄文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang New Home Network Technology Co ltd
Original Assignee
Shanghai Huanchuang Communication 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 Shanghai Huanchuang Communication Technology Co Ltd filed Critical Shanghai Huanchuang Communication Technology Co Ltd
Priority to CN201210217768.5A priority Critical patent/CN102694693B/en
Publication of CN102694693A publication Critical patent/CN102694693A/en
Application granted granted Critical
Publication of CN102694693B publication Critical patent/CN102694693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of log recording method of network management system, comprise client and server end, server end comprises data memory module, wherein, user presets by processing configuration parts, according to the processing method of the dissimilar separate provision daily record of log information, the processing method of log information comprises asynchronous process mode and synchronous processing mode; Asynchronous process mode refers to lines up a queue by log information, and puts into extra different information process unit according to the type of log information and process, feedback result after information process unit is disposed; Synchronous processing mode refers to that system stops other operations, the log information of need processing is put into same process and process, and restarts other operations after being disposed again; The invention has the beneficial effects as follows: offer user's function of the field of the record of definition oneself flexibly, and there is recording mode and flexibly customizable processing mode flexibly.

Description

A kind of log recording method of network management system
Technical field
The present invention relates to log-file technology field, be specifically related to a kind of log recording method of network management system.
Background technology
The operation of the log recording network management system of network management system, is generally used for log audit and security audit. May be divided into a lot of kinds, each class can comprise again a lot of information, multiple fields. The daily record of network management system, the one, the processing of requirement ability to accept, the 2nd, the diversity of requirement processing form, the log4j of log in industry at present, logback etc. are log very easily, also very flexible aspect the type of daily record and processing, but be limited to the field that it can not self-defined complexity, so can not be adapted to the log recording of network management system.
Summary of the invention
For the problems referred to above of current log-file technology existence, the invention provides a kind of technical scheme of log recording method of network management system.
A kind of log recording method of network management system, described network management system comprises client and server end, described client connects described server end, described server end comprises data memory module, wherein, user presets by processing configuration parts, and according to the processing method of the dissimilar separate provision daily record of log information, the processing method of described log information comprises asynchronous process mode and synchronous processing mode;
Described asynchronous process mode refers to lines up a queue by log information, and puts into extra different information process unit according to the type of described log information and process, feedback result after described information process unit is disposed;
Described synchronous processing mode refers to that system stops other operations, the log information of need processing is put into same process and process, and restarts other operations after being disposed again.
Preferably, the log recording method of this network management system, wherein, the processing method of described log information also comprises that other pass through the default method of processing configuration parts.
Preferably, the log recording method of this network management system, wherein, the recording method of described log information refers to that described server end is provided with a routine interface, and described routine interface directly calls the log information conforming to a predetermined condition and is saved in described data memory module; Or by a built-in blocker, according to log information described in default condition flag and tackle the markd described log information of tool, the described log information being blocked is deposited in described data memory module.
Preferably, the log recording method of this network management system, wherein, the record type of described log information comprises Operation Log, network element event log and dynamic data daily record.
Preferably, the log recording method of this network management system, wherein, presets event type and the record type of described log information in described processing configuration parts.
Preferably, the log recording method of this network management system, wherein, in the first recording method, described condition in advance comprises action name, operand and operator message.
Preferably, the log recording method of this network management system, wherein, user sets in advance the field in log recording by definition field configuration parts.
Beneficial effect of the present invention:
The invention provides the function of the field of the record of definition oneself flexibly to user, and there is recording mode and flexibly customizable processing mode flexibly.
Brief description of the drawings
Fig. 1 is the theory diagram of the log recording method of a kind of network management system of the present invention.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
Be illustrated in figure 1 a kind of log recording method of network management system, network management system comprises client and server end, client connection server end, server end comprises data memory module, wherein, user is by default process information arrangement components, and according to the processing method of the dissimilar separate provision daily record of log information, the processing method of log information comprises asynchronous process mode and synchronous processing mode;
Processing configuration parts are preset with the deploy content such as event type and action type, wherein can be subdivided into again the log information type such as safety (security), operation (operate), modification time (dateChange) and event log (eventlog), wherein security, dateChange and eventlog adopt the processing of asynchronous process mode, and operate adopts synchronous processing mode processing;
Asynchronous process mode is directed to the daily record that some data volumes are very large, such as the performance of network element, stand by lamp, if these type of data are too fast too much, server end may have little time to process and cause obstruction; And asynchronous process mode is exactly first log information to be formed to a queue, then put into respectively different message handlers according to the type of log information and carry out asynchronous processing, and feedback processing result; So processing mode has effectively been alleviated the problem of blocking up of daily record;
Synchronous processing mode is for some real-times, the more intense log information of coherence request, such as certain operations daily record, after having done operation, just need to be in the different local uniformity that ensure data such as database, client, at this moment adopt synchronous processing mode, be that system stops other operations and log information to be processed need is focused on to unified processing in a process, after this log information is disposed, system is recovered other operations again; Adopt synchronous processing mode to process the uniformity that log information is conducive to maintenance log information;
User also can be by other pre-configured self-defined other processing modes of processing configuration parts to meet the demand (not shown) of oneself.
The record type of log information is mainly divided into Operation Log, network element event log, dynamic data daily record etc., its recording method comprises that one is that server end is provided with a routine interface, and described routine interface directly calls the log information conforming to a predetermined condition and is saved in described data memory module; The 2nd, by a built-in blocker, according to log information described in default condition flag and tackle the markd described log information of tool, the described log information being blocked is deposited in described data memory module.
The first recording method for some only at the record of the log information of server side operation, can pass through API(ApplicationProgrammingInterface, application programming interface) the direct log information of mode called being kept in data memory module;
AOP(AspectOrientedProgramming has been used in the second recording method, towards tangent plane programming) interception principle, server end utilizes AOP interception, carries out the filling of log content, and be kept in data memory module, thereby meet the demand of user to log content.
The foregoing is only preferred embodiment of the present invention, not thereby limit claim of the present invention, so the equivalent structure that all utilizations description of the present invention and diagramatic content have been done changes, be all included in protection scope of the present invention.

Claims (6)

1. a log recording method for network management system, described network management system comprises client and server end,Described client connects described server end, and described server end comprises data memory module, and its feature existsIn, user presets by processing configuration parts, according to the dissimilar rule respectively of log informationThe processing method of settled date will, the processing method of described log information comprises asynchronous process mode and synchronous processingMode;
Described asynchronous process mode refers to lines up a queue by log information, and according to described log informationType is put into extra different information process unit and is processed, and described information process unit is handledFeedback result after finishing;
Described synchronous processing mode refers to that system stops other operations, puts into the log information of need processing sameIn one process, process, after being disposed, restart again other operations;
The method of the complete log information of recording processing comprises:
On described server end, establish a routine interface, described routine interface directly calls and conforms to a predetermined conditionLog information and be saved in described data memory module; Or
By a built-in blocker, there is mark according to log information described in default condition flag interceptionThe described log information of note, deposits the described log information being blocked in described data memory module in.
2. the log recording method of network management system as claimed in claim 1, is characterized in that, described dayThe processing method of will information also comprises that other pass through the default method of processing configuration parts.
3. the log recording method of network management system as claimed in claim 1, is characterized in that, described dayWill recording of information type comprises Operation Log, network element event log and dynamic data daily record.
4. the log recording method of network management system as claimed in claim 1, is characterized in that, described placeIn reason arrangement components, preset event type and the record type of described log information.
5. the log recording method of network management system as claimed in claim 1, is characterized in that, the firstIn recording method, described condition in advance comprises action name, operand and operator message.
6. the log recording method of network management system as claimed in claim 5, is characterized in that, userSet in advance the field in log recording by definition field configuration parts.
CN201210217768.5A 2012-06-28 2012-06-28 A kind of log recording method of network management system Active CN102694693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210217768.5A CN102694693B (en) 2012-06-28 2012-06-28 A kind of log recording method of network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210217768.5A CN102694693B (en) 2012-06-28 2012-06-28 A kind of log recording method of network management system

Publications (2)

Publication Number Publication Date
CN102694693A CN102694693A (en) 2012-09-26
CN102694693B true CN102694693B (en) 2016-05-18

Family

ID=46859985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210217768.5A Active CN102694693B (en) 2012-06-28 2012-06-28 A kind of log recording method of network management system

Country Status (1)

Country Link
CN (1) CN102694693B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125252B (en) * 2013-04-27 2017-12-01 博雅网络游戏开发(深圳)有限公司 Data-storage system and method
CN104156300A (en) * 2013-05-14 2014-11-19 利德科技发展有限公司 Log management system and log management method
CN107305521A (en) * 2016-04-20 2017-10-31 百度在线网络技术(北京)有限公司 Log recording method and device
CN109376130A (en) * 2018-10-18 2019-02-22 国云科技股份有限公司 A method of the self-defined template based on cloudy platform records operation log

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101409732A (en) * 2008-11-19 2009-04-15 福建星网锐捷网络有限公司 System and method for managing network address conversion information
CN101414255A (en) * 2007-10-19 2009-04-22 国际商业机器公司 Method and apparatus for processing log event
CN101719149A (en) * 2009-12-03 2010-06-02 联动优势科技有限公司 Data synchronization method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414255A (en) * 2007-10-19 2009-04-22 国际商业机器公司 Method and apparatus for processing log event
CN101409732A (en) * 2008-11-19 2009-04-15 福建星网锐捷网络有限公司 System and method for managing network address conversion information
CN101719149A (en) * 2009-12-03 2010-06-02 联动优势科技有限公司 Data synchronization method and device

Also Published As

Publication number Publication date
CN102694693A (en) 2012-09-26

Similar Documents

Publication Publication Date Title
US10277525B2 (en) Method and apparatus for disaggregated overlays via application services profiles
CN105205766B (en) Mobile internet hospital system of seeing a doctor based on cloud platform
CN103281359A (en) Cloud desktop system and operating method
CN102694693B (en) A kind of log recording method of network management system
CN103200037B (en) A kind of syslog log storing method
CN105224391A (en) A kind of online backup method and system of virtual machine
CN205725862U (en) A kind of data handling system based on cloud computing
CN109062982B (en) Financial data interaction method and device, computer equipment and storage medium
CN102917052A (en) Method for distributing resources in cloud computing system
CN102135932A (en) Monitoring system and monitoring method thereof
CN104572415A (en) Event log recording method applicable to distributed system
CN109242637A (en) A kind of shared intelligence system of calculation power
CN104601723A (en) Power marketing management system SOA framework based on internal service bus
CN102915255A (en) Cloud computing service system and method for massive dataset parallel computation
CN103605487A (en) Method for transparently capturing print data
CN112612467A (en) Method and device for processing micro front-end architecture based on qiankun
CN203301532U (en) Cloud desktop system
CN206489563U (en) Heterogeneous computing system
CN107608758A (en) A kind of virtual machine file integrality monitoring method and system
US10185613B2 (en) Error determination from logs
JP2013171542A (en) Performance analysis device, method for analyzing performance, and performance analysis program
CN104486149A (en) Finite-state machine method for ground tests
CN104217292A (en) Service platform system based on cloud computing
US9384466B2 (en) Systems and methods for extending any service to existing systems by using an adaptive common interface
WO2016179636A1 (en) Job concentration system, method and process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20170823

Address after: Jiaxing City, Zhejiang province 314000 Nanhu District Ling Gong Tang Road No. 3339 (Jiaxing city) building 1, room 138

Patentee after: Zhejiang new home network technology Co.,Ltd.

Address before: 200241, block 6, building 555, Dongchuan Road, Minhang District, Shanghai,

Patentee before: Shanghai Huanchuang Communication Technology Co., Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A logging method for network management system

Effective date of registration: 20220616

Granted publication date: 20160518

Pledgee: Agricultural Bank of China Limited by Share Ltd. South Lake branch

Pledgor: Zhejiang new home network technology Co.,Ltd.

Registration number: Y2022330000994

PE01 Entry into force of the registration of the contract for pledge of patent right