CN107992402A - Blog management method and log management apparatus - Google Patents

Blog management method and log management apparatus Download PDF

Info

Publication number
CN107992402A
CN107992402A CN201711431754.2A CN201711431754A CN107992402A CN 107992402 A CN107992402 A CN 107992402A CN 201711431754 A CN201711431754 A CN 201711431754A CN 107992402 A CN107992402 A CN 107992402A
Authority
CN
China
Prior art keywords
buffer area
log information
priority
log
order buffer
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.)
Withdrawn
Application number
CN201711431754.2A
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.)
Henan Henghua Technology Co Ltd
Original Assignee
Henan Henghua 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 Henan Henghua Technology Co Ltd filed Critical Henan Henghua Technology Co Ltd
Priority to CN201711431754.2A priority Critical patent/CN107992402A/en
Publication of CN107992402A publication Critical patent/CN107992402A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of blog management method and log management apparatus, wherein, blog management method includes:The log information that the script page of smart machine generates in the process of running is obtained in real time;The log information got is stored to first order buffer area;Detect the log information for whether thering is priority to be more than or equal to predetermined priority in the first order buffer area;When there is the log information that priority is more than or equal to predetermined priority in the first order buffer area, the log information that priority is more than or equal to predetermined priority is stored to second level buffer area;Wherein, the security level of the second level buffer area is higher than the first order buffer area.By technical scheme, using the different buffer area of security level come classification storage log information, effective management to daily record is realized, it is ensured that the security of important log information.

Description

Blog management method and log management apparatus
Technical field
The present invention relates to technical field of data processing, in particular to a kind of blog management method and a kind of daily record pipe Manage device.
Background technology
With the development of science and technology, the species of smart machine is more and more, and function also becomes increasingly complex.In order to just It can be better understood by the user of smart machine and the various functions using smart machine, according to the various functions of smart machine Corresponding script page is generated, script page is then supplied to user, user is passed through script page to control smart machine Mode become more and more popular.
However, substantial amounts of daily record data can be produced in the test process of script page exploitation at present, these daily record datas There is vital effect to stability, reliability and the performance for analyzing script page.
Therefore, effective management how is carried out to daily record becomes technical problem urgently to be resolved hurrily.
The content of the invention
The present invention is based at least one above-mentioned technical problem, it is proposed that a kind of new log management scheme, using peace The complete different buffer area of rank carrys out classification storage log information, realizes effective management to daily record, it is ensured that important log is believed The security of breath.
In view of this, the present invention proposes a kind of new blog management method, including:The script of smart machine is obtained in real time The log information that the page generates in the process of running;The log information got is stored to first order buffer area;Described in detection Whether log information that priority be more than or equal to predetermined priority is had in first order buffer area;Have when in the first order buffer area When priority is more than or equal to the log information of predetermined priority, the log information that priority is more than or equal to predetermined priority stores To second level buffer area;Wherein, the security level of the second level buffer area is higher than the first order buffer area.
In the technical scheme, by the way that the script page of the smart machine got in real time generated in the process of running Log information is stored to first order buffer area, and priority in first order buffer area is more than or equal to the daily record of predetermined priority Information is stored to the second level buffer area of security level higher, is believed using the different buffer area of security level come classification storage daily record Breath, realizes effective management to daily record, it is ensured that the security of important log information.
In the above-mentioned technical solutions, it is preferable that further include:According to the sequencing of storage time, the first order is delayed successively The log information deposited in area carries out covering storage.
In the technical scheme, according to the sequencing of storage time, the log information in first order buffer area carries out successively Covering storage, to ensure that effective log information can be stored in first order buffer area to a greater extent, avoids wasting memory space.
In any of the above-described technical solution, it is preferable that further include:When detecting that there are excellent in the second level buffer area During the log information of first level and type all same, merger is carried out according to keyword.
In the technical scheme, by according to keyword to there are priority and type all same in the buffer area of the second level Log information carries out merger, saves the memory space of second level buffer area.
In any of the above-described technical solution, it is preferable that whether have priority in the detection first order buffer area More than or equal to predetermined priority log information the step of, specifically include:Obtain the log information in the first order buffer area Corresponding Log Types;The corresponding Log Types of log information in the first order buffer area, from pre-stored daily record Incidence relation between type and priority, searches the corresponding priority of log information in the first order buffer area.
According to the second aspect of the invention, it is proposed that a kind of log management apparatus, including:Acquiring unit, for obtaining in real time The log information for taking the script page of smart machine to generate in the process of running;First storage unit, for the day that will be got Will information is stored to first order buffer area;Whether detection unit, have priority to be more than for detecting in the first order buffer area Equal to the log information of predetermined priority;Second storage unit, for when have in the first order buffer area priority be more than etc. When the log information of predetermined priority, the log information that priority is more than or equal to predetermined priority is stored to second level caching Area;Wherein, the security level of the second level buffer area is higher than the first order buffer area.
In the technical scheme, by the way that the script page of the smart machine got in real time generated in the process of running Log information is stored to first order buffer area, and priority in first order buffer area is more than or equal to the daily record of predetermined priority Information is stored to the second level buffer area of security level higher, is believed using the different buffer area of security level come classification storage daily record Breath, realizes effective management to daily record, it is ensured that the security of important log information.
In the above-mentioned technical solutions, it is preferable that further include:First processing units, for suitable according to the priority of storage time Log information of the sequence successively in the first order buffer area carries out covering storage.
In the technical scheme, according to the sequencing of storage time, the log information in first order buffer area carries out successively Covering storage, to ensure that effective log information can be stored in first order buffer area to a greater extent, avoids wasting memory space.
In any of the above-described technical solution, it is preferable that further include:Second processing unit, for when detecting described the There are during the log information of priority and type all same in L2 cache area, merger is carried out according to keyword.
In the technical scheme, by according to keyword to there are priority and type all same in the buffer area of the second level Log information carries out merger, saves the memory space of second level buffer area.
In any of the above-described technical solution, it is preferable that the detection unit is specifically used for:Obtain the first order caching The corresponding Log Types of log information in area;The corresponding Log Types of log information in the first order buffer area, Incidence relation between pre-stored Log Types and priority, the log information searched in the first order buffer area correspond to Priority.
By above technical scheme, using the different buffer area of security level come classification storage log information, realize pair Effective management of daily record, it is ensured that the security of important log information.
Brief description of the drawings
Fig. 1 shows the schematic flow diagram of blog management method according to an embodiment of the invention;
Fig. 2 shows the schematic block diagram of log management apparatus according to an embodiment of the invention.
Embodiment
It is to better understand the objects, features and advantages of the present invention, below in conjunction with the accompanying drawings and specific real Mode is applied the present invention is further described in detail.It should be noted that in the case where there is no conflict, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also To be implemented using other different from other modes described here, therefore, protection scope of the present invention and from described below Specific embodiment limitation.
Fig. 1 shows the schematic flow diagram of blog management method according to an embodiment of the invention.
As shown in Figure 1, blog management method according to an embodiment of the invention, including:
Step 102, the log information that the script page of smart machine generates in the process of running is obtained in real time.
Step 104, the log information got is stored to first order buffer area.
Step 106, whether detect has priority to be more than or equal to predetermined priority daily record in the first order buffer area is believed Breath.
Step 108, will when there is the log information that priority is more than or equal to predetermined priority in the first order buffer area The log information that priority is more than or equal to predetermined priority is stored to second level buffer area;Wherein, the second level buffer area Security level is higher than the first order buffer area.
In the technical scheme, by the way that the script page of the smart machine got in real time generated in the process of running Log information is stored to first order buffer area, and priority in first order buffer area is more than or equal to the daily record of predetermined priority Information is stored to the second level buffer area of security level higher, is believed using the different buffer area of security level come classification storage daily record Breath, realizes effective management to daily record, it is ensured that the security of important log information.
In the above-mentioned technical solutions, it is preferable that further include:According to the sequencing of storage time, the first order is delayed successively The log information deposited in area carries out covering storage.
In the technical scheme, according to the sequencing of storage time, the log information in first order buffer area carries out successively Covering storage, to ensure that effective log information can be stored in first order buffer area to a greater extent, avoids wasting memory space.
In any of the above-described technical solution, it is preferable that further include:When detecting that there are excellent in the second level buffer area During the log information of first level and type all same, merger is carried out according to keyword.
In the technical scheme, by according to keyword to there are priority and type all same in the buffer area of the second level Log information carries out merger, saves the memory space of second level buffer area.
In any of the above-described technical solution, it is preferable that whether have priority in the detection first order buffer area More than or equal to predetermined priority log information the step of, specifically include:Obtain the log information in the first order buffer area Corresponding Log Types;The corresponding Log Types of log information in the first order buffer area, from pre-stored daily record Incidence relation between type and priority, searches the corresponding priority of log information in the first order buffer area.
Fig. 2 shows the schematic block diagram of log management apparatus according to an embodiment of the invention.
As shown in Fig. 2, log management apparatus 200 according to an embodiment of the invention, including:Acquiring unit 202, first are deposited Storage unit 204,206 and second storage unit 208 of detection unit.
Wherein, acquiring unit 202 is used to obtain the daily record that the script page of smart machine generates in the process of running in real time Information;First storage unit 204 is used to store the log information got to first order buffer area;Detection unit 206 is used for Detect the log information for whether thering is priority to be more than or equal to predetermined priority in the first order buffer area;Second storage unit 208 are used for when there is the log information that priority is more than or equal to predetermined priority in the first order buffer area, and priority is big Stored in the log information equal to predetermined priority to second level buffer area;Wherein, the security level of the second level buffer area Higher than the first order buffer area.
In the technical scheme, by the way that the script page of the smart machine got in real time generated in the process of running Log information is stored to first order buffer area, and priority in first order buffer area is more than or equal to the daily record of predetermined priority Information is stored to the second level buffer area of security level higher, is believed using the different buffer area of security level come classification storage daily record Breath, realizes effective management to daily record, it is ensured that the security of important log information.
In the above-mentioned technical solutions, it is preferable that further include:First processing units 210, for the priority according to storage time Log information sequentially successively in the first order buffer area carries out covering storage.
In the technical scheme, according to the sequencing of storage time, the log information in first order buffer area carries out successively Covering storage, to ensure that effective log information can be stored in first order buffer area to a greater extent, avoids wasting memory space.
In any of the above-described technical solution, it is preferable that further include:Second processing unit 212, for described when detecting There are during the log information of priority and type all same in the buffer area of the second level, merger is carried out according to keyword.
In the technical scheme, by according to keyword to there are priority and type all same in the buffer area of the second level Log information carries out merger, saves the memory space of second level buffer area.
In any of the above-described technical solution, it is preferable that the detection unit 206 is specifically used for:Obtain the first order The corresponding Log Types of log information in buffer area;The corresponding daily record class of log information in the first order buffer area Type, the incidence relation between pre-stored Log Types and priority, searches the log information in the first order buffer area Corresponding priority.
Technical scheme is described in detail above in association with attached drawing, and technical scheme proposes a kind of new Using the different buffer area of security level come classification storage log information, effective management to daily record is realized, it is ensured that important The security of log information.
It is merely a preferred embodiment of the present invention, is not intended to limit the invention, for the technology of this area described in upper For personnel, the invention may be variously modified and varied.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should all be included in the protection scope of the present invention.

Claims (8)

  1. A kind of 1. blog management method, it is characterised in that including:
    The log information that the script page of smart machine generates in the process of running is obtained in real time;
    The log information got is stored to first order buffer area;
    Detect the log information for whether thering is priority to be more than or equal to predetermined priority in the first order buffer area;
    When there is the log information that priority is more than or equal to predetermined priority in the first order buffer area, priority is more than etc. Stored in the log information of predetermined priority to second level buffer area;
    Wherein, the security level of the second level buffer area is higher than the first order buffer area.
  2. 2. blog management method according to claim 1, it is characterised in that further include:
    Covering storage is carried out according to log information of the sequencing of storage time successively in the first order buffer area.
  3. 3. blog management method according to claim 1, it is characterised in that further include:
    When detecting in the second level buffer area there are during the log information of priority and type all same, according to keyword into Row merger.
  4. 4. blog management method according to any one of claim 1 to 3, it is characterised in that the detection described first Whether there is the step of log information that priority is more than or equal to predetermined priority in level buffer area, specifically include:
    Obtain the corresponding Log Types of log information in the first order buffer area;
    The corresponding Log Types of log information in the first order buffer area, from pre-stored Log Types and priority Between incidence relation, search the corresponding priority of log information in the first order buffer area.
  5. A kind of 5. log management apparatus, it is characterised in that including:
    Acquiring unit, the log information that the script page for obtaining smart machine in real time generates in the process of running;
    First storage unit, for storing the log information got to first order buffer area;
    Detection unit, believes for detecting the daily record for whether having priority to be more than or equal to predetermined priority in the first order buffer area Breath;
    Second storage unit, for when the log information for thering is priority to be more than or equal to predetermined priority in the first order buffer area When, the log information that priority is more than or equal to predetermined priority is stored to second level buffer area;
    Wherein, the security level of the second level buffer area is higher than the first order buffer area.
  6. 6. log management apparatus according to claim 5, it is characterised in that further include:
    First processing units, for the log information in the sequencing according to the storage time successively first order buffer area into Row covering storage.
  7. 7. log management apparatus according to claim 5, it is characterised in that further include:
    Second processing unit, detects that there are the daily record letter of priority and type all same in the second level buffer area for working as During breath, merger is carried out according to keyword.
  8. 8. log management apparatus according to any one of claims 5 to 7, it is characterised in that the detection unit is specific For:
    Obtain the corresponding Log Types of log information in the first order buffer area;
    The corresponding Log Types of log information in the first order buffer area, from pre-stored Log Types and priority Between incidence relation, search the corresponding priority of log information in the first order buffer area.
CN201711431754.2A 2017-12-26 2017-12-26 Blog management method and log management apparatus Withdrawn CN107992402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711431754.2A CN107992402A (en) 2017-12-26 2017-12-26 Blog management method and log management apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711431754.2A CN107992402A (en) 2017-12-26 2017-12-26 Blog management method and log management apparatus

Publications (1)

Publication Number Publication Date
CN107992402A true CN107992402A (en) 2018-05-04

Family

ID=62042827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711431754.2A Withdrawn CN107992402A (en) 2017-12-26 2017-12-26 Blog management method and log management apparatus

Country Status (1)

Country Link
CN (1) CN107992402A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542857A (en) * 2018-11-26 2019-03-29 杭州迪普科技股份有限公司 Audit log storage method, querying method, device and relevant device
CN110110081A (en) * 2019-04-09 2019-08-09 国家计算机网络与信息安全管理中心 Classification processing method and system for mobile Internet magnanimity monitoring data
CN111723063A (en) * 2019-03-18 2020-09-29 北京沃东天骏信息技术有限公司 Method and device for processing offline log data
CN112994924A (en) * 2019-12-18 2021-06-18 中国科学院声学研究所 Online merging method for network service logs

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542857A (en) * 2018-11-26 2019-03-29 杭州迪普科技股份有限公司 Audit log storage method, querying method, device and relevant device
CN109542857B (en) * 2018-11-26 2021-06-29 杭州迪普科技股份有限公司 Audit log storage method, audit log query method, audit log storage device, audit log query device and related equipment
CN111723063A (en) * 2019-03-18 2020-09-29 北京沃东天骏信息技术有限公司 Method and device for processing offline log data
CN110110081A (en) * 2019-04-09 2019-08-09 国家计算机网络与信息安全管理中心 Classification processing method and system for mobile Internet magnanimity monitoring data
CN110110081B (en) * 2019-04-09 2021-05-11 国家计算机网络与信息安全管理中心 Hierarchical classification processing method and system for mobile internet mass monitoring data
CN112994924A (en) * 2019-12-18 2021-06-18 中国科学院声学研究所 Online merging method for network service logs

Similar Documents

Publication Publication Date Title
CN110765275B (en) Search method, search device, computer equipment and storage medium
US20200183977A1 (en) Providing relevant cover frame in response to a video search query
CN104486461B (en) Domain name classification method and device, domain name recognition methods and system
US9251157B2 (en) Enterprise node rank engine
CN107992402A (en) Blog management method and log management apparatus
US10216848B2 (en) Method and system for recommending cloud websites based on terminal access statistics
CN111241389B (en) Sensitive word filtering method and device based on matrix, electronic equipment and storage medium
CN108092962A (en) A kind of malice URL detection method and device
CN108595583A (en) Dynamic chart class page data crawling method, device, terminal and storage medium
CN107257390B (en) URL address resolution method and system
CN105446864B (en) Method and device for verifying influence of deletion of cache file and mobile terminal
RU2014127817A (en) SYSTEM AND METHOD FOR MANAGING AND ORGANIZING A WEB BROWSER CACHE
CN105653949B (en) A kind of malware detection methods and device
CN110309667B (en) Website hidden link detection method and device
CN111371757B (en) Malicious communication detection method and device, computer equipment and storage medium
CN105117489B (en) Database management method and device and electronic equipment
Wu et al. TrackerDetector: A system to detect third-party trackers through machine learning
CN106611029A (en) Method and device for improving site search efficiency in website
US11301520B2 (en) Artificial intelligence content detection system
CN111783786A (en) Picture identification method and system, electronic equipment and storage medium
CN105224583B (en) Method and device for cleaning log files
CN111125704A (en) Webpage Trojan horse recognition method and system
CN106611022A (en) Method and device for increasing website search efficiency
US20160357822A1 (en) Using locations to define moments
US20160292282A1 (en) Detecting and responding to single entity intent queries

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20180504

WW01 Invention patent application withdrawn after publication