CN113032355A - Method and device for collecting logs in batches by Web application - Google Patents

Method and device for collecting logs in batches by Web application Download PDF

Info

Publication number
CN113032355A
CN113032355A CN202110365702.XA CN202110365702A CN113032355A CN 113032355 A CN113032355 A CN 113032355A CN 202110365702 A CN202110365702 A CN 202110365702A CN 113032355 A CN113032355 A CN 113032355A
Authority
CN
China
Prior art keywords
log
container
logs
web application
writing
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
CN202110365702.XA
Other languages
Chinese (zh)
Other versions
CN113032355B (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.)
Shanghai Yingfang Software Co ltd
Original Assignee
Shanghai Yingfang Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yingfang Software Co ltd filed Critical Shanghai Yingfang Software Co ltd
Priority to CN202110365702.XA priority Critical patent/CN113032355B/en
Publication of CN113032355A publication Critical patent/CN113032355A/en
Application granted granted Critical
Publication of CN113032355B publication Critical patent/CN113032355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method and a device for collecting logs in batches by Web application, wherein the method comprises the following steps: step S1, instantiate a journal container; step S2, collecting logs in the running process of Web application, collecting and sorting the state information which is predetermined to be recorded, and writing the state information into a log container; step S3, the log container uses the local storage as the temporary log storage space to write the log text into the local storage temporarily; step S4, traverse the log record in the log container, export it as a text file or export it to the log analysis server.

Description

Method and device for collecting logs in batches by Web application
Technical Field
The invention relates to the technical field of Web application development, in particular to a method and a device for collecting logs in batches by Web applications.
Background
At present, as the functional structure of the Web program becomes more complicated, it often happens that a user encounters strange and strange bugs during the use process of the production environment. Logging is very necessary at this time because developers cannot directly locate problems in a production environment. In a traditional desktop application, the log is generally stored on the hard disk of the user in a file form. However, since the Web application is running in a sandbox such as a browser, there is no authority to write to the user's storage medium.
The existing mainstream Web application log recording mode generally monitors an abnormal state, and then sends abnormal data to a log recording server in an http mode. For such a logging method, when the logs are relatively dense, the logging server is frequently requested, which has a certain influence on the performance of the Web application.
Disclosure of Invention
In order to overcome the defects in the prior art, the present invention aims to provide a method and an apparatus for collecting logs in batch for Web applications, so as to achieve the purpose of collecting logs quantitatively and reduce the influence of log records on the performance of Web applications.
In order to achieve the above purpose, the present invention provides a method for collecting logs in batch by Web application, which comprises the following steps:
step S1, instantiating a log container as a bridge for communication between the front-end code and the local storage;
step S2, collecting logs in the running process of Web application, collecting and sorting the state information which is predetermined to be recorded, and writing the state information into a log container;
step S3, the log container uses the local storage as the temporary log storage space to write the log text into the local storage temporarily;
step S4, traverse the log records in the log container, export them as text files or export them to the log analysis server.
Preferably, in step S1, a log container is instantiated, and the log record number limit, the log record format and the log container size limit are configured according to requirements.
Preferably, before step S2, it is determined in advance which state information is to be recorded according to development requirements and in which processes of the program logs are collected according to requirements.
Preferably, in step S2, the collected status information is serialized into a character string and written into the log container.
Preferably, the log container providing interface is called by a main program of the Web application.
Preferably, in step S3, before writing the log, it is checked whether the log container has a remaining space for writing the log, and if not, the oldest batch of logs in the local storage is deleted.
Preferably, in step S4, if the log record is to be exported as a text file, a Blob object is instantiated first, then all log records in the log container are traversed, each log record is written into the Blob object, and finally a browser download function is invoked to download the Blob object in the form of a text file.
Preferably, if the log records are exported to the log analysis server, all the log records in the log container are traversed, a write-in interface of the log analysis server is called, and all the log records are written into the log analysis server.
Preferably, an automatic export trigger is set according to the setting conditions of time, the number of log records in a log container, the number of remaining bytes in the log container and the like, and after an export action is triggered, all log records in the log container are traversed, a write-in interface of the log analysis server is called, and all logs are written into the log analysis server.
In order to achieve the above object, the present invention further provides a device for collecting logs in batch by Web application, including:
a log container instantiation unit for instantiating a log container as a bridge for communication between the front-end code and the local storage;
the log collection unit is used for collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container;
the log container writing unit is used for temporarily writing the serialized log text into the local storage by using the local storage as a temporary log storage space;
and the log export unit is used for traversing the log records in the log container and exporting the log records into a text file or exporting the text file to a log analysis server.
Compared with the prior art, the method and the device for collecting logs in batches by Web application realize the purpose of collecting logs quantitatively by providing the functions of writing logs, reading logs, controlling the number and the size of the written logs and the like by using the log container, and the logs are actively reported to the log collection server by a user or exported to a text file, and even the logs can be automatically collected according to different triggering modes, so that the influence of log records on the Web application performance is reduced.
Drawings
FIG. 1 is a diagram of the relationship between a Web application, a journal container, and a local storage according to the present invention;
FIG. 2 is a flowchart illustrating steps of a method for collecting logs in batch for a Web application according to the present invention;
FIG. 3 is a system architecture diagram of an apparatus for collecting logs in batch for a Web application according to the present invention;
FIG. 4 is a flow chart of log collection in an embodiment of the present invention;
FIG. 5 is a diagram illustrating log export according to an embodiment of the present invention.
Detailed Description
Other advantages and capabilities of the present invention will be readily apparent to those skilled in the art from the present disclosure by describing the embodiments of the present invention with specific embodiments thereof in conjunction with the accompanying drawings. The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
Before the present invention is described, several concepts to which the invention relates are explained:
1. a main program, which refers to a program running on the web in the present invention;
2. a log container: the invention provides a bridge for communication between a front-end code and a local storage localStorage, provides functions of writing in logs, reading logs, controlling the number and size of written logs and the like, and can be used only after a log container needs to be instantiated;
3. local storage localStorage: data in the form of characters may be stored locally, as one of the basic functions of a browser. In the present invention, the local storage localStorage is a temporary storage location for the journal.
The manner of invocation between the journal container and the local store can be referred to in FIG. 1.
FIG. 2 is a flowchart illustrating steps of a method for collecting logs in batch for a Web application according to the present invention. As shown in fig. 2, the method for collecting logs in batch by Web application of the present invention includes the following steps:
step S1, instantiates a log container as a bridge for communication between the front-end code and the local storage logstore.
Firstly, a log container is realized by JavaScript to provide functions of writing logs, reading logs, controlling the writing quantity and size of the logs and the like, then the log container is instantiated, and some basic limits, such as log record quantity limit, log record format, log container size limit and the like, are configured according to needs.
And step S2, collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container. In the embodiment of the invention, the collected state information is serialized into a character string form and then written into a log container.
In the invention, the log container is equivalent to a bridge between a Web application main program and a local storage localstorage, a friendly interface and rich functions can be provided for the Web application main program to call, and the main program collects and sorts the predetermined state information to be recorded and writes the state information into the log container.
Specifically, firstly, determining which state information is to be recorded according to development requirements in advance, and determining in advance which processes of a program to collect logs according to requirements; and finally, serializing the state information into a character string form and writing the character string form into a log container.
In step S3, the journal container temporarily writes the serialized journal text into the local storage localStorage by using the local storage localStorage as a temporary journal storage space.
Preferably, before writing the log, checking whether the log container has a remaining space to write the log, and if not, deleting the oldest batch of logs in the local storage, where the number of the batch may be one batch, or several batches, or several days before a week, and may be freely configured according to the usage scenario. Specifically, since the local storage localStorage used at the bottom of the log container has a size limit, and therefore the log container also has a limit on the size of the written content, before the log is written, it is necessary to check whether the log container has a remaining space for writing the log, and if not, delete the oldest batch of logs in the local storage localStorage.
And writing the serialized log records into a log container by the main program, wherein the log container temporarily stores the log records into a local storage in the writing process. The serialized log record is a character, and the log container can be ensured to have residual space after the checking of the residual space of the log container, so that the new log record is directly written into the log container, namely, is temporarily stored into the local storage.
It should be noted that the local storage in the present invention is only a place where the log container temporarily stores the content. In the present invention, he does not have any interactive operation with the main program. The operation of the main program on the log function is an interface for calling a log container, and only when the log container is specifically implemented, a localStorage is called at the bottom layer to assist in storing contents.
Step S4, traverse the log records in the log container, export them as text files or export them to the log analysis server.
Specifically, if the Blob is exported as a text file, a Blob object is instantiated firstly, then all log records in a log container are traversed, each log is written into the Blob object, and finally a browser downloading function is called to download the Blob object in a text file mode.
And if the log is to be exported to the log analysis server, traversing all log records in the log container, calling a write-in interface of the log analysis server, and writing all logs into the log analysis server.
Preferably, in the present invention, an automatic export trigger may be further set, where the automatic export trigger may be set according to setting conditions such as time, log record number in the log container, and remaining byte number in the log container, and after an export action is triggered, all log records in the log container are traversed, a write-in interface of the log analysis server is called, and all logs are written into the log analysis server.
It can be seen that the logs in the program running process are collected and then centrally exported through the log container instead of being processed one by one, compared with the traditional web log collecting mode (the traditional web log collecting mode needs to send log servers to store the logs generated in the running process, and N logs need to be sent for N times).
Fig. 3 is a system architecture diagram of an apparatus for collecting logs in batches for a Web application according to the present invention. As shown in fig. 3, an apparatus for collecting logs in bulk by Web application of the present invention includes:
a log container instantiation unit 101, configured to instantiate a log container as a bridge for communication between the front-end code and the local storage localStorage.
First, the log container instantiation unit 101 implements a log container by JavaScript to implement functions of writing a log and reading the log, and then needs to instantiate a log container, and configures some basic restrictions, log record number restrictions, log record formats, log container size restrictions, and the like as needed.
And the log collection unit 102 is used for collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container. In the embodiment of the invention, the collected state information is serialized into a character string form and then written into a log container.
In the present invention, the log container is equivalent to a bridge between a main program of the Web application and a local storage localstorage, and it can provide a friendly interface and rich functions for the main program of the Web application to call, and the log collection unit 102 collects and sorts the predetermined state information to be recorded through the main program, and writes the information into the log container.
That is, firstly, it is necessary to determine in advance which status information is to be recorded according to development requirements, and determine in advance which processes of the program the logs are collected according to requirements; finally, the state information is serialized into a string form.
A log container writing unit 103, configured to temporarily write the serialized log text into the local storage localStorage by using the local storage localStorage as a temporary log storage space.
Preferably, before writing the log, it is checked whether there is room left in the log container to write the log, and if not, the oldest batch of logs in the local storage localStorage is deleted. Specifically, since the local storage localStorage used at the bottom of the log container has a size limit, and therefore the log container also has a limit on the size of the written content, before the log is written, it is necessary to check whether the log container has a remaining space for writing the log, and if not, delete the oldest batch of logs in the local storage localStorage.
The main program writes the serialized log records into a log container, and in the writing process, the log container writing unit 103 temporarily stores the log records in a local storage. The serialized log record is a character, and the log container can be ensured to have a residual space after checking the residual space of the log container, so that the log container writing unit 103 directly writes the new log record into the log container, that is, temporarily stores the new log record into the local storage.
And the log export unit 104 is used for traversing the log records in the log container, exporting the log records as a text file or exporting the log records to a log analysis server.
Specifically, if the Blob is exported as a text file, the log export unit 104 instantiates a Blob object first, then traverses all log records in the log container, writes each log into the Blob object, and finally calls a browser download function to download the Blob object in the text file manner.
If the log is to be exported to the log analysis server, the log export unit 104 traverses all log records in the log container, and calls a write interface of the log analysis server to write all logs into the log analysis server.
Preferably, in the present invention, an automatic export trigger may be further set, where the automatic export trigger may be set according to setting conditions such as time, the number of log records in the log container, and the number of remaining bytes in the log container, and after an export action is triggered, the log export unit 104 traverses all log records in the log container, calls a write interface of the log analysis server, and writes all logs in the log analysis server.
Examples
In this embodiment, a process of a method for collecting logs in batch by a Web application is as follows:
the method comprises the following steps: initialization
Initializing a log container requires instantiating a log container, configuring some basic limitations, log record number limitations, log record format, size limitations of the log container, etc. as needed.
Step two: log collection
The log collection means that some state information is collected in a tidy manner and written into a log system, i.e. a log container, in the process of program operation.
Firstly, determining which state information needs to be recorded according to development requirements; secondly, determining in which processes of the program the logs are collected, namely when the program collects the logs and which logs are collected; finally, the state information is serialized into a string form. The collection process can refer to fig. 4.
Step three: log write
In the invention, localStorage is used as a temporary log storage space, so in the step, the log text which is serialized in the step two is written into localStorage:
1. checking whether the journal container is full
Because the localStorage used at the bottom of the journal container has size limitation, the journal container has corresponding limitation to the size of the written content. Checking whether the log container has the remaining space for writing the logs, and if not, deleting the oldest batch of logs;
2. and writing the serialized log record into a log container, writing the log record into the log container from a main program, and temporarily storing the content in a localStorage by the log container in the writing process. The log records after serialization are a segment of characters, and the log container can be ensured to have residual space after the check of step 1, so that new log records are directly written into the container.
Step four: log export
In the present embodiment, there are three main log-derived scenarios, and reference may be made to fig. 5:
scene one, exported as a text file
Scene two, exporting to log analysis server
Scene three, automatically exporting to log analysis server
Aiming at a scene one: exporting to a text file, the concrete implementation steps are as follows:
step 1, instantiating a Blob object;
step 2, traversing all log records in the log container, and writing each log into the Blob object;
and 3, calling a browser downloading function, and downloading the Blob object in a text file mode.
For scene two: exporting to a log analysis server, and specifically implementing the following steps:
step 1, traversing all log records in the log container.
And 2, calling a write-in interface of the log analysis server, and writing all logs into the log analysis server.
For scene three: automatically exporting to a log analysis server, and specifically implementing the following steps:
step 1, setting an automatic export trigger: the trigger can be set according to the setting conditions of time, the log record number of the log container, the residual byte number of the log container and the like;
step 2, traversing all log records in the log container after triggering the export action;
and 3, calling a write-in interface of the log analysis server, and writing all logs into the log analysis server.
In summary, the method and apparatus for collecting logs in batches for Web applications in the present invention achieve the purpose of collecting logs quantitatively by providing the functions of writing logs, reading logs, controlling the number and size of the written logs and the like by using the log container, and the logs are actively reported to the log collection server by the user, or exported as a text file, or even automatically collected according to different triggering modes, thereby reducing the influence of log records on the Web application performance.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Modifications and variations can be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the present invention. Therefore, the scope of the invention should be determined from the following claims.

Claims (10)

1. A method for collecting logs in batches by Web application comprises the following steps:
step S1, instantiating a journal container as a bridge for communication between the front-end code and the local storage;
step S2, collecting logs in the running process of Web application, collecting and sorting the state information which is determined to need collecting and recording in advance, and writing the state information into a log container;
step S3, the log container uses the local storage as the temporary log storage space to write the log text into the local storage temporarily;
step S4, traverse the log records in the log container, export them as text files or export them to the log analysis server.
2. The method as claimed in claim 1, wherein in step S1, a log container is instantiated, and the log record number limit, the log record format and the log container size limit are configured as required.
3. The method for Web application batch collection of logs as claimed in claim 2, wherein: before step S2, it is determined in advance which status information is to be recorded according to the development requirement and in which process of the program the log is collected according to the requirement.
4. The method for Web application batch collection of logs as claimed in claim 3, wherein: in step S2, the collected status information is serialized into a string format and written into the log container.
5. The method for Web application batch collection of logs as claimed in claim 4, wherein: the log container provides an interface to be called by a main program of the Web application.
6. The method for Web application batch collection of logs as claimed in claim 5, wherein: in step S3, before writing the log, it is checked whether the log container has a remaining space for writing the log, and if not, the oldest batch of logs in the local storage is deleted.
7. The method for Web application batch collection of logs as claimed in claim 6, wherein: in step S4, if the log record is to be exported as a text file, a Blob object is instantiated first, then all log records in the log container are traversed, each log is written into the Blob object, and finally a browser download function is invoked to download the Blob object in the text file manner.
8. The method for Web application batch collection of logs as claimed in claim 6, wherein: and if the log records are exported to the log analysis server, traversing all the log records in the log container, calling a write-in interface of the log analysis server, and writing all the logs into the log analysis server.
9. The method for Web application batch collection of logs as claimed in claim 6, wherein: setting an automatic export trigger according to the setting conditions of time, the number of log records in a log container, the number of remaining bytes in the log container and the like, traversing all log records in the log container after the export action is triggered, calling a write-in interface of a log analysis server, and writing all logs into the log analysis server.
10. An apparatus for collecting logs in batches by a Web application, comprising:
a log container instantiation unit for instantiating a log container as a bridge for communication between the front-end code and the local storage;
the log collection unit is used for collecting logs in the running process of the Web application, collecting and sorting the state information which is determined to be recorded in advance, and writing the state information into a log container;
the log container writing unit is used for temporarily writing the serialized log text into the local storage by using the local storage as a temporary log storage space;
and the log export unit is used for traversing the log records in the log container and exporting the log records into a text file or exporting the text file to a log analysis server.
CN202110365702.XA 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application Active CN113032355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110365702.XA CN113032355B (en) 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110365702.XA CN113032355B (en) 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application

Publications (2)

Publication Number Publication Date
CN113032355A true CN113032355A (en) 2021-06-25
CN113032355B CN113032355B (en) 2023-06-09

Family

ID=76453717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110365702.XA Active CN113032355B (en) 2021-04-06 2021-04-06 Method and device for batch collection of logs by Web application

Country Status (1)

Country Link
CN (1) CN113032355B (en)

Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020062259A1 (en) * 2000-09-26 2002-05-23 Katz James S. Server-side system responsive to peripherals
JP2008129685A (en) * 2006-11-17 2008-06-05 Dream Ware Inc Work content recording system, its method, and its program
US20080275951A1 (en) * 2007-05-04 2008-11-06 International Business Machines Corporation Integrated logging for remote script execution
US20090106769A1 (en) * 2007-10-22 2009-04-23 Tomohiro Nakamura Method and apparatus for recording web application process
US20100235494A1 (en) * 2009-03-16 2010-09-16 Microsoft Corporation Flexible logging, such as for a web server
CN102025875A (en) * 2009-09-18 2011-04-20 佳能株式会社 System, user interface display control method, server and information processing apparatus
JP2012190345A (en) * 2011-03-11 2012-10-04 Nec Corp Automatic log information collecting device and automatic log information collecting method
CN103595744A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Information management method and client
CN103942199A (en) * 2013-01-18 2014-07-23 腾讯科技(北京)有限公司 Method and device for obtaining picture information on webpages and terminal
CN106354765A (en) * 2016-08-19 2017-01-25 广东亿迅科技有限公司 Log analysis system and method based on distributed collection
WO2017071134A1 (en) * 2015-10-28 2017-05-04 北京汇商融通信息技术有限公司 Distributed tracking system
CN106649033A (en) * 2016-11-08 2017-05-10 努比亚技术有限公司 Web system health check method and device
CN106649744A (en) * 2016-12-26 2017-05-10 金蝶软件(中国)有限公司 Log recording method and apparatus
CN108205477A (en) * 2016-12-16 2018-06-26 上海仪电(集团)有限公司中央研究院 Server stress test method
CN109274556A (en) * 2018-11-09 2019-01-25 四川长虹电器股份有限公司 A kind of collection and analysis system of web log
US20190075130A1 (en) * 2015-02-20 2019-03-07 Authentic8, Inc. Secure application for accessing web resources
CN109739738A (en) * 2018-12-26 2019-05-10 深圳市网心科技有限公司 Event log management method, system and relevant apparatus based on HTML5
CN109933484A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 Big data cluster quasi real time container resource allocation monitoring analysis method
CN110569424A (en) * 2018-05-18 2019-12-13 北京京东尚科信息技术有限公司 Information recommendation method and device
CN111143828A (en) * 2019-12-11 2020-05-12 中盈优创资讯科技有限公司 Safety control method and device for Web page and service
CN111309574A (en) * 2020-02-17 2020-06-19 北京百度网讯科技有限公司 Information processing method, device and equipment
CN111488254A (en) * 2019-01-25 2020-08-04 顺丰科技有限公司 Deployment and monitoring device and method of machine learning model
WO2020162680A1 (en) * 2019-02-08 2020-08-13 아콘소프트 주식회사 Microservice system and method
CN111581051A (en) * 2020-04-21 2020-08-25 深圳震有科技股份有限公司 System operation log processing method, device, equipment and medium based on web front end
CN111782618A (en) * 2020-06-24 2020-10-16 中国电子科技集团公司电子科学研究院 Data synchronization system
CN112069254A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Djangorestframe-based log recording method and system

Patent Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020062259A1 (en) * 2000-09-26 2002-05-23 Katz James S. Server-side system responsive to peripherals
JP2008129685A (en) * 2006-11-17 2008-06-05 Dream Ware Inc Work content recording system, its method, and its program
US20080275951A1 (en) * 2007-05-04 2008-11-06 International Business Machines Corporation Integrated logging for remote script execution
US20090106769A1 (en) * 2007-10-22 2009-04-23 Tomohiro Nakamura Method and apparatus for recording web application process
CN102356390A (en) * 2009-03-16 2012-02-15 微软公司 Flexible logging, such as for a web server
US20100235494A1 (en) * 2009-03-16 2010-09-16 Microsoft Corporation Flexible logging, such as for a web server
CN102025875A (en) * 2009-09-18 2011-04-20 佳能株式会社 System, user interface display control method, server and information processing apparatus
JP2012190345A (en) * 2011-03-11 2012-10-04 Nec Corp Automatic log information collecting device and automatic log information collecting method
CN103595744A (en) * 2012-08-16 2014-02-19 腾讯科技(深圳)有限公司 Information management method and client
CN103942199A (en) * 2013-01-18 2014-07-23 腾讯科技(北京)有限公司 Method and device for obtaining picture information on webpages and terminal
US20190075130A1 (en) * 2015-02-20 2019-03-07 Authentic8, Inc. Secure application for accessing web resources
WO2017071134A1 (en) * 2015-10-28 2017-05-04 北京汇商融通信息技术有限公司 Distributed tracking system
CN106354765A (en) * 2016-08-19 2017-01-25 广东亿迅科技有限公司 Log analysis system and method based on distributed collection
CN106649033A (en) * 2016-11-08 2017-05-10 努比亚技术有限公司 Web system health check method and device
CN108205477A (en) * 2016-12-16 2018-06-26 上海仪电(集团)有限公司中央研究院 Server stress test method
CN106649744A (en) * 2016-12-26 2017-05-10 金蝶软件(中国)有限公司 Log recording method and apparatus
CN109933484A (en) * 2017-12-15 2019-06-25 北京京东尚科信息技术有限公司 Big data cluster quasi real time container resource allocation monitoring analysis method
CN110569424A (en) * 2018-05-18 2019-12-13 北京京东尚科信息技术有限公司 Information recommendation method and device
CN109274556A (en) * 2018-11-09 2019-01-25 四川长虹电器股份有限公司 A kind of collection and analysis system of web log
CN109739738A (en) * 2018-12-26 2019-05-10 深圳市网心科技有限公司 Event log management method, system and relevant apparatus based on HTML5
CN111488254A (en) * 2019-01-25 2020-08-04 顺丰科技有限公司 Deployment and monitoring device and method of machine learning model
WO2020162680A1 (en) * 2019-02-08 2020-08-13 아콘소프트 주식회사 Microservice system and method
CN111143828A (en) * 2019-12-11 2020-05-12 中盈优创资讯科技有限公司 Safety control method and device for Web page and service
CN111309574A (en) * 2020-02-17 2020-06-19 北京百度网讯科技有限公司 Information processing method, device and equipment
CN111581051A (en) * 2020-04-21 2020-08-25 深圳震有科技股份有限公司 System operation log processing method, device, equipment and medium based on web front end
CN111782618A (en) * 2020-06-24 2020-10-16 中国电子科技集团公司电子科学研究院 Data synchronization system
CN112069254A (en) * 2020-08-21 2020-12-11 苏州浪潮智能科技有限公司 Djangorestframe-based log recording method and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
周德永;王瑞刚;梁小江;: "基于ELK自动化收集Docker容器日志的分析系统" *
姜良华;陈超泉;: "Web日志统计分析系统的设计与实现" *
贲永明;韩言妮;安伟;徐震;: "一种基于污点追踪的系统审计日志压缩方法" *
郭建磊;董蕾;邱忠杰;: "一种工业云PaaS平台统一日志服务系统" *

Also Published As

Publication number Publication date
CN113032355B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
KR102525502B1 (en) Method and apparatus for storing auto-drive test data, electronic device, storage medium and program
KR101021394B1 (en) Programmatic computer problem diagnosis and resolution and automated reporting and updating of the same
US6237143B1 (en) Method and system for monitoring and capturing all file usage of a software tool
US9535780B2 (en) Varying logging depth based on user defined policies
US7464114B2 (en) Method and apparatus to capture and transmit dense diagnostic data of a file system
US20070192700A1 (en) Support of remote software applications
US20090132621A1 (en) Selecting storage location for file storage based on storage longevity and speed
US7251808B2 (en) Graphical debugger with loadmap display manager and custom record display manager displaying user selected customized records from bound program objects
US6633876B1 (en) Analyzing post-mortem information on a remote computer system using a downloadable code module
KR20120102664A (en) Allocating storage memory based on future use estimates
US20120137181A1 (en) Preventing log wrap with debug scripts
US20160300069A1 (en) Data sanitization
US9262433B2 (en) Virtualization of file input/output operations
EP0972256B1 (en) Computer file system providing looped file structure for post-occurrence data collection of asynchronous events
CN112214388A (en) Memory monitoring method, device, equipment and computer readable storage medium
US6711520B2 (en) Remote execution of diagnostic firmware in a block data storage device
CN114329367B (en) Network disk file tracing method and device, network disk and storage medium
CN110362371B (en) View level control method, device and system, computer equipment and medium
CN109359092B (en) File management method, desktop display method, device, terminal and medium
US20080244324A1 (en) Method and system for providing enhanced exception messages for exceptions thrown by virtual machines
US9916220B2 (en) Smart logging of trace data for storage systems
CN113032355B (en) Method and device for batch collection of logs by Web application
CN106557572A (en) A kind of extracting method and system of Android application program file
CN108616603B (en) Method and system for synchronizing internal and external network data
US20090183181A1 (en) Gathering pages allocated to an application to include in checkpoint information

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
GR01 Patent grant
GR01 Patent grant