CN108491316A - A kind of blog management method, device and electronic equipment - Google Patents

A kind of blog management method, device and electronic equipment Download PDF

Info

Publication number
CN108491316A
CN108491316A CN201810296787.9A CN201810296787A CN108491316A CN 108491316 A CN108491316 A CN 108491316A CN 201810296787 A CN201810296787 A CN 201810296787A CN 108491316 A CN108491316 A CN 108491316A
Authority
CN
China
Prior art keywords
daily record
triggered
exception
record
normal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810296787.9A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810296787.9A priority Critical patent/CN108491316A/en
Publication of CN108491316A publication Critical patent/CN108491316A/en
Pending 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

A kind of blog management method of offer of the embodiment of the present invention, device and electronic equipment, by concentrating extraction reference log from daily record;When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, if the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, any one in the first exception-triggered daily record and the second exception-triggered daily record is deleted.By deletion error daily record, daily record noise can be effectively reduced, improves daily record accuracy.

Description

A kind of blog management method, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of blog management method, device and electronic equipment.
Background technology
Daily record is the information of hardware, software and system problem in record system, while can be to occur in monitoring system Event can check the reason of mistake occurs by journaling techniques personnel.In a specific embodiment, BMC (English: Baseboard Management Controller, Chinese:Baseboard Management Controller) to record system core hard for test log The working condition of part and sensor, in test process daily record can recording processor, memory, hard disk etc. in system operation The information such as Info, warning, error;It is further able to description and context by checking abnormal log and occurs to understand The problem of, and timely processing.
However, inventors discovered through research that, during daily record generates, the daily record of more mistake may be will produce, Such as the error information etc. of wrong report, the daily record of mistake can give brings more noise to log analysis work, is even influenced when serious Log analysis precision.Therefore, how a kind of blog management method is provided and improves daily record accuracy, be those skilled in the art there is an urgent need for The technical issues of solution.
Invention content
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of blog management method, devices And electronic equipment, for solving the problems, such as that daily record accuracy is poor in the prior art.
In order to achieve the above objects and other related objects, according to the first aspect of the invention, the embodiment of the present invention provides one Kind blog management method, this approach includes the following steps:
Extraction reference log is concentrated from daily record;
When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, if first is abnormal The record time for triggering daily record is identical as the record time of the second exception-triggered daily record, deletes the first exception-triggered daily record and second Any one in exception-triggered daily record.
Optionally, when reference log includes third exception-triggered daily record, and third exception-triggered daily record include state parameter, When state threshold and first state identify, this method further includes:
Compare state parameter and state threshold, obtains corresponding second status indicator;
When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
Optionally, this method further includes:
When the reference log extracted includes that there is the first triggered as normal daily record and second of identical recordings content normally to touch When sending out daily record, if the serial number of the first triggered as normal daily record meets mathematical relationship, the serial number of the second triggered as normal daily record does not meet number Relationship deletes the second triggered as normal daily record.
Optionally, this method further includes:
It reduces daily record and concentrates the serial number for being arranged in other daily records after the second triggered as normal daily record.
Optionally, described to concentrate extraction reference log from daily record, including:
The reference log that extraction matches with keyword is concentrated from daily record.
According to the second aspect of the invention, the embodiment of the present invention also provides a kind of log management apparatus, which includes:
Extraction module, for concentrating extraction reference log from daily record;
Removing module, for including the first exception-triggered daily record and the second exception-triggered daily record when the reference log extracted When, if the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, it is abnormal to delete first Trigger any one in daily record and the second exception-triggered daily record.
Optionally, the removing module is additionally operable to,
Compare state parameter and state threshold, obtains corresponding second status indicator;
When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
Optionally, the removing module is additionally operable to,
When the reference log extracted includes that there is the first triggered as normal daily record and second of identical recordings content normally to touch When sending out daily record, if the serial number of the first triggered as normal daily record meets mathematical relationship, the serial number of the second triggered as normal daily record does not meet number Relationship deletes the second triggered as normal daily record.
According to the third aspect of the invention we, the embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be executed by one processor, and described instruction is by least one place It manages device to execute, so that at least one processor can:
Extraction reference log is concentrated from daily record;
When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, if first is abnormal The record time for triggering daily record is identical as the record time of the second exception-triggered daily record, deletes the first exception-triggered daily record and second Any one in exception-triggered daily record.
Optionally, described instruction is executed by least one processor, so that at least one processor can also:
When reference log includes third exception-triggered daily record, and third exception-triggered daily record includes state parameter, state threshold When value and first state identify, compares state parameter and state threshold, obtain corresponding second status indicator;
When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
As described above, a kind of blog management method, device and electronic equipment provided in an embodiment of the present invention, have with following Beneficial effect:By concentrating extraction reference log from daily record;When the reference log extracted includes the first exception-triggered daily record and the When two exception-triggered daily records, if the record time phase of the record time and the second exception-triggered daily record of the first exception-triggered daily record Together, any one in the first exception-triggered daily record and the second exception-triggered daily record is deleted.Pass through deletion error daily record, Neng Gouyou Effect reduces daily record noise, improves daily record accuracy.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow diagram of blog management method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another blog management method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another blog management method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of log management apparatus provided in an embodiment of the present invention;
Fig. 5 is the hardware architecture diagram of the electronic equipment of execution journal management method provided in an embodiment of the present invention.
Specific implementation mode
In order to make those skilled in the art more fully understand the technical solution in the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common The every other embodiment that technical staff is obtained without making creative work, should all belong to protection of the present invention Range.
It please refers to Fig.1 to Fig. 5.It should be noted that the diagram provided in the present embodiment only illustrates this in a schematic way The basic conception of invention, package count when only display is with related component in the present invention rather than according to actual implementation in illustrating then Mesh, shape and size are drawn, when actual implementation kenel, quantity and the ratio of each component can be a kind of random change, and its Assembly layout kenel may also be increasingly complex.
It is a kind of flow diagram of blog management method provided in an embodiment of the present invention referring to Fig. 1, as shown in Figure 1, this Inventive embodiments show the process of log management:
Step S101:Extraction reference log is concentrated from daily record.
Daily record is commonly used in the information such as hardware, software and system problem in record system, while can be in monitoring system The event of generation, user can check the reason of mistake occurs by checking daily record.When system operation is normal, such as system Restart, it can trigger recording triggered as normal daily record;When system operation exception, such as temperature anomaly or memory abnormal, it can trigger Recording exceptional triggers daily record.
Common daily record may include serial number, record time, record content and status indicator etc..In an exemplary embodiment In, daily record can be " 1 | 10/20/2017 | 16:35:42|System Boot Initiated System Restart| Every segment information in Asserted " daily records passes through " | " segmentation;Wherein, digital " 1 " indicates serial number, that is, is expressed as first daily record; “10/20/2017 |16:35:42 " indicate that record time, the i.e. daily record correspond to event and is happened at 20 days 16: 35 October in 2017 Divide 42 seconds;" System Boot Initiated System Restart " indicates record content, the record table of contents of the daily record Show that system starts to restart, the record content of certain daily record can be used for describing event information for other content, such as can be note " the Memory Device Disabled " for recording memory abnormal, records " the Reading 35 of temperature anomaly>Threshold 34deg " etc.;" Asserted " is status indicator, i.e., the daily record is for alerting, and certainly, status indicator can also be " Deasserted ", the i.e. state of the daily record are to release to alert.It should be noted that above-mentioned daily record embodiment is only one exemplary Embodiment, in the specific implementation, daily record can also be any other form, not limit in embodiments of the present invention.
In system operation, a large amount of daily records can be combined as daily record collection, which may include triggered as normal daily record With a plurality of types of daily records such as exception-triggered daily record.In order to facilitate management, Log Filter efficiency is improved, in the embodiment of the present invention In, keyword can be utilized, the reference log that extraction matches with keyword is concentrated from daily record.In one exemplary embodiment, The keyword can extract triggered as normal daily record from daily record concentration in this way for " reboot " and be used as with reference to daily record, and should Information when triggered as normal diary record system is restarted;The keyword can also be " memory ", can be concentrated in this way from daily record Exception-triggered daily record is extracted to be used as with reference to daily record, and the information when exception-triggered log recording memory abnormal.Certainly it needs It is noted that above-mentioned keyword is only an exemplary embodiment, in the specific implementation, any other keyword can be selected to use In concentrating extraction reference log from daily record, do not limit in embodiments of the present invention.
Step S102:When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, If the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, the first exception-triggered is deleted Any one in daily record and the second exception-triggered daily record.
The reference log extracted reference log by step S101, and extracted include the first exception-triggered daily record and Second exception-triggered daily record.Further, extraction is corresponding respectively from the first exception-triggered daily record and the second exception-triggered daily record Record time, when the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, then table Any one for showing in the first exception-triggered daily record and the second exception-triggered daily record is to repeat the daily record of record, may be to user Analysis daily record causes noise jamming, therefore, in embodiments of the present invention, can delete the first exception-triggered daily record and the second exception Trigger any one in daily record.
Accurate daily record collection is obtained in order to rearrange daily record, when deleting the first exception-triggered daily record, it is possible to reduce day Will concentrates the serial number for being arranged in other daily records after the first exception-triggered daily record.In one exemplary embodiment, it is arranged in first The serial number of other daily records after exception-triggered daily record can subtract 1 respectively, in this way, when the serial number 4 of the first exception-triggered daily record, then Daily record concentrates the serial number of other daily records after serial number 4 that can subtract 1, and the daily record of former serial number 5 can be changed to new serial number 4, member The daily record of serial number 6 can be changed to new serial number 5, in this way, new daily record collection can have continuous, serial number daily record Serial number.
By the description of above-described embodiment as it can be seen that a kind of blog management method provided in an embodiment of the present invention, by from daily record Concentrate extraction reference log;When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, If the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, the first exception-triggered is deleted Any one in daily record and the second exception-triggered daily record.By deletion error daily record, daily record noise can be effectively reduced, is improved Daily record accuracy.
When system operation exception and when triggering exception-triggered daily record, usually preserved in the record content of the exception-triggered daily record Stateful parameter, state threshold and status indicator, to provide more record information for technical staff.It is the present invention referring to Fig. 2 The flow diagram for another blog management method that embodiment provides, as shown in Fig. 2, the embodiment of the present invention is shown further Pass through the process of log recording information filtering error log:
Step S201:Extraction reference log is concentrated from daily record.
Step S202:When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, If the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, the first exception-triggered is deleted Any one in daily record and the second exception-triggered daily record.
Step S203:When reference log includes third exception-triggered daily record, and third exception-triggered daily record includes state ginseng When number, state threshold and first state identify, compares state parameter and state threshold, obtain corresponding second status indicator.
In embodiments of the present invention, it in the record content of third exception-triggered daily record may include state parameter, state threshold The information such as value and state parameter.In one exemplary embodiment, the third exception-triggered daily record can be " 3 | 10/21/2017 |10:35:42 |Temperature Inlet_Temp Reading 34>Threshold 35 | Asserted ", the third are different Often triggering daily record is for recording temperature anomaly and generating alarm, and the third exception-triggered daily record includes serial number " 23 ", record Time " 10/21/2017 | 10:35:42 ", record content " Temperature Inlet_Temp Reading 34> Threshold 35 " and first state mark " Asserted ";Wherein, record content " Temperature Inlet_Temp Reading 34>Threshold 35 " still further comprises state parameter " Reading 34 ", indicates the temperature currently read For 34 DEG C and state threshold " Threshold 35 ", indicate that threshold temperature is 35 DEG C.
In the specific implementation, it in above-mentioned third exception-triggered daily record, can be recorded in content by corresponding keyword State parameter and the corresponding numerical value of state threshold are extracted respectively.State parameter can be extracted by " Reading " keyword Corresponding numerical value " 34 " can extract the corresponding numerical value of state threshold " 35 " by " Threshold " keyword;Further compare The state parameter and state threshold relatively extracted, determines the second status indicator, when state parameter is less than state threshold, the second shape State mark should be " Deasserted " and release warning;When state parameter is greater than or equal to state threshold, the second state indicates " Asserted " is should be to alert.In embodiments of the present invention, since state parameter is less than state threshold, then second is obtained Status indicator should be " Deasserted " and release warning.
Step S204:When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
The second status indicator is obtained by the judgement of step S203, the second status indicator obtained in inventive embodiments is " Deasserted ", and the first state of third exception-triggered daily record is identified as " Asserted ", at this point, the second status indicator and First state mark is inconsistent, then may determine that the third exception-triggered daily record is error log, may be produced to log analysis Raw noise, impact analysis precision, therefore delete the third exception-triggered daily record.
Meanwhile further, after deleting the third exception-triggered daily record, it is possible to reduce it is different that daily record concentration is arranged in third The serial number of other daily records after often triggering daily record;Due to the serial number 23 of third exception-triggered daily record, then daily record can be concentrated The serial number of daily record after serial number 24 subtracts 1, and accurate daily record collection is obtained to rearrange.
Place same as the previously described embodiments of the embodiment of the present invention, reference can be made to the description of above-described embodiment, details are not described herein.
By the description of above-described embodiment as it can be seen that another kind blog management method provided in an embodiment of the present invention, passes through analysis Log recording content deletes the error log filtered out to be verified to the accuracy of log recording, thus into One step improves daily record accuracy.
Also triggered as normal daily record can be recorded when system operation is normal, and record content and sequence are preserved in the triggered as normal daily record Number, with the working condition of tracing system.It is the flow of another blog management method provided in an embodiment of the present invention referring to Fig. 3 Schematic diagram, as shown in figure 3, the embodiment of the present invention shows the process screened to triggered as normal daily record:
Step S301:Extraction reference log is concentrated from daily record.
Step S302:When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, If the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, the first exception-triggered is deleted Any one in daily record and the second exception-triggered daily record.
Step S303:When the reference log extracted includes having the first triggered as normal daily record and of identical recordings content When two triggered as normal daily records, if the serial number of the first triggered as normal daily record meets mathematical relationship, the serial number of the second triggered as normal daily record Mathematical relationship is not met, the second triggered as normal daily record is deleted.
It again may be by keyword, such as multiple triggered as normal days of " reboot " extraction with identical recordings content Will.In the triggered as normal daily record caused by common loop test process, the serial number of different triggered as normal daily records deposits mathematics Relationship, if there is error log generates, such as the daily record repeated, then it can destroy the mathematical relationship.
In one exemplary embodiment, the first triggered as normal daily record can be " 2 | 10/20/2017 | 16:37:00| System Boot Initiated System Restart | Asserted ", the second triggered as normal daily record can be " 4 | 10/ 20/2017|16:40:00 | System Boot Initiated System Restart | Asserted ", the first triggered as normal Daily record and the second triggered as normal daily record are the daily records of system reboot trigger recording, the serial number " 2 " of the first triggered as normal daily record, The serial number " 4 " of second triggered as normal daily record, when the mathematical relationship be by 2 except remainder be 0 when, then the first triggered as normal daily record and Second triggered as normal daily record is correct daily record, retains the first triggered as normal daily record and the second triggered as normal daily record, does not do exercises Make.
In a further exemplary embodiment, the first triggered as normal daily record can be " 2 | 10/20/2017 | 16:37:00| System Boot Initiated System Restart | Asserted ", the second triggered as normal daily record can be " 5 | 10/ 20/2017|16:40:00 | System Boot Initiated System Restart | Asserted ", the first triggered as normal Daily record and the second triggered as normal daily record are the daily records of system reboot trigger recording, the serial number " 2 " of the first triggered as normal daily record, The serial number " 5 " of second triggered as normal daily record, when the mathematical relationship be by 2 except remainder be 0 when, the sequence of the second triggered as normal daily record Number it is unsatisfactory for the mathematical relationship, it is determined that the second triggered as normal daily record is error log, then needs to delete second triggered as normal Daily record.
Moreover, after deleting the second triggered as normal daily record, further reduction can be concentrated to be arranged in second just in daily record The serial number of other daily records after often triggering daily record.
Place same as the previously described embodiments of the embodiment of the present invention can be found in the description of above-described embodiment, and details are not described herein.
By the description of above-described embodiment as it can be seen that another blog management method provided in an embodiment of the present invention, passes through serial number Mathematical relationship triggered as normal daily record is verified, deletion error daily record further improves the accuracy of daily record.
By the description of above embodiment of the method, it is apparent to those skilled in the art that the present invention can Realized by the mode of software plus required general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially makes tribute to the prior art in other words The part offered can be expressed in the form of software products, which is stored in a storage medium, packet Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes All or part of the steps of the method according to each embodiment of the present invention.And storage medium above-mentioned includes:Read-only memory (ROM), the various media that can store program code such as random access memory (RAM), magnetic disc or CD.
Corresponding with blog management method embodiment provided by the invention, the present invention also provides a kind of log management dresses It sets.
It is a kind of structural schematic diagram of log management apparatus provided in an embodiment of the present invention referring to Fig. 4, as shown in figure 4, should Device includes:
Extraction module 11, for concentrating extraction reference log from daily record;
Removing module 12, for including the first exception-triggered daily record and the second exception-triggered day when the reference log extracted When will, if the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, it is different to delete first Often any one in triggering daily record and the second exception-triggered daily record.
Moreover, in order to extract reference log, the extraction module 11 can also concentrate extraction and keyword phase from daily record The reference log matched.
In one exemplary embodiment, the removing module 12 is additionally operable to,
Compare state parameter and state threshold, obtains corresponding second status indicator;
When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
In one exemplary embodiment, the removing module 12 is additionally operable to,
When the reference log extracted includes that there is the first triggered as normal daily record and second of identical recordings content normally to touch When sending out daily record, if the serial number of the first triggered as normal daily record meets mathematical relationship, the serial number of the second triggered as normal daily record does not meet number Relationship deletes the second triggered as normal daily record.
In order to export the daily record collection after arranging, which can also include number module, and arrangement is concentrated for reducing daily record The serial number of other daily records after the second triggered as normal daily record.
The embodiment of the present invention additionally provides a kind of nonvolatile computer storage media, the computer storage media storage There are computer executable instructions, which can perform the log management side in above-mentioned any means embodiment Method.
Fig. 5 is the hardware architecture diagram of the electronic equipment of execution journal management method provided in an embodiment of the present invention, such as Shown in Fig. 5, which includes:
One or more processors 510 and memory 520, in Fig. 5 by taking a processor 510 as an example.
The equipment of execution journal management method can also include:Input unit 530 and output device 540.
Processor 510, memory 520, input unit 530 and output device 540 can pass through bus or other modes It connects, in Fig. 5 for being connected by bus.
Memory 520 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, such as the corresponding program of blog management method in the embodiment of the present invention Instruction/module (for example, attached extraction module shown in Fig. 4 11 and removing module 12).Processor 510 is stored in by operation Non-volatile software program, instruction and module in reservoir 520, to the various function application and number of execute server According to processing, that is, realize the blog management method of above method embodiment.
Memory 520 may include storing program area and storage data field, wherein storing program area can store operation system System, the required application program of at least one function;Storage data field can be stored to be created according to using for log management apparatus Data etc..In addition, memory 520 may include high-speed random access memory, can also include nonvolatile memory, example Such as at least one disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, it deposits It includes the memory remotely located relative to processor 510 that reservoir 520 is optional, these remote memories can be connected by network It is connected to log management apparatus.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile communication Net and combinations thereof.
Input unit 530 can receive the number or character information of input, and generates and set with the user of log management apparatus It sets and the related key signals of function control inputs.Output device 540 may include that display screen etc. shows equipment.
One or more of modules are stored in the memory 520, when by one or more of processors When 510 execution, the blog management method in above-mentioned any means embodiment is executed.
The said goods can perform the method that the embodiment of the present invention is provided, and has the corresponding function module of execution method and has Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present invention is provided.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind of equipment belongs to the scope of personal computer, there is calculating and processing work( Can, generally also have mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind of equipment can show and play multimedia content.Such equipment includes:Audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server include that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic devices with data interaction function.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can It is physically separated with being or may not be, the component shown as unit may or may not be physics list Member, you can be located at a place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of module achieve the purpose of the solution of this embodiment
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device or For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein the conduct The unit that separating component illustrates may or may not be physically separated, the component shown as unit can be or Person may not be physical unit, you can be located at a place, or may be distributed over multiple network units.It can root According to actual need that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Ordinary skill Personnel are without creative efforts, you can to understand and implement.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
The above is only the specific implementation mode of the present invention, is made skilled artisans appreciate that or realizing this hair It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest range caused.

Claims (10)

1. a kind of blog management method, which is characterized in that include the following steps:
Extraction reference log is concentrated from daily record;
When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, if the first exception-triggered The record time of daily record is identical as the record time of the second exception-triggered daily record, deletes the first exception-triggered daily record and the second exception Trigger any one in daily record.
2. blog management method according to claim 1, which is characterized in that when reference log includes third exception-triggered day Will, and when third exception-triggered daily record includes that state parameter, state threshold and first state identify, this method further includes:
Compare state parameter and state threshold, obtains corresponding second status indicator;
When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
3. blog management method according to claim 1, which is characterized in that further include:
When the reference log extracted includes having the first triggered as normal daily record and the second triggered as normal day of identical recordings content When will, if the serial number of the first triggered as normal daily record meets mathematical relationship, the serial number of the second triggered as normal daily record does not meet mathematics pass The second triggered as normal daily record is deleted by system.
4. blog management method according to claim 3, which is characterized in that further include:
It reduces daily record and concentrates the serial number for being arranged in other daily records after the second triggered as normal daily record.
5. blog management method according to claim 1, which is characterized in that it is described to concentrate extraction reference log from daily record, Including:
The reference log that extraction matches with keyword is concentrated from daily record.
6. a kind of log management apparatus, which is characterized in that including:
Extraction module, for concentrating extraction reference log from daily record;
Removing module, for when the reference log extracted include the first exception-triggered daily record and the second exception-triggered daily record when, If the record time of the first exception-triggered daily record is identical as the record time of the second exception-triggered daily record, the first exception-triggered is deleted Any one in daily record and the second exception-triggered daily record.
7. log management apparatus according to claim 6, which is characterized in that the removing module is additionally operable to,
Compare state parameter and state threshold, obtains corresponding second status indicator;
When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
8. log management apparatus according to claim 6, which is characterized in that the removing module is additionally operable to,
When the reference log extracted includes having the first triggered as normal daily record and the second triggered as normal day of identical recordings content When will, if the serial number of the first triggered as normal daily record meets mathematical relationship, the serial number of the second triggered as normal daily record does not meet mathematics pass The second triggered as normal daily record is deleted by system.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes at least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be executed by one processor, and described instruction is by least one processor It executes, so that at least one processor can:
Extraction reference log is concentrated from daily record;
When the reference log extracted includes the first exception-triggered daily record and the second exception-triggered daily record, if the first exception-triggered The record time of daily record is identical as the record time of the second exception-triggered daily record, deletes the first exception-triggered daily record and the second exception Trigger any one in daily record.
10. electronic equipment according to claim 9, which is characterized in that described instruction is held by least one processor Row, so that at least one processor can also:
When reference log includes third exception-triggered daily record, and third exception-triggered daily record include state parameter, state threshold with And when first state mark, compares state parameter and state threshold, obtain corresponding second status indicator;
When the second status indicator and inconsistent first state mark, third exception-triggered daily record is deleted.
CN201810296787.9A 2018-04-03 2018-04-03 A kind of blog management method, device and electronic equipment Pending CN108491316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810296787.9A CN108491316A (en) 2018-04-03 2018-04-03 A kind of blog management method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810296787.9A CN108491316A (en) 2018-04-03 2018-04-03 A kind of blog management method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108491316A true CN108491316A (en) 2018-09-04

Family

ID=63318139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810296787.9A Pending CN108491316A (en) 2018-04-03 2018-04-03 A kind of blog management method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108491316A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615257A (en) * 2018-12-17 2019-04-12 广东电网有限责任公司 Log processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145659A1 (en) * 2009-12-11 2011-06-16 Fujitsu Limited Log collecting apparatus, program, method, and system
CN105049260A (en) * 2015-08-24 2015-11-11 浪潮(北京)电子信息产业有限公司 Dialog management method and device
CN105898360A (en) * 2016-05-31 2016-08-24 无锡天脉聚源传媒科技有限公司 Activity log deduplication method and apparatus
CN107786565A (en) * 2017-11-02 2018-03-09 江苏物联网研究发展中心 A kind of distributed real-time intrusion detection method and detecting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145659A1 (en) * 2009-12-11 2011-06-16 Fujitsu Limited Log collecting apparatus, program, method, and system
CN105049260A (en) * 2015-08-24 2015-11-11 浪潮(北京)电子信息产业有限公司 Dialog management method and device
CN105898360A (en) * 2016-05-31 2016-08-24 无锡天脉聚源传媒科技有限公司 Activity log deduplication method and apparatus
CN107786565A (en) * 2017-11-02 2018-03-09 江苏物联网研究发展中心 A kind of distributed real-time intrusion detection method and detecting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109615257A (en) * 2018-12-17 2019-04-12 广东电网有限责任公司 Log processing method and device

Similar Documents

Publication Publication Date Title
CN107798390B (en) Training method and device of machine learning model and electronic equipment
CN105243109B (en) Data backup method and data processing system
CN108804299A (en) Application exception processing method and processing device
CN109299362A (en) Similar enterprise's recommended method, device, computer equipment and storage medium
US20090287962A1 (en) Solution for automatically incorporating diagnostic data within screen capture images
CN109240886A (en) Abnormality eliminating method, device, computer equipment and storage medium
CN107402855A (en) A kind of detection method of hard disk, device and server
CN113190401B (en) Abnormality monitoring method for fast game, electronic device, mobile terminal and storage medium
CN108416041A (en) Voice log analysis method and system
CN109918678B (en) Method and device for identifying field meaning
CN106682162A (en) Log management method and device
CN107145513A (en) A kind of method for information display and device, terminal
CN109284331B (en) Certificate making information acquisition method based on service data resources, terminal equipment and medium
CN104182302A (en) Database backup method and device
CN102945628B (en) Accident consequence information acquiring method, device and training system
CN110351136A (en) A kind of Fault Locating Method and device
CN106202126A (en) A kind of data analysing method for logistics monitoring and device
CN107066536B (en) Comment determining method and device
US20160085766A1 (en) Compacting data based on data content
CN108491316A (en) A kind of blog management method, device and electronic equipment
CN108319694B (en) Automatic historical data cleaning method and device
CN109558281A (en) A kind of test method, device and electronic equipment
CN109710743A (en) A kind of access method of storage pool, device and electronic equipment
CN106886471A (en) A kind of read-write fault detection method and system based on disk in linux
CN105630658A (en) Data processing method and data processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180904