CN106648931A - Log information recording method and device - Google Patents

Log information recording method and device Download PDF

Info

Publication number
CN106648931A
CN106648931A CN201611138335.5A CN201611138335A CN106648931A CN 106648931 A CN106648931 A CN 106648931A CN 201611138335 A CN201611138335 A CN 201611138335A CN 106648931 A CN106648931 A CN 106648931A
Authority
CN
China
Prior art keywords
log information
size
stored
data cached
data
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
CN201611138335.5A
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.)
Guiyang Longmaster Information and Technology Co ltd
Original Assignee
Guiyang Longmaster Information and 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 Guiyang Longmaster Information and Technology Co ltd filed Critical Guiyang Longmaster Information and Technology Co ltd
Priority to CN201611138335.5A priority Critical patent/CN106648931A/en
Publication of CN106648931A publication Critical patent/CN106648931A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes

Abstract

The invention belongs to the technical field of information processing and particularly relates to a log information recording method and device. The log information recording method comprises the following steps that log information is received; cache data in a shared cache storage space is read; the size of the cache data is judged; if the cache data is greater than or equal to a first predetermined value, the log information is added to the cache data, and the log information and the cache data are stored in a disk, wherein the size of the share and cache storage space is represented by X, the predetermined value is represented by Y, the Y is smaller than X but is greater than or equal to 0.75X; the cache data in a shared cache is emptied. The method can be used for recording of log information in a server, IO resource consumption can be reduced to the most degree, the device cost can be saved, the log information recording efficiency can be improved, and meanwhile the executing efficiency and stability of the system and the like are improved.

Description

A kind of method and device of log information recording
Technical field
The invention belongs to technical field of information processing, and in particular to a kind of method and device of log information recording.
Background technology
In Server development, daily record is an important function, is the lookup of subsequent server optimization and problem There is provided a very important reference.If using the recording method of existing daily record of writing direct, in high concurrent Under server environment, it will bring the IO (input and output, Input Output) of flood tide) resource consumption, gently then server I/O is gulped down The amount of telling is seriously low, reduces the execution efficiency and stability of system, heavy then directly result in the machine of delaying, and now journal function will seem Lose more than gain.
In addition, existing PHP (Hypertext Preprocessor, HyperText Preprocessor) servers are by log information In being input to the journal file of disk, also have using special caching server to realize the caching of log information.When PHP services When device needs log cache information, need first to send relevant request information and give its corresponding buffer memory device (server), caching sets It is standby to receive after log information, then realize correlation be stored in operation.Therefore, this needs larger equipment cost, also due to daily record is slow Deposit and increased and carry out between PHP servers and other equipment communication-cost, reduce the execution efficiency of system and stablizing for system Property, and due to needing to be communicated between equipment, also make the less efficient of log information recording.
The content of the invention
In order to solve above-mentioned technical problem, the present invention provides a kind of method and device of log information recording, the method Can be used for the record of log information in server, it can largely reduce I/O resource consumption, save equipment cost, improve The efficiency of log information recording, while stability of the execution efficiency of the system of raising and system etc..
On the one hand, the present invention provides a kind of method of log information recording, and it is comprised the following steps:
Receive log information;
Read data cached in shared buffer memory memory space;
Judge the data cached size;
If described data cached more than or equal to the first predetermined value, the log information is appended to described slow In deposit data, and by the log information and described data cached it is stored in disk;Wherein, the shared buffer memory memory space is big It is little for X, the size of the first predetermined value is Y, then Y is less than X and more than or equal to 0.75X;
By the log information and it is described it is data cached be stored in after disk, empty the caching in the shared buffer memory Data.
The method of the log information recording, it is preferred that it also includes:
If described data cached less than the first predetermined value, the log information is appended to described data cached In, deposit data is treated in formation;
The size of deposit data is treated described in judging;If the size for treating deposit data is less than the shared buffer memory memory space Size, then treat that deposit data is stored in the shared buffer memory memory space by described;If the size for treating deposit data is more than Or equal to the size of the shared buffer memory memory space, then treat that deposit data is stored in the disk by described.
The method of the log information recording, it is preferable that described by the log information and described data cached to be stored in It is by the log information and the data cached corresponding journal file being stored in the disk during disk;
And methods described also includes:By the log information and the data cached corresponding day being stored in the disk After in will file, the size of the journal file is judged, if the journal file is more than or equal to second predetermined value, rename The journal file.
The method of the log information recording, it also includes:It is described to rename after the journal file, create new day Will file.
It may further be preferable that Y is equal to 0.8X.
On the other hand, the present invention also provides a kind of device of log information recording, and it includes:
Receiver module, for receiving log information;
Read module, for reading shared buffer memory memory space in it is data cached;
First judge module, for judging the data cached size;
Module is stored in, if for described data cached more than or equal to the first predetermined value, by daily record letter Breath be appended to it is described it is data cached in, and by the log information and described data cached be stored in disk;Wherein, it is described shared slow The size for depositing memory space is X, and the size of the first predetermined value is Y, then Y is less than X and more than or equal to 0.75X;
Empty module, for by the log information and it is described it is data cached be stored in after disk, empty described shared slow It is described data cached in depositing.
The device of the log information recording, it is preferable that it also includes:
Additional module, if for described data cached less than the first predetermined value, the log information added To it is described it is data cached in, formation treat deposit data;
Second judge module, for judging the size for treating deposit data;If the size for treating deposit data is less than institute The size of shared buffer memory memory space is stated, then treats that deposit data is stored in the shared buffer memory memory space by described;If described The size of the size more than or equal to the shared buffer memory memory space of deposit data is treated, then treats that deposit data is stored in the magnetic by described In disk.
The device of the log information recording, it is preferred that the module that is stored in including file unit, for by the day Will information and described data cached when being stored in disk, by the log information and the data cached phase being stored in the disk In the journal file answered;
And described device also includes:3rd judge module, for by the log information and described data cached being stored in institute After stating in the corresponding journal file in disk, the size of the journal file is judged, if the journal file is more than or equal to the Two predetermined values, then rename the journal file.
The device of the log information recording, it also includes:
Creation module, renames after the journal file for described, creates new journal file.
It is preferred that Y is equal to 0.8X.
The method of the log information recording in the embodiment of the present invention, its data for being stored in disk every time are greater than first and make a reservation for The data of value, while Y is less than X and more than or equal to 0.75X, during log information recording, the Y value can make full use of The memory space of shared buffer memory, improves buffer efficiency, simultaneously because it is data cached more than or equal to first predetermined value when, will be current Log information and this it is data cached be stored in disk together, this can largely reduce I/O resource consumption again, improve daily record The efficiency of information record.And the present invention is the shared buffer memory memory space that can be accessed using multi-process, therefore, by the party Method, can make multi-process jointly using a buffer memory space, and deposit without being respectively the independent caching of each process setting Storage space, reduces the expense of internal memory, improves the execution efficiency of system and the stability of system.
Further, since the method for the log information recording of the embodiment of the present invention has used shared buffer memory, it can directly exist Server internal completes the caching of the log information of multi-process, and without arranging other for the server log information cache Equipment, this can reduce the expense that server is communicated due to log buffer between other equipment, further improve system The execution efficiency of system, and the efficiency of log information recording is improve, while also saving equipment cost.
Description of the drawings
Fig. 1 is the flow chart of the method for the log information recording in one embodiment of the present invention.
Fig. 2 is the partial process view of the method for the log information recording in another preferred embodiment of the invention.
Fig. 3 is the flow process analysis diagram of the method for the log information recording in present invention embodiment as shown in Figure 2.
Fig. 4 is the structure chart of the device of log information recording in one embodiment of the present invention.
Fig. 5 is the structure chart of the device of log information recording in another preferred embodiment of the invention.
Specific embodiment
In order to clearly understand technical scheme, the present invention is described in detail below in conjunction with the accompanying drawings. Embodiments of the invention have an exemplary effect, those skilled in the art make on the basis of the embodiment of the present invention without essence The improvement of property, should all belong to protection scope of the present invention.
The method of log information recording as shown in Figure 1, in can be used for PHP servers, it is comprised the following steps:
S101:Receive log information.
Before log information is received, one piece of shared memory space of first to file is used as shared buffer memory memory space.This is shared Buffer memory space can be set according to the size of Installed System Memory, and when Installed System Memory is sufficient, shared memory space can be big Some.General shared memory space can be 7-15KB (Ki lobyte, kilobytes), can generally choose 10KB.Shared buffer memory If memory space crosses conference due to occupying excessive internal memory, influence the course the other parts accessed in internal memory, thus reduces The whole efficiency of system, if shared buffer memory memory space is too small, can make log information write disk too frequent, reduce daily record letter The efficiency of breath record.
Shared drive is referred in the environment of multi-process, there is provided give multiple process resources shared a piece of memory space, by Independence between process, shared drive provides the scheme that a kind of each process is communicated.Process is the journey in computer Sequence is base unit that system carries out Resource Distribution and Schedule with regard to the once operation activity on certain data acquisition system.
In PHP (Hypertext Preprocessor, the HyperText Preprocessor) server of multiple processes, have altogether Buffer memory space is enjoyed, the multiple processes in system can just out to be temporarily stored in log information in shared buffer memory memory space.
S102:Read data cached in shared buffer memory memory space.
The data being stored in shared buffer memory memory space are referred to as data cached.Receive after log information every time, first read It is data cached in shared buffer memory memory space, in order to judge the data cached size.
S103:Judge the data cached size.Judge the data cached size, can be in order to subsequently deciding whether The log information for receiving is directly stored in into disk.
S104:If described data cached more than or equal to the first predetermined value, the log information is appended to It is described it is data cached in, and by the log information and described data cached be stored in disk;Wherein, the shared buffer memory storage is empty Between size be X, the size of the first predetermined value is Y, then Y is less than X and more than or equal to 0.75X.
According to the first predetermined value, data cached size is judged, in order to decide whether to believe the daily record for receiving Breath is directly stored in disk, and the method can control to be stored in the data of disk by the size of setting first predetermined value.
If the first predetermined value is too little, the storage of shared buffer memory during log information recording, can be wasted Space, will also result in write disk it is too frequent, reduce log information recording efficiency.It is stored in altogether generally for log information is improved Enjoy buffer memory space and from shared buffer memory space reading cache data when efficiency, the size of the first predetermined value should be less than Shared buffer memory memory space.
Such as:If shared buffer memory memory space is 10KB, the size of the first predetermined value can be 7.5KB;Work as caching Size of data is 7.5KB, when the size of log information is 2KB, then can by the log information be appended to it is data cached in, and directly Connect and the data message of 9.5KB is stored in disk;When data cached size is 9KB, and the size of log information is 2KB, then may be used With by the log information be appended to it is data cached in, and directly the data message of 11KB is stored in disk.
Certainly the size of shared buffer memory memory space can also for 7KB, 8KB, 9KB, 11KB, 12KB, 13KB, 14KB, 15KB etc..If shared buffer memory memory space is 12KB, the size of the first predetermined value can be 10KB;When data cached size For 11KB, when the size of log information is 2KB, then can by the log information be appended to it is data cached in, and directly by 13KB Data message be stored in disk;When data cached size is 10KB, and the size of log information is 1KB, then can be by the day Will information adding is directly stored in the data message of 11KB in disk in data cached.
S105:By the log information and it is described it is data cached be stored in after disk, empty the institute in the shared buffer memory State data cached.
Empty described data cached in the shared buffer memory, can be directly stored in order to follow-up log information shared slow In depositing, and raising is stored in efficiency.
The method of the log information recording in the embodiment of the present invention, its data for being stored in disk every time are greater than first and make a reservation for The data of value, while Y is less than X and more than or equal to 0.75X, during log information recording, the Y value can make full use of The memory space of shared buffer memory, improves buffer efficiency, simultaneously because it is data cached more than or equal to first predetermined value when, will be current Log information and this it is data cached be stored in disk together, this can largely reduce I/O resource consumption again, improve daily record The efficiency of information record.And the embodiment of the present invention is the shared buffer memory memory space that can be accessed using multi-process, therefore, lead to The method is crossed, can make multi-process jointly using a buffer memory space, and arrange independent without being respectively each process Buffer memory space, reduces the expense of internal memory, improves the execution efficiency of system and the stability of system.
Further, since the method for the log information recording of the embodiment of the present invention has used shared buffer memory, it can directly exist PHP server internals complete the caching of the log information of multi-process, and slow for the server log information without arranging other The equipment deposited, this can reduce the expense that PHP servers are communicated due to log buffer between other equipment, further The execution efficiency of raising system, and the efficiency of log information recording can also be improved, while also saving equipment cost.
Based on the method for the log information recording shown in Fig. 1, as shown in Figure 2,3, it also includes:
S106:If described data cached less than the first predetermined value, the log information is appended to described slow In deposit data, deposit data is treated in formation.
If described data cached less than the first predetermined value, illustrate to be stored in shared buffer memory memory space It is more data cached.But needs determine whether to treat the size of deposit data.
S107:The size of deposit data is treated described in judging;If the size for treating deposit data is deposited less than the shared buffer memory The size in storage space, then treat that deposit data is stored in the shared buffer memory memory space by described;If described treat the big of deposit data The little size more than or equal to the shared buffer memory memory space, then treat that deposit data is stored in the disk by described.
If the size for treating deposit data is less than the size of the shared buffer memory memory space, illustrate described shared slow Deposit to be stored in memory space and treat deposit data, therefore can will treat that deposit data is stored in shared buffer memory memory space, in order to When being received again by other log informations, other log informations being treated into that deposit data is stored in disk together with this, therefore, both can fill Divide and utilize shared buffer memory memory space, the number of times of write disk can be reduced again, you can disappear largely to reduce I/O resource Consumption.
If the size for treating deposit data is equal to the size of the shared buffer memory memory space, in order to avoid due to daily record Information be stored in shared buffer memory memory space and from shared buffer memory space reading cache data when efficiency reduction, then treat described Deposit data is stored in the disk.
It is to treat deposit data not if the size for treating deposit data is more than the size of the shared buffer memory memory space During shared buffer memory memory space can be stored in, now, current shared buffer memory memory space is taken full advantage of, therefore, it can Directly treat that deposit data is stored in the disk by described, to reach the purpose of long-time data storage.
Such as:If shared buffer memory memory space is 10KB, the size of the first predetermined value can be 9KB;When caching number Be 7KB according to size, when the size of log information is 2KB, then can by the log information be appended to it is data cached in, form 9KB Treat deposit data, deposit data is treated less than 10KB shared buffer memory memory spaces due to 9kB, then this can be treated that deposit data is stored in altogether In enjoying buffer memory space;When data cached size is 8KB, and the size of log information is 2KB, then can be by the log information Be appended to it is data cached in, form 10KB and treat deposit data, due to 10kB to treat that deposit data is equal to the storage of 10KB shared buffer memories empty Between, then this can be treated that deposit data is stored in the disk;When data cached size is 8.5KB, the size of log information is 2KB When, then can by the log information be appended to it is data cached in, form 10.5KB and treat deposit data, poke treated due to 10.5kB According to more than 10KB shared buffer memory memory spaces, then this can be treated that deposit data is stored in the disk.
Based on the method for the log information recording shown in Fig. 1, wherein, it is described by the log information and described data cached It is by the log information and the data cached corresponding journal file being stored in the disk when being stored in disk;And Methods described also includes:
S108:After in the log information and the data cached corresponding journal file being stored in the disk, Judge the size of the journal file, if the journal file is more than or equal to second predetermined value, rename the journal file.
In disk, there can be a different files, corresponding journal file, referring to can be stored in corresponding log information Journal file.Generally, hyperdisk file for convenience, when certain journal file reaches certain value, should rename this Journal file, in order to make follow-up log information not restore in the journal file.The journal file is renamed, generally may be used To be named with current time point, such as the current time is 12 seconds November 20 day 10 point 58 minute in 2016, then daily record text Part name can be 20161120105812.Can certainly be named according to other rules.
The second predetermined value, is set according to different demands.Such as, text editor is subsequently used for convenience Check and and without frequently name, the second predetermined value can be 50M.Because the journal file of 50M sizes can be using big Most text editors are checked.Certainly, second predetermined value, it is also possible to set according to other demands.
Preferably, the method for the log information recording, it also includes:It is described to rename after the journal file, Create new journal file.
Rename in the day after file, follow-up log information just can not be stored in the journal file, so needing wound New journal file is built, in order to follow-up log information the new journal file can be stored in.
Preferably Y is 0.8X, the utilization rate, the frequent degree of write disk and day at this point for the memory space of shared buffer memory Will information be stored in shared buffer memory memory space, from shared buffer memory space reading cache data when efficiency, be optimum selection.Than Such as:If shared buffer memory memory space is 10KB, the size of the first predetermined value is 8KB;When data cached size is 7k, day When the size of will information is 2KB, then can by the log information be appended to it is data cached in, form 9KB and treat deposit data, due to 9kB's treats that this less than 10KB shared buffer memory memory spaces, then can be treated that deposit data is stored in shared buffer memory memory space by deposit data In;When data cached size is 8KB, and the size of log information is 2KB, then the log information can be appended to data cached In, and directly the data message of 10KB is stored in disk;When data cached size is 9KB, the size of log information is 2KB When, then can by the log information be appended to it is data cached in, and directly the data message of 11KB is stored in disk.
The device of log information recording as shown in Figure 4, it includes:
Receiver module, for receiving log information;
Read module, for reading shared buffer memory memory space in it is data cached;
First judge module, for judging the data cached size;
Module is stored in, if for described data cached more than or equal to the first predetermined value, by daily record letter Breath be appended to it is described it is data cached in, and by the log information and described data cached be stored in disk;Wherein, it is described shared slow The size for depositing memory space is X, and the size of the first predetermined value is Y, then Y is less than X and more than or equal to 0.75X;
Empty module, for by the log information and it is described it is data cached be stored in after disk, empty described shared slow It is described data cached in depositing.
The device of the log information recording in the embodiment of the present invention, it is possible to achieve the method for above-mentioned log information recording, Its data for being stored in disk every time is greater than the data of first predetermined value, while Y is less than X and more than or equal to 0.75X, in daily record During information record, the Y value can make full use of the memory space of shared buffer memory, improve buffer efficiency, simultaneously because slow Deposit data be more than or equal to first predetermined value when, by current log information and this it is data cached be stored in disk together, this again can I/O resource consumption is largely reduced, the efficiency of log information recording is improve.And the present invention be can be with using multi-process The shared buffer memory memory space of access, therefore, with it, can make multi-process jointly using a buffer memory space, And independent buffer memory space is set without being respectively each process, and the expense of internal memory is reduced, improve the execution efficiency of system And the stability of system.
Further, since the method for the log information recording of the embodiment of the present invention has used shared buffer memory, it can directly exist PHP server internals complete the caching of the log information of multi-process, and slow for the server log information without arranging other The equipment deposited, this can reduce the expense that PHP servers are communicated due to log buffer between other equipment, further The execution efficiency of raising system, also saves equipment cost.
The device of above-mentioned log information recording can also include application module, for receive log information before, Shen Please one piece of shared memory space as shared buffer memory memory space.
Based on the device of the log information recording shown in Fig. 4, as shown in figure 5, it includes:
Additional module, if for described data cached less than the first predetermined value, the log information added To it is described it is data cached in, formation treat deposit data;
Second judge module, for judging the size for treating deposit data;If the size for treating deposit data is less than institute The size of shared buffer memory memory space is stated, then treats that deposit data is stored in the shared buffer memory memory space by described;If described The size of the size more than or equal to the shared buffer memory memory space of deposit data is treated, then treats that deposit data is stored in the magnetic by described In disk.
Based on the device of the log information recording shown in Fig. 4, wherein, the module that is stored in includes file unit, for inciting somebody to action The log information and described data cached when being stored in disk, by the log information and described data cached is stored in the disk In corresponding journal file in;
And described device also includes:3rd judge module, for by the log information and described data cached being stored in institute After stating in the corresponding journal file in disk, the size of the journal file is judged, if the journal file is more than or equal to the Two predetermined values, then rename the journal file.
The device of the log information recording, it is preferred that also including creation module, for described the daily record is renamed After file, new journal file is created.
The device of the log information recording, it is preferred that Y is equal to 0.8X.
The above, only embodiments of the invention, but protection scope of the present invention are not limited thereto, any to be familiar with sheet Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should cover this Within the protection domain of invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.

Claims (10)

1. a kind of method of log information recording, it is characterised in that comprise the following steps:
Receive log information;
Read data cached in shared buffer memory memory space;
Judge the data cached size;
If described data cached more than or equal to the first predetermined value, the log information is appended into the caching number According in, and by the log information and described data cached it is stored in disk;Wherein, the size of the shared buffer memory memory space is X, the size of the first predetermined value is Y, then Y is less than X and more than or equal to 0.75X;
By the log information and it is described it is data cached be stored in after disk, empty the caching number in the shared buffer memory According to.
2. the method for log information recording according to claim 1, it is characterised in that also include:
If described data cached less than the first predetermined value, by the log information be appended to it is described it is data cached in, Deposit data is treated in formation;
The size of deposit data is treated described in judging;If the size for treating deposit data is big less than the shared buffer memory memory space It is little, then treat that deposit data is stored in the shared buffer memory memory space by described;If the size for treating deposit data is more than or waits In the size of the shared buffer memory memory space, then treat that deposit data is stored in the disk by described.
3. the method for log information recording according to claim 1, it is characterised in that described by the log information and institute State data cached when being stored in disk, be by the log information and the data cached corresponding daily record being stored in the disk In file;
And methods described also includes:By the log information and the data cached corresponding daily record text being stored in the disk After in part, the size of the journal file is judged, if the journal file is more than or equal to second predetermined value, rename the day Will file.
4. the method for log information recording according to claim 3, it is characterised in that also include:It is described to rename this After journal file, new journal file is created.
5. the method for log information recording according to claim 1, it is characterised in that Y is equal to 0.8X.
6. a kind of device of log information recording, it is characterised in that include:
Receiver module, for receiving log information;
Read module, for reading shared buffer memory memory space in it is data cached;
First judge module, for judging the data cached size;
Module is stored in, if for described data cached more than or equal to the first predetermined value, the log information chased after Be added to it is described it is data cached in, and by the log information and described data cached be stored in disk;Wherein, the shared buffer memory is deposited The size in storage space is X, and the size of the first predetermined value is Y, then Y is less than X and more than or equal to 0.75X;
Empty module, for by the log information and it is described it is data cached be stored in after disk, in emptying the shared buffer memory It is described data cached.
7. the device of log information recording according to claim 6, it is characterised in that also include:
Additional module, if for described data cached less than the first predetermined value, the log information is appended into institute State it is data cached in, formation treat deposit data;
Second judge module, for judging the size for treating deposit data;If the size for treating deposit data is less than described common The size in buffer memory space is enjoyed, then treats that deposit data is stored in the shared buffer memory memory space by described;If described wait to deposit The size of data then treats that deposit data is stored in the disk more than or equal to the size of the shared buffer memory memory space by described In.
8. the device of log information recording according to claim 6, it is characterised in that the module that is stored in is including file list Unit, for by the log information and it is described it is data cached be stored in disk when, by the log information and described data cached deposit In entering the corresponding journal file in the disk;
And described device also includes:3rd judge module, for by the log information and described data cached being stored in the magnetic After in corresponding journal file in disk, the size of the journal file is judged, if the journal file is pre- more than or equal to second Definite value, then rename the journal file.
9. the device of log information recording according to claim 8, it is characterised in that also include:
Creation module, renames after the journal file for described, creates new journal file.
10. the device of log information recording according to claim 6, it is characterised in that Y is equal to 0.8X.
CN201611138335.5A 2016-12-12 2016-12-12 Log information recording method and device Pending CN106648931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611138335.5A CN106648931A (en) 2016-12-12 2016-12-12 Log information recording method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611138335.5A CN106648931A (en) 2016-12-12 2016-12-12 Log information recording method and device

Publications (1)

Publication Number Publication Date
CN106648931A true CN106648931A (en) 2017-05-10

Family

ID=58824256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611138335.5A Pending CN106648931A (en) 2016-12-12 2016-12-12 Log information recording method and device

Country Status (1)

Country Link
CN (1) CN106648931A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111699479A (en) * 2019-06-20 2020-09-22 深圳市大疆创新科技有限公司 Log processing method, log processing device and computer-readable storage medium
CN113672572A (en) * 2021-08-28 2021-11-19 芯河半导体科技(无锡)有限公司 Log storage method of embedded linux system syslog

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567248A (en) * 2003-07-01 2005-01-19 华为技术有限公司 Log recording method and system for application program
CN102254004A (en) * 2011-07-14 2011-11-23 北京邮电大学 Method and system for modeling Web in weblog excavation
US8458397B2 (en) * 2010-12-13 2013-06-04 International Business Machines Corporation Saving log data using a disk system as primary cache and a tape library as secondary cache
CN105047207A (en) * 2015-08-13 2015-11-11 浪潮电子信息产业股份有限公司 Dynamic capacity expansion performance testing method and system for storage system
CN105471616A (en) * 2014-09-12 2016-04-06 博雅网络游戏开发(深圳)有限公司 Cache system management method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567248A (en) * 2003-07-01 2005-01-19 华为技术有限公司 Log recording method and system for application program
US8458397B2 (en) * 2010-12-13 2013-06-04 International Business Machines Corporation Saving log data using a disk system as primary cache and a tape library as secondary cache
CN102254004A (en) * 2011-07-14 2011-11-23 北京邮电大学 Method and system for modeling Web in weblog excavation
CN105471616A (en) * 2014-09-12 2016-04-06 博雅网络游戏开发(深圳)有限公司 Cache system management method and system
CN105047207A (en) * 2015-08-13 2015-11-11 浪潮电子信息产业股份有限公司 Dynamic capacity expansion performance testing method and system for storage system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111699479A (en) * 2019-06-20 2020-09-22 深圳市大疆创新科技有限公司 Log processing method, log processing device and computer-readable storage medium
CN113672572A (en) * 2021-08-28 2021-11-19 芯河半导体科技(无锡)有限公司 Log storage method of embedded linux system syslog
CN113672572B (en) * 2021-08-28 2024-02-09 芯河半导体科技(无锡)有限公司 Log storage method of embedded linux system syslog

Similar Documents

Publication Publication Date Title
US8738837B2 (en) Control of page access in memory
CN105302478B (en) A kind of date storage method and electronic equipment
CN108337601A (en) The control method and device of speaker
CN103530388A (en) Performance improving data processing method in cloud storage system
CN106909515A (en) Towards multinuclear shared last level cache management method and device that mixing is hosted
CN110727685B (en) Data compression method, equipment and storage medium based on Cassandra database
JP2005182803A5 (en)
CN103198027A (en) Method and device for storing and providing files
CN112631521A (en) Method, system, equipment and medium for controlling water level of cache pool
CN102968395B (en) Method and device for accelerating memory copy of microprocessor
CN103514110A (en) Cache management method and device for nonvolatile memory device
CN106648931A (en) Log information recording method and device
KR20170002866A (en) Adaptive Cache Management Method according to the Access Chracteristics of the User Application in a Distributed Environment
CN105868093A (en) Log write-in method and server side
CN109471843A (en) A kind of metadata cache method, system and relevant apparatus
US20240086332A1 (en) Data processing method and system, device, and medium
CN113946552A (en) Data processing method and electronic device
CN106021566A (en) Method, device and system for improving concurrent processing capacity of single database
CN107506154A (en) A kind of read method of metadata, device and computer-readable recording medium
CN104252422A (en) Memory access method and memory controller
CN104657358A (en) Method and system for caching webpage program offline
CN112000703B (en) Data warehousing processing method and device, computer equipment and storage medium
CN112905121B (en) Data refreshing method and system
CN105589912A (en) Method and storage structure for processing frequently written document with MRAM (Magnetic Random Access Memory)
CN102495710B (en) Method for processing data read-only accessing request

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

RJ01 Rejection of invention patent application after publication