CN109684172A - Log method for pushing, system, equipment and storage medium based on access frequency - Google Patents
Log method for pushing, system, equipment and storage medium based on access frequency Download PDFInfo
- Publication number
- CN109684172A CN109684172A CN201811545129.5A CN201811545129A CN109684172A CN 109684172 A CN109684172 A CN 109684172A CN 201811545129 A CN201811545129 A CN 201811545129A CN 109684172 A CN109684172 A CN 109684172A
- Authority
- CN
- China
- Prior art keywords
- log
- grade
- analysis
- server
- user
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000003860 storage Methods 0.000 title claims abstract description 32
- 238000004458 analytical method Methods 0.000 claims abstract description 140
- 238000012545 processing Methods 0.000 claims description 12
- 238000004321 preservation Methods 0.000 claims description 4
- 238000007726 management method Methods 0.000 abstract description 26
- 238000010223 real-time analysis Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 8
- 230000032683 aging Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000004069 differentiation Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000001627 detrimental effect Effects 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides log method for pushing, system, equipment and storage mediums based on access frequency, wherein, to include: management server be separately sent at least one service server and log analysis server for the corresponding log push grade of preset user classification and log analysis grade to log method for pushing;Service server carries out user's classification to the service request of user according to the access frequency of user within a preset period of time and generates business diary, push grade to business diary determination according to log and execute corresponding push mode;And log analysis server is determining to the business diary received according to log analysis grade and executes corresponding analysis mode.The present invention reduces the consumption of system resource and log server log information receives burden, and ensures the real-time analysis of high-priority service while reducing log server log information analysis burden.
Description
Technical field
The present invention relates to log push field, specifically, be related to the log method for pushing based on access frequency, system,
Equipment and storage medium.
Background technique
It include multiple servers in data service system.The completion of every business needs multiple server collaborations to complete, because
And there are many interaction message between each server.When going wrong, system maintenance personnel need to log in each service
Device is manually checked, and time used time is long, inefficiency, is highly detrimental to the timely discovery of problem, is positioned, investigation reconciliation
Certainly.
In the prior art include two schemes:
Scheme one, each server uniformly send log server for business diary in real time, and log server is to business
Log carries out record parsing, if it find that it is abnormal, then it alarms.
Scheme two, log server carry out periodic sampling to the business diary of each server, carry out to service interaction log
Record parsing, if it find that it is abnormal, then it alarms.
In magnanimity business diary system for the moment using scheme, frequently, server will be to prison for interaction between each server
The a large amount of log informations of control system real-time transmission, consume a large amount of system resources, cause to impact to log server.And scheme two is deposited
It cannot note abnormalities in real time, cannot the system problem alarmed and be positioned.In addition, in the prior art, it is each to take
Time between business device and log server not exclusively synchronize will cause log server carry out generating timing when log analysis it is mixed
Disorderly, to cannot proceed normally log analysis.
Therefore, the present invention provides a kind of log method for pushing, system, equipment and storage medium based on access frequency.
Summary of the invention
For the problems of the prior art, the purpose of the present invention is to provide based on access frequency log method for pushing,
System, equipment and storage medium can realize log push and the log analysis of differentiation according to the importance of user and business,
To while guaranteeing key business control real-time, reduce massive logs transmission to the consumption of system resource and to log
The impact of server improves the aging performance of fault location.
The embodiment of the present invention provides a kind of log method for pushing based on access frequency, comprising the following steps:
Management server sends out the corresponding log push grade of preset user classification and log analysis grade respectively
It is sent at least one service server and log analysis server;
Service server carries out user point to the service request of user according to the access frequency of user within a preset period of time
Grade simultaneously generates business diary, pushes grade to the business diary determination according to the log and executes corresponding push side
Formula;And
The log analysis server is determining to the business diary received according to the log analysis grade and executes corresponding
Analysis mode.
Preferably, management server log push grade and log analysis grade that preset user classification is corresponding
It is separately sent at least one service server and log analysis server includes:
The service server and log analysis server are carried out time synchronization, the management clothes by the management server
The corresponding log push grade of preset user classification is sent service server by business device;
The corresponding log analysis grade of preset user classification is sent log analysis service by the management server
Device.
Preferably, the service server is according to user's access frequency within a preset period of time to the service request of user
It carries out user's classification and generates business diary, grade is pushed to the business diary determination according to the log and execute corresponding
Push mode include:
Service server carries out user point to the service request of user according to the access frequency of user within a preset period of time
Grade;
The service server generates business diary;
The service server determines the business diary according to the corresponding log push grade of user classification
And execute corresponding push mode.
Preferably, business diary push grade is divided into according to user's classification in the log push rank list and is pushed away in real time
It send, timing pushes and do not push three grades;
The service server if it is determined that push grade be in real time push, then business diary is pushed in real time log clothes
Business device;It is pushed if timing, then business diary is pushed to service server according to the scheduled push period;If not pushing,
Business diary is then subjected to local preservation.
Preferably, the log analysis server is determining to the business diary received according to the log analysis grade and holds
The corresponding analysis mode of row includes:
The log analysis server determines corresponding analysis to the business diary received according to the log analysis grade
Mode;
The log analysis server executes the analysis mode.
Preferably, the log analysis rank list is classified according to user and is determined as dividing in real time by business diary analytical grade
Analysis, timing analysis and manual analysis three grades;
The log analysis server when determining grade is analysis in real time, then analyze at once by execution journal;Work as determination
Grade be timing analysis, then according to the timing cycle of configuration carry out log analysis, when determining analytical grade be manual analysis,
Then manual request is waited to be analyzed.
Preferably, the business diary includes User ID, traffic ID, sends message, receives message, time, processing result.
The embodiment of the present invention also provides a kind of log supplying system based on access frequency, including client, management clothes
Business device, at least one service server and log analysis server;
The management server log push grade and log analysis ranking score that preset user classification is corresponding
It is not sent to service server and log analysis server;Access of the service server according to user within a preset period of time
Frequency carries out user's classification to the service request of user and generates business diary, pushes grade to the business according to the log
Log is determining and executes corresponding push mode;The log analysis server is according to the log analysis grade to receiving
Business diary is determining and executes corresponding analysis mode.
The embodiment of the present invention also provides a kind of log pushing equipment based on access frequency, comprising:
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to execute the above-mentioned day based on access frequency via the executable instruction is executed
The step of will method for pushing.
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, described program is held
The step of above-mentioned log method for pushing based on access frequency is realized when row.
Log method for pushing, system, equipment and storage medium based on access frequency of the invention, can determine business
Priority executes different logs for different priority and pushes strategy, to reduce the consumption and log services of system resource
Device log information receives burden.Determine the priority of business according to the access frequency of user within a preset period of time, and according to
Business diary push grade is divided into real-time push by the priority of business, and timing pushes and do not push three grades.Business service
Device pushes grade according to business diary and is pushed.Also the priority that can determine business executes not for different priority
Same log analysis strategy is born with ensuring the real-time analysis of high-priority service while reducing the analysis of log server log information
Load.Business diary analytical grade is determined as analyzing in real time according to the priority of business, timing analysis and manual analysis three etc.
Grade.Log server carries out log analysis according to business diagnosis grade.System of the invention can carry out time synchronization and configuration
The dynamic of information updates.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon.
Fig. 1 is the flow chart of the log method for pushing of the invention based on access frequency;
Fig. 2 is the configuration diagram of the log supplying system of the invention based on access frequency;
Fig. 3 is the system framework figure of the log method for pushing based on access frequency in the present embodiment;
Fig. 4 is the specific steps schematic diagram of the log method for pushing based on access frequency in the present embodiment;
Fig. 5 is the structural schematic diagram of the log pushing equipment of the invention based on access frequency;And
Fig. 6 is the structural schematic diagram of the computer readable storage medium of one embodiment of the invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to embodiment set forth herein.On the contrary, thesing embodiments are provided so that the present invention will
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.It is identical attached in figure
Icon note indicates same or similar structure, thus will omit repetition thereof.
Fig. 1 is the flow chart of the log method for pushing of the invention based on access frequency.As shown in Figure 1, base of the invention
In the log method for pushing of access frequency, comprising the following steps:
Management server sends out the corresponding log push grade of preset user classification and log analysis grade respectively
It is sent at least one service server and log analysis server;
Data service system receives the service request that client issues, the service server root in the data service system
User's classification is carried out according to service request of the access frequency of user within a preset period of time to user and generates business diary, according to
The log push grade is determining to the business diary and executes corresponding push mode;And
The log analysis server is determining to the business diary received according to the log analysis grade and executes corresponding
Analysis mode.
In a preferred embodiment, management server log push grade and log that preset user classification is corresponding
Analytical grade is separately sent at least one service server and log analysis server includes:
The service server and log analysis server are carried out time synchronization, the management clothes by the management server
The corresponding log push grade of preset user classification is sent service server by business device;
The corresponding log analysis grade of preset user classification is sent log analysis service by the management server
Device.
In a preferred embodiment, the data service system receives the service request that client issues, the business service
Device carries out user's classification to the service request of user according to the access frequency of user within a preset period of time and generates business diary,
It is determining to the business diary and execute corresponding push mode and include: that grade is pushed according to the log
Data service system receives the service request that client issues;
The service server uses the service request of user according to the access frequency of user within a preset period of time
Family classification;
The service server generates business diary;
The service server determines the business diary according to the corresponding log push grade of user classification
And execute corresponding push mode.
In a preferred embodiment, it is classified in the log push rank list according to user and business diary is pushed into ranking score
To push in real time, timing pushes and does not push three grades;
The service server if it is determined that push grade be in real time push, then business diary is pushed in real time log clothes
Business device;It is pushed if timing, then business diary is pushed to service server according to the scheduled push period;If not pushing,
Business diary is then subjected to local preservation.
In a preferred embodiment, business diary of the log analysis server according to the log analysis grade to receiving
It determines and executes corresponding analysis mode step and include:
The log analysis server determines corresponding analysis to the business diary received according to the log analysis grade
Mode;
The log analysis server executes the analysis mode.In a preferred embodiment, the log analysis grade column
Table is classified according to user to be determined as analyzing in real time by business diary analytical grade, timing analysis and manual analysis three grades;
The log analysis server when determining grade is analysis in real time, then analyze at once by execution journal;Work as determination
Grade be timing analysis, then according to the timing cycle of configuration carry out log analysis, when determining analytical grade be manual analysis,
Then manual request is waited to be analyzed.
In a preferred embodiment, the business diary include User ID, traffic ID, send message, receive message, the time,
Processing result.
Log method for pushing based on access frequency of the invention can realize difference according to the importance of user and business
The log push of change and log analysis, to reduce massive logs transmission pair while guaranteeing key business control real-time
The consumption of system resource and impact to log server, improve the aging performance of fault location.
The present invention will provide a kind of log push of differentiation and the method and system of log analysis, according to user and business
Importance realize that log push and the log analysis of differentiation drop thus while guaranteeing key business control real-time
Low massive logs consumption of the transmission to system resource and the impact to log server, improve the aging performance of fault location.
Management server of the invention carries out time synchronization as time server, by ensuring that system is synchronous, guarantees log analysis
Accuracy.
Fig. 2 is the configuration diagram of the log supplying system of the invention based on access frequency.As shown in Fig. 2, of the invention
Embodiment a kind of log supplying system 5 based on access frequency is also provided, for realizing the above-mentioned day based on access frequency
Will method for pushing, including client 501, management server 502, at least one service server 503 and log analysis server
504。
The management server 502 log push grade and log analysis grade that preset user classification is corresponding
It is separately sent to service server 503 and log analysis server 504;User is mentioned using client 501 to data service system
Service request is handed over, the service server 503 is according to user's access frequency within a preset period of time to the service request of user
It carries out user's classification and generates business diary, grade is pushed to the business diary determination according to the log and execute corresponding
Push mode 504;The log analysis server 504 determines simultaneously the business diary received according to the log analysis grade
Execute corresponding analysis mode.
Log supplying system based on access frequency of the invention can realize difference according to the importance of user and business
The log push of change and log analysis, to reduce massive logs transmission pair while guaranteeing key business control real-time
The consumption of system resource and impact to log server, improve the aging performance of fault location.
Fig. 3 is the system framework figure of the log method for pushing based on access frequency in the present embodiment.Such as
Shown in Fig. 3, the system of the log method for pushing based on access frequency in the present embodiment includes data service system
With log analysis management system.Data service system includes at least one service server, specially service server 1, business
Server 2, service server 3 ... ... service server N.Log analysis management system includes management server and log services
Device.Client links service server of arriving by request the distribution server, and each service server is separately connected by network
To management server and log server.
Fig. 4 is the specific steps schematic diagram of the log method for pushing based on access frequency in the present embodiment.Such as Fig. 4 institute
Show, specific step is as follows for the log method for pushing based on access frequency in the present embodiment:
S1, management server carry out time synchronization, each service server and log server as time server
Time synchronization is carried out with the management server, to guarantee the time consistency of Servers-all in system.
S2, management server configuration service priority list, log push rank list and log analysis rank list.Its
In, the priority of business is determined in service priority list according to user's access frequency within a preset period of time.Log pushes away
It send in rank list and business diary push grade is divided by real-time push according to the priority of business, timing pushes and do not push three
A grade.Business diary analytical grade is determined as analyzing in real time by log analysis rank list according to the priority of business, timing
Analysis and manual analysis three grades.
S3, management server configure each service server and log server.Management server takes to each business
Business device sends the first configuration information, sends the second configuration information to log server.Wherein, the first configuration information includes that business is excellent
The push period of first grade list and business diary, the second configuration information include the timing of log analysis rank list and business diary
Analytical cycle.
S4, client submit service request to data service system, include user identifier (User ID) in the service request
With service identification (traffic ID).
The service request is handled in service server in S5, data service system, and according in service request
The priority of business is determined according to the access frequency of user within a preset period of time.
S6, service server determine pushing away for the business according to the priority of the determining business and log push rank list
Grade is sent, which includes push in real time, and timing pushes and do not push three grades.
S7, service server generate business diary, specially by main business workflow, entrance message, according to keyword
Section: User ID, traffic ID send message (including source purpose information), receive message (including source purpose information), time, processing
In the database table of the fields deposit such as a result.
S8, service server are handled business diary according to the push grade of business diary, specifically: if it is determined that
Pushing grade is push in real time, then business diary is pushed to log server in real time, is pushed if timing, then according to scheduled
Business diary is pushed to service server by the push period, if not pushing, then business diary is carried out local preservation.
S9, log server receive business diary, and increment is stored in local data base.
S10, the log server priority of the business of business diary and log analysis rank list based on the received are come true
The analytical grade of the fixed business.When determining grade is analysis in real time, then execution journal analytical procedure is immediately performed at once
Subsequent log analysis step, when determining grade is timing analysis, then according to the timing cycle of configuration progress log analysis, that is, root
Subsequent log analysis step is executed according to timing cycle, when determining analytical grade is manual analysis, then waits manual request to hold
The subsequent log analysis step of row.
S11, log server converge the log recording from each service server according to log analysis grade
Analysis, according to business processing flow, generates the business processing flow figure to there is abnormal service request, realizes that interfaceization is aobvious
Show.
S12, management server can regular or irregular update configuration service priority list, log push grade
List and log analysis rank list, and updated above-mentioned service priority list, log are pushed into rank list and day
Will analytical grade list is sent to service server and log analysis server, to be moved according to the log analysis demand of system
State adjustment.
The embodiment of the present invention also provides a kind of log pushing equipment based on access frequency, including processor.Memory,
In be stored with the executable instruction of processor.Wherein, processor is configured to be performed via execution executable instruction based on visit
The step of asking the log method for pushing of frequency.
As it appears from the above, the embodiment can realize the log push and log of differentiation according to the importance of user and business
Analysis, thus while guaranteeing key business control real-time, reduce massive logs transmit consumption to system resource and
Impact to log server improves the aging performance of fault location.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as " circuit ", " module " or " platform ".
Fig. 5 is the structural schematic diagram of the log pushing equipment of the invention based on access frequency.It is described referring to Fig. 5
The electronic equipment 600 of this embodiment according to the present invention.The electronic equipment 600 that Fig. 5 is shown is only an example, is not answered
Any restrictions are brought to the function and use scope of the embodiment of the present invention.
As shown in figure 5, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
Include but be not limited to: at least one processing unit 610, at least one storage unit 620, connection different platform component (including storage
Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, storage unit is stored with program code, and program code can be executed with unit 610 processed, so that processing is single
Member 610 executes various exemplary implementations according to the present invention described in this specification above-mentioned electronic prescription circulation processing method part
The step of mode.For example, processing unit 610 can execute step as shown in fig. 1.
Storage unit 620 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 6201 and/or cache memory unit 6202, it can further include read-only memory unit (ROM) 6203.
Storage unit 620 can also include program/utility with one group of (at least one) program module 6205
6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage platform etc..
The embodiment of the present invention also provides a kind of computer readable storage medium, and for storing program, program is performed reality
The step of existing log method for pushing based on access frequency.In some possible embodiments, various aspects of the invention
It is also implemented as a kind of form of program product comprising program code, when program product is run on the terminal device, journey
Sequence code is for executing terminal device described in this specification above-mentioned electronic prescription circulation processing method part according to this hair
The step of bright various illustrative embodiments.
As it appears from the above, the embodiment can realize the log push and log of differentiation according to the importance of user and business
Analysis, thus while guaranteeing key business control real-time, reduce massive logs transmit consumption to system resource and
Impact to log server improves the aging performance of fault location.
Fig. 6 is the structural schematic diagram of computer readable storage medium of the invention.Refering to what is shown in Fig. 6, describing according to this
The program product 800 for realizing the above method of the embodiment of invention can use the read-only storage of portable compact disc
Device (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, journey of the invention
Sequence product is without being limited thereto, and in this document, readable storage medium storing program for executing can be any tangible medium for including or store program, the journey
Sequence can be commanded execution system, device or device use or in connection.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie
Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or partly lead
System, device or the device of body, or any above combination.More specific example (the non exhaustive column of readable storage medium storing program for executing
Table) it include: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only storage
Device (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer readable storage medium may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, including but not
It is limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, programming language include object oriented program language-Java, C++ etc., further include conventional process
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment
Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting
In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
To sum up, the purpose of the present invention is to provide log method for pushing, system, equipment and storages based on access frequency to be situated between
Matter can determine the priority of business, executes different logs for different priority and pushes strategy, to reduce system resource
Consumption and log server log information receive burden.Also the priority that can determine business is held for different priority
The different log analysis strategy of row, to ensure the real-time analysis of high-priority service while reduce log server log information point
Analysis burden.System of the invention can carry out time synchronization and the dynamic of configuration information updates.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that
Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention
Protection scope.
Claims (10)
1. a kind of log method for pushing based on access frequency, which comprises the following steps:
The corresponding log push grade of preset user classification and log analysis grade are separately sent to by management server
At least one service server and log analysis server;
Service server carries out user's classification simultaneously to the service request of user according to the access frequency of user within a preset period of time
Business diary is generated, grade is pushed to the business diary determination according to the log and executes corresponding push mode;With
And
The log analysis server is determining to the business diary received according to the log analysis grade and executes corresponding point
Analysis mode.
2. the log method for pushing based on access frequency as described in claim 1, which is characterized in that management server will be preset
The corresponding log push grade and log analysis grade of user's classification be separately sent at least one service server and
Log analysis server includes:
The service server and log analysis server are carried out time synchronization by the management server,
The corresponding log push grade of preset user classification is sent service server by the management server;
The corresponding log analysis grade of preset user classification is sent log analysis server by the management server.
3. the log method for pushing based on access frequency as described in claim 1, which is characterized in that the service server root
User's classification is carried out according to service request of the access frequency of user within a preset period of time to user and generates business diary, according to
Log push grade is determining to the business diary and executes corresponding push mode and includes:
Service server carries out user's classification to the service request of user according to the access frequency of user within a preset period of time;
The service server generates business diary;
The service server is determining to the business diary according to the corresponding log push grade of user classification and holds
The corresponding push mode of row.
4. the log method for pushing based on access frequency as claimed in claim 3, which is characterized in that the log pushes grade
It is classified in list according to user and business diary push grade is divided into real-time push, timing pushes and do not push three grades;
The service server if it is determined that push grade be in real time push, then business diary is pushed to log services in real time
Device;It is pushed if timing, then business diary is pushed to service server according to the scheduled push period;If not pushing, then
Business diary is subjected to local preservation.
5. the log method for pushing based on access frequency as described in claim 1, which is characterized in that the log analysis service
Device is determining to the business diary that receives according to the log analysis grade and executes corresponding analysis mode and includes:
The log analysis server determines corresponding analysis mode to the business diary received according to the log analysis grade;
The log analysis server executes the analysis mode.
6. the log method for pushing based on access frequency as claimed in claim 5, which is characterized in that the log analysis grade
List is classified according to user to be determined as analyzing in real time by business diary analytical grade, timing analysis and manual analysis three grades;
The log analysis server when determining grade is analysis in real time, then analyze at once by execution journal;When determining etc.
Grade is timing analysis, then carries out log analysis according to the timing cycle of configuration, when determining analytical grade is manual analysis, then etc.
It is analyzed to manual request.
7. the log method for pushing based on access frequency as described in claim 1, which is characterized in that the business diary includes
User ID, traffic ID send message, receive message, time, processing result.
8. a kind of log supplying system based on access frequency, which is characterized in that including client, management server, at least one
A service server and log analysis server;
The management server sends out the corresponding log push grade of preset user classification and log analysis grade respectively
It is sent to service server and log analysis server;
The service server carries out user point to the service request of user according to the access frequency of user within a preset period of time
Grade simultaneously generates business diary, pushes grade to the business diary determination according to the log and executes corresponding push side
Formula;
The log analysis server is determining to the business diary received according to the log analysis grade and executes corresponding point
Analysis mode.
9. a kind of log pushing equipment based on access frequency characterized by comprising
Processor;
Memory, wherein being stored with the executable instruction of the processor;
Wherein, the processor is configured to come any one of perform claim requirement 1 to 7 institute via the execution executable instruction
The step of stating the log method for pushing based on access frequency.
10. a kind of computer readable storage medium, for storing program, which is characterized in that described program is performed realization power
Benefit require any one of 1 to 7 described in log method for pushing based on access frequency the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811545129.5A CN109684172A (en) | 2018-12-17 | 2018-12-17 | Log method for pushing, system, equipment and storage medium based on access frequency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811545129.5A CN109684172A (en) | 2018-12-17 | 2018-12-17 | Log method for pushing, system, equipment and storage medium based on access frequency |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109684172A true CN109684172A (en) | 2019-04-26 |
Family
ID=66187860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811545129.5A Pending CN109684172A (en) | 2018-12-17 | 2018-12-17 | Log method for pushing, system, equipment and storage medium based on access frequency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109684172A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351371A (en) * | 2019-07-15 | 2019-10-18 | 星联云服科技有限公司 | A kind of method and system carrying out data-pushing in cloud storage system |
CN111104381A (en) * | 2019-11-30 | 2020-05-05 | 北京浪潮数据技术有限公司 | Log management method, device and equipment and computer readable storage medium |
CN113849440A (en) * | 2021-09-30 | 2021-12-28 | 北京金山云网络技术有限公司 | Log access method and device and server |
CN115129682A (en) * | 2022-08-30 | 2022-09-30 | 北京智芯微电子科技有限公司 | Log management method and log management system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106169959A (en) * | 2016-07-21 | 2016-11-30 | 柳州龙辉科技有限公司 | A kind of log processing device |
CN107273280A (en) * | 2017-06-30 | 2017-10-20 | 百度在线网络技术(北京)有限公司 | A kind of log processing method, device, electronic equipment and storage medium |
CN107704478A (en) * | 2017-01-16 | 2018-02-16 | 贵州白山云科技有限公司 | A kind of method and system for writing daily record |
CN108933785A (en) * | 2018-06-29 | 2018-12-04 | 平安科技(深圳)有限公司 | Network risks monitoring method, device, computer equipment and storage medium |
-
2018
- 2018-12-17 CN CN201811545129.5A patent/CN109684172A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106169959A (en) * | 2016-07-21 | 2016-11-30 | 柳州龙辉科技有限公司 | A kind of log processing device |
CN107704478A (en) * | 2017-01-16 | 2018-02-16 | 贵州白山云科技有限公司 | A kind of method and system for writing daily record |
CN107273280A (en) * | 2017-06-30 | 2017-10-20 | 百度在线网络技术(北京)有限公司 | A kind of log processing method, device, electronic equipment and storage medium |
CN108933785A (en) * | 2018-06-29 | 2018-12-04 | 平安科技(深圳)有限公司 | Network risks monitoring method, device, computer equipment and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351371A (en) * | 2019-07-15 | 2019-10-18 | 星联云服科技有限公司 | A kind of method and system carrying out data-pushing in cloud storage system |
CN111104381A (en) * | 2019-11-30 | 2020-05-05 | 北京浪潮数据技术有限公司 | Log management method, device and equipment and computer readable storage medium |
CN113849440A (en) * | 2021-09-30 | 2021-12-28 | 北京金山云网络技术有限公司 | Log access method and device and server |
CN113849440B (en) * | 2021-09-30 | 2024-04-26 | 北京金山云网络技术有限公司 | Log access method and device and server |
CN115129682A (en) * | 2022-08-30 | 2022-09-30 | 北京智芯微电子科技有限公司 | Log management method and log management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9852035B2 (en) | High availability dynamic restart priority calculator | |
CN109684172A (en) | Log method for pushing, system, equipment and storage medium based on access frequency | |
EP3495951A1 (en) | Hybrid cloud migration delay risk prediction engine | |
CN111324786B (en) | Method and device for processing consultation problem information | |
EP3815342B1 (en) | Adaptive user-interface assembling and rendering | |
CN111917587B (en) | Method for network service management by using service system and service system | |
CN113505520A (en) | Method, device and system for supporting heterogeneous federated learning | |
CN110555150B (en) | Data monitoring method, device, equipment and storage medium | |
CN111383100A (en) | Risk model-based full life cycle management and control method and device | |
CN113282611A (en) | Method and device for synchronizing stream data, computer equipment and storage medium | |
CN110928732A (en) | Server cluster performance sampling analysis method and device and electronic equipment | |
CN113010542A (en) | Service data processing method and device, computer equipment and storage medium | |
CN111178849A (en) | Linear process engine implementation method, device, equipment and storage medium | |
US20130282743A1 (en) | Optimized resource analytics | |
CN110737655B (en) | Method and device for reporting data | |
CN107347093A (en) | Collocation method and device for distributed server system | |
CN109460363A (en) | Automated testing method, device, electronic equipment and computer-readable medium | |
CN116405332B (en) | Service request method, device, equipment and medium based on Nginx gateway | |
CN111444148B (en) | Data transmission method and device based on MapReduce | |
US20210248152A1 (en) | Data prioritization based on determined time sensitive attributes | |
US8438271B2 (en) | Performing services in a network data processing system | |
CN112214469A (en) | Drive test data processing method, device, server and storage medium | |
US8875136B2 (en) | Methods of personalizing services via identification of common components | |
CN115150450B (en) | Message sending method and device of doctor-patient session scene | |
CN116915870B (en) | Task creation request processing method, device, electronic equipment and readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190426 |
|
RJ01 | Rejection of invention patent application after publication |