CN106708578A - Dual-thread-based journal output method and device - Google Patents

Dual-thread-based journal output method and device Download PDF

Info

Publication number
CN106708578A
CN106708578A CN201611203404.6A CN201611203404A CN106708578A CN 106708578 A CN106708578 A CN 106708578A CN 201611203404 A CN201611203404 A CN 201611203404A CN 106708578 A CN106708578 A CN 106708578A
Authority
CN
China
Prior art keywords
daily record
queue
thread
text data
write
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.)
Granted
Application number
CN201611203404.6A
Other languages
Chinese (zh)
Other versions
CN106708578B (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.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information 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 Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201611203404.6A priority Critical patent/CN106708578B/en
Publication of CN106708578A publication Critical patent/CN106708578A/en
Application granted granted Critical
Publication of CN106708578B publication Critical patent/CN106708578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a dual-thread-based journal output method and device. The method includes: receiving a journal calling request, and storing journal text data in the journal calling request in a thread circulating queue; writing the journal text data stored in the thread circulating queue into a blocking queue which is an internal memory buffer area; monitoring the capacity and writing operation of the blocking queue, and if the fact that the blocking queue has no writing operation or reaches a capacity threshold, trigging the input-output thread of a journal to write all current journal text data in the blocking queue into a journal file in one time. By the journal output method and device, the writing frequency of internal memory buffer area data into the journal file is low, the number of threads used by journal process is reduced, system I/O pressure is low, journal redirection is achieved by a small amount of CPU and thread resources, and the response performance of UI Interaction in applications is increased.

Description

Log-output method and device based on dual-thread
Technical field
The present invention relates to communication technical field, more particularly to a kind of log-output method and device based on dual-thread.
Background technology
Developer understands application program (Application, abbreviation:APP operation conditions), the conventional side of one of which Method is, by daily record, daily record to be redirected, and output to specified journal file carries out unifying to collect.
In the prior art, when daily record is exported, start a thread, journal file is opened in the thread, then Daily record data is written in journal file, last closing journal file, terminates thread.Therefore, a daily record is often write, it is necessary to Flow for journal file of experience " open file handle -- write-in data-closing file handle ".
But, when a large amount of continuous daily records are exported, by above-mentioned log-output method, it is easily caused reading and writing of files frequently It is numerous, pressure is brought to system input and output (I/O), and the Thread Count that treatment daily record is used is excessive, can consume mobile device valuable Thread resources, reduce CPU and distribute to the timeslice of Business Processing.
The content of the invention
The present invention provides a kind of log-output method and device based on dual-thread, easy to solve existing log-output method Cause reading and writing of files frequently, the big problem of system I/O pressure.
In a first aspect, the present invention provides a kind of log-output method based on dual-thread, including:
Daily record call request is received, by the daily record text data store in the daily record call request in thread round-robin queue In;
The daily record text data write-in obstruction queue that will be stored in the thread loops queue, the obstruction queue is internal memory Buffering area;
Monitor it is described obstruction queue capacity and write operation, if listen to it is described obstruction queue do not have write operation or Capacity threshold is reached, then triggers the input and output thread of daily record, by current all of daily record text data in obstruction queue One-time write journal file.
Further, current all of daily record text data one-time write daily record text in the queue by the obstruction Part, including:
Journal file handle is opened, current all of daily record text data is obtained successively from obstruction queue, successively Each daily record text data is write in the journal file, current all of daily record text data writes the journal file knot Shu Shi, closes the journal file handle.
Further, before the reception daily record call request, also include:
The priority of the thread priority less than Business Processing of the thread loops queue is set.
Further, it is described listen to it is described obstruction queue there is no write operation, including:
Listen to obstruction queue does not have write operation in Preset Time.
Second aspect, the present invention provides a kind of daily record output device based on dual-thread, including:
Receiver module, for receiving daily record call request;
Thread loops queue, for storing the daily record text data in the daily record call request;
Obstruction queue, for storing the daily record text data in the thread loops queue, the obstruction queue is internal memory Buffering area;
Trigger module, for monitoring capacity and the write operation of obstruction queue, if listen to obstruction queue not having There is write operation or reach capacity threshold, then trigger the input and output thread of daily record;
Daily record writing module, for blocking current all of daily record text data one-time write daily record in queue by described File.
Further, the daily record writing module specifically for:
Journal file handle is opened, current all daily record text datas are obtained successively from obstruction queue, write successively Enter each daily record text data to terminate in the journal file, current all daily record text datas write the journal file When, close the journal file handle.
Further, also include:
Setup module, for before the receiver module receives daily record call request, setting the thread loops queue Thread priority less than Business Processing priority.
Further, the trigger module specifically for:
Listen to obstruction queue does not have write operation in Preset Time.
Log-output method and device based on dual-thread that the present invention is provided, after receiving daily record call request, make The daily record text data in daily record call request is write into core buffer with a thread, a thread monitors core buffer Without write operation or when reaching capacity threshold by the daily record text data one-time write daily record text in core buffer In part, during log buffer and write-in work sub-line journey at two respectively.So as to core buffer data write the frequency of journal file Rate is low, reduces the Thread Count that treatment daily record is used, small to system I/O pressure, realizes with less CPU and thread resources reality The redirection of existing daily record, improves the response performance of application interior UI interactions.
Brief description of the drawings
In order to illustrate more clearly of technical scheme of the invention or of the prior art, below will be to embodiment or prior art The accompanying drawing to be used needed for description is briefly described, it should be apparent that, drawings in the following description are of the invention one A little embodiments, for those of ordinary skill in the art, without having to pay creative labor, can also be according to this A little accompanying drawings obtain other accompanying drawings.
Fig. 1 is the flow chart of log-output method embodiment one of the present invention based on dual-thread;
Fig. 2 is the interaction diagrams of log-output method embodiment two of the present invention based on dual-thread;
Fig. 3 is the structural representation of daily record output device embodiment one of the present invention based on dual-thread;
Fig. 4 is the structural representation of daily record output device embodiment two of the present invention based on dual-thread.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawing in the present invention, to this Technical scheme in invention is clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, Rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The every other embodiment obtained under the premise of dynamic, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of log-output method embodiment one of the present invention based on dual-thread, the execution master of the present embodiment Body can be terminal device, such as mobile phone, IPAD electronic equipments, as shown in figure 1, the method for the present embodiment can include:
S101, reception daily record call request, by the daily record text data store in daily record call request in thread loops team In row.
Wherein, the daily record that thread loops queue is used in the daily record call request received according to queue FIFO storage Text data, when daily record is exported, will start a thread, and the daily record call request is exactly that the thread before daily record output is adjusted With request.
S102, the daily record text data write-in obstruction queue that will be stored in thread loops queue, obstruction queue are slow for internal memory Rush area.
Wherein, core buffer is, for example, high-speed internal memory buffering area.
S103, the capacity for monitoring obstruction queue and write operation, if listen to obstruction queue and there is no write operation or reaching To capacity threshold, then the input and output thread of daily record is triggered, current all of daily record text data in obstruction queue is disposable Write-in journal file.
Specifically, there is no write operation or reach capacity threshold if listening to obstruction queue, will be current in obstruction queue All of daily record text data one-time write journal file, is specifically as follows:
Journal file handle is opened, current all of daily record text data is obtained successively from obstruction queue, write successively The corresponding daily record data of each thread in journal file, at the end of current all of daily record text data write-in journal file, Closing journal file handle.Capacity threshold therein is, for example, block capacity of queue 80% or 90% etc..
So as to current all of daily record text data disposably all writes journal file in obstruction queue, and daily record is literary The opening and closing of part handle only need each execution once, therefore the frequency of daily record text data write-in journal file is low, to system I/O pressure it is small.
Further, listening to obstruction queue does not have write operation, Ke Yiwei:Listen to obstruction queue in Preset Time There is no write operation, Preset Time can be a default time period, such as 5S.
In the present embodiment, it can be seen that using the log-output method of the present embodiment, dual-thread asynchronous write data, one Thread is responsible for for the daily record text data in daily record call request writing core buffer, and a thread is responsible for monitoring memory buffer Area when trigger condition is met by the daily record text data one-time write journal file in core buffer, log buffer and During write-in works sub-line journey at two respectively, the frequency of buffer data write-in journal file (i.e. disk file) is low, reduces The Thread Count that treatment daily record is used, it is small to system I/O pressure, the redirection of daily record is realized with less CPU and thread resources, carry The interior user interface of height application (User Interface, referred to as:UI) the response performance of interaction.
Further, before receiving daily record call request in S101, can also include:The line of thread loops queue is set Priority of the journey priority less than Business Processing.So that terminal device receives daily record call request at the same time and Business Processing please When asking, the time of Business Processing can not be influenceed with priority treatment business.
The log-output method based on dual-thread that the present embodiment is provided, after receiving daily record call request, uses one Daily record text data in daily record call request is write core buffer by individual thread, and a thread is monitored core buffer and do not had By in the daily record text data one-time write journal file in core buffer when having write operation or reaching capacity threshold, During log buffer and write-in work sub-line journey at two respectively.So as to, the frequency of core buffer data write-in journal file is low, The Thread Count that treatment daily record is used is reduced, it is small to system I/O pressure, realize and realize day with less CPU and thread resources The redirection of will, improves the response performance of application interior UI interactions.
A specific embodiment, the technical scheme to embodiment of the method shown in Fig. 1 is used to be described in detail below.
Fig. 2 is the interaction diagrams of log-output method embodiment two of the present invention based on dual-thread, as shown in Fig. 2 this The method of embodiment can include:
S201, reception daily record call request.
S202, startup thread loops queue, by the daily record text data store in daily record call request in thread loops team In row.
S203, the write-in obstruction queue of daily record text data.
Specifically, the daily record text data write-in obstruction queue that will be stored in thread loops queue, obstruction queue is internal memory Buffering area.
S204, the capacity for monitoring obstruction queue and write operation.
If listening to obstruction queue does not have write operation or reach capacity threshold, the input-output line of daily record is triggered Journey, performs S205.
S205, circulation obtain the message of head of the queue from obstruction queue.
S206, the daily record text data of acquisition is written in a file.
S207, receive after the thread obtained in obstruction queue all terminates, by the data in this document it is disposable brush into In journal file.
Fig. 3 is the structural representation of daily record output device embodiment one of the present invention based on dual-thread, as shown in figure 3, this The device of embodiment can include:Receiver module 11, thread loops queue 12, obstruction queue 13, trigger module 14 and log write Enter module 15.
Wherein, receiver module 11 is used to receive daily record call request.Thread loops queue 12 be used for store daily record call please Daily record text data in asking.Obstruction queue 13 is used to store the daily record text data in thread loops queue, and obstruction queue is Core buffer.Trigger module 14 is used to monitor capacity and the write operation of obstruction queue, if listen to obstruction queue not writing Enter operation or reach capacity threshold, then trigger the input and output thread of daily record.Daily record writing module 15 is used to that queue will to be blocked In current all of daily record text data one-time write journal file.
Further, daily record writing module 15 specifically for:Journal file handle is opened, is obtained successively from obstruction queue Current all of daily record text data, writes each daily record text data in journal file, current all daily record texts successively At the end of data write-in journal file, closing journal file handle.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1, its realization principle class Seemingly, here is omitted.
The daily record output device based on dual-thread that the present embodiment is provided, after receiving daily record call request, uses one Daily record text data in daily record call request is write core buffer by individual thread, and a thread is monitored core buffer and do not had By in the daily record text data one-time write journal file in core buffer when having write operation or reaching capacity threshold, During log buffer and write-in work sub-line journey at two respectively.So as to, the frequency of core buffer data write-in journal file is low, The Thread Count that treatment daily record is used is reduced, it is small to system I/O pressure, realize and realize day with less CPU and thread resources The redirection of will, improves the response performance of application interior UI interactions.
Fig. 4 is the structural representation of daily record output device embodiment two of the present invention based on dual-thread, as shown in figure 4, this The device of embodiment further, can also include on the basis of Fig. 3 shown device structures:Setup module 16, the setting mould Block 16 was used for before receiver module 11 receives daily record call request, and the thread priority for setting thread loops queue is less than business The priority for the treatment of.
Further, trigger module 14 specifically for:Listen to obstruction queue does not have write operation in Preset Time.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1, its realization principle class Seemingly, here is omitted.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (8)

1. a kind of log-output method based on dual-thread, it is characterised in that including:
Daily record call request is received, by the daily record text data store in the daily record call request in thread round-robin queue;
The daily record text data write-in obstruction queue that will be stored in the thread loops queue, the obstruction queue is memory buffer Area;
Capacity and the write operation of obstruction queue are monitored, if listen to obstruction queue and there is no write operation or reaching Capacity threshold, then trigger the input and output thread of daily record, by current all of daily record text data in obstruction queue once Property write-in journal file.
2. method according to claim 1, it is characterised in that current all of daily record text in the queue by the obstruction Notebook data one-time write journal file, including:
Journal file handle is opened, current all of daily record text data is obtained successively from obstruction queue, write successively Each daily record text data terminates in the journal file, current all of daily record text data writes the journal file When, close the journal file handle.
3. method according to claim 1 and 2, it is characterised in that before the reception daily record call request, also include:
The priority of the thread priority less than Business Processing of the thread loops queue is set.
4. method according to claim 1 and 2, it is characterised in that described to listen to obstruction queue and do not write behaviour Make, including:
Listen to obstruction queue does not have write operation in Preset Time.
5. a kind of daily record output device based on dual-thread, it is characterised in that including:
Receiver module, for receiving daily record call request;
Thread loops queue, for storing the daily record text data in the daily record call request;
Obstruction queue, for storing the daily record text data in the thread loops queue, the obstruction queue is memory buffer Area;
Trigger module, for monitoring capacity and the write operation of obstruction queue, if listen to obstruction queue not writing Enter operation or reach capacity threshold, then trigger the input and output thread of daily record;
Daily record writing module, for current all of daily record text data one-time write daily record in obstruction queue is literary Part.
6. device according to claim 5, it is characterised in that the daily record writing module specifically for:
Journal file handle is opened, current all of daily record text data is obtained successively from obstruction queue, write successively Each daily record text data terminates in the journal file, current all of daily record text data writes the journal file When, close the journal file handle.
7. the device according to claim 5 or 6, it is characterised in that also include:
Setup module, for before the receiver module receives daily record call request, setting the line of the thread loops queue Priority of the journey priority less than Business Processing.
8. the device according to claim 5 or 6, it is characterised in that the trigger module specifically for:
Listen to obstruction queue does not have write operation in Preset Time.
CN201611203404.6A 2016-12-23 2016-12-23 Log output method and device based on double threads Active CN106708578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611203404.6A CN106708578B (en) 2016-12-23 2016-12-23 Log output method and device based on double threads

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611203404.6A CN106708578B (en) 2016-12-23 2016-12-23 Log output method and device based on double threads

Publications (2)

Publication Number Publication Date
CN106708578A true CN106708578A (en) 2017-05-24
CN106708578B CN106708578B (en) 2021-11-09

Family

ID=58903183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611203404.6A Active CN106708578B (en) 2016-12-23 2016-12-23 Log output method and device based on double threads

Country Status (1)

Country Link
CN (1) CN106708578B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809337A (en) * 2017-11-17 2018-03-16 深圳泉眼体育运营管理有限公司 A kind of daily record method for uploading and device
CN108319543A (en) * 2018-01-24 2018-07-24 广州江南科友科技股份有限公司 A kind of asynchronous processing method and its medium, system of computer log data
CN109189726A (en) * 2018-08-08 2019-01-11 北京奇安信科技有限公司 A kind of processing method and processing device for reading and writing log
CN109308247A (en) * 2017-07-27 2019-02-05 东软集团股份有限公司 A kind of log processing method, device, equipment and a kind of network equipment
CN109376015A (en) * 2018-10-23 2019-02-22 苏州思必驰信息科技有限公司 Solution and system are blocked in log for task scheduling system
CN109491974A (en) * 2018-10-12 2019-03-19 上海金大师网络科技有限公司 Asynchronous blog management method and system and computer readable storage medium
CN109710578A (en) * 2018-11-13 2019-05-03 北京奇艺世纪科技有限公司 A kind of log recording method and system
CN110019498A (en) * 2017-08-14 2019-07-16 北京京东尚科信息技术有限公司 Log synchronous method and device, storage medium, electronic equipment
CN111045782A (en) * 2019-11-20 2020-04-21 北京奇艺世纪科技有限公司 Log processing method and device, electronic equipment and computer readable storage medium
CN111177097A (en) * 2019-12-13 2020-05-19 北京浪潮数据技术有限公司 Log collection method, device and equipment and computer readable storage medium
CN112948136A (en) * 2021-02-02 2021-06-11 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Method for implementing asynchronous log record of embedded operating system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197700A (en) * 2006-12-05 2008-06-11 阿里巴巴公司 Method and system for providing log service
CN102447633A (en) * 2011-12-29 2012-05-09 北京亿赞普网络技术有限公司 Log transmission method and system
CN102455889A (en) * 2010-10-29 2012-05-16 金蝶软件(中国)有限公司 Method, device and enterprise system for obtaining process output logs
CN102891873A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method for storing log data and log data storage system
CN103176888A (en) * 2011-12-22 2013-06-26 阿里巴巴集团控股有限公司 Log recording method and log recording system
CN103645983A (en) * 2013-12-17 2014-03-19 山东中创软件工程股份有限公司 Method and device for generating journal file in domestic environment
CN103729442A (en) * 2013-12-30 2014-04-16 华为技术有限公司 Method for recording event logs and database engine
CN103885726A (en) * 2014-03-20 2014-06-25 东蓝数码股份有限公司 Efficient multi-thread log writing-in method
WO2014113688A1 (en) * 2013-01-18 2014-07-24 Stanley, Morgan Multi-threaded logging
US20150347305A1 (en) * 2013-06-26 2015-12-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for outputting log information
CN105224444A (en) * 2015-10-14 2016-01-06 深圳市金证科技股份有限公司 Daily record generation method and device
CN105868093A (en) * 2016-04-25 2016-08-17 上海斐讯数据通信技术有限公司 Log write-in method and server side
CN105871574A (en) * 2015-01-21 2016-08-17 中国移动通信集团浙江有限公司 Method, device and system for monitoring log based on software development kit

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197700A (en) * 2006-12-05 2008-06-11 阿里巴巴公司 Method and system for providing log service
CN102455889A (en) * 2010-10-29 2012-05-16 金蝶软件(中国)有限公司 Method, device and enterprise system for obtaining process output logs
CN102891873A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method for storing log data and log data storage system
CN103176888A (en) * 2011-12-22 2013-06-26 阿里巴巴集团控股有限公司 Log recording method and log recording system
CN102447633A (en) * 2011-12-29 2012-05-09 北京亿赞普网络技术有限公司 Log transmission method and system
WO2014113688A1 (en) * 2013-01-18 2014-07-24 Stanley, Morgan Multi-threaded logging
US20150347305A1 (en) * 2013-06-26 2015-12-03 Tencent Technology (Shenzhen) Company Limited Method and apparatus for outputting log information
CN103645983A (en) * 2013-12-17 2014-03-19 山东中创软件工程股份有限公司 Method and device for generating journal file in domestic environment
CN103729442A (en) * 2013-12-30 2014-04-16 华为技术有限公司 Method for recording event logs and database engine
CN103885726A (en) * 2014-03-20 2014-06-25 东蓝数码股份有限公司 Efficient multi-thread log writing-in method
CN105871574A (en) * 2015-01-21 2016-08-17 中国移动通信集团浙江有限公司 Method, device and system for monitoring log based on software development kit
CN105224444A (en) * 2015-10-14 2016-01-06 深圳市金证科技股份有限公司 Daily record generation method and device
CN105868093A (en) * 2016-04-25 2016-08-17 上海斐讯数据通信技术有限公司 Log write-in method and server side

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHIEN AN LAI等: "IO Performance Interference among Consolidated n-Tier Applications : Sharing Is Better Than Isolation for Disks", 《2014 IEEE 7TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING》 *
黎苑文等: "断点续传及多线程机制在远程传版中的应用研究", 《北京印刷学院学报》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109308247A (en) * 2017-07-27 2019-02-05 东软集团股份有限公司 A kind of log processing method, device, equipment and a kind of network equipment
CN109308247B (en) * 2017-07-27 2023-02-03 东软集团股份有限公司 Log processing method, device and equipment and network equipment
CN110019498B (en) * 2017-08-14 2022-04-12 北京京东尚科信息技术有限公司 Log synchronization method and device, storage medium and electronic equipment
CN110019498A (en) * 2017-08-14 2019-07-16 北京京东尚科信息技术有限公司 Log synchronous method and device, storage medium, electronic equipment
CN107809337A (en) * 2017-11-17 2018-03-16 深圳泉眼体育运营管理有限公司 A kind of daily record method for uploading and device
CN108319543A (en) * 2018-01-24 2018-07-24 广州江南科友科技股份有限公司 A kind of asynchronous processing method and its medium, system of computer log data
CN109189726A (en) * 2018-08-08 2019-01-11 北京奇安信科技有限公司 A kind of processing method and processing device for reading and writing log
CN109189726B (en) * 2018-08-08 2020-12-22 奇安信科技集团股份有限公司 Processing method and device for read-write log
CN109491974A (en) * 2018-10-12 2019-03-19 上海金大师网络科技有限公司 Asynchronous blog management method and system and computer readable storage medium
CN109376015A (en) * 2018-10-23 2019-02-22 苏州思必驰信息科技有限公司 Solution and system are blocked in log for task scheduling system
CN109710578A (en) * 2018-11-13 2019-05-03 北京奇艺世纪科技有限公司 A kind of log recording method and system
CN109710578B (en) * 2018-11-13 2021-01-12 北京奇艺世纪科技有限公司 Log recording method and system
CN111045782A (en) * 2019-11-20 2020-04-21 北京奇艺世纪科技有限公司 Log processing method and device, electronic equipment and computer readable storage medium
CN111045782B (en) * 2019-11-20 2024-01-12 北京奇艺世纪科技有限公司 Log processing method, device, electronic equipment and computer readable storage medium
CN111177097B (en) * 2019-12-13 2022-06-17 北京浪潮数据技术有限公司 Log collection method, device and equipment and computer readable storage medium
CN111177097A (en) * 2019-12-13 2020-05-19 北京浪潮数据技术有限公司 Log collection method, device and equipment and computer readable storage medium
CN112948136A (en) * 2021-02-02 2021-06-11 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Method for implementing asynchronous log record of embedded operating system

Also Published As

Publication number Publication date
CN106708578B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN106708578A (en) Dual-thread-based journal output method and device
KR100690804B1 (en) Method for executing garbage collection of mobile terminal
CN106502922B (en) Data reading and writing method of FIFO data buffer and data buffer
CN104866577A (en) Data processing method and apparatus based on embedded database
CN105574141B (en) Method and device for carrying out data migration on database
CN105868093A (en) Log write-in method and server side
CN110908837B (en) Application program exception handling method and device, electronic equipment and storage medium
CN110704202A (en) Multimedia recording data sharing method and terminal equipment
CN103034413A (en) Information recording method and device, and mobile terminal
US11640319B1 (en) Task processing method and apparatus, electronic device and storage medium
CN106815089A (en) Malfunction elimination method and device based on daily record
KR20240010042A (en) Data access methods, devices, and non-transitory computer-readable storage media
CN105183626A (en) Log storage method and system of paper currency recognition module
CN105068875A (en) Intelligence data processing method and apparatus
CN110543435A (en) Mixed mapping operation method, device and equipment of storage unit and storage medium
CN110232029A (en) The implementation method of DDR4 packet caching in a kind of FPGA based on index
CN114020529A (en) Backup method and device of flow table data, network equipment and storage medium
KR20150103886A (en) Data processing apparatus for pipeline execution acceleration and method thereof
CN107741917B (en) Improved IO current limiting processing method and system
CN111930530B (en) Equipment message processing method, device and medium based on Internet of things
WO2021243531A1 (en) Data compression method and apparatus, and electronic device and storage medium
CN109213737A (en) A kind of data compression method and apparatus
CN110399219B (en) Memory access method, DMC and storage medium
CN110087168B (en) Audio reverberation processing method, device, equipment and storage medium
CN107391708B (en) Method and device for storing performance statistics file in storage system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant