CN105975602A - Log sorting system - Google Patents
Log sorting system Download PDFInfo
- Publication number
- CN105975602A CN105975602A CN201610309875.9A CN201610309875A CN105975602A CN 105975602 A CN105975602 A CN 105975602A CN 201610309875 A CN201610309875 A CN 201610309875A CN 105975602 A CN105975602 A CN 105975602A
- Authority
- CN
- China
- Prior art keywords
- file
- daily record
- module
- log
- user
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/1805—Append-only file systems, e.g. using logs or journals to store data
- G06F16/1815—Journaling file systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1734—Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs
Abstract
The invention discloses a log sorting system comprising the following structures: a log selection unit receiving a user order and selecting a log configuration file and a log time file according to the user order, and the log selection unit can combine the log configuration file and log time file into a log selection file, wherein the log selection file is transferred to the log search unit; the log search unit receiving the log selection file sent by a log selection module, searching user selected all log files according to the information recorded by the log selection file, determining all log file storage paths needed by the user, and transferring all log storage path information into a processing unit; the log processing unit receiving a user processing order and all log file storage path information transferred by the log search unit, and processing all log files of the determined storage paths according to the user processing order. The log sorting system can form dynamic configuration files so as to allow users to obtain different log files, thus solving existing log file management problems.
Description
Technical field
The present invention relates to a kind of daily record clearing system, particularly relating to one can be selected by user, and batch arranges the day of daily record
Will clearing system.
Background technology
Journal file, as the record file of record Action Events, owing to having preservation operation information, recalls equipment shape
The function of state, has important effect at aspects such as management of equipment maintenances.Especially at analytical equipment service condition and backtracking equipment
During state, generally require substantial amounts of a certain type journal file in calling a period of time, but current journal file be all by
User copies voluntarily, it is impossible to realize copy automatically, and inconvenient.
And journal file does not has the exercisable clearing system of efficient user at present, it is equal for the arrangement of journal file
Being to be managed by collating program of being set, it determines and is that this management can only obtain fixed type, fixed name, Gu
The journal file that location is put, then needs to revise setting program, to obtain as obtained the journal file of other types, title or position
Other journal files, this acquisition methods suitability is low, and user not directly chooses the journal file of needs and needs by repairing
Changing setting program to obtain, obtain journal file difficulty, and the type obtaining journal file due to it, Name & Location is the most solid
Fixed reason, result also in user cannot carry out batch operation to daily record, and the daily record to diverse location needs repeater's work to grasp
Make, the most loaded down with trivial details.Especially in analytical equipment service condition, the various dissimilar daily record of equipment in needing to call a period of time
File, this just needs searching journal file that user constantly repeats manual replication log file, obtains substantial amounts of dissimilar
And the journal file of position just needs to spend user's substantial amounts of time, reduce the analysis efficiency of user, increase the workload of user.
In the face of what the management of current journal file existed cannot replicate automatically, user cannot be from main separation, it is impossible to batch arranges
The problem of daily record, people need a kind of highly efficient convenient daily record clearing system with the bigger scope of application.
Summary of the invention
It is desirable to provide one can replicate automatically, user can be from main separation journal file, can batch processing daily record literary composition
The daily record clearing system of part, solves problem present in the management of current journal file.
A kind of daily record clearing system of the present invention, including:
The contents such as daily record selects unit, receives user instruction, the iog location selected according to user, Log Types, Log Names
Forming daily record configuration file, the logging time selected according to user forms logging time file, when daily record configuration file and daily record
Between file collectively form daily record select file, daily record select unit daily record selects file be forwarded to blog search unit;
Blog search unit, receives the daily record selection file that daily record selects module to send, selects the day of file record according to daily record
The position of will, type, title and time search whole journal files that user selects, and determine whole daily records literary composition that user needs
Whole log storage path information are also forwarded to processing unit by the store path of part;
Journal processing unit, receives the whole journal file store paths letter processing instruction and the forwarding of blog search file of user
The whole journal files determining store path are processed by breath according to the instruction that processes of user.
A kind of daily record clearing system of the present invention selects unit reception user instruction to determine user by arranging daily record
Needing the daily record selected and be consequently formed configuration file, user can also be by instruction modification configuration file to call other positions
Put, type and the journal file of title.Contrast and existing daily record clearing system, owing to it is formed without configuration file, call day
The position of will, type and title have been set cannot have user to pass through instruction modification, can only realize changing by amendment program, this
Daily record clearing system described in invention can obtain different journal files, user by instruction modification configuration file due to user
Operability is higher and has the widely suitability.Further, original daily record clearing system can only call fixed position, class
Type and the daily record of title, it is impossible to different daily records is realized batch operation, daily record clearing system of the present invention then by
In defining dynamic configuration file, it is possible not only to call the journal file of diverse location, type and title according to user's request, and
And the batch processing to different journal files can be realized, solve during current journal file arranges the problem run into.Additionally, mesh
Before in log management engineering, be typically the most manually that replication log file is to specifying position, when needs, to replicate a large amount of daily record civilian
During part, manual replicate the most loaded down with trivial details but also error-prone, the present invention by arranging log processing module, can replication log file automatically, very
Just providing one the most convenient, can replication log file automatically, user can be from main separation journal file, and can batch processing
The daily record clearing system of journal file.
Accompanying drawing explanation
Fig. 1 is the system block diagram of a kind of daily record clearing system.
Detailed description of the invention
As it is shown in figure 1, a kind of daily record clearing system of the present invention, including, daily record selects unit, receives user and refers to
Order, according to content formation daily record configuration files such as the iog location of user's selection, Log Types, Log Names, selects according to user
The logging time selected forms logging time file, and daily record configuration file and logging time file collectively form daily record and select file,
Daily record selects unit that daily record selects file be forwarded to blog search unit;Blog search unit, receives daily record and selects module to send out
The daily record sent selects file, selects the position of the daily record of file record, type according to daily record, and title and time search user's choosing
The whole journal files selected, determine the store path of whole journal files that user needs and by whole log storage path information
It is forwarded to processing unit;Journal processing unit, receives the whole daily records literary composition processing instruction and the forwarding of blog search file of user
The whole journal files determining store path are processed by part store path information according to the instruction that processes of user.The present invention
Selecting unit to form dynamic configuration file by daily record, user can obtain different journal files by amendment configuration file;Logical
Crossing journal processing unit to complete to automatically process journal file, user such as can copy by sending journal processing unit,
Deleting, compression etc. has instructed the process to journal file, and this kind of daily record clearing system automaticity is higher, and operability is more
By force, more convenient handy.
Daily record of the present invention selects unit, including: communication module, receive user instruction and be forwarded to daily record configuration module
And logging time module, and forward the daily record configuration file and the daily record of logging time module transmission sent by daily record configuration module
The daily record that time file collectively forms selects file, completes daily record and selects the communication of unit and other unit;Daily record configuration module,
Receive the user instruction that communication module forwards, determine the iog location that user selects, Log Types, Log Names, form daily record
Configuration file, forwards daily record configuration file to daily record search unit through communication module;Logging time module, receives communication module and turns
The user instruction sent out, determines the logging time that user selects, and forms Time of Day file, forwards logging time file through communication module
To daily record search unit.Wherein, daily record configuration module, including: iog location selector, select instruction to determine selection according to user
The positional information of daily record, and forward positional information to configuration file generator;Log Types selector, selects instruction according to user
Determine the type information selecting daily record, and forward type information to configuration file generator;Log Names selector, according to user
Select instruction to determine the name information selecting daily record, and forward name information to configuration file generator;Configuration file generator,
According to the positional information received, type information, name information forms configuration file and sends to communication module.Daily record selects single
Unit as realize user can the core work unit of free journal file function, form configuration with daily record configuration module the most again civilian
Part is mostly important.By the positional information selected according to user, type information, name information forms configuration file, during with daily record
Between file together form the daily record that can be changed voluntarily by user and select file, be used for calling different types of file, it is achieved this day
The modifiable function of will clearing system user.Additionally, the log information that can call can also be classified by daily record configuration module
Form Log Types list, make client select journal file according to list, look for information needed the most accurately, when saving user
Also system workload is reduced while between.
Blog search unit of the present invention, including: communication module, receive the daily record selection literary composition that daily record selects module to send
Part is forwarded to blog search module, forwards the store path information that blog search module sends to journal processing unit, completes day
Will search unit and the communication of other unit;Blog search module, selects the daily record of file record according to the daily record received
Position, type, title and time search whole journal files that user selects, and determine the store path of whole daily record and by complete
Portion's journal file store path information is forwarded to journal processing unit through communication module.This unit Main Basis configuration file is searched for
The journal file that user selects, determines the store path of journal file, and other operations for subsequent user provide whole
Journal file store path information, helps through the duplication (copy) of user, the operation compressed or delete.
Described journal processing unit of the present invention, including: communication module, the process receiving user instructs and is forwarded to copy
Shellfish module and derivation position select module, complete the communication of journal processing unit and other unit, receive blog search module and send out
The whole journal file store path information sent are to calling module;Calling module, receives whole daily records literary composition that communication module forwards
Part store path information, and the journal file selected user according to store path calls;Copy module, receives and calls mould
The journal file that block calls, and select the derivation store path information of module transmission to be copied to by journal file according to deriving position
Derive position to store;Derive position and select module, determine, according to the user instruction received, the journal file that user selects
The path needing storage is formed derives the transmission of store path information to copying module.This unit receives user instruction and according to user
The daily record chosen is automatically copied into the location of instruction by instruction, it is achieved bulk to journal file replicates operation automatically.It addition,
This journal processing unit can also include removing module, receives the journal file that calling module calls, and deletes the daily record literary composition called
Part;Compression module, receives the journal file that calling module calls, the journal file that compression is called.In order to complete other of user
Operational requirements, the real daily record clearing system that a kind of strong operability is provided.
Claims (6)
1. a daily record clearing system, it is characterised in that including:
The contents such as daily record selects unit, receives user instruction, the iog location selected according to user, Log Types, Log Names
Forming daily record configuration file, the logging time selected according to user forms logging time file, when daily record configuration file and daily record
Between file collectively form daily record select file, daily record select unit daily record selects file be forwarded to blog search unit;
Blog search unit, receives the daily record selection file that daily record selects module to send, selects the day of file record according to daily record
The position of will, type, title and time search whole journal files that user selects, and determine whole daily records literary composition that user needs
Whole log storage path information are also forwarded to processing unit by the store path of part;
Journal processing unit, receives the whole journal file store paths letter processing instruction and the forwarding of blog search file of user
The whole journal files determining store path are processed by breath according to the instruction that processes of user.
A kind of daily record clearing system the most according to claim 1, it is characterised in that described daily record selects unit, including:
Communication module, receives user instruction and is forwarded to daily record configuration module and logging time module, and forwards and configured mould by daily record
The daily record that the logging time file that the daily record configuration file of block transmission and logging time module send collectively forms selects file, complete
Daily record is become to select the communication of unit and other unit;
Daily record configuration module, receives the user instruction that communication module forwards, determines the iog location that user selects, Log Types,
Log Names, forms daily record configuration file, forwards daily record configuration file to daily record search unit through communication module;
Logging time module, receives the user instruction that communication module forwards, and determines the logging time that user selects, and forms Time of Day
File, forwards logging time file to daily record search unit through communication module.
A kind of daily record clearing system the most according to claim 1, it is characterised in that described blog search unit, including:
Communication module, receives daily record and selects the daily record of module transmission to select file to be forwarded to blog search module, forward daily record to search
The store path information that rope module sends, to journal processing unit, completes the communication of blog search unit and other unit;
Blog search module, selects the position of the daily record of file record, type, title and time search according to the daily record received
The whole journal files selected to user, determine the store path of whole daily record and by whole journal file store path information warps
Communication module is forwarded to journal processing unit.
A kind of daily record clearing system the most according to claim 1, it is characterised in that described journal processing unit, including:
Communication module, the process receiving user instructs and is forwarded to copy module and derive position selection module, completes at daily record
Reason unit and the communication of other unit, receive whole journal file store path information of blog search module transmission to calling mould
Block;
Calling module, receives whole journal file store path information that communication module forwards, and according to store path to user
The journal file selected calls;
Copy module, receives the journal file that calling module calls, and according to deriving the derivation storage that position selects module to send
Journal file is copied to derive position and stores by routing information;
Derive position and select module, determine that the journal file that user selects needs the path of storage according to the user instruction received
Formed and derive the transmission of store path information to copying module.
A kind of daily record clearing system the most according to claim 2, it is characterised in that described daily record configuration module, including:
Iog location selector, foundation user selects to instruct and determines the positional information selecting daily record, and forwards positional information to joining
Put file generator;
Log Types selector, foundation user selects to instruct and determines the type information selecting daily record, and forwards type information to joining
Put file generator;
Log Names selector, foundation user selects to instruct and determines the name information selecting daily record, and forwards name information to joining
Put file generator;
Configuration file generator, according to the positional information received, type information, name information forms configuration file and sends extremely
Communication module.
A kind of daily record clearing system the most according to claim 4, it is characterised in that described log processing module, including:
Removing module, receives the journal file that calling module calls, and deletes the journal file called;
Compression module, receives the journal file that calling module calls, the journal file that compression is called.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610309875.9A CN105975602A (en) | 2016-05-11 | 2016-05-11 | Log sorting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610309875.9A CN105975602A (en) | 2016-05-11 | 2016-05-11 | Log sorting system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105975602A true CN105975602A (en) | 2016-09-28 |
Family
ID=56991921
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610309875.9A Pending CN105975602A (en) | 2016-05-11 | 2016-05-11 | Log sorting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975602A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107741956A (en) * | 2017-09-18 | 2018-02-27 | 杭州安恒信息技术有限公司 | A kind of blog search method based on web container configuration file |
CN107819616A (en) * | 2017-10-30 | 2018-03-20 | 杭州安恒信息技术有限公司 | Automatically extract the method, apparatus and system of daily record |
CN107832352A (en) * | 2017-10-23 | 2018-03-23 | 中国银行股份有限公司 | Daily record automatic processing method, device, storage medium and equipment |
CN108170585A (en) * | 2017-12-26 | 2018-06-15 | 广东欧珀移动通信有限公司 | log processing method, device, terminal device and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072129A (en) * | 2007-06-25 | 2007-11-14 | 北京邮电大学 | JMX based network service management method and its application system |
CN101453378A (en) * | 2008-12-30 | 2009-06-10 | 杭州华三通信技术有限公司 | Method and system for log damp and audit |
CN101571827A (en) * | 2008-04-30 | 2009-11-04 | 国际商业机器公司 | Method for saving logs and log system |
CN103793479A (en) * | 2014-01-14 | 2014-05-14 | 上海上讯信息技术股份有限公司 | Log management method and log management system |
-
2016
- 2016-05-11 CN CN201610309875.9A patent/CN105975602A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072129A (en) * | 2007-06-25 | 2007-11-14 | 北京邮电大学 | JMX based network service management method and its application system |
CN101571827A (en) * | 2008-04-30 | 2009-11-04 | 国际商业机器公司 | Method for saving logs and log system |
CN101453378A (en) * | 2008-12-30 | 2009-06-10 | 杭州华三通信技术有限公司 | Method and system for log damp and audit |
CN103793479A (en) * | 2014-01-14 | 2014-05-14 | 上海上讯信息技术股份有限公司 | Log management method and log management system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107741956A (en) * | 2017-09-18 | 2018-02-27 | 杭州安恒信息技术有限公司 | A kind of blog search method based on web container configuration file |
CN107741956B (en) * | 2017-09-18 | 2020-07-03 | 杭州安恒信息技术股份有限公司 | Log searching method based on web container configuration file |
CN107832352A (en) * | 2017-10-23 | 2018-03-23 | 中国银行股份有限公司 | Daily record automatic processing method, device, storage medium and equipment |
CN107832352B (en) * | 2017-10-23 | 2022-01-04 | 中国银行股份有限公司 | Log automatic processing method, device, storage medium and equipment |
CN107819616A (en) * | 2017-10-30 | 2018-03-20 | 杭州安恒信息技术有限公司 | Automatically extract the method, apparatus and system of daily record |
CN108170585A (en) * | 2017-12-26 | 2018-06-15 | 广东欧珀移动通信有限公司 | log processing method, device, terminal device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975602A (en) | Log sorting system | |
CN110362632B (en) | Data synchronization method, device, equipment and computer readable storage medium | |
KR101557212B1 (en) | Method, sharing platform, and system for sharing image-editing action | |
CN103414759B (en) | Network disk file transmission method and device | |
CN103631868B (en) | Data management system compatible with relational database | |
JP2000067130A (en) | Work flow managing system | |
CN104615586A (en) | Real-time cooperative editing system | |
CN101071480A (en) | Universal structured process dispatch method based on work flowfor complicated service system | |
CN110928851B (en) | Method, device and equipment for processing log information and storage medium | |
JP2010165178A (en) | Information processing method and information processor | |
AU687714B1 (en) | Multimedia information distribution system | |
CN108536743A (en) | A kind of Combat Command System database in phase system | |
CN103593351A (en) | Electronic file filing method and system | |
CN110990399B (en) | Reconstruction index method and device | |
CN108573014A (en) | A kind of file synchronisation method, device, electronic equipment and readable storage medium storing program for executing | |
CN103218118A (en) | File processing method and system under multi-level directory and mobile terminal | |
CN101309231B (en) | Rope operation method and apparatus | |
CN101276299A (en) | Information processing system and information processing method | |
CN102377688A (en) | File transmission method and equipment | |
CN103500129B (en) | A kind of transmission of backup object, backup method, the manufacturing side, the standby end of calamity and system | |
US20090006462A1 (en) | Integrated broadcasting method and system of demonstration manuscripts | |
WO2016082608A1 (en) | Service data query/search method, apparatus and system | |
JP2012133615A (en) | Remote editing system, editing processing device, and program thereof | |
CN109800388A (en) | A kind of edit methods of JSON data, apparatus and system | |
CN104135505B (en) | Data connection method and system across data center |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160928 |
|
RJ01 | Rejection of invention patent application after publication |