CN108650123A - Fault message recording method, device, equipment and storage medium - Google Patents
Fault message recording method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN108650123A CN108650123A CN201810434527.3A CN201810434527A CN108650123A CN 108650123 A CN108650123 A CN 108650123A CN 201810434527 A CN201810434527 A CN 201810434527A CN 108650123 A CN108650123 A CN 108650123A
- Authority
- CN
- China
- Prior art keywords
- implementing result
- node
- present node
- fault message
- operation system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
Abstract
The invention discloses a kind of fault message recording methods, include the following steps:In the operation system operational process, the implementing result that node is currently run in the operation system is obtained;Judge whether the implementing result of present node meets corresponding tracking condition, each node is provided with corresponding tracking condition in the operation system;If the implementing result of present node meets corresponding tracking condition, judge that present node breaks down, and records the implementing result of present node.The invention also discloses a kind of fault message recording device, equipment and computer readable storage mediums.The present invention can find corresponding information in solicited message record storehouse and facilitate case study and statistics so as to quickly be positioned when system breaks down.
Description
Technical field
The present invention relates to field of communication security more particularly to a kind of fault message recording method, device, equipment and storage to be situated between
Matter.
Background technology
With the development of internet, the information interaction amount between various businesses system is increasing, in order to ensure High Availabitity and
High-performance, server product is when being related to concrete application, either in trace test or practical application, is required for pair
Performance data is acquired analysis, to be monitored to whole system operation conditions, pinpoints the problems as early as possible.Especially in system
Application performance declines, and when going wrong, is acquired with greater need for performance data, where finding problem, solves to ask
Topic.
Many systems can carry out track and localization by work log to system at present, to conveniently see that system works
Process and particular problem point is being navigated to when something goes wrong, but for the more complicated system of some process flows, passing through
Work log is difficult to navigate to specific problem, needs technical staff to run the node of codelookup problem sentence by sentence at this time, leads
Cause the consuming time longer.
Invention content
The main purpose of the present invention is to provide a kind of fault message recording method, device, equipment and storage mediums, it is intended to
The technical issues of quickly navigating to malfunctioning node cannot be met by solving current work log.
To achieve the above object, the present invention provides a kind of fault message recording method, the fault message recording method packet
Include following steps:
In operation system operational process, the implementing result that node is currently run in the operation system is obtained;
Judge whether the implementing result of the present node meets corresponding tracking condition, it is each in the operation system
Node is provided with corresponding tracking condition;
If the implementing result of the present node meets the corresponding tracking condition, judge that event occurs for present node
Barrier, and record the implementing result of present node.
Preferably, it breaks down in judgement present node, and after recording the implementing result of present node, further includes:
When breaking down, the page where being occurred according to current failure or functional information search holding for the node that breaks down
Row result;
Fault location is carried out according to the implementing result and the preset function table of comparisons found..
Preferably, after carrying out fault location according to the implementing result found and the preset function table of comparisons, also
Including:
According to the fail result that fault location obtains, statistic of classification is carried out;
The result of statistic of classification in preset time period is analyzed, with determination fault frequency of all categories, and in event
When hindering occurrence number more than preset times, corresponding prompt message is sent to corresponding technical staff.
Preferably,
It is described in the operation system operational process, obtain the execution knot that node is currently run in the operation system
Fruit, including:
In the operation system operational process, obtains in business unit and public running unit and currently execute holding for node
Row result, wherein the operation system includes the common unit and the business unit, and the business unit receives user behaviour
Instruct, and call the common unit to execute corresponding function according to user operation instruction, it is described in the common unit and
Corresponding tracking condition is respectively set in each node in business unit.
Preferably, whether the implementing result for judging present node meets corresponding tracking condition, including:
Step a, the on off state for obtaining present node, judges whether the on off state is out, if current switch is to open,
It thens follow the steps:The implementing result for recording present node, otherwise enters step b;
Step b, judge whether that degradation is handled according to the implementing result of present node, if system carries out degradation processing, hold
Row step:The implementing result for recording present node, otherwise enters step c;
Step c, judge whether user agent's information is correct in the user operation instruction, to the operation if correct
Instruction is encrypted, then enters step d, no to then follow the steps:Record the implementing result of present node;
Step d, judge whether to control by IP blacklists according to username information in the user operation instruction, if passing through
The control of IP blacklists then enters step e, no to then follow the steps:Record the implementing result of present node;
Step e, judge whether the access frequency of the access equipment is big according to access equipment in the user operation instruction
The implementing result of present node is recorded if equipment access frequency is more than predeterminated frequency in predeterminated frequency, it is no to then follow the steps:Into
Enter step f;
Step f, according to the user's operation apply platform release judge whether the platform release passes through, by then into
Enter step g, it is no to then follow the steps:Record the implementing result of present node;
Step g, judged to log in state verification according to login status in the user operation instruction, if logging in state and being verified
Specific business is carried out, it is no to then follow the steps:Record the implementing result of present node.
Preferably, the implementing result according to present node judges whether that degradation is handled, if system degrades, holds
Row step:The implementing result of present node is recorded, including:
If the implementing result of present node indicates, beyond default visit capacity, to judge that the operation system carries out at degradation
Reason, records the implementing result of present node.
Preferably, the implementing result according to present node judges whether that degradation is handled, if system degrades, holds
Row step:Record present node implementing result include:
If the implementing result expression of present node is not responding to, the response time is more than preset time or response results can not
With then judging that the operation system carries out degradation processing, record the implementing result of present node.
In addition, to achieve the above object, the present invention also provides a kind of fault message recording devices, including:
Acquisition module, in the operation system operational process, obtaining in the operation system and currently running node
Implementing result;
Judgment module, for judging whether the implementing result of present node meets corresponding tracking condition, in the business
Each node is provided with corresponding tracking condition in system;
Logging modle judges that present node is sent out if the implementing result for present node meets corresponding tracking condition
Raw failure, and record the implementing result of present node.
In addition, to achieve the above object, the present invention also provides a kind of fault message recording equipment, the fault message record
Equipment includes:The fault message note that memory, processor and being stored in can be run on the memory and on the processor
The step of record program, the fault message logging program realizes method as described above when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of computer readable storage mediums, which is characterized in that institute
It states and is stored with fault message logging program on computer readable storage medium, the fault message logging program is executed by processor
The step of Shi Shixian fault message recording methods as described above.
In the present invention, being can be by recording fault message method quick positioning question, analysis and statistical problem, in business
Setting tracking node mode in each bottom layer node needed for system operation, by currently running node in operation system
Tracking condition is set, and when implementing result meets tracking condition, then illustrate current operation node executes failure, at this time can
Corresponding record has tracked information, every tracked information to be associated with corresponding node.Thus during user's use, if
It breaks down, then can quickly be positioned according to the implementing result of record.
Description of the drawings
Fig. 1 is the terminal structure signal for the fault message recording device hardware running environment that the embodiment of the present invention is related to
Figure;
Fig. 2 is the flow diagram of fault message recording method first embodiment of the present invention;
Fig. 3 is the flow diagram of fault message recording method second embodiment of the present invention;
Fig. 4 is the flow diagram of fault message recording method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, the implementation below in conjunction with attached drawing to the present invention
Mode is described in further detail.
As shown in Figure 1, the fault message recording device device hardware running environment that Fig. 1, which is the embodiment of the present invention, to be related to
Structural schematic diagram.
Fault message of embodiment of the present invention recording equipment can be the equipment such as PC hosts, server, can also be other classes
The electric terminal equipment of type.
As shown in Figure 1, the fault message recording equipment may include:Processor 1001, such as CPU, communication bus 1002,
User interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing between these components
Connection communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional
User interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally standard
Wireline interface, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be stable
Memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned
The storage device of processor 1001.
It will be understood by those skilled in the art that the hardware configuration of fault message recording equipment shown in Fig. 1 is not constituted
Restriction to fault message recording equipment, may include than illustrating more or fewer components, either combine certain components or
Different component arrangements.
As shown in Figure 1, as may include operating system, net in a kind of memory 1005 of computer readable storage medium
Network communication module, Subscriber Interface Module SIM and fault message logging program.Wherein, operating system is management and control fault message
The program of recording equipment and software resource, support network communication module, Subscriber Interface Module SIM, fault message logging program and its
The operation of his program or software;Network communication module is for managing and controlling network interface 1002;Subscriber Interface Module SIM is for managing
Reason and control user interface 1003.
In fault message recording equipment hardware configuration shown in Fig. 1, after network interface 1004 is mainly used for connection system
Platform, with system background into row data communication;User interface 1003 is mainly used for connecting client (user terminal), is carried out with client
Data communicate;Fault message recording equipment calls the fault message stored in memory 1005 to record journey by processor 1001
Sequence, and execute following operation:
In the operation system operational process, the implementing result that node is currently run in the operation system is obtained;
Judge whether the implementing result of present node meets corresponding tracking condition, each node in the operation system
It is provided with corresponding tracking condition;
If the implementing result of present node meets corresponding tracking condition, judge that present node breaks down, and record
The implementing result of present node.
Further, processor 1001 can call the fault message logging program stored in memory 1005, also execute
It operates below:
The page where being occurred according to current failure or functional information search the implementing result for the node that breaks down;
Fault location is carried out according to the implementing result and the preset function table of comparisons found.
Further, processor 1001 can call the fault message logging program stored in memory 1005, also execute
It operates below:
According to the fail result that fault location obtains, statistic of classification is carried out;
The result of statistic of classification in preset time period is analyzed, with determination fault frequency of all categories, and in event
When hindering occurrence number more than preset times, corresponding prompt message is sent to corresponding technical staff.
Further, processor 1001 can call the fault message logging program stored in memory 1005, also execute
It operates below:
In the operation system operational process, obtains in business unit and public running unit and currently execute holding for node
Row result, wherein the operation system includes the common unit and the business unit, and the business unit receives user behaviour
Instruct, and call the common unit to execute corresponding function according to user operation instruction, it is described in the common unit and
Corresponding tracking condition is respectively set in each node in business unit.
Further, processor 1001 can call the fault message logging program stored in memory 1005, also execute
It operates below:
Step a, the on off state for obtaining present node, judges whether the on off state is out, if current switch is to open,
It thens follow the steps:The implementing result for recording present node, otherwise enters step b;
Step b, judge whether that degradation is handled according to the implementing result of present node, if system carries out degradation processing, hold
Row step:The implementing result for recording present node, otherwise enters step c;
Step c, judge whether user agent's information is correct in the user operation instruction, to the operation if correct
Instruction is encrypted, then enters step d, no to then follow the steps:Record the implementing result of present node;
Step d, judge whether to control by IP blacklists according to username information in the user operation instruction, if passing through
The control of IP blacklists then enters step e, no to then follow the steps:Record the implementing result of present node;
Step e, judge whether the access frequency of the access equipment is big according to access equipment in the user operation instruction
The implementing result of present node is recorded if equipment access frequency is more than predeterminated frequency in predeterminated frequency, it is no to then follow the steps:Into
Enter step f;
Step f, according to the user's operation apply platform release judge whether the platform release passes through, by then into
Enter step g, it is no to then follow the steps:Record the implementing result of present node;
Step g, judged to log in state verification according to login status in the user operation instruction, if logging in state and being verified
Specific business is carried out, it is no to then follow the steps:Record the implementing result of present node.
Further, processor 1001 can call the fault message logging program stored in memory 1005, also execute
It operates below:
If the implementing result of present node indicates, beyond default visit capacity, to judge that the operation system carries out at degradation
Reason, records the implementing result of present node.
Further, processor 1001 can call the fault message logging program stored in memory 1005, also execute
It operates below:
If the implementing result expression of present node is not responding to, the response time is more than preset time or response results can not
With then judging that the operation system carries out degradation processing, record the implementing result of present node.
Based on above-mentioned hardware configuration, each embodiment of fault message recording method of the present invention is proposed.
It is the flow diagram of fault message recording method first embodiment of the present invention with reference to Fig. 2, Fig. 2.
In the present embodiment, include the following steps when stating fault message recording method:
Step S10 obtains the execution that node is currently run in the operation system in the operation system operational process
As a result.
In the present embodiment, which can be applied to provide online product or service etc.
In many operation systems such as financing, medical treatment, health, amusement, social activity, e-commerce, transaction processing system may include:Front end
And server.The present invention can be applied in front end and/or server, as an implementation:The present invention is applied in front ends
In server, at this time when business occurs, front end and server can all execute corresponding functional node, for example front end is user
Operation is provided, and user information is verified, the data corresponding with server progress communication request after being verified, simultaneously
Equipment of the content displaying of server feedback to user;Server receives and handles the behaviour of front end side then to store data
Make to ask and execute corresponding function, while forward end feeds back corresponding execution data.As another embodiment:It can be by this
Invention applies in front end either server at this time that difference lies in institutes is functional in front end or server with a upper embodiment
Middle execution, such as the authentication function of log-on message execute in front end/server.
Can to be able to record corresponding information in system jam or problem, quickly being positioned, the present invention
Each functional node is embedded with corresponding tracking condition in operation system, when which is system jam/problem
Corresponding tracking condition.
The present invention by for the fault message recording method for providing terminal traffic function in field by finance product or service,
And illustrated in conjunction with operation system, front end can device as shown in Figure 1 in the present invention.
The operation requests can be:User sends request operational order;The relevant information includes at least:Be triggered behaviour
The address information for making the function or business asked, such as URL (uniform resource locator) information.
The present embodiment is in operation system operation, and as a kind of embodiment, user can trigger industry by headend equipment
Business request, for example access residence e and borrow interface, which is sent to server by the service request of front end receiver user, is serviced
Device can execute corresponding functional node and be obtained when executing corresponding functional node every time successively when receiving the service request
Obtain the implementing result for currently executing node.
Wherein, the functional node executed successively can include but is not limited to:Whether on off state, the control that degrades, verification lead to
It crosses, on off state specifically refers to the content according to user's current operation page, is looked into from database by uniform resource identifier URL
Look for corresponding switching information;System degradation specifically refers to ensure a kind of available mode of current service;Verification whether by
Refer to user uses during service operation user name, system version, platform release etc. whether with server in operation system
It is identical.
Step S20, judges whether the implementing result of the present node meets corresponding tracking condition;
In the present embodiment, each functional node in the process of running, will produce corresponding implementing result, such as execution day
Then will is being pre-set according to the implementing result of the step S10 present node operations obtained in operation system implementation procedure
All tracking conditions in search the tracking condition of the node, according to the current operation tracking condition of node and holding for present node
Row result is judged, judges whether the implementing result meets corresponding tracking condition.
Wherein, searched in pre-set all tracking conditions the tracking condition of the node process can with specifically,
Each functional node setting mark is given in advance, is then associated with corresponding tracking condition using mark, in process of service execution, then
It can be searched in pre-set all tracking conditions according to the current mark for executing node.Can certainly directly by
Implementing result and all tracking conditions are searched.
Step S30 judges present node if the implementing result of the present node meets the corresponding tracking condition
It breaks down, and records the implementing result of present node.
In operation flow operational process, the current node that executes can be executed normally, according to the judgement knot obtained in step S20
Fruit, if it is judged that it is normal for the current node that executes, then next step can be carried out, implementing result is not recorded;If sentenced
Disconnected result is that present node breaks down/problem, then records the implementing result.
Further, in this embodiment an information record storehouse can be arranged, the implementing result of record is stored.
In the present invention, being can be by recording fault message method quick positioning question, analysis and statistical problem, in business
Setting tracking node mode in each bottom layer node needed for system operation, by currently running node in operation system
Setting tracking condition can then be recorded when implementing result meets tracking condition, for example executed in the step of some node and mistake occur
Mistake, then can corresponding record there is tracked information, every tracked information to be associated with corresponding node.To be used in user
Cheng Zhong then can quickly be positioned if there is failure according to the implementing result of record.
Refering to Fig. 3, Fig. 3 is the flow diagram of fault message recording method second embodiment of the present invention.
Based on fault message recording method first embodiment of the present invention, the fault message recording method further includes:
Step S40, the page where being occurred according to current failure or functional information search the execution knot for the node that breaks down
Fruit;
Step S50 carries out fault location according to the implementing result and the preset function table of comparisons found.
In order to quickly be positioned in the present embodiment, it is previously provided with function contrast, which includes every
A functional node may break down in the process of implementation/problem when, generated implementing result.
In the present embodiment, when executing nodes break down, the time that failure occurs is recorded, it can basis in the present embodiment
The time broken down is searched in the execution information of record, is found identical as time of failure or most close
Implementing result, at this time in implementing result also include record time, then the implementing result found is compareed with preset function
Table is matched, to carry out fault location.
Certainly it can also can not also record the time of failure generation when executing nodes break down, occur at this time
When failure, then the implementing result of state-of-the-art record is searched in the execution information of record, as the implementing result of current failure, then
The implementing result found is matched with the preset function table of comparisons, to carry out fault location.
Further, the fault message recording method further includes:
Step S60 carries out statistic of classification according to the fail result that fault location obtains;
Step S70 analyzes the result of statistic of classification in preset time period, goes out occurrence with determination failure of all categories
Number, and when fault frequency is more than preset times, corresponding prompt message is sent to corresponding technical staff.
After fault location, the corresponding fail result of each record information is determined according to fault location, and pre-set
Statistics strategy, carry out statistic of classification, such as according to the numerical value for the result that breaks down in one week carry out fault type classification unite
Meter, fault type can include but is not limited to:Mechanical disorder, software fault and the system failure, wherein software fault may include
But be not limited to system logic mistake, validation failure etc..The statistics strategy can according to demand be set by user.
Further, when system breaks down, some problems are incidents, some problems, which are that technology is not perfect, to be caused,
Accurately to understand the state of system operation, after the completion of statistic of classification, statistic of classification result is analyzed, determines all kinds of events
Hinder the number occurred, when occurrence number is more than the failure of preset times in preset time, generates prompt message, issue corresponding
Technical staff, so that technical staff is improved.For example the quantitative value to break down is preset as being greater than or equal to 20 times.When event
When hindering occurrence number more than preset times, system sends prompting message current page and can not show, and prompts corresponding technology people
The location information that member currently breaks down carries out fault restoration.
The speed of fault location reflects the efficient of system service, and system service is in good condition, for user use and
System suffers from very important meaning.
Refering to Fig. 4, Fig. 4 is the flow diagram of fault message recording method 3rd embodiment of the present invention.
Based on fault message recording method first embodiment of the present invention, generated for the ease of collection system in the present embodiment
Fault message, and multiple function system overlapping development with same basic are reduced, by same basic function in the present embodiment
It is set as common unit, multiple operation systems at runtime, can be used with copy function code, or be called public
The unit group carries out basic verification, and specifically, the operation system includes:Common unit and business unit, the business
Unit is handled for receiving user operation instruction according to user operation instruction, to call the common unit execution pair
Corresponding tracking condition is respectively set in the function of answering, each node in the common unit and business unit;
Correspondingly, step S10 is then replaced with:Step S11 obtains the business in the operation system operational process
The implementing result of node is currently executed in unit and the public running unit.
In the present embodiment, each functional node is embedded with corresponding tracking in business unit and public running unit respectively
Condition, wherein the function point of public running unit then can include but is not limited to:Obtain on off state, whether system degradation control
Correctly whether system, user agent's information, anti-hacking, IP blacklists control, equipment access frequency controls, platform release equipment
The verification such as mark and login state verification etc..
Specifically, judge whether the implementing result of present node meets corresponding tracking condition, including:Step a, it obtains and works as
The on off state of front nodal point, judges whether the on off state is out, if current switch is to open, thens follow the steps:Record is current
The implementing result of node, otherwise enters step b;
It when receiving user's request, is asked according to user, determines the object of user's operation, for example accessed i and borrow webpage,
After determining user's operation object, the corresponding on off state of the object is obtained, the switching information of all objects is united in the present embodiment
One storage is managed collectively in the database, has switching function to avoid object is assigned in the process of development in the prior art
When the case where being required for individually writing function code pass through uniform resource identifier URL when obtaining the corresponding on off state of the object
Corresponding switching information is searched from database, if corresponding functional switch is to open, judges the implementing result of present node
Meet preset condition, implementing result is to access to fail, and executes the implementing result of step record present node at this time;If corresponding
Functional switch is to close, then judges that the implementing result of present node does not meet preset condition, enter step b.
Step b, judge whether that degradation is handled according to the implementing result of present node, if system carries out degradation processing, hold
Row step:The implementing result for recording present node, otherwise enters step c;
After by step a, judge whether that degradation is handled according to the implementing result of present node, wherein system degradation is to protect
A kind of available means of current service are demonstrate,proved, such as when same time number of request is more for a service, then system can be caused to go out
Existing problem or service are slack-off, that is, accessing concurrency system if having surpassed a threshold values will be not responding to what user asked or responded
It is very slow, for actual demand, generally require be more than using a variety of different judgements according to different business interface requests
The mode of threshold value and current limliting, and degradation processing is carried out to the flow beyond threshold value, so that service is kept available.If detecting execution
As a result indicate that system carries out degradation processing, thens follow the steps:The implementing result for recording present node, otherwise enters step c.
Specifically, step b may include:
Judge that scanning for operation system degrades if the implementing result of present node indicates beyond default visit capacity
Processing, records the implementing result of present node.
In this step, presets visit capacity and be specifically used for the number that reflection user asks access, conveniently recognize that user accesses
System whether by malicious attack, network busy.
If the implementing result of present node indicates that current accessed amount is more than preset access thresholds, can be to system administration
End sends a warning message, and carries out degradation processing, and records the implementing result of present node, if without departing from default visit capacity, holds
Row step:It returns the result available.
Further step b can also include:
If the implementing result expression of present node is not responding to, the response time is more than preset time or response results can not
With then judging that the operation system carries out degradation processing, record the implementing result of present node.
Specifically, the response time in implementing result is specifically used for the efficiency of the handling failure of reflection system, for ease of right
The efficiency of system handling failure optimizes.Implementing result by executing node is judged, if the execution of present node
As a result it indicates to be not responding to, the response time is more than that preset time or response results are unavailable, illustrates that system treatment effeciency is low, is
Ensure that service is available, then system can carry out corresponding degradation processing;If without departing from the default response time, held according to normal flow
Row.
Need to illustrate after step b, if implementing result indicates that system carries out degradation processing, can also enter step
c。
Step c, judge whether user agent's information is correct in the user operation instruction, to the operation if correct
Instruction is encrypted, then enters step d, no to then follow the steps:Record the implementing result of present node;
After step b, further judge whether user agent in user operation instruction (useragent) information is correct,
Wherein, user agent's information is a special string head, client uses for identification operating system and version, cpu type,
Browser and version, browser rendering engine, browser language, browser plug-in etc., which mainly verifies what user used
Whether equipment is regular equipment, by server authentication.If user agent's information in user operation instruction correctly if to institute
It states operational order to be encrypted, prevents information to be intercepted, steal, and enter step d, if user agent in user operation instruction
Information is incorrect to be thened follow the steps:The implementing result for recording present node, current implementing result is recorded.
Step d, judge whether to control by IP blacklists according to username information in the user operation instruction, if passing through
The control of IP blacklists is no to then follow the steps by then entering step e:Record the implementing result of present node;
After step c, illustrate that user operates in regular equipment, however there may be unauthorized persons regular
It is operated in equipment, therefore judges whether to control by IP blacklists according to username information in user operation instruction, specifically
IP blacklists are previously stored with according to historical data in the present invention, and the IP blacklists can add in real time according to blacklist rule
Add, if username information judgement is controlled by IP blacklists in user operation instruction, enters step e, it is no to then follow the steps:
Record the implementing result of present node.
Step e, judge whether the access frequency of the access equipment is big according to access equipment in the user operation instruction
The implementing result of present node is recorded if equipment access frequency is more than predeterminated frequency in predeterminated frequency, it is no to then follow the steps:Into
Enter step f;
In order to avoid being operated using different user names in same equipment, and then system operation is influenced, avoided potential
Danger determines corresponding access equipment in the present embodiment also according to user operation instruction, judges the access frequency of same access equipment
Whether rate is more than predeterminated frequency, if equipment access frequency is more than predeterminated frequency, illustrates that same equipment access frequency is excessively high, at this time
The implementing result of present node is recorded, it is no to then follow the steps:Enter step f;
Step f, according to the user's operation apply platform release judge whether the platform release passes through, by then into
Enter step g, it is no to then follow the steps:Record the implementing result of present node;
After step e, according to user operation instruction determine user's operation application platform release whether with server
Upper consistent, that is, whether the platform release for verifying user's operation application is latest edition, if yes then enter step g, is otherwise executed
Step:Record the implementing result of present node;
Step g, judged to log in state verification according to login status in the user operation instruction, if logging in state and being verified
Specific business is carried out, it is no to then follow the steps:Record the implementing result of present node.
If the verifications such as platform release device identification pass through, carry out logging in state verification;If schools such as platform release device identifications
It tests and does not pass through, then corresponding information is written to solicited message record storehouse;If logging in state verification to pass through, specific business is carried out, than
Such as access loan interface.
Further, in this embodiment it is provided with information record storehouse, the implementing result for recording node.
Wherein, the function point of business unit can include but is not limited to:Web interface is accessed, record webpage executes step,
It is whether normal etc. to execute flow.
Specifically, for example user asks to access loan interface, and business unit refers in the request access for receiving user's transmission
When enabling, the command information page sent according to user carries out jumping to loan interface;Record loan executes step, according to user institute
The business that need to be completed, performed step records when to user's operation, and user is prompted to be operated accordingly;It operated
Cheng Zhong, the execution node corresponding to user operation instruction obtain the implementing result for executing node, work as if implementing result is shown
Preceding flow is without exception, then prompts user that can carry out the operation of next step;If current implementing result display is abnormal, will be abnormal
Information is recorded into information record storehouse;When user carries out business processing, flow is without exception, prompts user's business handling success simultaneously
It will be in the information storage that run succeeded to information record storehouse;When the success of user's processing business, system is fed back by operation interface
The successful station code of business handling is numbered to user, and business successful node Code Number is stored into information record storehouse.
In the present embodiment, being can be by recording fault message method quick positioning question, analysis and statistical problem, in industry
It is engaged in that tracking node mode is arranged in each bottom layer node needed for system operation, by the way that currently operation saves in operation system
Point setting tracking node, to execute each node the step of when the error occurs, all can corresponding record have a tracked information, every
Tracked information is associated with corresponding node.Therefore during user's use, if there is failure, then information can be read
Record storehouse, according to the associated tracking nodal function table of comparisons of node for occurring mistake in the user's operation page, from tracking node
Corresponding node is found out in function contrast, to quick positioning question, is solved the problems, such as.
In addition, the embodiment of the present invention also proposes a kind of fault message recording device, which includes:
Acquisition module 100 is obtained in the operation system operational process, receiving the request that executes of user's operation
Current implementing result;
Judgment module 200, for judging whether the implementing result of present node meets corresponding tracking condition, in the industry
Each node is provided with corresponding tracking condition in business system;
Logging modle 300 judges present node if the implementing result for present node meets corresponding tracking condition
It breaks down, and records the implementing result of present node.
Wherein, acquisition module 100, judgment module 200 and logging modle 300 are that processor 1001 reads memory in Fig. 1
Corresponding code in middle fault message logging program and virtual module, the function that modules are realized when being executed can refer to
The each embodiment of fault message recording method of the present invention, details are not described herein.
In addition the embodiment of the present invention also proposes a kind of computer readable storage medium.
Fault message logging program, the fault message logging program are stored on computer readable storage medium of the present invention
The step of fault message recording method as described above is realized when being executed by processor.
Wherein, the fault message logging program run on the processor is performed realized method and can refer to this
The each embodiment of invention fault message recording method, details are not described herein.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of fault message recording method, which is characterized in that including:
In operation system operational process, the implementing result that node is currently run in the operation system is obtained;
Judge whether the implementing result of present node meets corresponding tracking condition, each node setting in the operation system
There is corresponding tracking condition;
If the implementing result of present node meets corresponding tracking condition, judge that present node breaks down, and records current
The implementing result of node.
2. fault message recording method as described in claim 1, which is characterized in that it breaks down in judgement present node, and
After the implementing result for recording present node, further include:
The page where being occurred according to current failure or functional information search the implementing result for the node that breaks down;
Fault location is carried out according to the implementing result and the preset function table of comparisons found.
3. fault message recording method as claimed in claim 2, which is characterized in that according to the implementing result found
After carrying out fault location with the preset function table of comparisons, further include:
According to the fail result that fault location obtains, statistic of classification is carried out;
The result of statistic of classification in preset time period is analyzed, with determination fault frequency of all categories, and is gone out in failure
When occurrence number is more than preset times, corresponding prompt message is sent to corresponding technical staff.
4. fault message recording method as described in claim 1, which is characterized in that described in the operation system operational process
In, the implementing result that node is currently run in the operation system is obtained, including:
In the operation system operational process, the execution knot that node is currently executed in business unit and public running unit is obtained
Fruit, wherein the operation system includes the common unit and the business unit, and the business unit receives user's operation and refers to
It enables, and calls the common unit to execute corresponding function according to user operation instruction, it is described in the common unit and business
Corresponding tracking condition is respectively set in each node in unit.
5. fault message recording method as described in claim 1, which is characterized in that the implementing result for judging present node
Whether corresponding tracking condition is met, including:
Step a, the on off state for obtaining present node, judges whether the on off state is out, if current switch is to open, holds
Row step:The implementing result for recording present node, otherwise enters step b;
Step b, judge whether that degradation is handled according to the implementing result of present node, if system carries out degradation processing, execute step
Suddenly:The implementing result for recording present node, otherwise enters step c;
Step c, judge whether user agent's information is correct in the user operation instruction, to the operational order if correct
It is encrypted, then enters step d, it is no to then follow the steps:Record the implementing result of present node;
Step d, judge whether to control by IP blacklists according to username information in the user operation instruction, if black by IP
Name single control then enters step e, no to then follow the steps:Record the implementing result of present node;
Step e, judge whether the access frequency of the access equipment is more than in advance according to access equipment in the user operation instruction
If frequency, if equipment access frequency is more than predeterminated frequency, the implementing result of present node is recorded, it is no to then follow the steps:Into step
Rapid f;
Step f, the platform release applied according to the user's operation judges whether the platform release passes through, and is walked by then entering
Rapid g, it is no to then follow the steps:Record the implementing result of present node;
Step g, judged to log in state verification according to login status in the user operation instruction, be carried out if logging in state and being verified
Specific business, it is no to then follow the steps:Record the implementing result of present node.
6. fault message recording method as claimed in claim 5, which is characterized in that the implementing result according to present node
Judge whether that degradation is handled, if system degrades, thens follow the steps:The implementing result of present node is recorded, including:
If the implementing result of present node indicates, beyond default visit capacity, to judge that the operation system carries out degradation processing, remember
Record the implementing result of present node.
7. fault message recording method as claimed in claim 5, which is characterized in that the implementing result according to present node
Judge whether that degradation is handled, if system degrades, thens follow the steps:Record present node implementing result include:
If the implementing result expression of present node is not responding to, the response time is more than that preset time or response results are unavailable, then
Judge that the operation system carries out degradation processing, records the implementing result of present node.
8. a kind of fault message recording device, which is characterized in that the fault locator is applied to operation system, in the industry
Each node is provided with corresponding tracking condition in business system, and the fault message recording device includes:
Acquisition module, in the operation system operational process, obtaining and currently running holding for node in the operation system
Row result;
Judgment module, for judging whether the implementing result of present node meets corresponding tracking condition, in the operation system
In each node be provided with corresponding tracking condition;
Logging modle judges that event occurs for present node if the implementing result for present node meets corresponding tracking condition
Barrier, and record the implementing result of present node.
9. a kind of fault message recording equipment, which is characterized in that the fault message recording equipment includes:Memory, processor
And it is stored in the fault message logging program that can be run on the memory and on the processor, the fault message record
The step of method as described in any one of claim 1 to 7 is realized when program is executed by the processor.
10. a kind of computer readable storage medium, which is characterized in that store faulty letter on the computer readable storage medium
Logging program is ceased, is realized as described in any one of claim 1 to 7 when the fault message logging program is executed by processor
The step of fault message recording method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810434527.3A CN108650123B (en) | 2018-05-08 | 2018-05-08 | Fault information recording method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810434527.3A CN108650123B (en) | 2018-05-08 | 2018-05-08 | Fault information recording method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108650123A true CN108650123A (en) | 2018-10-12 |
CN108650123B CN108650123B (en) | 2022-09-06 |
Family
ID=63749600
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810434527.3A Active CN108650123B (en) | 2018-05-08 | 2018-05-08 | Fault information recording method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108650123B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110609538A (en) * | 2019-09-30 | 2019-12-24 | 潍柴动力股份有限公司 | Fault processing method, device, equipment and storage medium |
CN111124771A (en) * | 2019-11-13 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Method, equipment and medium for positioning fault |
CN113988789A (en) * | 2021-10-25 | 2022-01-28 | 重庆允成互联网科技有限公司 | Method, system, equipment and storage medium for automatically screening data based on process |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070180314A1 (en) * | 2006-01-06 | 2007-08-02 | Toru Kawashima | Computer system management method, management server, computer system, and program |
US20100082708A1 (en) * | 2006-11-16 | 2010-04-01 | Samsung Sds Co., Ltd. | System and Method for Management of Performance Fault Using Statistical Analysis |
CN103314356A (en) * | 2011-01-13 | 2013-09-18 | Arm有限公司 | Processing apparatus, trace unit and diagnostic apparatus |
CN104657637A (en) * | 2015-01-29 | 2015-05-27 | 深信服网络科技(深圳)有限公司 | Document information embedding and tracking methods and systems and proxy service equipment |
US9336073B1 (en) * | 2014-02-27 | 2016-05-10 | Seagate Technology Llc | Write fault modulation |
CN107102795A (en) * | 2017-05-31 | 2017-08-29 | 努比亚技术有限公司 | A kind of log recording method, mobile terminal and computer-readable recording medium |
CN107678933A (en) * | 2017-09-28 | 2018-02-09 | 中国平安人寿保险股份有限公司 | Daily record generation management method, device, equipment and computer-readable recording medium |
CN107769963A (en) * | 2017-09-29 | 2018-03-06 | 贵州白山云科技有限公司 | A kind of content distributing network Fault Locating Method and device |
CN107908695A (en) * | 2017-10-31 | 2018-04-13 | 平安普惠企业管理有限公司 | Operation system operation method, device, system and readable storage medium storing program for executing |
-
2018
- 2018-05-08 CN CN201810434527.3A patent/CN108650123B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070180314A1 (en) * | 2006-01-06 | 2007-08-02 | Toru Kawashima | Computer system management method, management server, computer system, and program |
US20100082708A1 (en) * | 2006-11-16 | 2010-04-01 | Samsung Sds Co., Ltd. | System and Method for Management of Performance Fault Using Statistical Analysis |
CN103314356A (en) * | 2011-01-13 | 2013-09-18 | Arm有限公司 | Processing apparatus, trace unit and diagnostic apparatus |
US9336073B1 (en) * | 2014-02-27 | 2016-05-10 | Seagate Technology Llc | Write fault modulation |
CN104657637A (en) * | 2015-01-29 | 2015-05-27 | 深信服网络科技(深圳)有限公司 | Document information embedding and tracking methods and systems and proxy service equipment |
CN107102795A (en) * | 2017-05-31 | 2017-08-29 | 努比亚技术有限公司 | A kind of log recording method, mobile terminal and computer-readable recording medium |
CN107678933A (en) * | 2017-09-28 | 2018-02-09 | 中国平安人寿保险股份有限公司 | Daily record generation management method, device, equipment and computer-readable recording medium |
CN107769963A (en) * | 2017-09-29 | 2018-03-06 | 贵州白山云科技有限公司 | A kind of content distributing network Fault Locating Method and device |
CN107908695A (en) * | 2017-10-31 | 2018-04-13 | 平安普惠企业管理有限公司 | Operation system operation method, device, system and readable storage medium storing program for executing |
Non-Patent Citations (1)
Title |
---|
赵煜等: "匿名即时通信监控技术研究", 《计算机应用研究》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110609538A (en) * | 2019-09-30 | 2019-12-24 | 潍柴动力股份有限公司 | Fault processing method, device, equipment and storage medium |
CN111124771A (en) * | 2019-11-13 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Method, equipment and medium for positioning fault |
CN111124771B (en) * | 2019-11-13 | 2023-01-06 | 苏州浪潮智能科技有限公司 | Method, equipment and medium for positioning fault |
CN113988789A (en) * | 2021-10-25 | 2022-01-28 | 重庆允成互联网科技有限公司 | Method, system, equipment and storage medium for automatically screening data based on process |
Also Published As
Publication number | Publication date |
---|---|
CN108650123B (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10901727B2 (en) | Monitoring code sensitivity to cause software build breaks during software project development | |
US11442803B2 (en) | Detecting and analyzing performance anomalies of client-server based applications | |
JP6861675B2 (en) | Systems, methods, devices, and non-temporary computer-readable storage media for providing mobile device support services | |
US9049105B1 (en) | Systems and methods for tracking and managing event records associated with network incidents | |
US9900226B2 (en) | System for managing a remote data processing system | |
US8176137B2 (en) | Remotely managing a data processing system via a communications network | |
US8499331B1 (en) | Policy based network compliance | |
US10158670B1 (en) | Automatic privilege determination | |
CN109409043A (en) | Login method, terminal device and the medium of application system | |
US8676966B2 (en) | Detecting and monitoring server side states during web application scanning | |
CN107294953B (en) | Attack operation detection method and device | |
US8151107B2 (en) | Method and system for detecting concurrent logins | |
US20060088027A1 (en) | Dynamic log for computer systems of server and services | |
Tang et al. | An integrated framework for optimizing automatic monitoring systems in large IT infrastructures | |
CN106888106A (en) | The extensive detecting system of IT assets in intelligent grid | |
CN108733563B (en) | Service fault processing method of application software, server and storage medium | |
EP3085023B1 (en) | Communications security | |
US20180054456A1 (en) | Website security tracking across a network | |
CN108650123A (en) | Fault message recording method, device, equipment and storage medium | |
CN103391222A (en) | System and method for monitoring web service | |
WO2021086523A1 (en) | Support ticket platform for improving network infrastructures | |
CN110020262A (en) | Pushed information sending method, device, computer equipment and storage medium | |
US11290486B1 (en) | Allocating defective computing resources for honeypot services | |
CN114189383A (en) | Blocking method, device, electronic equipment, medium and computer program product | |
CN112291264A (en) | Safety control method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |