CN103838659B - The control method and device of a kind of system journal - Google Patents
The control method and device of a kind of system journal Download PDFInfo
- Publication number
- CN103838659B CN103838659B CN201410053917.8A CN201410053917A CN103838659B CN 103838659 B CN103838659 B CN 103838659B CN 201410053917 A CN201410053917 A CN 201410053917A CN 103838659 B CN103838659 B CN 103838659B
- Authority
- CN
- China
- Prior art keywords
- log information
- log
- sent
- functional module
- message queue
- 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.)
- Active
Links
Landscapes
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a kind of control method of system journal and device, the load of system is caused further to raise to solve substantial amounts of log information, the problem of consuming more memory source.Wherein, the system where the system journal includes at least one functional module and log task message queue, and methods described includes:Receive the log information that each functional module is sent in the system;Monitor the load condition of the system;When the load of the system is more than default stream control threshold value, reduction is sent to the quantity of the log information of the log task message queue.The present invention can be avoided when the load of system is higher, and substantial amounts of log information causes the load of system further to raise, the problem of consuming more memory source.
Description
Technical field
The present invention relates to daily record control technology field, the control method and device of more particularly to a kind of system journal.
Background technology
System journal is that each functional module is used for recording key message in system operation(For example, crucial flow, shape
State, message etc.)A kind of mode, each functional module in system can be crucial by it as needed in system operation
Information record is into system journal, so as to be used as a kind of effective means of ex-post analysis problem.
During current system log management, each functional module is by sending log information by log content(Bag
Include key message)It is sent in the message queue of log task, then is read out by log task from message queue corresponding day
Will message, and be written in journal file.
But in the above method, when the load of system is higher, if now there is substantial amounts of log information demand, can lead
The load of cause system is further raised, so as to influence the operation of system;Further, since the processing procedure of log task is related to effect
The relatively low I/O of rate(Input/Output, input/output)Operation, the priority of task is relatively low, therefore also results in log information
System buffer is arrived in a large amount of accumulations, so that more memory source can be consumed.
The content of the invention
The present invention provides the control method and device of a kind of system journal, to solve when the load of system is higher, largely
Log information cause the load of system further to raise, and the problem of consume more memory source.
In order to solve the above problems, the invention discloses a kind of control method of system journal, it is characterised in that the system
System where system daily record includes at least one functional module and log task message queue, and methods described includes:
Receive the log information that each functional module is sent in the system;
Monitor the load condition of the system;
When the load of the system is more than default stream control threshold value, reduction is sent to the log task message queue
The quantity of log information.
Preferably, the step of reduction is sent to the quantity of the log information of the log task message queue includes:
Reduced and sent to the quantity of the log information of the log task message queue using overall control mode;
And/or,
Reduced and sent to the quantity of the log information of the log task message queue using Balance route mode;
And/or,
Reduced and sent to the quantity of the log information of the log task message queue using module control mode;
And/or,
Reduced and sent to the quantity of the log information of the log task message queue using precise controlling mode.
Preferably, it is described to be sent using overall control mode reduction to the log information of the log task message queue
The step of quantity, includes:
The load of the system is compared with the default stream control upper limit and stream control lower limit;
If the load of the system is more than the default stream control upper limit, current log recording state is judged;
If opening, then closed mode is revised as, gives up the log information that each described functional module is sent;
If the load of the system is less than default stream control lower limit, current log recording state is judged;
If closed mode, be then revised as opening, by each described functional module send log information send to
The log task message queue.
Preferably, the system also includes multiple tokens, and the state of the token includes idle condition and seizure condition, institute
State using Balance route mode reduce send to the log information of the log task message queue quantity the step of include:
Obtain the token quantity that idle condition is in the system;
The log information with the token number in idle condition is chosen from the log information;
The log information of selection is sent to the log task message queue, remaining log information is cached.
Preferably, the log information includes the transmission time,
The daily record chosen from the log information with the token number in idle condition disappears
The step of breath, includes:
Sequencing according to the transmission time is ranked up to the log information;
Since first log information after sequence, choose and the token number in idle condition
Log information.
Preferably, the use module control mode reduction is sent to the log information of the log task message queue
The step of quantity, includes:
The quantity of the log information that each described functional module is sent in the default unit interval is counted respectively;
If the quantity for the log information that some functional module is sent is more than default amount threshold, give up the functional module
The log information of transmission, remaining log information is sent to the log task message queue.
Preferably, the log information includes the functional module mark for sending the log information,
The step for counting the quantity for the log information that each described functional module is sent in the default unit interval respectively
Suddenly include:
The quantity of the log information identified in the default unit interval including same functional module is counted respectively, by the number
Measure the quantity that the log information that corresponding functional module is sent is identified as the same functional module;
It is described give up the functional module transmission log information the step of include:
Give up the log information identified including the functional module.
Preferably, the use precise controlling mode, which is reduced, sends to the log information of the log task message queue
The step of quantity, includes:
Judge in the log information that each described functional module is sent in the default unit interval with the presence or absence of the day repeated
Will message;
If in the presence of choosing one or more log informations from the log information of the repetition;
Give up log information unselected in the log information of the repetition, the log information being selected and residue are not had
There is the log information repeated to send to the log task message queue.
Preferably, the log information includes filename and line number,
It is described to judge in the log information that each described functional module is sent in the default unit interval with the presence or absence of repetition
Log information the step of include:
Obtain respectively in the default unit interval filename that the log information that each described functional module sends includes and
Line number;
Judge whether filename and the line number identical log information included;
If in the presence of, it is determined that exist in the log information that each described functional module is sent in the default unit interval and repeat
Log information, and determine the filename that includes and line number identical log information for the log information that repeats.
On the other hand, the invention also discloses a kind of control device of system journal, it is characterised in that the system journal
The system at place includes at least one functional module and log task message queue, and described device includes:
Receiving module, for receiving the log information that each functional module is sent in the system;
Monitoring module, the load condition for monitoring the system;
Module is reduced, when being more than default stream control threshold value for monitoring the load of the system when the monitoring module,
Reduction is sent to the quantity of the log information of the log task message queue.
Preferably, the reduction module includes:
Overall control submodule, for being sent using overall control mode reduction to the day of the log task message queue
The quantity of will message;
And/or,
Balance route submodule, is sent to the day of the log task message queue for being reduced using Balance route mode
The quantity of will message;
And/or,
Module control submodule, is sent to the day of the log task message queue for being reduced using module control mode
The quantity of will message;
And/or,
Submodule is finely controlled, is sent for being reduced using precise controlling mode to the day of the log task message queue
The quantity of will message.
Preferably, the overall control submodule includes:
Comparing subunit, for the load of the system to be compared with the default stream control upper limit and stream control lower limit;
First judgment sub-unit, is more than default for the comparative result when the comparing subunit for the load of the system
The stream control upper limit when, judge current log recording state;
First modification subelement, for when the judged result of first judgment sub-unit is opening, being revised as
Closed mode, gives up the log information that each described functional module is sent;
Second judgment sub-unit, is less than default for the comparative result when the comparing subunit for the load of the system
Stream control lower limit when, judge current log recording state;
Second modification subelement, for when the judged result of second judgment sub-unit is closed mode, being revised as
Opening, the log information that each described functional module is sent is sent to the log task message queue.
Preferably, the system also includes multiple tokens, and the state of the token includes idle condition and seizure condition,
The Balance route submodule includes:
Token obtains subelement, is in the token quantity of idle condition in the system for obtaining;
First chooses subelement, for being chosen and the token quantity phase in idle condition from the log information
With the log information of quantity;
First transmission sub-unit, for the log information of selection to be sent to the log task message queue;
Subelement is cached, for remaining log information to be cached.
Preferably, the log information includes the transmission time,
Described first chooses subelement, and the log information is entered specifically for the sequencing according to the transmission time
Row sequence;Since first log information after sequence, choose and the token number in idle condition
Log information.
Preferably, the module control submodule includes:
Subelement is counted, for counting the log information that each described functional module is sent in the default unit interval respectively
Quantity;
Second transmission sub-unit, for counting the log information that some functional module is sent when the statistics subelement
Quantity be more than default amount threshold when, give up the functional module transmission log information, by remaining log information send to
The log task message queue.
Preferably, the log information includes the functional module mark for sending the log information,
The statistics subelement, includes what same functional module was identified specifically for counting respectively in the default unit interval
The quantity of log information, the log information that corresponding functional module is sent is identified using the quantity as the same functional module
Quantity;
Second transmission sub-unit, specifically for giving up the log information identified including the functional module.
Preferably, the precise controlling submodule includes:
Judgment sub-unit is repeated, the log information for judging each functional module transmission in the default unit interval
In with the presence or absence of repeat log information;
Second chooses subelement, in the presence of being in the judged result for repeating judgment sub-unit, from the repetition
Log information in choose one or more log informations;
Unselected log information in 3rd transmission sub-unit, the log information for giving up the repetition, will be selected
The log information and the remaining log information not repeated taken is sent to the log task message queue.
Preferably, the log information includes filename and line number,
It is described to repeat judgment sub-unit, sent out specifically for obtaining each described functional module in the default unit interval respectively
Filename and line number that the log information sent includes;Judge whether filename and the line number identical log information included;
If in the presence of, it is determined that there is the daily record repeated in the log information that each described functional module is sent in the default unit interval and disappear
Breath, and determine the filename included and the log information that line number identical log information is repetition.
Compared with prior art, the present invention includes advantages below:
The load condition of system can be monitored in the present invention, each functional module is sent in the system is received
Log information after, if the load of current system is more than default stream control threshold value, transmission can be reduced to the daily record
The quantity of the log information of task message queue.Due to the quantity of the log information that reduces transmission, thus can avoid be
When the load of system is higher, substantial amounts of log information causes the load of system further to raise, and consumes asking for more memory source
Topic.
Brief description of the drawings
Fig. 1 is the schematic diagram of the system where a kind of system journal of the present invention;
Fig. 2 is a kind of flow chart of the control method of system journal of the embodiment of the present invention one;
Fig. 3 is a kind of flow chart of the control method of system journal of the embodiment of the present invention two;
Fig. 4 is a kind of structured flowchart of the control device of system journal of the embodiment of the present invention three.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
In order to solve when the load of system is higher, substantial amounts of log information causes the load of system further to raise, and
And the problem of consumption more memory source, the present invention proposes one kind by carrying out the control of daily record quantity to enter system journal
The mode of row control.
Reference picture 1, shows the schematic diagram of the system where a kind of system journal of the invention, according to Fig. 1, and the system can be with
Including multiple functional modules(Functional module 1, functional module 2 ..., functional module N), daily record quantity control module and daily record appoint
Business management module, wherein log task message queue can be included in the log task management module.
During current system log management, each functional module is will directly to include log content(Including key
Information)Log information be sent in the log task message queue of log task management module, then mould is managed by log task
Block reads out corresponding log information from log task message queue, and is written in journal file, therefore substantial amounts of daily record
Message will cause system loading to rise, and consume more memory source.
In system shown in Fig. 1, daily record quantity control module is added to being sent to the daily record of log task management module
The quantity of message is controlled.First, log information can be sent to day by each functional module by way of asynchronous message
Will quantity control module, daily record quantity control module is controlled according to actual conditions to the quantity of log information, then again by
Daily record quantity control module sends log information into the log task message queue of daily record task management module.
Below, the control method and device of a kind of system journal are illustrated by each following embodiment, it is following
Multiple embodiments can be realized on the basis of the system where said system daily record.
Embodiment one:
Reference picture 2, shows a kind of flow chart of the control method of system journal of the embodiment of the present invention one, this method tool
Body may comprise steps of:
Step 201, the log information that each functional module is sent in the system is received.
Step 202, the load condition of the system is monitored.
Step 203, when the load of the system is more than default stream control threshold value, reduction, which is sent to the log task, to disappear
Cease the quantity of the log information of queue.
Above-mentioned steps 201- steps 203 can be the function performed by the daily record quantity control module in Fig. 1, for institute
The load condition of system is stated, can be monitored in real time, can also be periodically monitored.If it is judged that the load of the system
Less than or equal to default stream control threshold value, then it can illustrate temporarily without need to be controlled to the quantity of log information, therefore can be with
The log information that directly each received functional module is sent is sent into daily record task message queue;If it is judged that
The load of the system is more than default stream control threshold value, then can illustrate that log information now can cause system loading further
Rise, influence system performance, therefore can reduce send to the log task message queue log information quantity, from
And avoid causing the load of system larger impact.
Embodiment two:
Below, the control method of system journal is described in detail by the present embodiment two.
Reference picture 3, shows a kind of flow chart of the control method of system journal of the embodiment of the present invention two, this method tool
Body may comprise steps of:
Step 301, the log information that each functional module is sent in the system is received.
System journal is that each functional module is used for recording key message in system operation(For example, crucial flow, shape
State, message etc.)A kind of mode.In system operation, each functional module in system can be as needed by itself
Key message recorded in system journal, so as to be used as a kind of effective means of ex-post analysis problem.Each functional module can
It is transmitted with log contents such as the key messages that will record in the form of log information.
Step 302, the load condition of the system is monitored.
In the embodiment of the present invention, the monitoring can be monitoring in real time, or regular monitoring, for regular monitoring
Cycle, those skilled in the art carry out related setting according to practical experience, for example, be set to 5s, the embodiment of the present invention is to this
It is not any limitation as.
Wherein, the load condition of the system can be according to the CPU of system(Central ProcessingUnit, center
Processing unit)The parameters such as the message buffer occupancy of occupancy or system are determined.For example, it is current to obtain system
CPU usage, and it regard the CPU usage as the current load of system;Or the current message buffer of acquisition system is accounted for
With rate, and it regard the message buffer occupancy as the current load of system.It is, of course, also possible to reference to CPU usage and disappear
Cease both buffer performances to determine the load condition of system, or can also be determined by the performance parameter of other in system
The load condition of system, the embodiment of the present invention is not any limitation as to this.
Step 303, judge whether the load of the system is more than default stream control threshold value.
It is determined that after the current loads state of system, can be disappeared according to the load condition of system to sending to log task
The quantity for ceasing the log information of queue is controlled.Therefore, it may determine that the load of the system whether more than default first
Stream control threshold value, if so, then performing step 304;If it is not, then performing step 305.
For the stream control threshold value, those skilled in the art carry out related setting according to practical experience, for example, set
The stream control threshold value is 70%, etc., and the embodiment of the present invention is not any limitation as to this.
Step 304, reduction is sent to the quantity of the log information of the log task message queue.
If it is judged that the load of the system be more than it is default stream control threshold value, then can illustrate now system loading compared with
Height, if there is substantial amounts of log information to send to daily record task message queue again, will cause system loading further to be lifted,
The more memory source of consumption.Therefore, in that case, transmission can be reduced in the embodiment of the present invention to the log task
The quantity of the log information of message queue, to mitigate the impact caused to system loading.
In one preferred embodiment of the invention, the step 304 can include:Reduced and sent using overall control mode
To the quantity of the log information of the log task message queue;And/or, transmission is reduced to the day using Balance route mode
The quantity of the log information of will task message queue;And/or, sent to the log task and disappeared using the reduction of module control mode
Cease the quantity of the log information of queue;And/or, transmission is reduced to the log task message queue using precise controlling mode
The quantity of log information.That is, can be from above-mentioned overall control mode, Balance route mode, module controlling party in the step 304
Select any in formula and precise controlling mode or select any two ways therein to combine or select therein
Any three kinds of modes combine or selected whole four kinds of modes to combine, and complete reduction and send to the log task message queue
Log information quantity process.
Below, above-mentioned four kinds of control modes are introduced respectively.
1st, overall control mode
In the embodiment of the present invention, transmission to the daily record of the log task message queue is reduced using overall control mode and disappeared
The step of quantity of breath, can specifically include following sub-step:
Sub-step a1, the load of the system is compared with the default stream control upper limit and stream control lower limit;
In the embodiment of the present invention, a stream control upper limit and a stream control lower limit can be pre-set, for controlling whether to want
Log information is sent to log task message queue.In order to ensure that system loading is more balanced, under the above-mentioned stream control upper limit and stream control
There are certain intervals between limit two values, that is, certain buffering area is set, when system loading is located at buffering area, will keep working as
Preceding state.For example, the stream control upper limit can be set to be 80%, stream control lower limit is 60%, then is buffering area between 60%-80%.
If the load of the system is more than the default stream control upper limit, sub-step a2 is performed;If the load of the system is small
In default stream control lower limit, then sub-step a4 is performed;If the load of the system is more than or equal to default stream control lower limit, and
Less than or equal to the default stream control upper limit, then sub-step a6 is performed.
In one preferred embodiment of the invention, a daily record can also be set in above-mentioned daily record quantity control module
Recording status, it can include opening and closed mode, and when daily record recording status is opening, expression allows will be each
The log information that individual functional module is sent is sent into daily record task message queue, when daily record recording status is closed mode,
Expression does not allow to send the log information for sending each functional module into daily record task message queue, therefore can basis
The log recording state controls whether to send log information to log task message queue.
Sub-step a2, judges current log recording state;
When the load of the system is more than the default stream control upper limit, then it can illustrate that system loading now is more tight
, therefore in that case, the log information that each functional module is sent will be shielded.Due to the monitoring to system loading state
It is real-time or periodically carry out, therefore log recording state may be modified before this processing.Therefore, originally
Current log recording state can be first determined whether in inventive embodiments, if opening, then sub-step a3 is performed;If
For closed mode, then sub-step a6 is performed.
Sub-step a3, is revised as closed mode, gives up the log information that each described functional module is sent;
If it is more than the default stream control upper limit in the load of the system, and current log recording state is unlatching shape
State, by the log recording status modifier is then now closed mode, gives up the daily record that each described functional module sends and disappears
Breath, that is, refuse to send the log information that each described functional module is sent into daily record task message queue.
Sub-step a4, judges current log recording state;
When the load of the system is less than default stream control lower limit, then it can illustrate that system loading now is more empty
Spare time, therefore in that case, the log information that each functional module is sent can be sent into daily record task message queue.
Current log recording state is may determine that first, if closed mode, then performs sub-step a5;If opening,
Then perform sub-step a6.
Sub-step a5, is revised as opening, and the log information that each described functional module is sent was sent to the day
Will task message queue.
If it is less than default stream control lower limit in the load of the system, and current log recording state is closing shape
During state, now then by the log recording status modifier be opening, and by each described functional module send daily record
Message is sent to the log task message queue.
Sub-step a6, keeps current log recording state.
If judging that the load of the system is more than or equal to default stream control lower limit in sub-step a1, and it is less than
Or equal to the default stream control upper limit, then can keep current log recording state.If current log recording state is to open
State is opened, then the log information sent each described functional module is sent to the log task message queue;If current
Log recording state be closed mode, then give up the log information that each described functional module is sent.
If it is closed mode that current log recording state is judged in sub-step a2, log recording can be kept
State is closed mode, and giving up the log information that each described functional module is sent, i.e. refusal will each functional module hair
The log information sent is sent into daily record task message queue.
If it is opening that current log recording state is judged in sub-step a4, log recording can be kept
State is opening, and the log information that each described functional module is sent is sent into daily record task message queue.
, can be when the load of system be very high by overall control mode(When being more than flow rate upper limit), stop to daily record
Task message queue sends log information, will send to the quantity of the log information of the log task message queue and be reduced to
Zero, so as to mitigate the burden of system.
2nd, Balance route mode
In the embodiment of the present invention, transmission to the daily record of the log task message queue is reduced using Balance route mode and disappeared
The step of quantity of breath, can specifically include following sub-step:
The token quantity of idle condition is in sub-step b1, acquisition system;
Token be it is a kind of can control node occupy the special frames of media, with distinguishes data frame and other control frames.Token
Method is also known as isarithmic, and the basic thought of token method is:One uniqueness is referred to as the flag information of token(One or more two enter
The code of system numeral composition)Another node is sent to from a node, the node for only obtaining token just has the right to send packet.
When a node is ready for sending packet, first have to wait the arrival of token, be sky when detecting his token of process
During the token of not busy state, you can to capture the token, and the state of the token is set to seizure condition, is then single with " frame "
Position sends information to destination node;After information is with token to destination node, destination node replicates information, and token, which continues to go in ring, to be returned
Sending node is returned to, at this moment transmitting station just discharges the token of capture, and token turns into idle condition again.If all tokens
It is seizure condition, now wishes that the node for sending information will wait the appearance of idle condition token.
Multiple tokens can also be included in the system where the system journal, the state of the token can include sky
Two kinds of not busy state and seizure condition., can be according to token to sending to the log task message queue in the embodiment of the present invention
The quantity of log information be controlled.It is possible, firstly, to the token quantity that idle condition is in the system be obtained, according to this
Token quantity is controlled.
It should be noted that before above-mentioned sub-step b1, can also whether there is in judgement system in idle condition
Token, if it is present perform sub-step b1, if it does not exist, then not processing temporarily(Temporarily cease to log task
Message queue sends log information), until performing sub-step b1 when there is the token in idle condition.
Sub-step b2, chooses the day with the token number in idle condition from the log information
Will message;
After the token quantity in idle condition in getting system, you can appoint according to the quantity of the token to daily record
Business message queue sends log information.It can specifically be chosen from the log information and the token number in idle condition
Measure the log information of identical quantity.
In one preferred embodiment of the invention, the log information can also be wrapped in addition to including log content
Include the transmission time of the log information, therefore can be according to the transmission time of the log information from described in the embodiment of the present invention
The log information with the token number in idle condition is chosen in log information.Therefore, sub-step b2
It can specifically include:Sequencing according to the transmission time is ranked up to the log information;From first after sequence
Individual log information starts, and chooses the log information with the token number in idle condition.
It is, of course, also possible to be chosen and the token number in idle condition from the log information using other information
The log information of identical quantity is measured, the embodiment of the present invention is not any limitation as to this.For example, it is also possible to disappear in advance for each daily record
Breath sets priority, and the corresponding priority of the log information can also be included in the log information, in this case, should
Sub-step b2 can specifically include:The log information is ranked up according to the sequence of the priority;After sequence
First log information start, choose and the log information of the token number in idle condition.
Sub-step b3, the log information of selection is sent to the log task message queue, by remaining log information
Cached.
The log information with the token number in idle condition is being chosen from the log information
Afterwards, you can send the log information of selection to the log task message team by the token in idle condition
Row, and remaining log information is cached.
It is successfully transmitted by the log information of selection by the token in idle condition to the log task message team
After row, the token shared by the log information will be discharged, i.e. token shared by the log information will be changed from seizure condition
For idle condition.For the remaining log information cached after sequence, it is successfully transmitted waiting to the day of daily record task message queue
The token that will message is discharged, is sent to daily record task message queue by the token in idle condition after being released.
Above-mentioned sub-step b1- sub-steps b3 can circulate execution, i.e., can be with return to step after sub-step b3 has been performed
The token quantity of idle condition is in b1 acquisition systems, can be from caching if now there is the token of idle condition
The log information of the token number of idle condition is chosen and is currently in log information(The selection process can join
According to above-mentioned sub-step b2), finally the log information of selection is sent to the daily record by the token in idle condition
Task message queue.
, can be when the load of system be higher by Balance route mode(When being more than default flow threshold), pass through
The token being reduced to being in idle condition in system will be sent to the quantity of the log information of the log task message queue
Quantity is identical, so as to ensure the equilibrium of log recording, mitigates the burden of system.
3rd, module control mode
In the embodiment of the present invention, transmission to the daily record of the log task message queue is reduced using module control mode and disappeared
The step of quantity of breath, can specifically include following sub-step:
Sub-step c1, counts the number of the log information that each described functional module is sent in the default unit interval respectively
Amount;
In the embodiment of the present invention, the quantity of the log information sent due to each functional module is unbalanced, therefore can be with
Controlled using module, such as more functional module of the log information only to transmission carries out stream control, without influenceing other functions
Module.
With the operation of system, the quantity for the log information that each functional module is sent will accumulate, therefore in the present invention
In embodiment, the quantity for the log information that each functional module in the statistical unit time is sent is disappeared to find transmission daily record
Frequency highest functional module is ceased, if the log information quantity that the functional module is sent within the unit interval is more than default number
Amount threshold value then gives up the log information of functional module transmission.For the concrete numerical value of the unit interval, people in the art
Member is adjusted setting according to specific system, and it is 10 minutes, 30 minutes, 1 hour that can for example set the unit interval
Etc., the embodiment of the present invention is not any limitation as to this.
It is possible, firstly, to count the number of the log information that each described functional module is sent in the default unit interval respectively
Amount.In one preferred embodiment of the invention, the log information can also include the functional module for sending the log information
Mark, therefore, sub-step c1 can specifically include:Counting respectively includes same functional module mark in the default unit interval
Log information quantity, the quantity is identified into the daily record that corresponding functional module sends as the same functional module and disappeared
The quantity of breath.
For example, the system includes 3 functional modules, it is respectively 1,2,3 that it, which is identified, then can count default respectively
Include mark 1, mark 2, the quantity of the log information of mark 3 in unit interval, the quantity of the log information including mark 1 is made
The quantity of the log information sent for functional module 1, the quantity of the log information including mark 2 is sent as functional module 2
Log information quantity, the number of log information that the quantity of the log information including mark 3 is sent as functional module 3
Amount, etc..
It should be noted that for the quantity of the log information that each functional module is sent in the statistical unit time, may be used also
To set a timer in the daily record quantity control module shown in Fig. 1, it can count pre- to time arrival since timing
If unit interval when, the quantity for the log information that each functional module is sent in this unit interval, for specific process,
The embodiment of the present invention is no longer discussed in detail herein.
Sub-step c2, if the quantity for the log information that some functional module is sent is more than default amount threshold, gives up
The log information that the functional module is sent, remaining log information is sent to the log task message queue.
In the embodiment of the present invention, an amount threshold can be pre-set, and by the default unit interval of above-mentioned statistics
The quantity for the log information that each interior functional module is sent is compared with the amount threshold respectively, if some functional module
The quantity of the log information of transmission is more than default amount threshold, then can illustrate the functional module within the default unit interval
The log information of transmission is more, and the log information of functional module transmission can be given up in that case, and by remaining day
Will message is sent to the log task message queue, and the remaining log information is the number of the log information of other transmissions
Amount is less than or equal to the log information that the functional module of default amount threshold is sent.Wherein, functional module transmission is given up
The step of log information, can specifically include:Give up the log information identified including the functional module.In said process, if deposited
The quantity of the log information sent in multiple functional modules within the default unit interval is more than default amount threshold, then can be with
Give up the log information that the plurality of functional module is sent.
In the embodiment of the present invention, sub-step c2 can also give up some or certain several functional modules using other modes
The log information of transmission.Sent for example, counting each described functional module in the default unit interval respectively in sub-step c1
Log information quantity after, the most one or several functions of the quantity of the log information of transmission can also be chosen therefrom
Module, and give up the log information that one or several functional modules are sent, then remaining log information is sent to described
Log task message queue.
For the concrete numerical value of above-mentioned amount threshold, and specifically give up the log information that several functional modules are sent, this
Art personnel carry out related setting according to practical experience, for example, can be entered according to the concrete condition of current system load
Row setting, if system loading is higher, amount threshold is set to relatively low value, and the number given up is set to more
Number, if system loading is relatively low, amount threshold is set to higher value, the number given up is set to less number,
Etc., the embodiment of the present invention is not any limitation as to this.
, can be when the load of system be higher by module control mode(When being more than default flow threshold), pass through
Give up the log information that some functional modules are sent, can reduce and send to the log information of the log task message queue
Quantity, so as to mitigate the burden of system.
4th, mode is finely controlled
In the embodiment of the present invention, transmission to the daily record of the log task message queue is reduced using precise controlling mode and disappeared
The step of quantity of breath, can specifically include following sub-step:
Sub-step d1, judges to whether there is in the log information that each described functional module is sent in the default unit interval
The log information repeated;
System may have the log information largely repeated according to business in the process of running, can be with according to system loading situation
Select to carry out stream control to the log information of this repetition.Each described functional module in the default unit interval is may determine that first
With the presence or absence of the log information repeated in the log information of transmission, if in the presence of execution sub-step d2, if being not present, does not make
Processing.
With the operation of system, there is the log information repeated in the log information that each functional module is sent
Than larger, therefore in embodiments of the present invention, judge in the log information that each functional module is sent in the default unit interval
It is to reduce the log information of repetition with the presence or absence of the log information repeated.Likewise, specific for the unit interval
Numerical value, those skilled in the art are adjusted setting according to specific system, and it is 10 that can for example set the unit interval
Minute, 30 minutes, 1 hour etc., the embodiment of the present invention is not any limitation as to this.
In one preferred embodiment of the invention, the log information can also include filename and line number, therefore, should
Sub-step d1 can specifically include:The log information bag that each described functional module is sent in the default unit interval is obtained respectively
The filename and line number included;Judge whether filename and the line number identical log information included;If in the presence of, it is determined that it is pre-
If unit interval in there is the log information repeated in the log information that sends of each described functional module, and determine what is included
Filename and line number identical log information are the log information repeated;If being not present, it is determined that institute in the default unit interval
State the log information for being not present and repeating in the log information of each functional module transmission.
It should be noted that in order to judge in the default unit interval in the log information of each functional module transmission
With the presence or absence of the log information repeated, a timer can also be set in the daily record quantity control module shown in Fig. 1, can be with
Judge when the default unit interval is reached to the time timing, the daily record that each functional module is sent in this unit interval
With the presence or absence of the log information repeated in message, for specific process, the embodiment of the present invention is no longer discussed in detail herein.
Sub-step d2, chooses one or more log informations from the log information of the repetition;
, can be from if there is the log information repeated in log information received within the default unit interval
One or more log informations are chosen in the log information of the repetition.Can be according to current system load in the embodiment of the present invention
Situation determine specifically choose several log informations.If for example, system loading is higher, less daily record can be chosen and disappeared
Breath, if system loading is relatively low, can choose more log information, those skilled in the art carry out phase according to actual conditions
Pass is handled, and the embodiment of the present invention is not any limitation as to this.
It is if choosing a log information, then any from the log information of the repetition to choose one, for example
Choose the log information of transmission time earliest.If choosing multiple log informations, then it can be entered using the method for filtering
Row is chosen, for example, can be ranked up first according to the priority of the time of transmission to the log information of the repetition;Then according to pre-
If number is grouped to the log information after sequence, for example, every 3 log informations can be divided into one group;Finally from every group
One log information of middle selection.Certainly, according to the actual conditions of system loading, daily record can also be carried out using other modes and disappeared
The selection of breath, the embodiment of the present invention is no longer discussed in detail herein.
Sub-step d3, gives up log information unselected in the log information of the repetition, and the daily record being selected is disappeared
Breath and the remaining log information not repeated are sent to the log task message queue.
After choosing one or more log informations from the log information of the repetition, you can by the daily record of the repetition
Unselected log information is given up in message, then sends out the log information being selected and the remaining log information without repetition
Deliver to the log task message queue.
, can be when the load of system be higher by finely controlling mode(When being more than default flow threshold), pass through
Give up the log information of some repetitions, can reduce and send to the quantity of the log information of the log task message queue, from
And mitigate the burden of system.
Step 305, the log information each received functional module sent is sent to the log task message
Queue.
If judging that the load of the system is less than or equal to default stream control threshold value in step 303, illustrate current
System loading can meet handle each functional module send log information demand, therefore temporarily can not to send extremely
The quantity of the log information of log task message queue is controlled, the day for directly sending each received functional module
Will message is sent to the log task message queue.
Log information is being sent to the log task message queue, can be by log task from message queue
Corresponding log information is read out, and is written in journal file.For specific processing procedure, the embodiment of the present invention is no longer detailed
It is thin to discuss.
In the embodiment of the present invention, mainly according to the load condition of system dynamically control the transmission of log information there is provided
Overall control, Balance route, module control, four kinds of control modes of precise controlling, not only ensure that the normal operation but also most of system
The reservation log recording function changed greatly, there is preferable flexibility and controllability, and various ways are available for system to be selected according to actual conditions
Machine is used.
For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but
It is that those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to the present invention, certain
A little steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, be retouched in specification
The embodiment stated belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.
Embodiment three:
Reference picture 4, shows a kind of structured flowchart of the control device of system journal of the embodiment of the present invention three, the system
Unite daily record where system include at least one functional module and log task message queue, described device specifically can include with
Lower module:
Receiving module 401, for receiving the log information that each functional module is sent in the system;
Monitoring module 402, the load condition for monitoring the system;
Module 403 is reduced, is more than default stream control threshold value for monitoring the load of the system when the monitoring module
When, reduction is sent to the quantity of the log information of the log task message queue.
In one preferred embodiment of the invention, the reduction module can include following submodule:
Overall control submodule, for being sent using overall control mode reduction to the day of the log task message queue
The quantity of will message;
And/or,
Balance route submodule, is sent to the day of the log task message queue for being reduced using Balance route mode
The quantity of will message;
And/or,
Module control submodule, is sent to the day of the log task message queue for being reduced using module control mode
The quantity of will message;
And/or,
Submodule is finely controlled, is sent for being reduced using precise controlling mode to the day of the log task message queue
The quantity of will message.
Wherein, the overall control submodule can include following subelement:
Comparing subunit, for the load of the system to be compared with the default stream control upper limit and stream control lower limit;
First judgment sub-unit, is more than default for the comparative result when the comparing subunit for the load of the system
The stream control upper limit when, judge current log recording state;
First modification subelement, for when the judged result of first judgment sub-unit is opening, being revised as
Closed mode, gives up the log information that each described functional module is sent;
Second judgment sub-unit, is less than default for the comparative result when the comparing subunit for the load of the system
Stream control lower limit when, judge current log recording state;
Second modification subelement, for when the judged result of second judgment sub-unit is closed mode, being revised as
Opening, the log information that each described functional module is sent is sent to the log task message queue.
The system can also also include multiple tokens, and the state of the token can include idle condition and take shape
State.The Balance route submodule can include following subelement:
Token obtains subelement, is in the token quantity of idle condition in the system for obtaining;
First chooses subelement, for being chosen and the token quantity phase in idle condition from the log information
With the log information of quantity;
First transmission sub-unit, for the log information of selection to be sent to the log task message queue;
Subelement is cached, for remaining log information to be cached.Wherein, the log information can also include hair
The time is sent, described first chooses subelement, specifically can be used for disappearing to the daily record according to the sequencing of the transmission time
Breath is ranked up;Since first log information after sequence, choose identical with the token quantity in idle condition
The log information of quantity.
In the embodiment of the present invention, the log information of selection is passed through into the token in idle condition in the first transmission sub-unit
It is successfully transmitted to the log task message queue, the token shared by the log information, the i.e. log information will be discharged
Shared token will be converted to idle condition from seizure condition.For the remaining log information cached after sequence, it will wait into
Work(sends the token discharged to the log information of daily record task message queue, by the token that idle condition is in after being released
Send to daily record task message queue.Therefore, in the embodiment of the present invention, the Balance route submodule can also be released including token
Put subelement, for the first transmission sub-unit by the log information of selection by the token in idle condition be successfully transmitted to
After the log task message queue, the token shared by the log information is discharged.
The module control submodule can include following subelement:
Subelement is counted, for counting the log information that each described functional module is sent in the default unit interval respectively
Quantity;
Second transmission sub-unit, for counting the log information that some functional module is sent when the statistics subelement
Quantity be more than default amount threshold when, give up the functional module transmission log information, by remaining log information send to
The log task message queue.
Wherein, the log information can also include the functional module mark for sending the log information.Statistics is single
Member, specifically can be used for the quantity for counting the log information identified in the default unit interval including same functional module respectively,
The quantity is identified to the quantity for the log information that corresponding functional module is sent as the same functional module;Described second
Transmission sub-unit, specifically can be used for giving up the log information identified including the functional module.
The precise controlling submodule can include following subelement:
Judgment sub-unit is repeated, the log information for judging each functional module transmission in the default unit interval
In with the presence or absence of repeat log information;
Second chooses subelement, in the presence of being in the judged result for repeating judgment sub-unit, from the repetition
Log information in choose one or more log informations;
Unselected log information in 3rd transmission sub-unit, the log information for giving up the repetition, will be selected
The log information and the remaining log information not repeated taken is sent to the log task message queue.
Wherein, the log information can also include filename and line number, described to repeat judgment sub-unit, can specifically use
The filename and line number included in the log information for obtaining each functional module transmission in the default unit interval respectively;Sentence
It is disconnected to whether there is the filename included and line number identical log information;If in the presence of, it is determined that it is described in the default unit interval
There is the log information repeated in the log information that each functional module is sent, and determine the filename that includes and line number identical
Log information is the log information repeated.
The load condition of system can be monitored in the embodiment of the present invention, each function mould in the system is received
After the log information that block is sent, if the load of current system is more than default stream control threshold value, transmission can be reduced to institute
State the quantity of the log information of log task message queue.Due to the quantity of the log information that reduces transmission, therefore it can keep away
Exempt from when the load of system is higher, substantial amounts of log information causes the load of system further to raise, consume more internal memory money
The problem of source.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
Between the difference of other embodiment, each embodiment identical similar part mutually referring to.
The present invention can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The present invention can also be put into practice in a distributed computing environment, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
Positioned at including in the local and remote computer-readable storage medium including storage device.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, commodity or equipment including a series of key elements not only include that
A little key elements, but also other key elements including being not expressly set out, or also include be this process, method, commodity or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there is other identical element in the process including the key element, method, commodity or equipment.
Above to the control method and device of a kind of system journal provided by the present invention, it is described in detail, herein
In apply specific case the principle and embodiment of the present invention be set forth, the explanation of above example is only intended to side
The method and its core concept of the assistant solution present invention;Simultaneously for those of ordinary skill in the art, the think of according to the present invention
Think, will change in specific embodiments and applications, in summary, this specification content should not be construed as pair
The limitation of the present invention.
Claims (16)
1. a kind of control method of system journal, it is characterised in that the system where the system journal includes at least one work(
Energy module and log task message queue, methods described include:
Receive the log information that each functional module is sent in the system;
Monitor the load condition of the system;
When the load of the system is more than default stream control threshold value, reduction is sent to the daily record of the log task message queue
The quantity of message;
Wherein, the step of reduction is sent to the quantity of the log information of the log task message queue includes:Using whole
The reduction of body control mode is sent to the quantity of the log information of the log task message queue;
It is described that the step of sending to the quantity of the log information of the log task message queue is reduced using overall control mode
Including:
The load of the system is compared with the default stream control upper limit and stream control lower limit;
If the load of the system is more than the default stream control upper limit, current log recording state is judged;
If opening, then closed mode is revised as, gives up the log information that each described functional module is sent;
If the load of the system is less than default stream control lower limit, current log recording state is judged;
If closed mode, then opening is revised as, the log information that each described functional module is sent is sent to described
Log task message queue.
2. according to the method described in claim 1, it is characterised in that the reduction is sent to the log task message queue
The step of quantity of log information, also includes:
Reduced and sent to the quantity of the log information of the log task message queue using Balance route mode;
And/or,
Reduced and sent to the quantity of the log information of the log task message queue using module control mode;
And/or,
Reduced and sent to the quantity of the log information of the log task message queue using precise controlling mode.
3. method according to claim 2, it is characterised in that the system also includes multiple tokens, the shape of the token
State includes idle condition and seizure condition, and the use Balance route mode reduces transmission to the log task message queue
The step of quantity of log information, includes:
Obtain the token quantity that idle condition is in the system;
The log information with the token number in idle condition is chosen from the log information;
The log information of selection is sent to the log task message queue, remaining log information is cached.
4. method according to claim 3, it is characterised in that the log information includes the transmission time,
It is described to be chosen from the log information and the log information of the token number in idle condition
Step includes:
Sequencing according to the transmission time is ranked up to the log information;
Since first log information after sequence, the day with the token number in idle condition is chosen
Will message.
5. method according to claim 2, it is characterised in that the use module control mode reduction was sent to the day
The step of quantity of the log information of will task message queue, includes:
The quantity of the log information that each described functional module is sent in the default unit interval is counted respectively;
If the quantity for the log information that some functional module is sent is more than default amount threshold, give up functional module transmission
Log information, remaining log information is sent to the log task message queue.
6. method according to claim 5, it is characterised in that the log information includes the function of sending the log information
Module id,
It is described count in the default unit interval log information that each described functional module is sent respectively quantity the step of wrap
Include:
The quantity of the log information identified in the default unit interval including same functional module is counted respectively, and the quantity is made
The quantity for the log information that corresponding functional module is sent is identified for the same functional module;
It is described give up the functional module transmission log information the step of include:
Give up the log information identified including the functional module.
7. method according to claim 2, it is characterised in that the use precise controlling mode reduces transmission to the day
The step of quantity of the log information of will task message queue, includes:
Judge with the presence or absence of the daily record repeated to disappear in the log information that each described functional module is sent in the default unit interval
Breath;
If in the presence of choosing one or more log informations from the log information of the repetition;
Give up log information unselected in the log information of the repetition, by the log information being selected and remaining no weight
Multiple log information is sent to the log task message queue.
8. method according to claim 7, it is characterised in that the log information includes filename and line number,
It is described to judge in the log information that each described functional module is sent in the default unit interval with the presence or absence of the day repeated
The step of will message, includes:
Filename and line number that the log information that each described functional module is sent in the default unit interval includes are obtained respectively;
Judge whether filename and the line number identical log information included;
If in the presence of, it is determined that there is the day repeated in the log information that each described functional module is sent in the default unit interval
Will message, and determine the filename included and the log information that line number identical log information is repetition.
9. a kind of control device of system journal, it is characterised in that the system where the system journal includes at least one work(
Energy module and log task message queue, described device include:
Receiving module, for receiving the log information that each functional module is sent in the system;
Monitoring module, the load condition for monitoring the system;
Module is reduced, when being more than default stream control threshold value for monitoring the load of the system when the monitoring module, reduction
Send to the quantity of the log information of the log task message queue;
Wherein, the reduction module includes:
Overall control submodule, is disappeared for being sent using overall control mode reduction to the daily record of the log task message queue
The quantity of breath;
The overall control submodule includes:
Comparing subunit, for the load of the system to be compared with the default stream control upper limit and stream control lower limit;
First judgment sub-unit, is more than default stream for the comparative result when the comparing subunit for the load of the system
When controlling the upper limit, current log recording state is judged;
First modification subelement, for when the judged result of first judgment sub-unit is opening, being revised as closing
State, gives up the log information that each described functional module is sent;
Second judgment sub-unit, is less than default stream for the comparative result when the comparing subunit for the load of the system
When controlling lower limit, current log recording state is judged;
Second modification subelement, for when the judged result of second judgment sub-unit is closed mode, being revised as opening
State, the log information that each described functional module is sent is sent to the log task message queue.
10. device according to claim 9, it is characterised in that the reduction module also includes:
Balance route submodule, disappears for reducing to send to the daily record of the log task message queue using Balance route mode
The quantity of breath;
And/or,
Module control submodule, disappears for reducing to send to the daily record of the log task message queue using module control mode
The quantity of breath;
And/or,
Submodule is finely controlled, is disappeared for reducing to send to the daily record of the log task message queue using precise controlling mode
The quantity of breath.
11. device according to claim 10, it is characterised in that the system also includes multiple tokens, the token
State includes idle condition and seizure condition,
The Balance route submodule includes:
Token obtains subelement, is in the token quantity of idle condition in the system for obtaining;
First chooses subelement, for choosing number identical with the token quantity in idle condition from the log information
The log information of amount;
First transmission sub-unit, for the log information of selection to be sent to the log task message queue;
Subelement is cached, for remaining log information to be cached.
12. device according to claim 11, it is characterised in that the log information includes the transmission time,
Described first chooses subelement, and the log information is arranged specifically for the sequencing according to the transmission time
Sequence;Since first log information after sequence, the day with the token number in idle condition is chosen
Will message.
13. device according to claim 10, it is characterised in that the module control submodule includes:
Subelement is counted, the number for counting the log information that each described functional module is sent in the default unit interval respectively
Amount;
Second transmission sub-unit, the quantity of the log information for counting the transmission of some functional module when the statistics subelement
During more than default amount threshold, give up the log information of functional module transmission, remaining log information is sent to described
Log task message queue.
14. device according to claim 13, it is characterised in that the log information includes sending the work(of the log information
Energy module id,
The statistics subelement, includes the daily record that same functional module is identified specifically for counting respectively in the default unit interval
The quantity of message, the quantity is identified as the same functional module number for the log information that corresponding functional module is sent
Amount;
Second transmission sub-unit, specifically for giving up the log information identified including the functional module.
15. device according to claim 10, it is characterised in that the precise controlling submodule includes:
Judgment sub-unit is repeated, is in the log information that each described functional module is sent for judging in the default unit interval
It is no to there is the log information repeated;
Second chooses subelement, in the presence of being in the judged result for repeating judgment sub-unit, from the day of the repetition
One or more log informations are chosen in will message;
Unselected log information in 3rd transmission sub-unit, the log information for giving up the repetition, by what is be selected
Log information and the remaining log information not repeated are sent to the log task message queue.
16. device according to claim 15, it is characterised in that the log information includes filename and line number,
It is described to repeat judgment sub-unit, sent specifically for obtaining each described functional module in the default unit interval respectively
Filename and line number that log information includes;Judge whether filename and the line number identical log information included;If depositing
, it is determined that there is the log information repeated in the log information that each described functional module is sent in the default unit interval,
And determine the filename included and the log information that line number identical log information is repetition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410053917.8A CN103838659B (en) | 2014-02-17 | 2014-02-17 | The control method and device of a kind of system journal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410053917.8A CN103838659B (en) | 2014-02-17 | 2014-02-17 | The control method and device of a kind of system journal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103838659A CN103838659A (en) | 2014-06-04 |
CN103838659B true CN103838659B (en) | 2017-09-01 |
Family
ID=50802185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410053917.8A Active CN103838659B (en) | 2014-02-17 | 2014-02-17 | The control method and device of a kind of system journal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103838659B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104243587A (en) * | 2014-09-18 | 2014-12-24 | 苏州阔地网络科技有限公司 | Load balancing method and system for message servers |
CN105159657B (en) * | 2015-06-12 | 2019-03-08 | 北京京东尚科信息技术有限公司 | Handle the method and system of message |
CN107135088B (en) * | 2016-02-29 | 2020-09-11 | 华为技术有限公司 | Method and device for processing logs in cloud computing system |
CN108694107B (en) * | 2017-04-10 | 2022-01-07 | 北京京东尚科信息技术有限公司 | Message queue backlog monitoring method and device, readable medium and electronic equipment |
CN108984362A (en) * | 2017-05-31 | 2018-12-11 | 北京京东尚科信息技术有限公司 | Log collection method and device, storage medium, electronic equipment |
CN108471387B (en) * | 2018-03-27 | 2022-10-21 | 中国农业银行股份有限公司 | Log flow decentralized control method and system |
CN108897663B (en) * | 2018-06-19 | 2022-08-26 | 新华三技术有限公司 | Log output control method and device |
CN109298990B (en) * | 2018-10-17 | 2023-04-14 | 平安科技(深圳)有限公司 | Log storage method and device, computer equipment and storage medium |
CN109656784A (en) * | 2018-12-25 | 2019-04-19 | 新华三技术有限公司 | A kind of log processing method and device |
CN110191090B (en) * | 2019-04-25 | 2022-03-18 | 平安科技(深圳)有限公司 | Single sign-on verification method and device, computer equipment and storage medium |
CN113312231A (en) * | 2020-06-29 | 2021-08-27 | 阿里巴巴集团控股有限公司 | Data processing method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859270A (en) * | 2010-04-19 | 2010-10-13 | 上海华为技术有限公司 | Blog management method, system, master control board and local single-board |
CN102208994A (en) * | 2010-03-31 | 2011-10-05 | 株式会社理光 | Log management system, and transmission system, and log management method |
CN103226447A (en) * | 2012-01-27 | 2013-07-31 | 富士通株式会社 | Control system and log delivery method |
CN103312544A (en) * | 2013-06-14 | 2013-09-18 | 青岛海信传媒网络技术有限公司 | Method, equipment and system for controlling terminals during log file reporting |
CN103309792A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Method and system for controlling log information |
CN103348332A (en) * | 2011-02-09 | 2013-10-09 | 三菱电机株式会社 | Log recording apparatus |
CN103559120A (en) * | 2013-11-13 | 2014-02-05 | 北京网秦天下科技有限公司 | Log recording method and server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5201415B2 (en) * | 2009-03-05 | 2013-06-05 | 富士通株式会社 | Log information issuing device, log information issuing method and program |
US8483234B2 (en) * | 2011-02-17 | 2013-07-09 | Alcatel Lucent | Monitoring resource congestion in a network processor |
-
2014
- 2014-02-17 CN CN201410053917.8A patent/CN103838659B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102208994A (en) * | 2010-03-31 | 2011-10-05 | 株式会社理光 | Log management system, and transmission system, and log management method |
CN101859270A (en) * | 2010-04-19 | 2010-10-13 | 上海华为技术有限公司 | Blog management method, system, master control board and local single-board |
CN103348332A (en) * | 2011-02-09 | 2013-10-09 | 三菱电机株式会社 | Log recording apparatus |
CN103226447A (en) * | 2012-01-27 | 2013-07-31 | 富士通株式会社 | Control system and log delivery method |
CN103309792A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Method and system for controlling log information |
CN103312544A (en) * | 2013-06-14 | 2013-09-18 | 青岛海信传媒网络技术有限公司 | Method, equipment and system for controlling terminals during log file reporting |
CN103559120A (en) * | 2013-11-13 | 2014-02-05 | 北京网秦天下科技有限公司 | Log recording method and server |
Also Published As
Publication number | Publication date |
---|---|
CN103838659A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838659B (en) | The control method and device of a kind of system journal | |
CN103530189B (en) | It is a kind of towards the automatic telescopic of stream data and the method and device of migration | |
CN104580396B (en) | A kind of method for scheduling task, node and system | |
US6820042B1 (en) | Mixed mode network simulator | |
CN105024942B (en) | A kind of dynamic flow monitoring method | |
CN106506393A (en) | A kind of data flow processing method, device and system | |
CN104885420B (en) | Method, system and medium for managing multiple packets | |
CN109819057A (en) | A kind of load-balancing method and system | |
CN104579862B (en) | Data communication network for aircraft | |
CN106648904A (en) | Self-adaptive rate control method for stream data processing | |
CN101800703B (en) | Flow control method and device of AFDX (Avionics Full Duplex Switched Ethernet) switch | |
CN103109285A (en) | Mechanism for autotuning mass data transfer from a sender to a receiver over parallel connections | |
CN103685053B (en) | Network processor load balancing and scheduling method based on residual task processing time compensation | |
CN102971997B (en) | The packet buffer of segmentation is described including data sectional and data | |
CN107222358A (en) | Wrap flux monitoring method per second and device | |
CN107168802A (en) | The merging method and device of a kind of cloud storage small file | |
WO2016197458A1 (en) | Traffic control method and apparatus | |
CN103701721B (en) | Message transmitting method and device | |
CN103617132B (en) | A kind of ethernet terminal based on shared storage sends implementation method and terminal installation | |
CN106411741B (en) | Medium access control MAC address learning method, controller and switching equipment | |
CN110020046A (en) | A kind of data grab method and device | |
Fiems et al. | Analysis of a discrete-time queueing system with timed vacations | |
Xie et al. | Robust time-sensitive networking with delay bound analyses | |
CN117834552A (en) | Communication queue scheduling optimization method, device, equipment and medium | |
US20010008530A1 (en) | Shaper and scheduling method for use in the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |